1 | !function e(t,n,r){function o(i,s){if(!n[i]){if(!t[i]){var l="function"==typeof require&&require;if(!s&&l)return l(i,!0);if(a)return a(i,!0);var u=new Error("Cannot find module '"+i+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[i]={exports:{}};t[i][0].call(c.exports,function(e){var n=t[i][1][e];return o(n?n:e)},c,c.exports,e,t,n,r)}return n[i].exports}for(var a="function"==typeof require&&require,i=0;i<r.length;i++)o(r[i]);return o}({1:[function(e,t,n){!function(e,n){function r(){this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null,this.bright=0}var o,a,i="undefined"!=typeof t,s=[[{color:"0, 0, 0",class:"ansi-black"},{color:"187, 0, 0",class:"ansi-red"},{color:"0, 187, 0",class:"ansi-green"},{color:"187, 187, 0",class:"ansi-yellow"},{color:"0, 0, 187",class:"ansi-blue"},{color:"187, 0, 187",class:"ansi-magenta"},{color:"0, 187, 187",class:"ansi-cyan"},{color:"255,255,255",class:"ansi-white"}],[{color:"85, 85, 85",class:"ansi-bright-black"},{color:"255, 85, 85",class:"ansi-bright-red"},{color:"0, 255, 0",class:"ansi-bright-green"},{color:"255, 255, 85",class:"ansi-bright-yellow"},{color:"85, 85, 255",class:"ansi-bright-blue"},{color:"255, 85, 255",class:"ansi-bright-magenta"},{color:"85, 255, 255",class:"ansi-bright-cyan"},{color:"255, 255, 255",class:"ansi-bright-white"}]];r.prototype.setup_palette=function(){a=[],function(){var e,t;for(e=0;e<2;++e)for(t=0;t<8;++t)a.push(s[e][t].color)}(),function(){var e,t,n,r=[0,95,135,175,215,255],o=function(e,t,n){return r[e]+", "+r[t]+", "+r[n]};for(e=0;e<6;++e)for(t=0;t<6;++t)for(n=0;n<6;++n)a.push(o.call(this,e,t,n))}(),function(){var e,t=8,n=function(e){return e+", "+e+", "+e};for(e=0;e<24;++e,t+=10)a.push(n.call(this,t))}()},r.prototype.escape_for_html=function(e){return e.replace(/[&<>]/gm,function(e){return"&"==e?"&":"<"==e?"<":">"==e?">":void 0})},r.prototype.linkify=function(e){return e.replace(/(https?:\/\/[^\s]+)/gm,function(e){return'<a href="'+e+'">'+e+"</a>"})},r.prototype.ansi_to_html=function(e,t){return this.process(e,t,!0)},r.prototype.ansi_to_text=function(e){var t={};return this.process(e,t,!1)},r.prototype.process=function(e,t,n){var r=this,o=e.split(/\033\[/),a=o.shift(),i=o.map(function(e){return r.process_chunk(e,t,n)});return i.unshift(a),i.join("")},r.prototype.process_chunk=function(e,t,n){t="undefined"==typeof t?{}:t;var r="undefined"!=typeof t.use_classes&&t.use_classes,o=r?"class":"color",i=e.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!i)return e;var l=i[4],u=i[2].split(";");if(""!==i[1]||"m"!==i[3])return l;if(!n)return l;for(var c=this;u.length>0;){var d=u.shift(),f=parseInt(d);isNaN(f)||0===f?(c.fg=c.bg=null,c.bright=0):1===f?c.bright=1:39==f?c.fg=null:49==f?c.bg=null:f>=30&&f<38?c.fg=s[c.bright][f%10][o]:f>=90&&f<98?c.fg=s[1][f%10][o]:f>=40&&f<48?c.bg=s[0][f%10][o]:f>=100&&f<108?c.bg=s[1][f%10][o]:38!==f&&48!==f||!function(){var e=38===f;if(u.length>=1){var t=u.shift();if("5"===t&&u.length>=1){var n=parseInt(u.shift());if(n>=0&&n<=255)if(r){var o=n>=16?"ansi-palette-"+n:s[n>7?1:0][n%8].class;e?c.fg=o:c.bg=o}else a||c.setup_palette.call(c),e?c.fg=a[n]:c.bg=a[n]}else if("2"===t&&u.length>=3){var i=parseInt(u.shift()),l=parseInt(u.shift()),d=parseInt(u.shift());if(i>=0&&i<=255&&l>=0&&l<=255&&d>=0&&d<=255){var p=i+", "+l+", "+d;r?e?(c.fg="ansi-truecolor",c.fg_truecolor=p):(c.bg="ansi-truecolor",c.bg_truecolor=p):e?c.fg=p:c.bg=p}}}}()}if(null===c.fg&&null===c.bg)return l;var p=[],h=[],m={},v=function(e){var t,n=[];for(t in e)e.hasOwnProperty(t)&&n.push("data-"+t+'="'+this.escape_for_html(e[t])+'"');return n.length>0?" "+n.join(" "):""};return c.fg&&(r?(h.push(c.fg+"-fg"),null!==c.fg_truecolor&&(m["ansi-truecolor-fg"]=c.fg_truecolor,c.fg_truecolor=null)):p.push("color:rgb("+c.fg+")")),c.bg&&(r?(h.push(c.bg+"-bg"),null!==c.bg_truecolor&&(m["ansi-truecolor-bg"]=c.bg_truecolor,c.bg_truecolor=null)):p.push("background-color:rgb("+c.bg+")")),r?'<span class="'+h.join(" ")+'"'+v.call(c,m)+">"+l+"</span>":'<span style="'+p.join(";")+'"'+v.call(c,m)+">"+l+"</span>"},o={escape_for_html:function(e){var t=new r;return t.escape_for_html(e)},linkify:function(e){var t=new r;return t.linkify(e)},ansi_to_html:function(e,t){var n=new r;return n.ansi_to_html(e,t)},ansi_to_text:function(e){var t=new r;return t.ansi_to_text(e)},ansi_to_html_obj:function(){return new r}},i&&(t.exports=o),"undefined"!=typeof window&&"undefined"==typeof ender&&(window.ansi_up=o),"function"==typeof define&&define.amd&&define("ansi_up",[],function(){return o})}(Date)},{}],2:[function(e,t,n){"use strict";function r(){if(l.length)throw l.shift()}function o(e){var t;t=s.length?s.pop():new a,t.task=e,i(t)}function a(){this.task=null}var i=e("./raw"),s=[],l=[],u=i.makeRequestCallFromTimer(r);t.exports=o,a.prototype.call=function(){try{this.task.call()}catch(e){o.onerror?o.onerror(e):(l.push(e),u())}finally{this.task=null,s[s.length]=this}}},{"./raw":3}],3:[function(e,t,n){(function(e){"use strict";function n(e){s.length||(i(),l=!0),s[s.length]=e}function r(){for(;u<s.length;){var e=u;if(u+=1,s[e].call(),u>c){for(var t=0,n=s.length-u;t<n;t++)s[t]=s[t+u];s.length-=u,u=0}}s.length=0,u=0,l=!1}function o(e){var t=1,n=new f(e),r=document.createTextNode("");return n.observe(r,{characterData:!0}),function(){t=-t,r.data=t}}function a(e){return function(){function t(){clearTimeout(n),clearInterval(r),e()}var n=setTimeout(t,0),r=setInterval(t,50)}}t.exports=n;var i,s=[],l=!1,u=0,c=1024,d="undefined"!=typeof e?e:self,f=d.MutationObserver||d.WebKitMutationObserver;i="function"==typeof f?o(r):a(r),n.requestFlush=i,n.makeRequestCallFromTimer=a}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(e,t,n){t.exports={default:e("core-js/library/fn/array/from"),__esModule:!0}},{"core-js/library/fn/array/from":34}],5:[function(e,t,n){t.exports={default:e("core-js/library/fn/get-iterator"),__esModule:!0}},{"core-js/library/fn/get-iterator":35}],6:[function(e,t,n){t.exports={default:e("core-js/library/fn/is-iterable"),__esModule:!0}},{"core-js/library/fn/is-iterable":36}],7:[function(e,t,n){t.exports={default:e("core-js/library/fn/json/stringify"),__esModule:!0}},{"core-js/library/fn/json/stringify":37}],8:[function(e,t,n){t.exports={default:e("core-js/library/fn/number/parse-int"),__esModule:!0}},{"core-js/library/fn/number/parse-int":38}],9:[function(e,t,n){t.exports={default:e("core-js/library/fn/object/assign"),__esModule:!0}},{"core-js/library/fn/object/assign":39}],10:[function(e,t,n){t.exports={default:e("core-js/library/fn/object/create"),__esModule:!0}},{"core-js/library/fn/object/create":40}],11:[function(e,t,n){t.exports={default:e("core-js/library/fn/object/define-properties"),__esModule:!0}},{"core-js/library/fn/object/define-properties":41}],12:[function(e,t,n){t.exports={default:e("core-js/library/fn/object/define-property"),__esModule:!0}},{"core-js/library/fn/object/define-property":42}],13:[function(e,t,n){t.exports={default:e("core-js/library/fn/object/freeze"),__esModule:!0}},{"core-js/library/fn/object/freeze":43}],14:[function(e,t,n){t.exports={default:e("core-js/library/fn/object/get-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/get-prototype-of":44}],15:[function(e,t,n){t.exports={default:e("core-js/library/fn/object/keys"),__esModule:!0}},{"core-js/library/fn/object/keys":45}],16:[function(e,t,n){t.exports={default:e("core-js/library/fn/object/set-prototype-of"),__esModule:!0}},{"core-js/library/fn/object/set-prototype-of":46}],17:[function(e,t,n){t.exports={default:e("core-js/library/fn/promise"),__esModule:!0}},{"core-js/library/fn/promise":47}],18:[function(e,t,n){t.exports={default:e("core-js/library/fn/symbol"),__esModule:!0}},{"core-js/library/fn/symbol":49}],19:[function(e,t,n){t.exports={default:e("core-js/library/fn/symbol/for"),__esModule:!0}},{"core-js/library/fn/symbol/for":48}],20:[function(e,t,n){t.exports={default:e("core-js/library/fn/symbol/iterator"),__esModule:!0}},{"core-js/library/fn/symbol/iterator":50}],21:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=e("../core-js/promise"),a=r(o);n.default=function(e){return function(){var t=e.apply(this,arguments);return new a.default(function(e,n){function r(o,i){try{var s=t[o](i),l=s.value}catch(e){return void n(e)}return s.done?void e(l):a.default.resolve(l).then(function(e){r("next",e)},function(e){r("throw",e)})}return r("next")})}}},{"../core-js/promise":17}],22:[function(e,t,n){"use strict";n.__esModule=!0,n.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},{}],23:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=e("../core-js/object/define-property"),a=r(o);n.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,a.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},{"../core-js/object/define-property":12}],24:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=e("../core-js/object/define-property"),a=r(o);n.default=function(e,t,n){return t in e?(0,a.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},{"../core-js/object/define-property":12}],25:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=e("../core-js/object/assign"),a=r(o);n.default=a.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},{"../core-js/object/assign":9}],26:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=e("../core-js/object/set-prototype-of"),a=r(o),i=e("../core-js/object/create"),s=r(i),l=e("../helpers/typeof"),u=r(l);n.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":(0,u.default)(t)));e.prototype=(0,s.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(a.default?(0,a.default)(e,t):e.__proto__=t)}},{"../core-js/object/create":10,"../core-js/object/set-prototype-of":16,"../helpers/typeof":33}],27:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=e("../core-js/symbol/for"),a=r(o),i=e("../core-js/symbol"),s=r(i);n.default=function(){var e="function"==typeof s.default&&a.default&&(0,a.default)("react.element")||60103;return function(t,n,r,o){var a=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&a)for(var s in a)void 0===n[s]&&(n[s]=a[s]);else n||(n=a||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===r?null:""+r,ref:null,props:n,_owner:null}}}()},{"../core-js/symbol":18,"../core-js/symbol/for":19}],28:[function(e,t,n){"use strict";n.__esModule=!0,n.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},{}],29:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=e("../helpers/typeof"),a=r(o);n.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"==typeof t?"undefined":(0,a.default)(t))&&"function"!=typeof t?e:t}},{"../helpers/typeof":33}],30:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=e("../core-js/is-iterable"),a=r(o),i=e("../core-js/get-iterator"),s=r(i);n.default=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=(0,s.default)(e);!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if((0,a.default)(Object(t)))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},{"../core-js/get-iterator":5,"../core-js/is-iterable":6}],31:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=e("../core-js/object/define-properties"),a=r(o),i=e("../core-js/object/freeze"),s=r(i);n.default=function(e,t){return(0,s.default)((0,a.default)(e,{raw:{value:(0,s.default)(t)}}))}},{"../core-js/object/define-properties":11,"../core-js/object/freeze":13}],32:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=e("../core-js/array/from"),a=r(o);n.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,a.default)(e)}},{"../core-js/array/from":4}],33:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=e("../core-js/symbol/iterator"),a=r(o),i=e("../core-js/symbol"),s=r(i),l="function"==typeof s.default&&"symbol"==typeof a.default?function(e){return typeof e}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":typeof e};n.default="function"==typeof s.default&&"symbol"===l(a.default)?function(e){return"undefined"==typeof e?"undefined":l(e)}:function(e){return e&&"function"==typeof s.default&&e.constructor===s.default&&e!==s.default.prototype?"symbol":"undefined"==typeof e?"undefined":l(e)}},{"../core-js/symbol":18,"../core-js/symbol/iterator":20}],34:[function(e,t,n){e("../../modules/es6.string.iterator"),e("../../modules/es6.array.from"),t.exports=e("../../modules/_core").Array.from},{"../../modules/_core":58,"../../modules/es6.array.from":129,"../../modules/es6.string.iterator":142}],35:[function(e,t,n){e("../modules/web.dom.iterable"),e("../modules/es6.string.iterator"),t.exports=e("../modules/core.get-iterator")},{"../modules/core.get-iterator":127,"../modules/es6.string.iterator":142,"../modules/web.dom.iterable":146}],36:[function(e,t,n){e("../modules/web.dom.iterable"),e("../modules/es6.string.iterator"),t.exports=e("../modules/core.is-iterable")},{"../modules/core.is-iterable":128,"../modules/es6.string.iterator":142,"../modules/web.dom.iterable":146}],37:[function(e,t,n){var r=e("../../modules/_core"),o=r.JSON||(r.JSON={stringify:JSON.stringify});t.exports=function(e){return o.stringify.apply(o,arguments)}},{"../../modules/_core":58}],38:[function(e,t,n){e("../../modules/es6.number.parse-int"),t.exports=parseInt},{"../../modules/es6.number.parse-int":131}],39:[function(e,t,n){e("../../modules/es6.object.assign"),t.exports=e("../../modules/_core").Object.assign},{"../../modules/_core":58,"../../modules/es6.object.assign":132}],40:[function(e,t,n){e("../../modules/es6.object.create");var r=e("../../modules/_core").Object;t.exports=function(e,t){return r.create(e,t)}},{"../../modules/_core":58,"../../modules/es6.object.create":133}],41:[function(e,t,n){e("../../modules/es6.object.define-properties");var r=e("../../modules/_core").Object;t.exports=function(e,t){return r.defineProperties(e,t)}},{"../../modules/_core":58,"../../modules/es6.object.define-properties":134}],42:[function(e,t,n){e("../../modules/es6.object.define-property");var r=e("../../modules/_core").Object;t.exports=function(e,t,n){return r.defineProperty(e,t,n)}},{"../../modules/_core":58,"../../modules/es6.object.define-property":135}],43:[function(e,t,n){e("../../modules/es6.object.freeze"),t.exports=e("../../modules/_core").Object.freeze},{"../../modules/_core":58,"../../modules/es6.object.freeze":136}],44:[function(e,t,n){e("../../modules/es6.object.get-prototype-of"),t.exports=e("../../modules/_core").Object.getPrototypeOf},{"../../modules/_core":58,"../../modules/es6.object.get-prototype-of":137}],45:[function(e,t,n){e("../../modules/es6.object.keys"),t.exports=e("../../modules/_core").Object.keys},{"../../modules/_core":58,"../../modules/es6.object.keys":138}],46:[function(e,t,n){e("../../modules/es6.object.set-prototype-of"),t.exports=e("../../modules/_core").Object.setPrototypeOf},{"../../modules/_core":58,"../../modules/es6.object.set-prototype-of":139}],47:[function(e,t,n){e("../modules/es6.object.to-string"),e("../modules/es6.string.iterator"),e("../modules/web.dom.iterable"),e("../modules/es6.promise"),t.exports=e("../modules/_core").Promise},{"../modules/_core":58,"../modules/es6.object.to-string":140,"../modules/es6.promise":141,"../modules/es6.string.iterator":142,"../modules/web.dom.iterable":146}],48:[function(e,t,n){e("../../modules/es6.symbol"),t.exports=e("../../modules/_core").Symbol.for},{"../../modules/_core":58,"../../modules/es6.symbol":143}],49:[function(e,t,n){e("../../modules/es6.symbol"),e("../../modules/es6.object.to-string"),e("../../modules/es7.symbol.async-iterator"),e("../../modules/es7.symbol.observable"),t.exports=e("../../modules/_core").Symbol},{"../../modules/_core":58,"../../modules/es6.object.to-string":140,"../../modules/es6.symbol":143,"../../modules/es7.symbol.async-iterator":144,"../../modules/es7.symbol.observable":145}],50:[function(e,t,n){e("../../modules/es6.string.iterator"),e("../../modules/web.dom.iterable"),t.exports=e("../../modules/_wks-ext").f("iterator")},{"../../modules/_wks-ext":124,"../../modules/es6.string.iterator":142,"../../modules/web.dom.iterable":146}],51:[function(e,t,n){t.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},{}],52:[function(e,t,n){t.exports=function(){}},{}],53:[function(e,t,n){t.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},{}],54:[function(e,t,n){var r=e("./_is-object");t.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},{"./_is-object":78}],55:[function(e,t,n){var r=e("./_to-iobject"),o=e("./_to-length"),a=e("./_to-index");t.exports=function(e){return function(t,n,i){var s,l=r(t),u=o(l.length),c=a(i,u);if(e&&n!=n){for(;u>c;)if(s=l[c++],s!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}}},{"./_to-index":116,"./_to-iobject":118,"./_to-length":119}],56:[function(e,t,n){var r=e("./_cof"),o=e("./_wks")("toStringTag"),a="Arguments"==r(function(){return arguments}()),i=function(e,t){try{return e[t]}catch(e){}};t.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=i(t=Object(e),o))?n:a?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},{"./_cof":57,"./_wks":125}],57:[function(e,t,n){var r={}.toString;t.exports=function(e){return r.call(e).slice(8,-1)}},{}],58:[function(e,t,n){var r=t.exports={version:"2.4.0"};"number"==typeof __e&&(__e=r)},{}],59:[function(e,t,n){"use strict";var r=e("./_object-dp"),o=e("./_property-desc");t.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},{"./_object-dp":91,"./_property-desc":103}],60:[function(e,t,n){var r=e("./_a-function");t.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},{"./_a-function":51}],61:[function(e,t,n){t.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},{}],62:[function(e,t,n){t.exports=!e("./_fails")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},{"./_fails":67}],63:[function(e,t,n){var r=e("./_is-object"),o=e("./_global").document,a=r(o)&&r(o.createElement);t.exports=function(e){return a?o.createElement(e):{}}},{"./_global":69,"./_is-object":78}],64:[function(e,t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},{}],65:[function(e,t,n){var r=e("./_object-keys"),o=e("./_object-gops"),a=e("./_object-pie");t.exports=function(e){var t=r(e),n=o.f;if(n)for(var i,s=n(e),l=a.f,u=0;s.length>u;)l.call(e,i=s[u++])&&t.push(i);return t}},{"./_object-gops":96,"./_object-keys":99,"./_object-pie":100}],66:[function(e,t,n){var r=e("./_global"),o=e("./_core"),a=e("./_ctx"),i=e("./_hide"),s="prototype",l=function(e,t,n){var u,c,d,f=e&l.F,p=e&l.G,h=e&l.S,m=e&l.P,v=e&l.B,b=e&l.W,g=p?o:o[t]||(o[t]={}),y=g[s],_=p?r:h?r[t]:(r[t]||{})[s];p&&(n=t);for(u in n)c=!f&&_&&void 0!==_[u],c&&u in g||(d=c?_[u]:n[u],g[u]=p&&"function"!=typeof _[u]?n[u]:v&&c?a(d,r):b&&_[u]==d?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[s]=e[s],t}(d):m&&"function"==typeof d?a(Function.call,d):d,m&&((g.virtual||(g.virtual={}))[u]=d,e&l.R&&y&&!y[u]&&i(y,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},{"./_core":58,"./_ctx":60,"./_global":69,"./_hide":71}],67:[function(e,t,n){t.exports=function(e){try{return!!e()}catch(e){return!0}}},{}],68:[function(e,t,n){var r=e("./_ctx"),o=e("./_iter-call"),a=e("./_is-array-iter"),i=e("./_an-object"),s=e("./_to-length"),l=e("./core.get-iterator-method"),u={},c={},n=t.exports=function(e,t,n,d,f){var p,h,m,v,b=f?function(){return e}:l(e),g=r(n,d,t?2:1),y=0;if("function"!=typeof b)throw TypeError(e+" is not iterable!");if(a(b)){for(p=s(e.length);p>y;y++)if(v=t?g(i(h=e[y])[0],h[1]):g(e[y]),v===u||v===c)return v}else for(m=b.call(e);!(h=m.next()).done;)if(v=o(m,g,h.value,t),v===u||v===c)return v};n.BREAK=u,n.RETURN=c},{"./_an-object":54,"./_ctx":60,"./_is-array-iter":76,"./_iter-call":79,"./_to-length":119,"./core.get-iterator-method":126}],69:[function(e,t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},{}],70:[function(e,t,n){var r={}.hasOwnProperty;t.exports=function(e,t){return r.call(e,t)}},{}],71:[function(e,t,n){var r=e("./_object-dp"),o=e("./_property-desc");t.exports=e("./_descriptors")?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},{"./_descriptors":62,"./_object-dp":91,"./_property-desc":103}],72:[function(e,t,n){t.exports=e("./_global").document&&document.documentElement},{"./_global":69}],73:[function(e,t,n){t.exports=!e("./_descriptors")&&!e("./_fails")(function(){return 7!=Object.defineProperty(e("./_dom-create")("div"),"a",{get:function(){return 7}}).a})},{"./_descriptors":62,"./_dom-create":63,"./_fails":67}],74:[function(e,t,n){t.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},{}],75:[function(e,t,n){var r=e("./_cof");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},{"./_cof":57}],76:[function(e,t,n){var r=e("./_iterators"),o=e("./_wks")("iterator"),a=Array.prototype;t.exports=function(e){return void 0!==e&&(r.Array===e||a[o]===e)}},{"./_iterators":84,"./_wks":125}],77:[function(e,t,n){var r=e("./_cof");t.exports=Array.isArray||function(e){return"Array"==r(e)}},{"./_cof":57}],78:[function(e,t,n){t.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},{}],79:[function(e,t,n){var r=e("./_an-object");t.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var a=e.return;throw void 0!==a&&r(a.call(e)),t}}},{"./_an-object":54}],80:[function(e,t,n){"use strict";var r=e("./_object-create"),o=e("./_property-desc"),a=e("./_set-to-string-tag"),i={};e("./_hide")(i,e("./_wks")("iterator"),function(){return this}),t.exports=function(e,t,n){e.prototype=r(i,{next:o(1,n)}),a(e,t+" Iterator")}},{"./_hide":71,"./_object-create":90,"./_property-desc":103,"./_set-to-string-tag":108,"./_wks":125}],81:[function(e,t,n){"use strict";var r=e("./_library"),o=e("./_export"),a=e("./_redefine"),i=e("./_hide"),s=e("./_has"),l=e("./_iterators"),u=e("./_iter-create"),c=e("./_set-to-string-tag"),d=e("./_object-gpo"),f=e("./_wks")("iterator"),p=!([].keys&&"next"in[].keys()),h="@@iterator",m="keys",v="values",b=function(){return this};t.exports=function(e,t,n,g,y,_,M){u(n,t,g);var w,S,C,x=function(e){if(!p&&e in P)return P[e];switch(e){case m:return function(){return new n(this,e)};case v:return function(){return new n(this,e)}}return function(){return new n(this,e)}},k=t+" Iterator",T=y==v,A=!1,P=e.prototype,N=P[f]||P[h]||y&&P[y],O=N||x(y),E=y?T?x("entries"):O:void 0,z="Array"==t?P.entries||N:N;if(z&&(C=d(z.call(new e)),C!==Object.prototype&&(c(C,k,!0),r||s(C,f)||i(C,f,b))),T&&N&&N.name!==v&&(A=!0,O=function(){return N.call(this)}),r&&!M||!p&&!A&&P[f]||i(P,f,O),l[t]=O,l[k]=b,y)if(w={values:T?O:x(v),keys:_?O:x(m),entries:E},M)for(S in w)S in P||a(P,S,w[S]);else o(o.P+o.F*(p||A),t,w);return w}},{"./_export":66,"./_has":70,"./_hide":71,"./_iter-create":80,"./_iterators":84,"./_library":86,"./_object-gpo":97,"./_redefine":105,"./_set-to-string-tag":108,"./_wks":125}],82:[function(e,t,n){var r=e("./_wks")("iterator"),o=!1;try{var a=[7][r]();a.return=function(){o=!0},Array.from(a,function(){throw 2})}catch(e){}t.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var a=[7],i=a[r]();i.next=function(){return{done:n=!0}},a[r]=function(){return i},e(a)}catch(e){}return n}},{"./_wks":125}],83:[function(e,t,n){t.exports=function(e,t){return{value:t,done:!!e}}},{}],84:[function(e,t,n){t.exports={}},{}],85:[function(e,t,n){var r=e("./_object-keys"),o=e("./_to-iobject");t.exports=function(e,t){for(var n,a=o(e),i=r(a),s=i.length,l=0;s>l;)if(a[n=i[l++]]===t)return n}},{"./_object-keys":99,"./_to-iobject":118}],86:[function(e,t,n){t.exports=!0},{}],87:[function(e,t,n){var r=e("./_uid")("meta"),o=e("./_is-object"),a=e("./_has"),i=e("./_object-dp").f,s=0,l=Object.isExtensible||function(){return!0},u=!e("./_fails")(function(){return l(Object.preventExtensions({}))}),c=function(e){i(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!a(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},f=function(e,t){if(!a(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},p=function(e){return u&&h.NEED&&l(e)&&!a(e,r)&&c(e),e},h=t.exports={KEY:r,NEED:!1,fastKey:d,getWeak:f,onFreeze:p}},{"./_fails":67,"./_has":70,"./_is-object":78,"./_object-dp":91,"./_uid":122}],88:[function(e,t,n){var r=e("./_global"),o=e("./_task").set,a=r.MutationObserver||r.WebKitMutationObserver,i=r.process,s=r.Promise,l="process"==e("./_cof")(i);t.exports=function(){var e,t,n,u=function(){var r,o;for(l&&(r=i.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){i.nextTick(u)};else if(a){var c=!0,d=document.createTextNode("");new a(u).observe(d,{characterData:!0}),n=function(){d.data=c=!c}}else if(s&&s.resolve){var f=s.resolve();n=function(){f.then(u)}}else n=function(){o.call(r,u)};return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},{"./_cof":57,"./_global":69,"./_task":115}],89:[function(e,t,n){"use strict";var r=e("./_object-keys"),o=e("./_object-gops"),a=e("./_object-pie"),i=e("./_to-object"),s=e("./_iobject"),l=Object.assign;t.exports=!l||e("./_fails")(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=i(e),l=arguments.length,u=1,c=o.f,d=a.f;l>u;)for(var f,p=s(arguments[u++]),h=c?r(p).concat(c(p)):r(p),m=h.length,v=0;m>v;)d.call(p,f=h[v++])&&(n[f]=p[f]);return n}:l},{"./_fails":67,"./_iobject":75,"./_object-gops":96,"./_object-keys":99,"./_object-pie":100,"./_to-object":120}],90:[function(e,t,n){var r=e("./_an-object"),o=e("./_object-dps"),a=e("./_enum-bug-keys"),i=e("./_shared-key")("IE_PROTO"),s=function(){},l="prototype",u=function(){var t,n=e("./_dom-create")("iframe"),r=a.length,o="<",i=">";for(n.style.display="none",e("./_html").appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write(o+"script"+i+"document.F=Object"+o+"/script"+i),t.close(),u=t.F;r--;)delete u[l][a[r]];return u()};t.exports=Object.create||function(e,t){var n;return null!==e?(s[l]=r(e),n=new s,s[l]=null,n[i]=e):n=u(),void 0===t?n:o(n,t)}},{"./_an-object":54,"./_dom-create":63,"./_enum-bug-keys":64,"./_html":72,"./_object-dps":92,"./_shared-key":109}],91:[function(e,t,n){var r=e("./_an-object"),o=e("./_ie8-dom-define"),a=e("./_to-primitive"),i=Object.defineProperty;n.f=e("./_descriptors")?Object.defineProperty:function(e,t,n){if(r(e),t=a(t,!0),r(n),o)try{return i(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}},{"./_an-object":54,"./_descriptors":62,"./_ie8-dom-define":73,"./_to-primitive":121}],92:[function(e,t,n){var r=e("./_object-dp"),o=e("./_an-object"),a=e("./_object-keys");t.exports=e("./_descriptors")?Object.defineProperties:function(e,t){o(e);for(var n,i=a(t),s=i.length,l=0;s>l;)r.f(e,n=i[l++],t[n]);return e}},{"./_an-object":54,"./_descriptors":62,"./_object-dp":91,"./_object-keys":99}],93:[function(e,t,n){var r=e("./_object-pie"),o=e("./_property-desc"),a=e("./_to-iobject"),i=e("./_to-primitive"),s=e("./_has"),l=e("./_ie8-dom-define"),u=Object.getOwnPropertyDescriptor;n.f=e("./_descriptors")?u:function(e,t){if(e=a(e),t=i(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},{"./_descriptors":62,"./_has":70,"./_ie8-dom-define":73,"./_object-pie":100,"./_property-desc":103,"./_to-iobject":118,"./_to-primitive":121}],94:[function(e,t,n){var r=e("./_to-iobject"),o=e("./_object-gopn").f,a={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return i.slice()}};t.exports.f=function(e){return i&&"[object Window]"==a.call(e)?s(e):o(r(e))}},{"./_object-gopn":95,"./_to-iobject":118}],95:[function(e,t,n){var r=e("./_object-keys-internal"),o=e("./_enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},{"./_enum-bug-keys":64,"./_object-keys-internal":98}],96:[function(e,t,n){n.f=Object.getOwnPropertySymbols},{}],97:[function(e,t,n){var r=e("./_has"),o=e("./_to-object"),a=e("./_shared-key")("IE_PROTO"),i=Object.prototype;t.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},{"./_has":70,"./_shared-key":109,"./_to-object":120}],98:[function(e,t,n){var r=e("./_has"),o=e("./_to-iobject"),a=e("./_array-includes")(!1),i=e("./_shared-key")("IE_PROTO");t.exports=function(e,t){var n,s=o(e),l=0,u=[];for(n in s)n!=i&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~a(u,n)||u.push(n));return u}},{"./_array-includes":55,"./_has":70,"./_shared-key":109,"./_to-iobject":118}],99:[function(e,t,n){var r=e("./_object-keys-internal"),o=e("./_enum-bug-keys");t.exports=Object.keys||function(e){return r(e,o)}},{"./_enum-bug-keys":64,"./_object-keys-internal":98}],100:[function(e,t,n){n.f={}.propertyIsEnumerable},{}],101:[function(e,t,n){var r=e("./_export"),o=e("./_core"),a=e("./_fails");t.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],i={};i[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",i)}},{"./_core":58,"./_export":66,"./_fails":67}],102:[function(e,t,n){var r=e("./_global").parseInt,o=e("./_string-trim").trim,a=e("./_string-ws"),i=/^[\-+]?0[xX]/;t.exports=8!==r(a+"08")||22!==r(a+"0x16")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(i.test(n)?16:10))}:r},{"./_global":69,"./_string-trim":113,"./_string-ws":114}],
|
2 | 103:[function(e,t,n){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},{}],104:[function(e,t,n){var r=e("./_hide");t.exports=function(e,t,n){for(var o in t)n&&e[o]?e[o]=t[o]:r(e,o,t[o]);return e}},{"./_hide":71}],105:[function(e,t,n){t.exports=e("./_hide")},{"./_hide":71}],106:[function(e,t,n){var r=e("./_is-object"),o=e("./_an-object"),a=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{r=e("./_ctx")(Function.call,e("./_object-gopd").f(Object.prototype,"__proto__").set,2),r(t,[]),n=!(t instanceof Array)}catch(e){n=!0}return function(e,t){return a(e,t),n?e.__proto__=t:r(e,t),e}}({},!1):void 0),check:a}},{"./_an-object":54,"./_ctx":60,"./_is-object":78,"./_object-gopd":93}],107:[function(e,t,n){"use strict";var r=e("./_global"),o=e("./_core"),a=e("./_object-dp"),i=e("./_descriptors"),s=e("./_wks")("species");t.exports=function(e){var t="function"==typeof o[e]?o[e]:r[e];i&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},{"./_core":58,"./_descriptors":62,"./_global":69,"./_object-dp":91,"./_wks":125}],108:[function(e,t,n){var r=e("./_object-dp").f,o=e("./_has"),a=e("./_wks")("toStringTag");t.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},{"./_has":70,"./_object-dp":91,"./_wks":125}],109:[function(e,t,n){var r=e("./_shared")("keys"),o=e("./_uid");t.exports=function(e){return r[e]||(r[e]=o(e))}},{"./_shared":110,"./_uid":122}],110:[function(e,t,n){var r=e("./_global"),o="__core-js_shared__",a=r[o]||(r[o]={});t.exports=function(e){return a[e]||(a[e]={})}},{"./_global":69}],111:[function(e,t,n){var r=e("./_an-object"),o=e("./_a-function"),a=e("./_wks")("species");t.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||void 0==(n=r(i)[a])?t:o(n)}},{"./_a-function":51,"./_an-object":54,"./_wks":125}],112:[function(e,t,n){var r=e("./_to-integer"),o=e("./_defined");t.exports=function(e){return function(t,n){var a,i,s=String(o(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(a=s.charCodeAt(l),a<55296||a>56319||l+1===u||(i=s.charCodeAt(l+1))<56320||i>57343?e?s.charAt(l):a:e?s.slice(l,l+2):(a-55296<<10)+(i-56320)+65536)}}},{"./_defined":61,"./_to-integer":117}],113:[function(e,t,n){var r=e("./_export"),o=e("./_defined"),a=e("./_fails"),i=e("./_string-ws"),s="["+i+"]",l="
",u=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),d=function(e,t,n){var o={},s=a(function(){return!!i[e]()||l[e]()!=l}),u=o[e]=s?t(f):i[e];n&&(o[n]=u),r(r.P+r.F*s,"String",o)},f=d.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(c,"")),e};t.exports=d},{"./_defined":61,"./_export":66,"./_fails":67,"./_string-ws":114}],114:[function(e,t,n){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"},{}],115:[function(e,t,n){var r,o,a,i=e("./_ctx"),s=e("./_invoke"),l=e("./_html"),u=e("./_dom-create"),c=e("./_global"),d=c.process,f=c.setImmediate,p=c.clearImmediate,h=c.MessageChannel,m=0,v={},b="onreadystatechange",g=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},y=function(e){g.call(e.data)};f&&p||(f=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++m]=function(){s("function"==typeof e?e:Function(e),t)},r(m),m},p=function(e){delete v[e]},"process"==e("./_cof")(d)?r=function(e){d.nextTick(i(g,e,1))}:h?(o=new h,a=o.port2,o.port1.onmessage=y,r=i(a.postMessage,a,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",y,!1)):r=b in u("script")?function(e){l.appendChild(u("script"))[b]=function(){l.removeChild(this),g.call(e)}}:function(e){setTimeout(i(g,e,1),0)}),t.exports={set:f,clear:p}},{"./_cof":57,"./_ctx":60,"./_dom-create":63,"./_global":69,"./_html":72,"./_invoke":74}],116:[function(e,t,n){var r=e("./_to-integer"),o=Math.max,a=Math.min;t.exports=function(e,t){return e=r(e),e<0?o(e+t,0):a(e,t)}},{"./_to-integer":117}],117:[function(e,t,n){var r=Math.ceil,o=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(e>0?o:r)(e)}},{}],118:[function(e,t,n){var r=e("./_iobject"),o=e("./_defined");t.exports=function(e){return r(o(e))}},{"./_defined":61,"./_iobject":75}],119:[function(e,t,n){var r=e("./_to-integer"),o=Math.min;t.exports=function(e){return e>0?o(r(e),9007199254740991):0}},{"./_to-integer":117}],120:[function(e,t,n){var r=e("./_defined");t.exports=function(e){return Object(r(e))}},{"./_defined":61}],121:[function(e,t,n){var r=e("./_is-object");t.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},{"./_is-object":78}],122:[function(e,t,n){var r=0,o=Math.random();t.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+o).toString(36))}},{}],123:[function(e,t,n){var r=e("./_global"),o=e("./_core"),a=e("./_library"),i=e("./_wks-ext"),s=e("./_object-dp").f;t.exports=function(e){var t=o.Symbol||(o.Symbol=a?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:i.f(e)})}},{"./_core":58,"./_global":69,"./_library":86,"./_object-dp":91,"./_wks-ext":124}],124:[function(e,t,n){n.f=e("./_wks")},{"./_wks":125}],125:[function(e,t,n){var r=e("./_shared")("wks"),o=e("./_uid"),a=e("./_global").Symbol,i="function"==typeof a,s=t.exports=function(e){return r[e]||(r[e]=i&&a[e]||(i?a:o)("Symbol."+e))};s.store=r},{"./_global":69,"./_shared":110,"./_uid":122}],126:[function(e,t,n){var r=e("./_classof"),o=e("./_wks")("iterator"),a=e("./_iterators");t.exports=e("./_core").getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||a[r(e)]}},{"./_classof":56,"./_core":58,"./_iterators":84,"./_wks":125}],127:[function(e,t,n){var r=e("./_an-object"),o=e("./core.get-iterator-method");t.exports=e("./_core").getIterator=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(e+" is not iterable!");return r(t.call(e))}},{"./_an-object":54,"./_core":58,"./core.get-iterator-method":126}],128:[function(e,t,n){var r=e("./_classof"),o=e("./_wks")("iterator"),a=e("./_iterators");t.exports=e("./_core").isIterable=function(e){var t=Object(e);return void 0!==t[o]||"@@iterator"in t||a.hasOwnProperty(r(t))}},{"./_classof":56,"./_core":58,"./_iterators":84,"./_wks":125}],129:[function(e,t,n){"use strict";var r=e("./_ctx"),o=e("./_export"),a=e("./_to-object"),i=e("./_iter-call"),s=e("./_is-array-iter"),l=e("./_to-length"),u=e("./_create-property"),c=e("./core.get-iterator-method");o(o.S+o.F*!e("./_iter-detect")(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,d,f=a(e),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,b=0,g=c(f);if(v&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==g||p==Array&&s(g))for(t=l(f.length),n=new p(t);t>b;b++)u(n,b,v?m(f[b],b):f[b]);else for(d=g.call(f),n=new p;!(o=d.next()).done;b++)u(n,b,v?i(d,m,[o.value,b],!0):o.value);return n.length=b,n}})},{"./_create-property":59,"./_ctx":60,"./_export":66,"./_is-array-iter":76,"./_iter-call":79,"./_iter-detect":82,"./_to-length":119,"./_to-object":120,"./core.get-iterator-method":126}],130:[function(e,t,n){"use strict";var r=e("./_add-to-unscopables"),o=e("./_iter-step"),a=e("./_iterators"),i=e("./_to-iobject");t.exports=e("./_iter-define")(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),a.Arguments=a.Array,r("keys"),r("values"),r("entries")},{"./_add-to-unscopables":52,"./_iter-define":81,"./_iter-step":83,"./_iterators":84,"./_to-iobject":118}],131:[function(e,t,n){var r=e("./_export"),o=e("./_parse-int");r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},{"./_export":66,"./_parse-int":102}],132:[function(e,t,n){var r=e("./_export");r(r.S+r.F,"Object",{assign:e("./_object-assign")})},{"./_export":66,"./_object-assign":89}],133:[function(e,t,n){var r=e("./_export");r(r.S,"Object",{create:e("./_object-create")})},{"./_export":66,"./_object-create":90}],134:[function(e,t,n){var r=e("./_export");r(r.S+r.F*!e("./_descriptors"),"Object",{defineProperties:e("./_object-dps")})},{"./_descriptors":62,"./_export":66,"./_object-dps":92}],135:[function(e,t,n){var r=e("./_export");r(r.S+r.F*!e("./_descriptors"),"Object",{defineProperty:e("./_object-dp").f})},{"./_descriptors":62,"./_export":66,"./_object-dp":91}],136:[function(e,t,n){var r=e("./_is-object"),o=e("./_meta").onFreeze;e("./_object-sap")("freeze",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},{"./_is-object":78,"./_meta":87,"./_object-sap":101}],137:[function(e,t,n){var r=e("./_to-object"),o=e("./_object-gpo");e("./_object-sap")("getPrototypeOf",function(){return function(e){return o(r(e))}})},{"./_object-gpo":97,"./_object-sap":101,"./_to-object":120}],138:[function(e,t,n){var r=e("./_to-object"),o=e("./_object-keys");e("./_object-sap")("keys",function(){return function(e){return o(r(e))}})},{"./_object-keys":99,"./_object-sap":101,"./_to-object":120}],139:[function(e,t,n){var r=e("./_export");r(r.S,"Object",{setPrototypeOf:e("./_set-proto").set})},{"./_export":66,"./_set-proto":106}],140:[function(e,t,n){},{}],141:[function(e,t,n){"use strict";var r,o,a,i=e("./_library"),s=e("./_global"),l=e("./_ctx"),u=e("./_classof"),c=e("./_export"),d=e("./_is-object"),f=e("./_a-function"),p=e("./_an-instance"),h=e("./_for-of"),m=e("./_species-constructor"),v=e("./_task").set,b=e("./_microtask")(),g="Promise",y=s.TypeError,_=s.process,M=s[g],_=s.process,w="process"==u(_),S=function(){},C=!!function(){try{var t=M.resolve(1),n=(t.constructor={})[e("./_wks")("species")]=function(e){e(S,S)};return(w||"function"==typeof PromiseRejectionEvent)&&t.then(S)instanceof n}catch(e){}}(),x=function(e,t){return e===t||e===M&&t===a},k=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},T=function(e){return x(M,e)?new A(e):new o(e)},A=o=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw y("Bad Promise constructor");t=e,n=r}),this.resolve=f(t),this.reject=f(n)},P=function(e){try{e()}catch(e){return{error:e}}},N=function(e,t){if(!e._n){e._n=!0;var n=e._c;b(function(){for(var r=e._v,o=1==e._s,a=0,i=function(t){var n,a,i=o?t.ok:t.fail,s=t.resolve,l=t.reject,u=t.domain;try{i?(o||(2==e._h&&z(e),e._h=1),i===!0?n=r:(u&&u.enter(),n=i(r),u&&u.exit()),n===t.promise?l(y("Promise-chain cycle")):(a=k(n))?a.call(n,s,l):s(n)):l(r)}catch(e){l(e)}};n.length>a;)i(n[a++]);e._c=[],e._n=!1,t&&!e._h&&O(e)})}},O=function(e){v.call(s,function(){var t,n,r,o=e._v;if(E(e)&&(t=P(function(){w?_.emit("unhandledRejection",o,e):(n=s.onunhandledrejection)?n({promise:e,reason:o}):(r=s.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=w||E(e)?2:1),e._a=void 0,t)throw t.error})},E=function(e){if(1==e._h)return!1;for(var t,n=e._a||e._c,r=0;n.length>r;)if(t=n[r++],t.fail||!E(t.promise))return!1;return!0},z=function(e){v.call(s,function(){var t;w?_.emit("rejectionHandled",e):(t=s.onrejectionhandled)&&t({promise:e,reason:e._v})})},R=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),N(t,!0))},j=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw y("Promise can't be resolved itself");(t=k(e))?b(function(){var r={_w:n,_d:!1};try{t.call(e,l(j,r,1),l(R,r,1))}catch(e){R.call(r,e)}}):(n._v=e,n._s=1,N(n,!1))}catch(e){R.call({_w:n,_d:!1},e)}}};C||(M=function(e){p(this,M,g,"_h"),f(e),r.call(this);try{e(l(j,this,1),l(R,this,1))}catch(e){R.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=e("./_redefine-all")(M.prototype,{then:function(e,t){var n=T(m(this,M));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=w?_.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&N(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),A=function(){var e=new r;this.promise=e,this.resolve=l(j,e,1),this.reject=l(R,e,1)}),c(c.G+c.W+c.F*!C,{Promise:M}),e("./_set-to-string-tag")(M,g),e("./_set-species")(g),a=e("./_core")[g],c(c.S+c.F*!C,g,{reject:function(e){var t=T(this),n=t.reject;return n(e),t.promise}}),c(c.S+c.F*(i||!C),g,{resolve:function(e){if(e instanceof M&&x(e.constructor,this))return e;var t=T(this),n=t.resolve;return n(e),t.promise}}),c(c.S+c.F*!(C&&e("./_iter-detect")(function(e){M.all(e).catch(S)})),g,{all:function(e){var t=this,n=T(t),r=n.resolve,o=n.reject,a=P(function(){var n=[],a=0,i=1;h(e,!1,function(e){var s=a++,l=!1;n.push(void 0),i++,t.resolve(e).then(function(e){l||(l=!0,n[s]=e,--i||r(n))},o)}),--i||r(n)});return a&&o(a.error),n.promise},race:function(e){var t=this,n=T(t),r=n.reject,o=P(function(){h(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o&&r(o.error),n.promise}})},{"./_a-function":51,"./_an-instance":53,"./_classof":56,"./_core":58,"./_ctx":60,"./_export":66,"./_for-of":68,"./_global":69,"./_is-object":78,"./_iter-detect":82,"./_library":86,"./_microtask":88,"./_redefine-all":104,"./_set-species":107,"./_set-to-string-tag":108,"./_species-constructor":111,"./_task":115,"./_wks":125}],142:[function(e,t,n){"use strict";var r=e("./_string-at")(!0);e("./_iter-define")(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},{"./_iter-define":81,"./_string-at":112}],143:[function(e,t,n){"use strict";var r=e("./_global"),o=e("./_has"),a=e("./_descriptors"),i=e("./_export"),s=e("./_redefine"),l=e("./_meta").KEY,u=e("./_fails"),c=e("./_shared"),d=e("./_set-to-string-tag"),f=e("./_uid"),p=e("./_wks"),h=e("./_wks-ext"),m=e("./_wks-define"),v=e("./_keyof"),b=e("./_enum-keys"),g=e("./_is-array"),y=e("./_an-object"),_=e("./_to-iobject"),M=e("./_to-primitive"),w=e("./_property-desc"),S=e("./_object-create"),C=e("./_object-gopn-ext"),x=e("./_object-gopd"),k=e("./_object-dp"),T=e("./_object-keys"),A=x.f,P=k.f,N=C.f,O=r.Symbol,E=r.JSON,z=E&&E.stringify,R="prototype",j=p("_hidden"),L=p("toPrimitive"),D={}.propertyIsEnumerable,I=c("symbol-registry"),B=c("symbols"),V=c("op-symbols"),q=Object[R],F="function"==typeof O,U=r.QObject,W=!U||!U[R]||!U[R].findChild,H=a&&u(function(){return 7!=S(P({},"a",{get:function(){return P(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=A(q,t);r&&delete q[t],P(e,t,n),r&&e!==q&&P(q,t,r)}:P,X=function(e){var t=B[e]=S(O[R]);return t._k=e,t},K=F&&"symbol"==typeof O.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof O},G=function(e,t,n){return e===q&&G(V,t,n),y(e),t=M(t,!0),y(n),o(B,t)?(n.enumerable?(o(e,j)&&e[j][t]&&(e[j][t]=!1),n=S(n,{enumerable:w(0,!1)})):(o(e,j)||P(e,j,w(1,{})),e[j][t]=!0),H(e,t,n)):P(e,t,n)},Y=function(e,t){y(e);for(var n,r=b(t=_(t)),o=0,a=r.length;a>o;)G(e,n=r[o++],t[n]);return e},$=function(e,t){return void 0===t?S(e):Y(S(e),t)},Q=function(e){var t=D.call(this,e=M(e,!0));return!(this===q&&o(B,e)&&!o(V,e))&&(!(t||!o(this,e)||!o(B,e)||o(this,j)&&this[j][e])||t)},J=function(e,t){if(e=_(e),t=M(t,!0),e!==q||!o(B,t)||o(V,t)){var n=A(e,t);return!n||!o(B,t)||o(e,j)&&e[j][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=N(_(e)),r=[],a=0;n.length>a;)o(B,t=n[a++])||t==j||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===q,r=N(n?V:_(e)),a=[],i=0;r.length>i;)!o(B,t=r[i++])||n&&!o(q,t)||a.push(B[t]);return a};F||(O=function(){if(this instanceof O)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===q&&t.call(V,n),o(this,j)&&o(this[j],e)&&(this[j][e]=!1),H(this,e,w(1,n))};return a&&W&&H(q,e,{configurable:!0,set:t}),X(e)},s(O[R],"toString",function(){return this._k}),x.f=J,k.f=G,e("./_object-gopn").f=C.f=Z,e("./_object-pie").f=Q,e("./_object-gops").f=ee,a&&!e("./_library")&&s(q,"propertyIsEnumerable",Q,!0),h.f=function(e){return X(p(e))}),i(i.G+i.W+i.F*!F,{Symbol:O});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var te=T(p.store),ne=0;te.length>ne;)m(te[ne++]);i(i.S+i.F*!F,"Symbol",{for:function(e){return o(I,e+="")?I[e]:I[e]=O(e)},keyFor:function(e){if(K(e))return v(I,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){W=!0},useSimple:function(){W=!1}}),i(i.S+i.F*!F,"Object",{create:$,defineProperty:G,defineProperties:Y,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee}),E&&i(i.S+i.F*(!F||u(function(){var e=O();return"[null]"!=z([e])||"{}"!=z({a:e})||"{}"!=z(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!K(e)){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);return t=r[1],"function"==typeof t&&(n=t),!n&&g(t)||(t=function(e,t){if(n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,z.apply(E,r)}}}),O[R][L]||e("./_hide")(O[R],L,O[R].valueOf),d(O,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},{"./_an-object":54,"./_descriptors":62,"./_enum-keys":65,"./_export":66,"./_fails":67,"./_global":69,"./_has":70,"./_hide":71,"./_is-array":77,"./_keyof":85,"./_library":86,"./_meta":87,"./_object-create":90,"./_object-dp":91,"./_object-gopd":93,"./_object-gopn":95,"./_object-gopn-ext":94,"./_object-gops":96,"./_object-keys":99,"./_object-pie":100,"./_property-desc":103,"./_redefine":105,"./_set-to-string-tag":108,"./_shared":110,"./_to-iobject":118,"./_to-primitive":121,"./_uid":122,"./_wks":125,"./_wks-define":123,"./_wks-ext":124}],144:[function(e,t,n){e("./_wks-define")("asyncIterator")},{"./_wks-define":123}],145:[function(e,t,n){e("./_wks-define")("observable")},{"./_wks-define":123}],146:[function(e,t,n){e("./es6.array.iterator");for(var r=e("./_global"),o=e("./_hide"),a=e("./_iterators"),i=e("./_wks")("toStringTag"),s=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],l=0;l<5;l++){var u=s[l],c=r[u],d=c&&c.prototype;d&&!d[i]&&o(d,i,u),a[u]=a.Array}},{"./_global":69,"./_hide":71,"./_iterators":84,"./_wks":125,"./es6.array.iterator":130}],147:[function(e,t,n){t.exports=e("regenerator-runtime")},{"regenerator-runtime":1289}],148:[function(e,t,n){"use strict";function r(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function o(e){return 3*e.length/4-r(e)}function a(e){var t,n,o,a,i,s,l=e.length;i=r(e),s=new d(3*l/4-i),o=i>0?l-4:l;var u=0;for(t=0,n=0;t<o;t+=4,n+=3)a=c[e.charCodeAt(t)]<<18|c[e.charCodeAt(t+1)]<<12|c[e.charCodeAt(t+2)]<<6|c[e.charCodeAt(t+3)],s[u++]=a>>16&255,s[u++]=a>>8&255,s[u++]=255&a;return 2===i?(a=c[e.charCodeAt(t)]<<2|c[e.charCodeAt(t+1)]>>4,s[u++]=255&a):1===i&&(a=c[e.charCodeAt(t)]<<10|c[e.charCodeAt(t+1)]<<4|c[e.charCodeAt(t+2)]>>2,s[u++]=a>>8&255,s[u++]=255&a),s}function i(e){return u[e>>18&63]+u[e>>12&63]+u[e>>6&63]+u[63&e]}function s(e,t,n){for(var r,o=[],a=t;a<n;a+=3)r=(e[a]<<16)+(e[a+1]<<8)+e[a+2],o.push(i(r));return o.join("")}function l(e){for(var t,n=e.length,r=n%3,o="",a=[],i=16383,l=0,c=n-r;l<c;l+=i)a.push(s(e,l,l+i>c?c:l+i));return 1===r?(t=e[n-1],o+=u[t>>2],o+=u[t<<4&63],o+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],o+=u[t>>10],o+=u[t>>4&63],o+=u[t<<2&63],o+="="),a.push(o),a.join("")}n.byteLength=o,n.toByteArray=a,n.fromByteArray=l;for(var u=[],c=[],d="undefined"!=typeof Uint8Array?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0,h=f.length;p<h;++p)u[p]=f[p],c[f.charCodeAt(p)]=p;c["-".charCodeAt(0)]=62,c["_".charCodeAt(0)]=63},{}],149:[function(e,t,n){(function(n){function r(e){if(!(this instanceof r))return new r(e);if(this._bufs=[],this.length=0,"function"==typeof e){this._callback=e;var t=function(e){this._callback&&(this._callback(e),this._callback=null)}.bind(this);this.on("pipe",function(e){e.on("error",t)}),this.on("unpipe",function(e){e.removeListener("error",t)})}else this.append(e);o.call(this)}var o=e("readable-stream/duplex"),a=e("util");a.inherits(r,o),r.prototype._offset=function(e){var t,n=0,r=0;if(0===e)return[0,0];for(;r<this._bufs.length;r++){if(t=n+this._bufs[r].length,e<t||r==this._bufs.length-1)return[r,e-n];n=t}},r.prototype.append=function(e){var t=0;if(n.isBuffer(e))this._appendBuffer(e);else if(Array.isArray(e))for(;t<e.length;t++)this.append(e[t]);else if(e instanceof r)for(;t<e._bufs.length;t++)this.append(e._bufs[t]);else null!=e&&("number"==typeof e&&(e=e.toString()),this._appendBuffer(new n(e)));return this},r.prototype._appendBuffer=function(e){this._bufs.push(e),this.length+=e.length},r.prototype._write=function(e,t,n){this._appendBuffer(e),"function"==typeof n&&n()},r.prototype._read=function(e){return this.length?(e=Math.min(e,this.length),this.push(this.slice(0,e)),void this.consume(e)):this.push(null)},r.prototype.end=function(e){o.prototype.end.call(this,e),this._callback&&(this._callback(null,this.slice()),this._callback=null)},r.prototype.get=function(e){return this.slice(e,e+1)[0]},r.prototype.slice=function(e,t){return"number"==typeof e&&e<0&&(e+=this.length),"number"==typeof t&&t<0&&(t+=this.length),this.copy(null,0,e,t)},r.prototype.copy=function e(t,r,o,a){if(("number"!=typeof o||o<0)&&(o=0),("number"!=typeof a||a>this.length)&&(a=this.length),o>=this.length)return t||new n(0);if(a<=0)return t||new n(0);var i,s,e=!!t,l=this._offset(o),u=a-o,c=u,d=e&&r||0,f=l[1];if(0===o&&a==this.length){if(!e)return 1===this._bufs.length?this._bufs[0]:n.concat(this._bufs,this.length);for(s=0;s<this._bufs.length;s++)this._bufs[s].copy(t,d),d+=this._bufs[s].length;return t}if(c<=this._bufs[l[0]].length-f)return e?this._bufs[l[0]].copy(t,r,f,f+c):this._bufs[l[0]].slice(f,f+c);for(e||(t=new n(u)),s=l[0];s<this._bufs.length;s++){if(i=this._bufs[s].length-f,!(c>i)){this._bufs[s].copy(t,d,f,f+c);break}this._bufs[s].copy(t,d,f),d+=i,c-=i,f&&(f=0)}return t},r.prototype.shallowSlice=function(e,t){e=e||0,t=t||this.length,e<0&&(e+=this.length),t<0&&(t+=this.length);var n=this._offset(e),o=this._offset(t),a=this._bufs.slice(n[0],o[0]+1);return 0!=n[1]&&(a[0]=a[0].slice(n[1])),0==o[1]?a.pop():a[a.length-1]=a[a.length-1].slice(0,o[1]),new r(a)},r.prototype.toString=function(e,t,n){return this.slice(t,n).toString(e)},r.prototype.consume=function(e){for(;this._bufs.length;){if(!(e>=this._bufs[0].length)){this._bufs[0]=this._bufs[0].slice(e),this.length-=e;break}e-=this._bufs[0].length,this.length-=this._bufs[0].length,this._bufs.shift()}return this},r.prototype.duplicate=function(){for(var e=0,t=new r;e<this._bufs.length;e++)t.append(this._bufs[e]);return t},r.prototype.destroy=function(){this._bufs.length=0,this.length=0,this.push(null)},function(){var e={readDoubleBE:8,readDoubleLE:8,readFloatBE:4,readFloatLE:4,readInt32BE:4,readInt32LE:4,readUInt32BE:4,readUInt32LE:4,readInt16BE:2,readInt16LE:2,readUInt16BE:2,readUInt16LE:2,readInt8:1,readUInt8:1};for(var t in e)!function(t){r.prototype[t]=function(n){return this.slice(n,n+e[t])[t](0)}}(t)}(),t.exports=r}).call(this,e("buffer").Buffer)},{buffer:153,"readable-stream/duplex":1270,util:1370}],150:[function(e,t,n){!function(e,n){"undefined"!=typeof t&&t.exports?t.exports.browser=n():"function"==typeof define&&define.amd?define(n):this[e]=n()}("bowser",function(){function e(e){function n(t){var n=e.match(t);return n&&n.length>1&&n[1]||""}function r(t){var n=e.match(t);return n&&n.length>1&&n[2]||""}var o,a=n(/(ipod|iphone|ipad)/i).toLowerCase(),i=/like android/i.test(e),s=!i&&/android/i.test(e),l=n(/edge\/(\d+(\.\d+)?)/i),u=n(/version\/(\d+(\.\d+)?)/i),c=/tablet/i.test(e),d=!c&&/[^-]mobi/i.test(e);/opera|opr/i.test(e)?o={name:"Opera",opera:t,version:u||n(/(?:opera|opr)[\s\/](\d+(\.\d+)?)/i)}:/windows phone/i.test(e)?(o={name:"Windows Phone",windowsphone:t},l?(o.msedge=t,o.version=l):(o.msie=t,o.version=n(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(e)?o={name:"Internet Explorer",msie:t,version:n(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:/chrome.+? edge/i.test(e)?o={name:"Microsoft Edge",msedge:t,version:l}:/chrome|crios|crmo/i.test(e)?o={name:"Chrome",chrome:t,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:a?(o={name:"iphone"==a?"iPhone":"ipad"==a?"iPad":"iPod"},u&&(o.version=u)):/sailfish/i.test(e)?o={name:"Sailfish",sailfish:t,version:n(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(e)?o={name:"SeaMonkey",seamonkey:t,version:n(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel/i.test(e)?(o={name:"Firefox",firefox:t,version:n(/(?:firefox|iceweasel)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(e)&&(o.firefoxos=t)):/silk/i.test(e)?o={name:"Amazon Silk",silk:t,version:n(/silk\/(\d+(\.\d+)?)/i)}:s?o={name:"Android",version:u}:/phantom/i.test(e)?o={name:"PhantomJS",phantom:t,version:n(/phantomjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(e)||/rim\stablet/i.test(e)?o={name:"BlackBerry",blackberry:t,version:u||n(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:/(web|hpw)os/i.test(e)?(o={name:"WebOS",webos:t,version:u||n(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\
|
3 | case"ucs-2":case"utf16le":case"utf-16le":return z(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(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=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:_(e,t,n,r,o);if("number"==typeof t)return t=255&t,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):_(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function _(e,t,n,r,o){function a(e,t){return 1===i?e[t]:e.readUInt16BE(t*i)}var i=1,s=e.length,l=t.length;if(void 0!==r&&(r=String(r).toLowerCase(),"ucs2"===r||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;i=2,s/=2,l/=2,n/=2}var u;if(o){var c=-1;for(u=n;u<s;u++)if(a(e,u)===a(t,c===-1?0:u-c)){if(c===-1&&(c=u),u-c+1===l)return c*i}else c!==-1&&(u-=u-c),c=-1}else for(n+l>s&&(n=s-l),u=n;u>=0;u--){for(var d=!0,f=0;f<l;f++)if(a(e,u+f)!==a(t,f)){d=!1;break}if(d)return u}return-1}function M(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r),r>o&&(r=o)):r=o;var a=t.length;if(a%2!==0)throw new TypeError("Invalid hex string");r>a/2&&(r=a/2);for(var i=0;i<r;++i){var s=parseInt(t.substr(2*i,2),16);if(isNaN(s))return i;e[n+i]=s}return i}function w(e,t,n,r){return X(F(t,e.length-n),e,n,r)}function S(e,t,n,r){return X(U(t),e,n,r)}function C(e,t,n,r){return S(e,t,n,r)}function x(e,t,n,r){return X(H(t),e,n,r)}function k(e,t,n,r){return X(W(t,e.length-n),e,n,r)}function T(e,t,n){return 0===t&&n===e.length?G.fromByteArray(e):G.fromByteArray(e.slice(t,n))}function A(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var a=e[o],i=null,s=a>239?4:a>223?3:a>191?2:1;if(o+s<=n){var l,u,c,d;switch(s){case 1:a<128&&(i=a);break;case 2:l=e[o+1],128===(192&l)&&(d=(31&a)<<6|63&l,d>127&&(i=d));break;case 3:l=e[o+1],u=e[o+2],128===(192&l)&&128===(192&u)&&(d=(15&a)<<12|(63&l)<<6|63&u,d>2047&&(d<55296||d>57343)&&(i=d));break;case 4:l=e[o+1],u=e[o+2],c=e[o+3],128===(192&l)&&128===(192&u)&&128===(192&c)&&(d=(15&a)<<18|(63&l)<<12|(63&u)<<6|63&c,d>65535&&d<1114112&&(i=d))}}null===i?(i=65533,s=1):i>65535&&(i-=65536,r.push(i>>>10&1023|55296),i=56320|1023&i),r.push(i),o+=s}return P(r)}function P(e){var t=e.length;if(t<=Q)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Q));return n}function N(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function O(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function E(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",a=t;a<n;++a)o+=q(e[a]);return o}function z(e,t,n){for(var r=e.slice(t,n),o="",a=0;a<r.length;a+=2)o+=String.fromCharCode(r[a]+256*r[a+1]);return o}function R(e,t,n){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function j(e,t,n,r,o,i){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function L(e,t,n,r,o,a){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function D(e,t,n,r,o){return t=+t,n>>>=0,o||L(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),Y.write(e,t,n,r,23,4),n+4}function I(e,t,n,r,o){return t=+t,n>>>=0,o||L(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),Y.write(e,t,n,r,52,8),n+8}function B(e){if(e=V(e).replace(J,""),e.length<2)return"";for(;e.length%4!==0;)e+="=";return e}function V(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function q(e){return e<16?"0"+e.toString(16):e.toString(16)}function F(e,t){t=t||1/0;for(var n,r=e.length,o=null,a=[],i=0;i<r;++i){if(n=e.charCodeAt(i),n>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(i+1===r){(t-=3)>-1&&a.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),o=n;continue}n=(o-55296<<10|n-56320)+65536}else o&&(t-=3)>-1&&a.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return a}function U(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function W(e,t){for(var n,r,o,a=[],i=0;i<e.length&&!((t-=2)<0);++i)n=e.charCodeAt(i),r=n>>8,o=n%256,a.push(o),a.push(r);return a}function H(e){return G.toByteArray(B(e))}function X(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}function K(e){return e!==e}var G=e("base64-js"),Y=e("ieee754");n.Buffer=a,n.SlowBuffer=m,n.INSPECT_MAX_BYTES=50;var $=2147483647;n.kMaxLength=$,a.TYPED_ARRAY_SUPPORT=r(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),"undefined"!=typeof Symbol&&Symbol.species&&a[Symbol.species]===a&&Object.defineProperty(a,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),a.poolSize=8192,a.from=function(e,t,n){return i(e,t,n)},a.prototype.__proto__=Uint8Array.prototype,a.__proto__=Uint8Array,a.alloc=function(e,t,n){return l(e,t,n)},a.allocUnsafe=function(e){return u(e)},a.allocUnsafeSlow=function(e){return u(e)},a.isBuffer=function(e){return null!=e&&e._isBuffer===!0},a.compare=function(e,t){if(!a.isBuffer(e)||!a.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},a.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return a.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=a.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var i=e[n];if(!a.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(r,o),o+=i.length}return r},a.byteLength=v,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},a.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},a.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},a.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?A(this,0,e):b.apply(this,arguments)},a.prototype.equals=function(e){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===a.compare(this,e)},a.prototype.inspect=function(){var e="",t=n.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"},a.prototype.compare=function(e,t,n,r,o){if(!a.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var i=o-r,s=n-t,l=Math.min(i,s),u=this.slice(r,o),c=e.slice(t,n),d=0;d<l;++d)if(u[d]!==c[d]){i=u[d],s=c[d];break}return i<s?-1:s<i?1:0},a.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1},a.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},a.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},a.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var a=!1;;)switch(r){case"hex":return M(this,e,t,n);case"utf8":case"utf-8":return w(this,e,t,n);case"ascii":return S(this,e,t,n);case"latin1":case"binary":return C(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,e,t,n);default:if(a)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),a=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;a.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return r.__proto__=a.prototype,r},a.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);for(var r=this[e],o=1,a=0;++a<t&&(o*=256);)r+=this[e+a]*o;return r},a.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},a.prototype.readUInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),this[e]},a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);for(var r=this[e],o=1,a=0;++a<t&&(o*=256);)r+=this[e+a]*o;return o*=128,r>=o&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);for(var r=t,o=1,a=this[e+--r];r>0&&(o*=256);)a+=this[e+--r]*o;return o*=128,a>=o&&(a-=Math.pow(2,8*t)),a},a.prototype.readInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),128&this[e]?(255-this[e]+1)*-1:this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||R(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt16BE=function(e,t){e>>>=0,t||R(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readFloatLE=function(e,t){return e>>>=0,t||R(e,4,this.length),Y.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||R(e,4,this.length),Y.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||R(e,8,this.length),Y.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||R(e,8,this.length),Y.read(this,e,!1,52,8)},a.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;j(this,e,t,n,o,0)}var a=1,i=0;for(this[t]=255&e;++i<n&&(a*=256);)this[t+i]=e/a&255;return t+n},a.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var o=Math.pow(2,8*n)-1;j(this,e,t,n,o,0)}var a=n-1,i=1;for(this[t+a]=255&e;--a>=0&&(i*=256);)this[t+a]=e/i&255;return t+n},a.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);j(this,e,t,n,o-1,-o)}var a=0,i=1,s=0;for(this[t]=255&e;++a<n&&(i*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/i>>0)-s&255;return t+n},a.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var o=Math.pow(2,8*n-1);j(this,e,t,n,o-1,-o)}var a=n-1,i=1,s=0;for(this[t+a]=255&e;--a>=0&&(i*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/i>>0)-s&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||j(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeFloatLE=function(e,t,n){return D(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return D(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return I(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return I(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,a=r-n;if(this===e&&n<t&&t<r)for(o=a-1;o>=0;--o)e[o+t]=this[o+n];else if(a<1e3)for(o=0;o<a;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},a.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e=255&e);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var i;if("number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var s=a.isBuffer(e)?e:new a(e,r),l=s.length;for(i=0;i<n-t;++i)this[i+t]=s[i%l]}return this};var J=/[^+\/0-9A-Za-z-_]/g},{"base64-js":148,ieee754:324}],154:[function(e,t,n){!function(r,o){"function"==typeof define&&define.amd?define(["chartist"],function(e){return r.returnExportsGlobal=o(e)}):"object"==typeof n?t.exports=o(e("chartist")):r["Chartist.plugins.legend"]=o(r.Chartist)}(this,function(e){"use strict";var t={className:"",classNames:!1,removeAll:!1,legendNames:!1,clickable:!0,onClick:null,position:"top"};return e.plugins=e.plugins||{},e.plugins.legend=function(n){function r(e,t){return e-t}if(n&&n.position){if(!("top"===n.position||"bottom"===n.position||n.position instanceof HTMLElement))throw Error("The position you entered is not a valid position");if(n.position instanceof HTMLElement){var o=n.position;delete n.position}}return n=e.extend({},t,n),o&&(n.position=o),function(t){var o=t.container.querySelector(".ct-legend");if(o&&o.parentNode.removeChild(o),n.clickable){var a=t.data.series.map(function(n,r){return"object"!=typeof n&&(n={value:n}),n.className=n.className||t.options.classNames.series+"-"+e.alphaNumerate(r),n});t.data.series=a}var i=document.createElement("ul"),s=t instanceof e.Pie;i.className="ct-legend",t instanceof e.Pie&&i.classList.add("ct-legend-inside"),"string"==typeof n.className&&n.className.length>0&&i.classList.add(n.className),t.options.width&&(i.style.cssText="width: "+t.options.width+"px;margin: 0 auto;");var l=[],u=t.data.series.slice(0),c=t.data.series,d=s&&t.data.labels;if(d){var f=t.data.labels.slice(0);c=t.data.labels}c=n.legendNames||c;var p=Array.isArray(n.classNames)&&n.classNames.length===c.length;c.forEach(function(e,t){var r=document.createElement("li");r.className="ct-series-"+t,p&&(r.className+=" "+n.classNames[t]),r.setAttribute("data-legend",t),r.textContent=e.name||e,i.appendChild(r)}),t.on("created",function(e){if(n.position instanceof HTMLElement)n.position.insertBefore(i,null);else switch(n.position){case"top":t.container.insertBefore(i,t.container.childNodes[0]);break;case"bottom":t.container.insertBefore(i,null)}}),n.clickable&&i.addEventListener("click",function(e){var o=e.target;if(o.parentNode===i&&o.hasAttribute("data-legend")){e.preventDefault();var a=parseInt(o.getAttribute("data-legend")),s=l.indexOf(a);if(s>-1)l.splice(s,1),o.classList.remove("inactive");else if(n.removeAll)l.push(a),o.classList.add("inactive");else if(t.data.series.length>1)l.push(a),o.classList.add("inactive");else{l=[];var c=Array.prototype.slice.call(i.childNodes);c.forEach(function(e){e.classList.remove("inactive")})}var p=u.slice(0);if(d)var h=f.slice(0);l.sort(r).reverse(),l.forEach(function(e){p.splice(e,1),d&&h.splice(e,1)}),n.onClick&&n.onClick(t,e),t.data.series=p,d&&(t.data.labels=h),t.update()}})}},e.plugins.legend})},{chartist:156}],155:[function(e,t,n){!function(r,o){"function"==typeof define&&define.amd?define(["chartist","jquery"],function(e,t){return r.returnExportsGlobal=o(e,t)}):"object"==typeof n?t.exports=o(e("chartist"),e("jquery")):r["Chartist.plugins.tooltip"]=o(r.chartist,r.jquery)}(this,function(e,t){"use strict";var n={valueTransform:e.noop,seriesName:!0};return e.plugins=e.plugins||{},e.plugins.tooltip=function(r){return r=e.extend({},n,r),function(n){var o=".ct-point";n instanceof e.Bar?o=".ct-bar":n instanceof e.Pie&&(o="[class^=ct-slice]");var a=t(n.container),i=a.append('<div class="ct-tooltip"></div>').find(".ct-tooltip").hide();a.on("mouseenter",o,function(){var e=t(this),n=e.parent().attr("ct:series-name"),o="";r.seriesName&&n&&(o+=n+"<br>"),e.attr("ct:meta")&&(o+=e.attr("ct:meta")+"<br>");var a=e.attr("ct:value")||"0";o+=r.valueTransform(a),i.html(o).show()}),a.on("mouseleave",o,function(){i.hide()}),a.on("mousemove",function(e){i.css({left:(e.offsetX||e.originalEvent.layerX)-i.width()/2-10,top:(e.offsetY||e.originalEvent.layerY)-i.height()-40})})}},e.plugins.tooltip})},{chartist:156,jquery:369}],156:[function(e,t,n){!function(e,r){"function"==typeof define&&define.amd?define("Chartist",[],function(){return e.Chartist=r()}):"object"==typeof n?t.exports=r():e.Chartist=r()}(this,function(){var e={version:"0.10.0"};return function(e,t,n){"use strict";n.namespaces={svg:"http://www.w3.org/2000/svg",xmlns:"http://www.w3.org/2000/xmlns/",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",ct:"http://gionkunz.github.com/chartist-js/ct"},n.noop=function(e){return e},n.alphaNumerate=function(e){return String.fromCharCode(97+e%26)},n.extend=function(e){var t,r,o;for(e=e||{},t=1;t<arguments.length;t++){r=arguments[t];for(var a in r)o=r[a],"object"!=typeof o||null===o||o instanceof Array?e[a]=o:e[a]=n.extend(e[a],o)}return e},n.replaceAll=function(e,t,n){return e.replace(new RegExp(t,"g"),n)},n.ensureUnit=function(e,t){return"number"==typeof e&&(e+=t),e},n.quantity=function(e){if("string"==typeof e){var t=/^(\d+)\s*(.*)$/g.exec(e);return{value:+t[1],unit:t[2]||void 0}}return{value:e}},n.querySelector=function(e){return e instanceof Node?e:t.querySelector(e)},n.times=function(e){return Array.apply(null,new Array(e))},n.sum=function(e,t){return e+(t?t:0)},n.mapMultiply=function(e){return function(t){return t*e}},n.mapAdd=function(e){return function(t){return t+e}},n.serialMap=function(e,t){var r=[],o=Math.max.apply(null,e.map(function(e){return e.length}));return n.times(o).forEach(function(n,o){var a=e.map(function(e){return e[o]});r[o]=t.apply(null,a)}),r},n.roundWithPrecision=function(e,t){var r=Math.pow(10,t||n.precision);return Math.round(e*r)/r},n.precision=8,n.escapingMap={"&":"&","<":"<",">":">",'"':""","'":"'"},n.serialize=function(e){return null===e||void 0===e?e:("number"==typeof e?e=""+e:"object"==typeof e&&(e=JSON.stringify({data:e})),Object.keys(n.escapingMap).reduce(function(e,t){return n.replaceAll(e,t,n.escapingMap[t])},e))},n.deserialize=function(e){if("string"!=typeof e)return e;e=Object.keys(n.escapingMap).reduce(function(e,t){return n.replaceAll(e,n.escapingMap[t],t)},e);try{e=JSON.parse(e),e=void 0!==e.data?e.data:e}catch(e){}return e},n.createSvg=function(e,t,r,o){var a;return t=t||"100%",r=r||"100%",Array.prototype.slice.call(e.querySelectorAll("svg")).filter(function(e){return e.getAttributeNS(n.namespaces.xmlns,"ct")}).forEach(function(t){e.removeChild(t)}),a=new n.Svg("svg").attr({width:t,height:r}).addClass(o).attr({style:"width: "+t+"; height: "+r+";"}),e.appendChild(a._node),a},n.normalizeData=function(e,t,r){var o,a={raw:e,normalized:{}};return a.normalized.series=n.getDataArray({series:e.series||[]},t,r),o=a.normalized.series.every(function(e){return e instanceof Array})?Math.max.apply(null,a.normalized.series.map(function(e){return e.length})):a.normalized.series.length,a.normalized.labels=(e.labels||[]).slice(),Array.prototype.push.apply(a.normalized.labels,n.times(Math.max(0,o-a.normalized.labels.length)).map(function(){return""})),t&&n.reverseData(a.normalized),a},n.safeHasProperty=function(e,t){return null!==e&&"object"==typeof e&&e.hasOwnProperty(t)},n.isDataHoleValue=function(e){return null===e||void 0===e||"number"==typeof e&&isNaN(e)},n.reverseData=function(e){e.labels.reverse(),e.series.reverse();for(var t=0;t<e.series.length;t++)"object"==typeof e.series[t]&&void 0!==e.series[t].data?e.series[t].data.reverse():e.series[t]instanceof Array&&e.series[t].reverse()},n.getDataArray=function(e,t,r){function o(e){if(n.safeHasProperty(e,"value"))return o(e.value);if(n.safeHasProperty(e,"data"))return o(e.data);if(e instanceof Array)return e.map(o);if(!n.isDataHoleValue(e)){if(r){var t={};return"string"==typeof r?t[r]=n.getNumberOrUndefined(e):t.y=n.getNumberOrUndefined(e),t.x=e.hasOwnProperty("x")?n.getNumberOrUndefined(e.x):t.x,t.y=e.hasOwnProperty("y")?n.getNumberOrUndefined(e.y):t.y,t}return n.getNumberOrUndefined(e)}}return e.series.map(o)},n.normalizePadding=function(e,t){return t=t||0,"number"==typeof e?{top:e,right:e,bottom:e,left:e}:{top:"number"==typeof e.top?e.top:t,right:"number"==typeof e.right?e.right:t,bottom:"number"==typeof e.bottom?e.bottom:t,left:"number"==typeof e.left?e.left:t}},n.getMetaData=function(e,t){var n=e.data?e.data[t]:e[t];return n?n.meta:void 0},n.orderOfMagnitude=function(e){return Math.floor(Math.log(Math.abs(e))/Math.LN10)},n.projectLength=function(e,t,n){return t/n.range*e},n.getAvailableHeight=function(e,t){return Math.max((n.quantity(t.height).value||e.height())-(t.chartPadding.top+t.chartPadding.bottom)-t.axisX.offset,0)},n.getHighLow=function(e,t,r){function o(e){if(void 0!==e)if(e instanceof Array)for(var t=0;t<e.length;t++)o(e[t]);else{var n=r?+e[r]:+e;i&&n>a.high&&(a.high=n),s&&n<a.low&&(a.low=n)}}t=n.extend({},t,r?t["axis"+r.toUpperCase()]:{});var a={high:void 0===t.high?-Number.MAX_VALUE:+t.high,low:void 0===t.low?Number.MAX_VALUE:+t.low},i=void 0===t.high,s=void 0===t.low;return(i||s)&&o(e),(t.referenceValue||0===t.referenceValue)&&(a.high=Math.max(t.referenceValue,a.high),a.low=Math.min(t.referenceValue,a.low)),a.high<=a.low&&(0===a.low?a.high=1:a.low<0?a.high=0:a.high>0?a.low=0:(a.high=1,a.low=0)),a},n.isNumeric=function(e){return null!==e&&isFinite(e)},n.isFalseyButZero=function(e){return!e&&0!==e},n.getNumberOrUndefined=function(e){return n.isNumeric(e)?+e:void 0},n.isMultiValue=function(e){return"object"==typeof e&&("x"in e||"y"in e)},n.getMultiValue=function(e,t){return n.isMultiValue(e)?n.getNumberOrUndefined(e[t||"y"]):n.getNumberOrUndefined(e)},n.rho=function(e){function t(e,n){return e%n===0?n:t(n,e%n)}function n(e){return e*e+1}if(1===e)return e;var r,o=2,a=2;if(e%2===0)return 2;do o=n(o)%e,a=n(n(a))%e,r=t(Math.abs(o-a),e);while(1===r);return r},n.getBounds=function(e,t,r,o){function a(e,t){return e===(e+=t)&&(e*=1+(t>0?h:-h)),e}var i,s,l,u=0,c={high:t.high,low:t.low};c.valueRange=c.high-c.low,c.oom=n.orderOfMagnitude(c.valueRange),c.step=Math.pow(10,c.oom),c.min=Math.floor(c.low/c.step)*c.step,c.max=Math.ceil(c.high/c.step)*c.step,c.range=c.max-c.min,c.numberOfSteps=Math.round(c.range/c.step);var d=n.projectLength(e,c.step,c),f=d<r,p=o?n.rho(c.range):0;if(o&&n.projectLength(e,1,c)>=r)c.step=1;else if(o&&p<c.step&&n.projectLength(e,p,c)>=r)c.step=p;else for(;;){if(f&&n.projectLength(e,c.step,c)<=r)c.step*=2;else{if(f||!(n.projectLength(e,c.step/2,c)>=r))break;if(c.step/=2,o&&c.step%1!==0){c.step*=2;break}}if(u++>1e3)throw new Error("Exceeded maximum number of iterations while optimizing scale step!")}var h=2.221e-16;for(c.step=Math.max(c.step,h),s=c.min,l=c.max;s+c.step<=c.low;)s=a(s,c.step);for(;l-c.step>=c.high;)l=a(l,-c.step);c.min=s,c.max=l,c.range=c.max-c.min;var m=[];for(i=c.min;i<=c.max;i=a(i,c.step)){var v=n.roundWithPrecision(i);v!==m[m.length-1]&&m.push(v)}return c.values=m,c},n.polarToCartesian=function(e,t,n,r){var o=(r-90)*Math.PI/180;return{x:e+n*Math.cos(o),y:t+n*Math.sin(o)}},n.createChartRect=function(e,t,r){var o=!(!t.axisX&&!t.axisY),a=o?t.axisY.offset:0,i=o?t.axisX.offset:0,s=e.width()||n.quantity(t.width).value||0,l=e.height()||n.quantity(t.height).value||0,u=n.normalizePadding(t.chartPadding,r);s=Math.max(s,a+u.left+u.right),l=Math.max(l,i+u.top+u.bottom);var c={padding:u,width:function(){return this.x2-this.x1},height:function(){return this.y1-this.y2}};return o?("start"===t.axisX.position?(c.y2=u.top+i,c.y1=Math.max(l-u.bottom,c.y2+1)):(c.y2=u.top,c.y1=Math.max(l-u.bottom-i,c.y2+1)),"start"===t.axisY.position?(c.x1=u.left+a,c.x2=Math.max(s-u.right,c.x1+1)):(c.x1=u.left,c.x2=Math.max(s-u.right-a,c.x1+1))):(c.x1=u.left,c.x2=Math.max(s-u.right,c.x1+1),c.y2=u.top,c.y1=Math.max(l-u.bottom,c.y2+1)),c},n.createGrid=function(e,t,r,o,a,i,s,l){var u={};u[r.units.pos+"1"]=e,u[r.units.pos+"2"]=e,u[r.counterUnits.pos+"1"]=o,u[r.counterUnits.pos+"2"]=o+a;var c=i.elem("line",u,s.join(" "));l.emit("draw",n.extend({type:"grid",axis:r,index:t,group:i,element:c},u))},n.createGridBackground=function(e,t,n,r){var o=e.elem("rect",{x:t.x1,y:t.y2,width:t.width(),height:t.height()},n,!0);r.emit("draw",{type:"gridBackground",group:e,element:o})},n.createLabel=function(e,t,r,o,a,i,s,l,u,c,d){var f,p={};if(p[a.units.pos]=e+s[a.units.pos],p[a.counterUnits.pos]=s[a.counterUnits.pos],p[a.units.len]=t,p[a.counterUnits.len]=Math.max(0,i-10),c){var h='<span class="'+u.join(" ")+'" style="'+a.units.len+": "+Math.round(p[a.units.len])+"px; "+a.counterUnits.len+": "+Math.round(p[a.counterUnits.len])+'px">'+o[r]+"</span>";f=l.foreignObject(h,n.extend({style:"overflow: visible;"},p))}else f=l.elem("text",p,u.join(" ")).text(o[r]);d.emit("draw",n.extend({type:"label",axis:a,index:r,group:l,element:f,text:o[r]},p))},n.getSeriesOption=function(e,t,n){if(e.name&&t.series&&t.series[e.name]){var r=t.series[e.name];return r.hasOwnProperty(n)?r[n]:t[n]}return t[n]},n.optionsProvider=function(t,r,o){function a(t){var a=s;if(s=n.extend({},u),r)for(l=0;l<r.length;l++){var i=e.matchMedia(r[l][0]);i.matches&&(s=n.extend(s,r[l][1]))}o&&t&&o.emit("optionsChanged",{previousOptions:a,currentOptions:s})}function i(){c.forEach(function(e){e.removeListener(a)})}var s,l,u=n.extend({},t),c=[];if(!e.matchMedia)throw"window.matchMedia not found! Make sure you're using a polyfill.";if(r)for(l=0;l<r.length;l++){var d=e.matchMedia(r[l][0]);d.addListener(a),c.push(d)}return a(),{removeMediaQueryListeners:i,getCurrentOptions:function(){return n.extend({},s)}}},n.splitIntoSegments=function(e,t,r){var o={increasingX:!1,fillHoles:!1};r=n.extend({},o,r);for(var a=[],i=!0,s=0;s<e.length;s+=2)void 0===n.getMultiValue(t[s/2].value)?r.fillHoles||(i=!0):(r.increasingX&&s>=2&&e[s]<=e[s-2]&&(i=!0),i&&(a.push({pathCoordinates:[],valueData:[]}),i=!1),a[a.length-1].pathCoordinates.push(e[s],e[s+1]),a[a.length-1].valueData.push(t[s/2]));return a}}(window,document,e),function(e,t,n){"use strict";n.Interpolation={},n.Interpolation.none=function(e){var t={fillHoles:!1};return e=n.extend({},t,e),function(t,r){for(var o=new n.Svg.Path,a=!0,i=0;i<t.length;i+=2){var s=t[i],l=t[i+1],u=r[i/2];void 0!==n.getMultiValue(u.value)?(a?o.move(s,l,!1,u):o.line(s,l,!1,u),a=!1):e.fillHoles||(a=!0)}return o}},n.Interpolation.simple=function(e){var t={divisor:2,fillHoles:!1};e=n.extend({},t,e);var r=1/Math.max(1,e.divisor);return function(t,o){for(var a,i,s,l=new n.Svg.Path,u=0;u<t.length;u+=2){var c=t[u],d=t[u+1],f=(c-a)*r,p=o[u/2];void 0!==p.value?(void 0===s?l.move(c,d,!1,p):l.curve(a+f,i,c-f,d,c,d,!1,p),a=c,i=d,s=p):e.fillHoles||(a=c=s=void 0)}return l}},n.Interpolation.cardinal=function(e){var t={tension:1,fillHoles:!1};e=n.extend({},t,e);var r=Math.min(1,Math.max(0,e.tension)),o=1-r;return function t(a,i){var s=n.splitIntoSegments(a,i,{fillHoles:e.fillHoles});if(s.length){if(s.length>1){var l=[];return s.forEach(function(e){l.push(t(e.pathCoordinates,e.valueData))}),n.Svg.Path.join(l)}if(a=s[0].pathCoordinates,i=s[0].valueData,a.length<=4)return n.Interpolation.none()(a,i);for(var u,c=(new n.Svg.Path).move(a[0],a[1],!1,i[0]),d=0,f=a.length;f-2*!u>d;d+=2){var p=[{x:+a[d-2],y:+a[d-1]},{x:+a[d],y:+a[d+1]},{x:+a[d+2],y:+a[d+3]},{x:+a[d+4],y:+a[d+5]}];u?d?f-4===d?p[3]={x:+a[0],y:+a[1]}:f-2===d&&(p[2]={x:+a[0],y:+a[1]},p[3]={x:+a[2],y:+a[3]}):p[0]={x:+a[f-2],y:+a[f-1]}:f-4===d?p[3]=p[2]:d||(p[0]={x:+a[d],y:+a[d+1]}),c.curve(r*(-p[0].x+6*p[1].x+p[2].x)/6+o*p[2].x,r*(-p[0].y+6*p[1].y+p[2].y)/6+o*p[2].y,r*(p[1].x+6*p[2].x-p[3].x)/6+o*p[2].x,r*(p[1].y+6*p[2].y-p[3].y)/6+o*p[2].y,p[2].x,p[2].y,!1,i[(d+2)/2])}return c}return n.Interpolation.none()([])}},n.Interpolation.monotoneCubic=function(e){var t={fillHoles:!1};return e=n.extend({},t,e),function t(r,o){var a=n.splitIntoSegments(r,o,{fillHoles:e.fillHoles,increasingX:!0});if(a.length){if(a.length>1){var i=[];return a.forEach(function(e){i.push(t(e.pathCoordinates,e.valueData))}),n.Svg.Path.join(i)}if(r=a[0].pathCoordinates,o=a[0].valueData,r.length<=4)return n.Interpolation.none()(r,o);var s,l,u=[],c=[],d=r.length/2,f=[],p=[],h=[],m=[];for(s=0;s<d;s++)u[s]=r[2*s],c[s]=r[2*s+1];for(s=0;s<d-1;s++)h[s]=c[s+1]-c[s],m[s]=u[s+1]-u[s],p[s]=h[s]/m[s];for(f[0]=p[0],f[d-1]=p[d-2],s=1;s<d-1;s++)0===p[s]||0===p[s-1]||p[s-1]>0!=p[s]>0?f[s]=0:(f[s]=3*(m[s-1]+m[s])/((2*m[s]+m[s-1])/p[s-1]+(m[s]+2*m[s-1])/p[s]),isFinite(f[s])||(f[s]=0));for(l=(new n.Svg.Path).move(u[0],c[0],!1,o[0]),s=0;s<d-1;s++)l.curve(u[s]+m[s]/3,c[s]+f[s]*m[s]/3,u[s+1]-m[s]/3,c[s+1]-f[s+1]*m[s]/3,u[s+1],c[s+1],!1,o[s+1]);return l}return n.Interpolation.none()([]);
|
4 | }},n.Interpolation.step=function(e){var t={postpone:!0,fillHoles:!1};return e=n.extend({},t,e),function(t,r){for(var o,a,i,s=new n.Svg.Path,l=0;l<t.length;l+=2){var u=t[l],c=t[l+1],d=r[l/2];void 0!==d.value?(void 0===i?s.move(u,c,!1,d):(e.postpone?s.line(u,a,!1,i):s.line(o,c,!1,d),s.line(u,c,!1,d)),o=u,a=c,i=d):e.fillHoles||(o=a=i=void 0)}return s}}}(window,document,e),function(e,t,n){"use strict";n.EventEmitter=function(){function e(e,t){r[e]=r[e]||[],r[e].push(t)}function t(e,t){r[e]&&(t?(r[e].splice(r[e].indexOf(t),1),0===r[e].length&&delete r[e]):delete r[e])}function n(e,t){r[e]&&r[e].forEach(function(e){e(t)}),r["*"]&&r["*"].forEach(function(n){n(e,t)})}var r=[];return{addEventHandler:e,removeEventHandler:t,emit:n}}}(window,document,e),function(e,t,n){"use strict";function r(e){var t=[];if(e.length)for(var n=0;n<e.length;n++)t.push(e[n]);return t}function o(e,t){var r=t||this.prototype||n.Class,o=Object.create(r);n.Class.cloneDefinitions(o,e);var a=function(){var e,t=o.constructor||function(){};return e=this===n?Object.create(o):this,t.apply(e,Array.prototype.slice.call(arguments,0)),e};return a.prototype=o,a.super=r,a.extend=this.extend,a}function a(){var e=r(arguments),t=e[0];return e.splice(1,e.length-1).forEach(function(e){Object.getOwnPropertyNames(e).forEach(function(n){delete t[n],Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))})}),t}n.Class={extend:o,cloneDefinitions:a}}(window,document,e),function(e,t,n){"use strict";function r(e,t,r){return e&&(this.data=e||{},this.data.labels=this.data.labels||[],this.data.series=this.data.series||[],this.eventEmitter.emit("data",{type:"update",data:this.data})),t&&(this.options=n.extend({},r?this.options:this.defaultOptions,t),this.initializeTimeoutId||(this.optionsProvider.removeMediaQueryListeners(),this.optionsProvider=n.optionsProvider(this.options,this.responsiveOptions,this.eventEmitter))),this.initializeTimeoutId||this.createChart(this.optionsProvider.getCurrentOptions()),this}function o(){return this.initializeTimeoutId?e.clearTimeout(this.initializeTimeoutId):(e.removeEventListener("resize",this.resizeListener),this.optionsProvider.removeMediaQueryListeners()),this}function a(e,t){return this.eventEmitter.addEventHandler(e,t),this}function i(e,t){return this.eventEmitter.removeEventHandler(e,t),this}function s(){e.addEventListener("resize",this.resizeListener),this.optionsProvider=n.optionsProvider(this.options,this.responsiveOptions,this.eventEmitter),this.eventEmitter.addEventHandler("optionsChanged",function(){this.update()}.bind(this)),this.options.plugins&&this.options.plugins.forEach(function(e){e instanceof Array?e[0](this,e[1]):e(this)}.bind(this)),this.eventEmitter.emit("data",{type:"initial",data:this.data}),this.createChart(this.optionsProvider.getCurrentOptions()),this.initializeTimeoutId=void 0}function l(e,t,r,o,a){this.container=n.querySelector(e),this.data=t||{},this.data.labels=this.data.labels||[],this.data.series=this.data.series||[],this.defaultOptions=r,this.options=o,this.responsiveOptions=a,this.eventEmitter=n.EventEmitter(),this.supportsForeignObject=n.Svg.isSupported("Extensibility"),this.supportsAnimations=n.Svg.isSupported("AnimationEventsAttribute"),this.resizeListener=function(){this.update()}.bind(this),this.container&&(this.container.__chartist__&&this.container.__chartist__.detach(),this.container.__chartist__=this),this.initializeTimeoutId=setTimeout(s.bind(this),0)}n.Base=n.Class.extend({constructor:l,optionsProvider:void 0,container:void 0,svg:void 0,eventEmitter:void 0,createChart:function(){throw new Error("Base chart type can't be instantiated!")},update:r,detach:o,on:a,off:i,version:n.version,supportsForeignObject:!1})}(window,document,e),function(e,t,n){"use strict";function r(e,r,o,a,i){e instanceof Element?this._node=e:(this._node=t.createElementNS(n.namespaces.svg,e),"svg"===e&&this.attr({"xmlns:ct":n.namespaces.ct})),r&&this.attr(r),o&&this.addClass(o),a&&(i&&a._node.firstChild?a._node.insertBefore(this._node,a._node.firstChild):a._node.appendChild(this._node))}function o(e,t){return"string"==typeof e?t?this._node.getAttributeNS(t,e):this._node.getAttribute(e):(Object.keys(e).forEach(function(t){if(void 0!==e[t])if(t.indexOf(":")!==-1){var r=t.split(":");this._node.setAttributeNS(n.namespaces[r[0]],t,e[t])}else this._node.setAttribute(t,e[t])}.bind(this)),this)}function a(e,t,r,o){return new n.Svg(e,t,r,this,o)}function i(){return this._node.parentNode instanceof SVGElement?new n.Svg(this._node.parentNode):null}function s(){for(var e=this._node;"svg"!==e.nodeName;)e=e.parentNode;return new n.Svg(e)}function l(e){var t=this._node.querySelector(e);return t?new n.Svg(t):null}function u(e){var t=this._node.querySelectorAll(e);return t.length?new n.Svg.List(t):null}function c(){return this._node}function d(e,r,o,a){if("string"==typeof e){var i=t.createElement("div");i.innerHTML=e,e=i.firstChild}e.setAttribute("xmlns",n.namespaces.xmlns);var s=this.elem("foreignObject",r,o,a);return s._node.appendChild(e),s}function f(e){return this._node.appendChild(t.createTextNode(e)),this}function p(){for(;this._node.firstChild;)this._node.removeChild(this._node.firstChild);return this}function h(){return this._node.parentNode.removeChild(this._node),this.parent()}function m(e){return this._node.parentNode.replaceChild(e._node,this._node),e}function v(e,t){return t&&this._node.firstChild?this._node.insertBefore(e._node,this._node.firstChild):this._node.appendChild(e._node),this}function b(){return this._node.getAttribute("class")?this._node.getAttribute("class").trim().split(/\s+/):[]}function g(e){return this._node.setAttribute("class",this.classes(this._node).concat(e.trim().split(/\s+/)).filter(function(e,t,n){return n.indexOf(e)===t}).join(" ")),this}function y(e){var t=e.trim().split(/\s+/);return this._node.setAttribute("class",this.classes(this._node).filter(function(e){return t.indexOf(e)===-1}).join(" ")),this}function _(){return this._node.setAttribute("class",""),this}function M(){return this._node.getBoundingClientRect().height}function w(){return this._node.getBoundingClientRect().width}function S(e,t,r){return void 0===t&&(t=!0),Object.keys(e).forEach(function(o){function a(e,t){var a,i,s,l={};e.easing&&(s=e.easing instanceof Array?e.easing:n.Svg.Easing[e.easing],delete e.easing),e.begin=n.ensureUnit(e.begin,"ms"),e.dur=n.ensureUnit(e.dur,"ms"),s&&(e.calcMode="spline",e.keySplines=s.join(" "),e.keyTimes="0;1"),t&&(e.fill="freeze",l[o]=e.from,this.attr(l),i=n.quantity(e.begin||0).value,e.begin="indefinite"),a=this.elem("animate",n.extend({attributeName:o},e)),t&&setTimeout(function(){try{a._node.beginElement()}catch(t){l[o]=e.to,this.attr(l),a.remove()}}.bind(this),i),r&&a._node.addEventListener("beginEvent",function(){r.emit("animationBegin",{element:this,animate:a._node,params:e})}.bind(this)),a._node.addEventListener("endEvent",function(){r&&r.emit("animationEnd",{element:this,animate:a._node,params:e}),t&&(l[o]=e.to,this.attr(l),a.remove())}.bind(this))}e[o]instanceof Array?e[o].forEach(function(e){a.bind(this)(e,!1)}.bind(this)):a.bind(this)(e[o],t)}.bind(this)),this}function C(e){var t=this;this.svgElements=[];for(var r=0;r<e.length;r++)this.svgElements.push(new n.Svg(e[r]));Object.keys(n.Svg.prototype).filter(function(e){return["constructor","parent","querySelector","querySelectorAll","replace","append","classes","height","width"].indexOf(e)===-1}).forEach(function(e){t[e]=function(){var r=Array.prototype.slice.call(arguments,0);return t.svgElements.forEach(function(t){n.Svg.prototype[e].apply(t,r)}),t}})}n.Svg=n.Class.extend({constructor:r,attr:o,elem:a,parent:i,root:s,querySelector:l,querySelectorAll:u,getNode:c,foreignObject:d,text:f,empty:p,remove:h,replace:m,append:v,classes:b,addClass:g,removeClass:y,removeAllClasses:_,height:M,width:w,animate:S}),n.Svg.isSupported=function(e){return t.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#"+e,"1.1")};var x={easeInSine:[.47,0,.745,.715],easeOutSine:[.39,.575,.565,1],easeInOutSine:[.445,.05,.55,.95],easeInQuad:[.55,.085,.68,.53],easeOutQuad:[.25,.46,.45,.94],easeInOutQuad:[.455,.03,.515,.955],easeInCubic:[.55,.055,.675,.19],easeOutCubic:[.215,.61,.355,1],easeInOutCubic:[.645,.045,.355,1],easeInQuart:[.895,.03,.685,.22],easeOutQuart:[.165,.84,.44,1],easeInOutQuart:[.77,0,.175,1],easeInQuint:[.755,.05,.855,.06],easeOutQuint:[.23,1,.32,1],easeInOutQuint:[.86,0,.07,1],easeInExpo:[.95,.05,.795,.035],easeOutExpo:[.19,1,.22,1],easeInOutExpo:[1,0,0,1],easeInCirc:[.6,.04,.98,.335],easeOutCirc:[.075,.82,.165,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]};n.Svg.Easing=x,n.Svg.List=n.Class.extend({constructor:C})}(window,document,e),function(e,t,n){"use strict";function r(e,t,r,o,a,i){var s=n.extend({command:a?e.toLowerCase():e.toUpperCase()},t,i?{data:i}:{});r.splice(o,0,s)}function o(e,t){e.forEach(function(n,r){_[n.command.toLowerCase()].forEach(function(o,a){t(n,o,r,a,e)})})}function a(e,t){this.pathElements=[],this.pos=0,this.close=e,this.options=n.extend({},M,t)}function i(e){return void 0!==e?(this.pos=Math.max(0,Math.min(this.pathElements.length,e)),this):this.pos}function s(e){return this.pathElements.splice(this.pos,e),this}function l(e,t,n,o){return r("M",{x:+e,y:+t},this.pathElements,this.pos++,n,o),this}function u(e,t,n,o){return r("L",{x:+e,y:+t},this.pathElements,this.pos++,n,o),this}function c(e,t,n,o,a,i,s,l){return r("C",{x1:+e,y1:+t,x2:+n,y2:+o,x:+a,y:+i},this.pathElements,this.pos++,s,l),this}function d(e,t,n,o,a,i,s,l,u){return r("A",{rx:+e,ry:+t,xAr:+n,lAf:+o,sf:+a,x:+i,y:+s},this.pathElements,this.pos++,l,u),this}function f(e){var t=e.replace(/([A-Za-z])([0-9])/g,"$1 $2").replace(/([0-9])([A-Za-z])/g,"$1 $2").split(/[\s,]+/).reduce(function(e,t){return t.match(/[A-Za-z]/)&&e.push([]),e[e.length-1].push(t),e},[]);"Z"===t[t.length-1][0].toUpperCase()&&t.pop();var r=t.map(function(e){var t=e.shift(),r=_[t.toLowerCase()];return n.extend({command:t},r.reduce(function(t,n,r){return t[n]=+e[r],t},{}))}),o=[this.pos,0];return Array.prototype.push.apply(o,r),Array.prototype.splice.apply(this.pathElements,o),this.pos+=r.length,this}function p(){var e=Math.pow(10,this.options.accuracy);return this.pathElements.reduce(function(t,n){var r=_[n.command.toLowerCase()].map(function(t){return this.options.accuracy?Math.round(n[t]*e)/e:n[t]}.bind(this));return t+n.command+r.join(",")}.bind(this),"")+(this.close?"Z":"")}function h(e,t){return o(this.pathElements,function(n,r){n[r]*="x"===r[0]?e:t}),this}function m(e,t){return o(this.pathElements,function(n,r){n[r]+="x"===r[0]?e:t}),this}function v(e){return o(this.pathElements,function(t,n,r,o,a){var i=e(t,n,r,o,a);(i||0===i)&&(t[n]=i)}),this}function b(e){var t=new n.Svg.Path(e||this.close);return t.pos=this.pos,t.pathElements=this.pathElements.slice().map(function(e){return n.extend({},e)}),t.options=n.extend({},this.options),t}function g(e){var t=[new n.Svg.Path];return this.pathElements.forEach(function(r){r.command===e.toUpperCase()&&0!==t[t.length-1].pathElements.length&&t.push(new n.Svg.Path),t[t.length-1].pathElements.push(r)}),t}function y(e,t,r){for(var o=new n.Svg.Path(t,r),a=0;a<e.length;a++)for(var i=e[a],s=0;s<i.pathElements.length;s++)o.pathElements.push(i.pathElements[s]);return o}var _={m:["x","y"],l:["x","y"],c:["x1","y1","x2","y2","x","y"],a:["rx","ry","xAr","lAf","sf","x","y"]},M={accuracy:3};n.Svg.Path=n.Class.extend({constructor:a,position:i,remove:s,move:l,line:u,curve:c,arc:d,scale:h,translate:m,transform:v,parse:f,stringify:p,clone:b,splitByCommand:g}),n.Svg.Path.elementDescriptions=_,n.Svg.Path.join=y}(window,document,e),function(e,t,n){"use strict";function r(e,t,n,r){this.units=e,this.counterUnits=e===a.x?a.y:a.x,this.chartRect=t,this.axisLength=t[e.rectEnd]-t[e.rectStart],this.gridOffset=t[e.rectOffset],this.ticks=n,this.options=r}function o(e,t,r,o,a){var i=o["axis"+this.units.pos.toUpperCase()],s=this.ticks.map(this.projectValue.bind(this)),l=this.ticks.map(i.labelInterpolationFnc);s.forEach(function(u,c){var d,f={x:0,y:0};d=s[c+1]?s[c+1]-u:Math.max(this.axisLength-u,30),n.isFalseyButZero(l[c])&&""!==l[c]||("x"===this.units.pos?(u=this.chartRect.x1+u,f.x=o.axisX.labelOffset.x,"start"===o.axisX.position?f.y=this.chartRect.padding.top+o.axisX.labelOffset.y+(r?5:20):f.y=this.chartRect.y1+o.axisX.labelOffset.y+(r?5:20)):(u=this.chartRect.y1-u,f.y=o.axisY.labelOffset.y-(r?d:0),"start"===o.axisY.position?f.x=r?this.chartRect.padding.left+o.axisY.labelOffset.x:this.chartRect.x1-10:f.x=this.chartRect.x2+o.axisY.labelOffset.x+10),i.showGrid&&n.createGrid(u,c,this,this.gridOffset,this.chartRect[this.counterUnits.len](),e,[o.classNames.grid,o.classNames[this.units.dir]],a),i.showLabel&&n.createLabel(u,d,c,l,this,i.offset,f,t,[o.classNames.label,o.classNames[this.units.dir],"start"===i.position?o.classNames[i.position]:o.classNames.end],r,a))}.bind(this))}var a={x:{pos:"x",len:"width",dir:"horizontal",rectStart:"x1",rectEnd:"x2",rectOffset:"y2"},y:{pos:"y",len:"height",dir:"vertical",rectStart:"y2",rectEnd:"y1",rectOffset:"x1"}};n.Axis=n.Class.extend({constructor:r,createGridAndLabels:o,projectValue:function(e,t,n){throw new Error("Base axis can't be instantiated!")}}),n.Axis.units=a}(window,document,e),function(e,t,n){"use strict";function r(e,t,r,o){var a=o.highLow||n.getHighLow(t,o,e.pos);this.bounds=n.getBounds(r[e.rectEnd]-r[e.rectStart],a,o.scaleMinSpace||20,o.onlyInteger),this.range={min:this.bounds.min,max:this.bounds.max},n.AutoScaleAxis.super.constructor.call(this,e,r,this.bounds.values,o)}function o(e){return this.axisLength*(+n.getMultiValue(e,this.units.pos)-this.bounds.min)/this.bounds.range}n.AutoScaleAxis=n.Axis.extend({constructor:r,projectValue:o})}(window,document,e),function(e,t,n){"use strict";function r(e,t,r,o){var a=o.highLow||n.getHighLow(t,o,e.pos);this.divisor=o.divisor||1,this.ticks=o.ticks||n.times(this.divisor).map(function(e,t){return a.low+(a.high-a.low)/this.divisor*t}.bind(this)),this.ticks.sort(function(e,t){return e-t}),this.range={min:a.low,max:a.high},n.FixedScaleAxis.super.constructor.call(this,e,r,this.ticks,o),this.stepLength=this.axisLength/this.divisor}function o(e){return this.axisLength*(+n.getMultiValue(e,this.units.pos)-this.range.min)/(this.range.max-this.range.min)}n.FixedScaleAxis=n.Axis.extend({constructor:r,projectValue:o})}(window,document,e),function(e,t,n){"use strict";function r(e,t,r,o){n.StepAxis.super.constructor.call(this,e,r,o.ticks,o);var a=Math.max(1,o.ticks.length-(o.stretch?1:0));this.stepLength=this.axisLength/a}function o(e,t){return this.stepLength*t}n.StepAxis=n.Axis.extend({constructor:r,projectValue:o})}(window,document,e),function(e,t,n){"use strict";function r(e){var t=n.normalizeData(this.data,e.reverseData,!0);this.svg=n.createSvg(this.container,e.width,e.height,e.classNames.chart);var r,o,i=this.svg.elem("g").addClass(e.classNames.gridGroup),s=this.svg.elem("g"),l=this.svg.elem("g").addClass(e.classNames.labelGroup),u=n.createChartRect(this.svg,e,a.padding);r=void 0===e.axisX.type?new n.StepAxis(n.Axis.units.x,t.normalized.series,u,n.extend({},e.axisX,{ticks:t.normalized.labels,stretch:e.fullWidth})):e.axisX.type.call(n,n.Axis.units.x,t.normalized.series,u,e.axisX),o=void 0===e.axisY.type?new n.AutoScaleAxis(n.Axis.units.y,t.normalized.series,u,n.extend({},e.axisY,{high:n.isNumeric(e.high)?e.high:e.axisY.high,low:n.isNumeric(e.low)?e.low:e.axisY.low})):e.axisY.type.call(n,n.Axis.units.y,t.normalized.series,u,e.axisY),r.createGridAndLabels(i,l,this.supportsForeignObject,e,this.eventEmitter),o.createGridAndLabels(i,l,this.supportsForeignObject,e,this.eventEmitter),e.showGridBackground&&n.createGridBackground(i,u,e.classNames.gridBackground,this.eventEmitter),t.raw.series.forEach(function(a,i){var l=s.elem("g");l.attr({"ct:series-name":a.name,"ct:meta":n.serialize(a.meta)}),l.addClass([e.classNames.series,a.className||e.classNames.series+"-"+n.alphaNumerate(i)].join(" "));var c=[],d=[];t.normalized.series[i].forEach(function(e,s){var l={x:u.x1+r.projectValue(e,s,t.normalized.series[i]),y:u.y1-o.projectValue(e,s,t.normalized.series[i])};c.push(l.x,l.y),d.push({value:e,valueIndex:s,meta:n.getMetaData(a,s)})}.bind(this));var f={lineSmooth:n.getSeriesOption(a,e,"lineSmooth"),showPoint:n.getSeriesOption(a,e,"showPoint"),showLine:n.getSeriesOption(a,e,"showLine"),showArea:n.getSeriesOption(a,e,"showArea"),areaBase:n.getSeriesOption(a,e,"areaBase")},p="function"==typeof f.lineSmooth?f.lineSmooth:f.lineSmooth?n.Interpolation.monotoneCubic():n.Interpolation.none(),h=p(c,d);if(f.showPoint&&h.pathElements.forEach(function(t){var s=l.elem("line",{x1:t.x,y1:t.y,x2:t.x+.01,y2:t.y},e.classNames.point).attr({"ct:value":[t.data.value.x,t.data.value.y].filter(n.isNumeric).join(","),"ct:meta":n.serialize(t.data.meta)});this.eventEmitter.emit("draw",{type:"point",value:t.data.value,index:t.data.valueIndex,meta:t.data.meta,series:a,seriesIndex:i,axisX:r,axisY:o,group:l,element:s,x:t.x,y:t.y})}.bind(this)),f.showLine){var m=l.elem("path",{d:h.stringify()},e.classNames.line,!0);this.eventEmitter.emit("draw",{type:"line",values:t.normalized.series[i],path:h.clone(),chartRect:u,index:i,series:a,seriesIndex:i,seriesMeta:a.meta,axisX:r,axisY:o,group:l,element:m})}if(f.showArea&&o.range){var v=Math.max(Math.min(f.areaBase,o.range.max),o.range.min),b=u.y1-o.projectValue(v);h.splitByCommand("M").filter(function(e){return e.pathElements.length>1}).map(function(e){var t=e.pathElements[0],n=e.pathElements[e.pathElements.length-1];return e.clone(!0).position(0).remove(1).move(t.x,b).line(t.x,t.y).position(e.pathElements.length+1).line(n.x,b)}).forEach(function(n){var s=l.elem("path",{d:n.stringify()},e.classNames.area,!0);this.eventEmitter.emit("draw",{type:"area",values:t.normalized.series[i],path:n.clone(),series:a,seriesIndex:i,axisX:r,axisY:o,chartRect:u,index:i,group:l,element:s})}.bind(this))}}.bind(this)),this.eventEmitter.emit("created",{bounds:o.bounds,chartRect:u,axisX:r,axisY:o,svg:this.svg,options:e})}function o(e,t,r,o){n.Line.super.constructor.call(this,e,t,a,n.extend({},a,r),o)}var a={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:n.noop,type:void 0},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:n.noop,type:void 0,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,showLine:!0,showPoint:!0,showArea:!1,areaBase:0,lineSmooth:!0,showGridBackground:!1,low:void 0,high:void 0,chartPadding:{top:15,right:15,bottom:5,left:10},fullWidth:!1,reverseData:!1,classNames:{chart:"ct-chart-line",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",line:"ct-line",point:"ct-point",area:"ct-area",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};n.Line=n.Base.extend({constructor:o,createChart:r})}(window,document,e),function(e,t,n){"use strict";function r(e){var t,r;e.distributeSeries?(t=n.normalizeData(this.data,e.reverseData,e.horizontalBars?"x":"y"),t.normalized.series=t.normalized.series.map(function(e){return[e]})):t=n.normalizeData(this.data,e.reverseData,e.horizontalBars?"x":"y"),this.svg=n.createSvg(this.container,e.width,e.height,e.classNames.chart+(e.horizontalBars?" "+e.classNames.horizontalBars:""));var o=this.svg.elem("g").addClass(e.classNames.gridGroup),i=this.svg.elem("g"),s=this.svg.elem("g").addClass(e.classNames.labelGroup);if(e.stackBars&&0!==t.normalized.series.length){var l=n.serialMap(t.normalized.series,function(){return Array.prototype.slice.call(arguments).map(function(e){return e}).reduce(function(e,t){return{x:e.x+(t&&t.x)||0,y:e.y+(t&&t.y)||0}},{x:0,y:0})});r=n.getHighLow([l],e,e.horizontalBars?"x":"y")}else r=n.getHighLow(t.normalized.series,e,e.horizontalBars?"x":"y");r.high=+e.high||(0===e.high?0:r.high),r.low=+e.low||(0===e.low?0:r.low);var u,c,d,f,p,h=n.createChartRect(this.svg,e,a.padding);c=e.distributeSeries&&e.stackBars?t.normalized.labels.slice(0,1):t.normalized.labels,e.horizontalBars?(u=f=void 0===e.axisX.type?new n.AutoScaleAxis(n.Axis.units.x,t.normalized.series,h,n.extend({},e.axisX,{highLow:r,referenceValue:0})):e.axisX.type.call(n,n.Axis.units.x,t.normalized.series,h,n.extend({},e.axisX,{highLow:r,referenceValue:0})),d=p=void 0===e.axisY.type?new n.StepAxis(n.Axis.units.y,t.normalized.series,h,{ticks:c}):e.axisY.type.call(n,n.Axis.units.y,t.normalized.series,h,e.axisY)):(d=f=void 0===e.axisX.type?new n.StepAxis(n.Axis.units.x,t.normalized.series,h,{ticks:c}):e.axisX.type.call(n,n.Axis.units.x,t.normalized.series,h,e.axisX),u=p=void 0===e.axisY.type?new n.AutoScaleAxis(n.Axis.units.y,t.normalized.series,h,n.extend({},e.axisY,{highLow:r,referenceValue:0})):e.axisY.type.call(n,n.Axis.units.y,t.normalized.series,h,n.extend({},e.axisY,{highLow:r,referenceValue:0})));var m=e.horizontalBars?h.x1+u.projectValue(0):h.y1-u.projectValue(0),v=[];d.createGridAndLabels(o,s,this.supportsForeignObject,e,this.eventEmitter),u.createGridAndLabels(o,s,this.supportsForeignObject,e,this.eventEmitter),e.showGridBackground&&n.createGridBackground(o,h,e.classNames.gridBackground,this.eventEmitter),t.raw.series.forEach(function(r,o){var a,s,l=o-(t.raw.series.length-1)/2;a=e.distributeSeries&&!e.stackBars?d.axisLength/t.normalized.series.length/2:e.distributeSeries&&e.stackBars?d.axisLength/2:d.axisLength/t.normalized.series[o].length/2,s=i.elem("g"),s.attr({"ct:series-name":r.name,"ct:meta":n.serialize(r.meta)}),s.addClass([e.classNames.series,r.className||e.classNames.series+"-"+n.alphaNumerate(o)].join(" ")),t.normalized.series[o].forEach(function(i,c){var b,g,y,_;if(_=e.distributeSeries&&!e.stackBars?o:e.distributeSeries&&e.stackBars?0:c,b=e.horizontalBars?{x:h.x1+u.projectValue(i&&i.x?i.x:0,c,t.normalized.series[o]),y:h.y1-d.projectValue(i&&i.y?i.y:0,_,t.normalized.series[o])}:{x:h.x1+d.projectValue(i&&i.x?i.x:0,_,t.normalized.series[o]),y:h.y1-u.projectValue(i&&i.y?i.y:0,c,t.normalized.series[o])},d instanceof n.StepAxis&&(d.options.stretch||(b[d.units.pos]+=a*(e.horizontalBars?-1:1)),b[d.units.pos]+=e.stackBars||e.distributeSeries?0:l*e.seriesBarDistance*(e.horizontalBars?-1:1)),y=v[c]||m,v[c]=y-(m-b[d.counterUnits.pos]),void 0!==i){var M={};M[d.units.pos+"1"]=b[d.units.pos],M[d.units.pos+"2"]=b[d.units.pos],!e.stackBars||"accumulate"!==e.stackMode&&e.stackMode?(M[d.counterUnits.pos+"1"]=m,M[d.counterUnits.pos+"2"]=b[d.counterUnits.pos]):(M[d.counterUnits.pos+"1"]=y,M[d.counterUnits.pos+"2"]=v[c]),M.x1=Math.min(Math.max(M.x1,h.x1),h.x2),M.x2=Math.min(Math.max(M.x2,h.x1),h.x2),M.y1=Math.min(Math.max(M.y1,h.y2),h.y1),M.y2=Math.min(Math.max(M.y2,h.y2),h.y1);var w=n.getMetaData(r,c);g=s.elem("line",M,e.classNames.bar).attr({"ct:value":[i.x,i.y].filter(n.isNumeric).join(","),"ct:meta":n.serialize(w)}),this.eventEmitter.emit("draw",n.extend({type:"bar",value:i,index:c,meta:w,series:r,seriesIndex:o,axisX:f,axisY:p,chartRect:h,group:s,element:g},M))}}.bind(this))}.bind(this)),this.eventEmitter.emit("created",{bounds:u.bounds,chartRect:h,axisX:f,axisY:p,svg:this.svg,options:e})}function o(e,t,r,o){n.Bar.super.constructor.call(this,e,t,a,n.extend({},a,r),o)}var a={axisX:{offset:30,position:"end",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:n.noop,scaleMinSpace:30,onlyInteger:!1},axisY:{offset:40,position:"start",labelOffset:{x:0,y:0},showLabel:!0,showGrid:!0,labelInterpolationFnc:n.noop,scaleMinSpace:20,onlyInteger:!1},width:void 0,height:void 0,high:void 0,low:void 0,referenceValue:0,chartPadding:{top:15,right:15,bottom:5,left:10},seriesBarDistance:15,stackBars:!1,stackMode:"accumulate",horizontalBars:!1,distributeSeries:!1,reverseData:!1,showGridBackground:!1,classNames:{chart:"ct-chart-bar",horizontalBars:"ct-horizontal-bars",label:"ct-label",labelGroup:"ct-labels",series:"ct-series",bar:"ct-bar",grid:"ct-grid",gridGroup:"ct-grids",gridBackground:"ct-grid-background",vertical:"ct-vertical",horizontal:"ct-horizontal",start:"ct-start",end:"ct-end"}};n.Bar=n.Base.extend({constructor:o,createChart:r})}(window,document,e),function(e,t,n){"use strict";function r(e,t,n){var r=t.x>e.x;return r&&"explode"===n||!r&&"implode"===n?"start":r&&"implode"===n||!r&&"explode"===n?"end":"middle"}function o(e){var t,o,a,s,l,u=n.normalizeData(this.data),c=[],d=e.startAngle;this.svg=n.createSvg(this.container,e.width,e.height,e.donut?e.classNames.chartDonut:e.classNames.chartPie),o=n.createChartRect(this.svg,e,i.padding),a=Math.min(o.width()/2,o.height()/2),l=e.total||u.normalized.series.reduce(function(e,t){return e+t},0);var f=n.quantity(e.donutWidth);"%"===f.unit&&(f.value*=a/100),a-=e.donut?f.value/2:0,s="outside"===e.labelPosition||e.donut?a:"center"===e.labelPosition?0:a/2,s+=e.labelOffset;var p={x:o.x1+o.width()/2,y:o.y2+o.height()/2},h=1===u.raw.series.filter(function(e){return e.hasOwnProperty("value")?0!==e.value:0!==e}).length;u.raw.series.forEach(function(e,t){c[t]=this.svg.elem("g",null,null)}.bind(this)),e.showLabel&&(t=this.svg.elem("g",null,null)),u.raw.series.forEach(function(o,i){if(0!==u.normalized.series[i]||!e.ignoreEmptyValues){c[i].attr({"ct:series-name":o.name}),c[i].addClass([e.classNames.series,o.className||e.classNames.series+"-"+n.alphaNumerate(i)].join(" "));var m=l>0?d+u.normalized.series[i]/l*360:0,v=Math.max(0,d-(0===i||h?0:.2));m-v>=359.99&&(m=v+359.99);var b=n.polarToCartesian(p.x,p.y,a,v),g=n.polarToCartesian(p.x,p.y,a,m),y=new n.Svg.Path((!e.donut)).move(g.x,g.y).arc(a,a,0,m-d>180,0,b.x,b.y);e.donut||y.line(p.x,p.y);var _=c[i].elem("path",{d:y.stringify()},e.donut?e.classNames.sliceDonut:e.classNames.slicePie);if(_.attr({"ct:value":u.normalized.series[i],"ct:meta":n.serialize(o.meta)}),e.donut&&_.attr({style:"stroke-width: "+f.value+"px"}),this.eventEmitter.emit("draw",{type:"slice",value:u.normalized.series[i],totalDataSum:l,index:i,meta:o.meta,series:o,group:c[i],element:_,path:y.clone(),center:p,radius:a,startAngle:d,endAngle:m}),e.showLabel){var M;M=1===u.raw.series.length?{x:p.x,y:p.y}:n.polarToCartesian(p.x,p.y,s,d+(m-d)/2);var w;w=u.normalized.labels&&!n.isFalseyButZero(u.normalized.labels[i])?u.normalized.labels[i]:u.normalized.series[i];var S=e.labelInterpolationFnc(w,i);if(S||0===S){var C=t.elem("text",{dx:M.x,dy:M.y,"text-anchor":r(p,M,e.labelDirection)},e.classNames.label).text(""+S);this.eventEmitter.emit("draw",{type:"label",index:i,group:t,element:C,text:""+S,x:M.x,y:M.y})}}d=m}}.bind(this)),this.eventEmitter.emit("created",{chartRect:o,svg:this.svg,options:e})}function a(e,t,r,o){n.Pie.super.constructor.call(this,e,t,i,n.extend({},i,r),o)}var i={width:void 0,height:void 0,chartPadding:5,classNames:{chartPie:"ct-chart-pie",chartDonut:"ct-chart-donut",series:"ct-series",slicePie:"ct-slice-pie",sliceDonut:"ct-slice-donut",label:"ct-label"},startAngle:0,total:void 0,donut:!1,donutWidth:60,showLabel:!0,labelOffset:0,labelPosition:"inside",labelInterpolationFnc:n.noop,labelDirection:"neutral",reverseData:!1,ignoreEmptyValues:!1};n.Pie=n.Base.extend({constructor:a,createChart:o,determineAnchorPosition:r})}(window,document,e),e})},{}],157:[function(e,t,n){!function(){"use strict";function e(){for(var t=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var a=typeof o;if("string"===a||"number"===a)t.push(o);else if(Array.isArray(o))t.push(e.apply(null,o));else if("object"===a)for(var i in o)n.call(o,i)&&o[i]&&t.push(i)}}return t.join(" ")}var n={}.hasOwnProperty;"undefined"!=typeof t&&t.exports?t.exports=e:"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],function(){return e}):window.classNames=e}()},{}],158:[function(e,t,n){"use strict";t.exports=function(e){var t=this,n=t.constructor;return t.callbacks={},t.directMap={},t.sequenceLevels={},t.resetTimer,t.ignoreNextKeyup=!1,t.ignoreNextKeypress=!1,t.nextExpectedAction=!1,t.element=e,t.addEvents(),n.instances.push(t),t},t.exports.prototype.bind=e("./prototype/bind"),t.exports.prototype.bindMultiple=e("./prototype/bindMultiple"),t.exports.prototype.unbind=e("./prototype/unbind"),t.exports.prototype.trigger=e("./prototype/trigger"),t.exports.prototype.reset=e("./prototype/reset.js"),t.exports.prototype.stopCallback=e("./prototype/stopCallback"),t.exports.prototype.handleKey=e("./prototype/handleKey"),t.exports.prototype.addEvents=e("./prototype/addEvents"),t.exports.prototype.bindSingle=e("./prototype/bindSingle"),t.exports.prototype.getKeyInfo=e("./prototype/getKeyInfo"),t.exports.prototype.pickBestAction=e("./prototype/pickBestAction"),t.exports.prototype.getReverseMap=e("./prototype/getReverseMap"),t.exports.prototype.getMatches=e("./prototype/getMatches"),t.exports.prototype.resetSequences=e("./prototype/resetSequences"),t.exports.prototype.fireCallback=e("./prototype/fireCallback"),t.exports.prototype.bindSequence=e("./prototype/bindSequence"),t.exports.prototype.resetSequenceTimer=e("./prototype/resetSequenceTimer"),t.exports.prototype.detach=e("./prototype/detach"),t.exports.instances=[],t.exports.reset=e("./reset"),t.exports.REVERSE_MAP=null},{"./prototype/addEvents":159,"./prototype/bind":160,"./prototype/bindMultiple":161,"./prototype/bindSequence":162,"./prototype/bindSingle":163,"./prototype/detach":164,"./prototype/fireCallback":166,"./prototype/getKeyInfo":167,"./prototype/getMatches":168,"./prototype/getReverseMap":169,"./prototype/handleKey":170,"./prototype/pickBestAction":173,"./prototype/reset.js":174,"./prototype/resetSequenceTimer":175,"./prototype/resetSequences":176,"./prototype/stopCallback":177,"./prototype/trigger":178,"./prototype/unbind":179,"./reset":180}],159:[function(e,t,n){"use strict";t.exports=function(){var t=this,n=e("./dom-event"),r=t.element;t.eventHandler=e("./handleKeyEvent").bind(t),n(r,"keypress",t.eventHandler),n(r,"keydown",t.eventHandler),n(r,"keyup",t.eventHandler)}},{"./dom-event":165,"./handleKeyEvent":171}],160:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r=this;return e=e instanceof Array?e:[e],r.bindMultiple(e,t,n),r}},{}],161:[function(e,t,n){"use strict";t.exports=function(e,t,n){for(var r=this,o=0;o<e.length;++o)r.bindSingle(e[o],t,n)}},{}],162:[function(e,t,n){"use strict";t.exports=function(t,n,r,o){function a(e){return function(){s.nextExpectedAction=e,++s.sequenceLevels[t],s.resetSequenceTimer()}}function i(n){var a;s.fireCallback(r,n,t),"keyup"!==o&&(a=e("../../helpers/characterFromEvent"),s.ignoreNextKeyup=a(n)),setTimeout(function(){s.resetSequences()},10)}var s=this;s.sequenceLevels[t]=0;for(var l=0;l<n.length;++l){var u=l+1===n.length,c=u?i:a(o||s.getKeyInfo(n[l+1]).action);s.bindSingle(n[l],c,o,t,l)}}},{"../../helpers/characterFromEvent":181}],163:[function(e,t,n){"use strict";t.exports=function(e,t,n,r,o){var a=this;a.directMap[e+":"+n]=t,e=e.replace(/\s+/g," ");var i,s=e.split(" ");return s.length>1?void a.bindSequence(e,s,t,n):(i=a.getKeyInfo(e,n),a.callbacks[i.key]=a.callbacks[i.key]||[],a.getMatches(i.key,i.modifiers,{type:i.action},r,e,o),void a.callbacks[i.key][r?"unshift":"push"]({callback:t,modifiers:i.modifiers,action:i.action,seq:r,level:o,combo:e}))}},{}],164:[function(e,t,n){var r=e("./dom-event").off;t.exports=function(){var e=this,t=e.element;r(t,"keypress",e.eventHandler),r(t,"keydown",e.eventHandler),r(t,"keyup",e.eventHandler)}},{"./dom-event":165}],165:[function(e,t,n){function r(e,t,n,r){return!e.addEventListener&&(t="on"+t),(e.addEventListener||e.attachEvent).call(e,t,n,r),n}function o(e,t,n,r){return!e.removeEventListener&&(t="on"+t),(e.removeEventListener||e.detachEvent).call(e,t,n,r),n}t.exports=r,t.exports.on=r,t.exports.off=o},{}],166:[function(e,t,n){"use strict";t.exports=function(t,n,r,o){var a,i,s=this;s.stopCallback(n,n.target||n.srcElement,r,o)||t(n,r)===!1&&(a=e("../../helpers/preventDefault"),a(n),(i=e("../../helpers/stopPropagation"))(n))}},{"../../helpers/preventDefault":185,"../../helpers/stopPropagation":190}],167:[function(e,t,n){"use strict";t.exports=function(t,n){var r,o,a,i,s,l,u,c=this,d=[];for(r=e("../../helpers/keysFromString"),
|
5 | o=r(t),s=e("../../helpers/special-aliases"),l=e("../../helpers/shift-map"),u=e("../../helpers/isModifier"),i=0;i<o.length;++i)a=o[i],s[a]&&(a=s[a]),n&&"keypress"!==n&&l[a]&&(a=l[a],d.push("shift")),u(a)&&d.push(a);return n=c.pickBestAction(a,d,n),{key:a,modifiers:d,action:n}}},{"../../helpers/isModifier":183,"../../helpers/keysFromString":184,"../../helpers/shift-map":186,"../../helpers/special-aliases":187}],168:[function(e,t,n){"use strict";t.exports=function(t,n,r,o,a,i){var s,l,u,c,d=this,f=[],p=r.type;if("keypress"===p&&(!r.code||"Arrow"!==r.code.slice(0,5))){var h=d.callbacks["any-character"]||[];h.forEach(function(e){f.push(e)})}if(!d.callbacks[t])return f;for(u=e("../../helpers/isModifier"),"keyup"===p&&u(t)&&(n=[t]),s=0;s<d.callbacks[t].length;++s)if(l=d.callbacks[t][s],(o||!l.seq||d.sequenceLevels[l.seq]===l.level)&&p===l.action&&(c=e("./modifiersMatch"),"keypress"===p&&!r.metaKey&&!r.ctrlKey||c(n,l.modifiers))){var m=!o&&l.combo===a,v=o&&l.seq===o&&l.level===i;(m||v)&&d.callbacks[t].splice(s,1),f.push(l)}return f}},{"../../helpers/isModifier":183,"./modifiersMatch":172}],169:[function(e,t,n){"use strict";t.exports=function(){var t,n=this,r=n.constructor;if(!r.REVERSE_MAP){r.REVERSE_MAP={},t=e("../../helpers/special-keys-map");for(var o in t)o>95&&o<112||t.hasOwnProperty(o)&&(r.REVERSE_MAP[t[o]]=o)}return r.REVERSE_MAP}},{"../../helpers/special-keys-map":189}],170:[function(e,t,n){"use strict";t.exports=function(t,n,r){var o,a,i,s,l=this,u={},c=0,d=!1;for(o=l.getMatches(t,n,r),a=0;a<o.length;++a)o[a].seq&&(c=Math.max(c,o[a].level));for(a=0;a<o.length;++a)if(o[a].seq){if(o[a].level!==c)continue;d=!0,u[o[a].seq]=1,l.fireCallback(o[a].callback,r,o[a].combo,o[a].seq)}else d||l.fireCallback(o[a].callback,r,o[a].combo);s="keypress"===r.type&&l.ignoreNextKeypress,i=e("../../helpers/isModifier"),r.type!==l.nextExpectedAction||i(t)||s||l.resetSequences(u),l.ignoreNextKeypress=d&&"keydown"===r.type}},{"../../helpers/isModifier":183}],171:[function(e,t,n){"use strict";t.exports=function(t){var n,r,o=this;"number"!=typeof t.which&&(t.which=t.keyCode),n=e("../../helpers/characterFromEvent");var a=n(t);if(a){if("keyup"===t.type&&o.ignoreNextKeyup===a)return void(o.ignoreNextKeyup=!1);r=e("../../helpers/eventModifiers"),o.handleKey(a,r(t),t)}}},{"../../helpers/characterFromEvent":181,"../../helpers/eventModifiers":182}],172:[function(e,t,n){"use strict";t.exports=function(e,t){return e.sort().join(",")===t.sort().join(",")}},{}],173:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r=this;return n||(n=r.getReverseMap()[e]?"keydown":"keypress"),"keypress"===n&&t.length&&(n="keydown"),n}},{}],174:[function(e,t,n){"use strict";t.exports=function(){var e=this;return e.callbacks={},e.directMap={},this}},{}],175:[function(e,t,n){"use strict";t.exports=function(){var e=this;clearTimeout(e.resetTimer),e.resetTimer=setTimeout(function(){e.resetSequences()},1e3)}},{}],176:[function(e,t,n){"use strict";t.exports=function(e){var t=this;e=e||{};var n,r=!1;for(n in t.sequenceLevels)e[n]?r=!0:t.sequenceLevels[n]=0;r||(t.nextExpectedAction=!1)}},{}],177:[function(e,t,n){"use strict";t.exports=function(e,t){if((" "+t.className+" ").indexOf(" combokeys ")>-1)return!1;var n=t.tagName.toLowerCase();return"input"===n||"select"===n||"textarea"===n||t.isContentEditable}},{}],178:[function(e,t,n){"use strict";t.exports=function(e,t){var n=this;return n.directMap[e+":"+t]&&n.directMap[e+":"+t]({},e),this}},{}],179:[function(e,t,n){"use strict";t.exports=function(e,t){var n=this;return n.bind(e,function(){},t)}},{}],180:[function(e,t,n){"use strict";t.exports=function(){var e=this;e.instances.forEach(function(e){e.reset()})}},{}],181:[function(e,t,n){"use strict";t.exports=function(t){var n,r;if(n=e("./special-keys-map"),r=e("./special-characters-map"),"keypress"===t.type){var o=String.fromCharCode(t.which);return t.shiftKey||(o=o.toLowerCase()),o}return n[t.which]?n[t.which]:r[t.which]?r[t.which]:String.fromCharCode(t.which).toLowerCase()}},{"./special-characters-map":188,"./special-keys-map":189}],182:[function(e,t,n){"use strict";t.exports=function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}},{}],183:[function(e,t,n){"use strict";t.exports=function(e){return"shift"===e||"ctrl"===e||"alt"===e||"meta"===e}},{}],184:[function(e,t,n){"use strict";t.exports=function(e){return"+"===e?["+"]:e.split("+")}},{}],185:[function(e,t,n){"use strict";t.exports=function(e){return e.preventDefault?void e.preventDefault():void(e.returnValue=!1)}},{}],186:[function(e,t,n){"use strict";t.exports={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"}},{}],187:[function(e,t,n){"use strict";t.exports={option:"alt",command:"meta",return:"enter",escape:"esc",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"}},{}],188:[function(e,t,n){"use strict";t.exports={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"}},{}],189:[function(e,t,n){"use strict";t.exports={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",187:"plus",189:"minus",224:"meta"};for(var r=1;r<20;++r)t.exports[111+r]="f"+r;for(r=0;r<=9;++r)t.exports[r+96]=r},{}],190:[function(e,t,n){"use strict";t.exports=function(e){return e.stopPropagation?void e.stopPropagation():void(e.cancelBubble=!0)}},{}],191:[function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}"undefined"!=typeof t&&(t.exports=r),r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r,o=0;o<n.length;o++)if(r=n[o],r===t||r.fn===t){n.splice(o,1);break}return this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n){n=n.slice(0);for(var r=0,o=n.length;r<o;++r)n[r].apply(this,t)}return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},{}],192:[function(e,t,n){t.exports={O_RDONLY:0,O_WRONLY:1,O_RDWR:2,S_IFMT:61440,S_IFREG:32768,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960,S_IFSOCK:49152,O_CREAT:512,O_EXCL:2048,O_NOCTTY:131072,O_TRUNC:1024,O_APPEND:8,O_DIRECTORY:1048576,O_NOFOLLOW:256,O_SYNC:128,O_SYMLINK:2097152,O_NONBLOCK:4,S_IRWXU:448,S_IRUSR:256,S_IWUSR:128,S_IXUSR:64,S_IRWXG:56,S_IRGRP:32,S_IWGRP:16,S_IXGRP:8,S_IRWXO:7,S_IROTH:4,S_IWOTH:2,S_IXOTH:1,E2BIG:7,EACCES:13,EADDRINUSE:48,EADDRNOTAVAIL:49,EAFNOSUPPORT:47,EAGAIN:35,EALREADY:37,EBADF:9,EBADMSG:94,EBUSY:16,ECANCELED:89,ECHILD:10,ECONNABORTED:53,ECONNREFUSED:61,ECONNRESET:54,EDEADLK:11,EDESTADDRREQ:39,EDOM:33,EDQUOT:69,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:65,EIDRM:90,EILSEQ:92,EINPROGRESS:36,EINTR:4,EINVAL:22,EIO:5,EISCONN:56,EISDIR:21,ELOOP:62,EMFILE:24,EMLINK:31,EMSGSIZE:40,EMULTIHOP:95,ENAMETOOLONG:63,ENETDOWN:50,ENETRESET:52,ENETUNREACH:51,ENFILE:23,ENOBUFS:55,ENODATA:96,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:77,ENOLINK:97,ENOMEM:12,ENOMSG:91,ENOPROTOOPT:42,ENOSPC:28,ENOSR:98,ENOSTR:99,ENOSYS:78,ENOTCONN:57,ENOTDIR:20,ENOTEMPTY:66,ENOTSOCK:38,ENOTSUP:45,ENOTTY:25,ENXIO:6,EOPNOTSUPP:102,EOVERFLOW:84,EPERM:1,EPIPE:32,EPROTO:100,EPROTONOSUPPORT:43,EPROTOTYPE:41,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:70,ETIME:101,ETIMEDOUT:60,ETXTBSY:26,EWOULDBLOCK:35,EXDEV:18,SIGHUP:1,SIGINT:2,SIGQUIT:3,SIGILL:4,SIGTRAP:5,SIGABRT:6,SIGIOT:6,SIGBUS:10,SIGFPE:8,SIGKILL:9,SIGUSR1:30,SIGSEGV:11,SIGUSR2:31,SIGPIPE:13,SIGALRM:14,SIGTERM:15,SIGCHLD:20,SIGCONT:19,SIGSTOP:17,SIGTSTP:18,SIGTTIN:21,SIGTTOU:22,SIGURG:16,SIGXCPU:24,SIGXFSZ:25,SIGVTALRM:26,SIGPROF:27,SIGWINCH:28,SIGIO:23,SIGSYS:12,SSL_OP_ALL:2147486719,SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION:262144,SSL_OP_CIPHER_SERVER_PREFERENCE:4194304,SSL_OP_CISCO_ANYCONNECT:32768,SSL_OP_COOKIE_EXCHANGE:8192,SSL_OP_CRYPTOPRO_TLSEXT_BUG:2147483648,SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS:2048,SSL_OP_EPHEMERAL_RSA:0,SSL_OP_LEGACY_SERVER_CONNECT:4,SSL_OP_MICROSOFT_BIG_SSLV3_BUFFER:32,SSL_OP_MICROSOFT_SESS_ID_BUG:1,SSL_OP_MSIE_SSLV2_RSA_PADDING:0,SSL_OP_NETSCAPE_CA_DN_BUG:536870912,SSL_OP_NETSCAPE_CHALLENGE_BUG:2,SSL_OP_NETSCAPE_DEMO_CIPHER_CHANGE_BUG:1073741824,SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG:8,SSL_OP_NO_COMPRESSION:131072,SSL_OP_NO_QUERY_MTU:4096,SSL_OP_NO_SESSION_RESUMPTION_ON_RENEGOTIATION:65536,SSL_OP_NO_SSLv2:16777216,SSL_OP_NO_SSLv3:33554432,SSL_OP_NO_TICKET:16384,SSL_OP_NO_TLSv1:67108864,SSL_OP_NO_TLSv1_1:268435456,SSL_OP_NO_TLSv1_2:134217728,SSL_OP_PKCS1_CHECK_1:0,SSL_OP_PKCS1_CHECK_2:0,SSL_OP_SINGLE_DH_USE:1048576,SSL_OP_SINGLE_ECDH_USE:524288,SSL_OP_SSLEAY_080_CLIENT_DH_BUG:128,SSL_OP_SSLREF2_REUSE_CERT_TYPE_BUG:0,SSL_OP_TLS_BLOCK_PADDING_BUG:512,SSL_OP_TLS_D5_BUG:256,SSL_OP_TLS_ROLLBACK_BUG:8388608,ENGINE_METHOD_DSA:2,ENGINE_METHOD_DH:4,ENGINE_METHOD_RAND:8,ENGINE_METHOD_ECDH:16,ENGINE_METHOD_ECDSA:32,ENGINE_METHOD_CIPHERS:64,ENGINE_METHOD_DIGESTS:128,ENGINE_METHOD_STORE:256,ENGINE_METHOD_PKEY_METHS:512,ENGINE_METHOD_PKEY_ASN1_METHS:1024,ENGINE_METHOD_ALL:65535,ENGINE_METHOD_NONE:0,DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6,F_OK:0,R_OK:4,W_OK:2,X_OK:1,UV_UDP_REUSEADDR:4}},{}],193:[function(e,t,n){!function(e,r){"use strict";var o=function(e){if("object"!=typeof e.document)throw new Error("Cookies.js requires a `window` with a `document` object");var t=function(e,n,r){return 1===arguments.length?t.get(e):t.set(e,n,r)};return t._document=e.document,t._cacheKeyPrefix="cookey.",t._maxExpireDate=new Date("Fri, 31 Dec 9999 23:59:59 UTC"),t.defaults={path:"/",secure:!1},t.get=function(e){t._cachedDocumentCookie!==t._document.cookie&&t._renewCache();var n=t._cache[t._cacheKeyPrefix+e];return n===r?r:decodeURIComponent(n)},t.set=function(e,n,o){return o=t._getExtendedOptions(o),o.expires=t._getExpiresDate(n===r?-1:o.expires),t._document.cookie=t._generateCookieString(e,n,o),t},t.expire=function(e,n){return t.set(e,r,n)},t._getExtendedOptions=function(e){return{path:e&&e.path||t.defaults.path,domain:e&&e.domain||t.defaults.domain,expires:e&&e.expires||t.defaults.expires,secure:e&&e.secure!==r?e.secure:t.defaults.secure}},t._isValidDate=function(e){return"[object Date]"===Object.prototype.toString.call(e)&&!isNaN(e.getTime())},t._getExpiresDate=function(e,n){if(n=n||new Date,"number"==typeof e?e=e===1/0?t._maxExpireDate:new Date(n.getTime()+1e3*e):"string"==typeof e&&(e=new Date(e)),e&&!t._isValidDate(e))throw new Error("`expires` parameter cannot be converted to a valid Date instance");return e},t._generateCookieString=function(e,t,n){e=e.replace(/[^#$&+\^`|]/g,encodeURIComponent),e=e.replace(/\(/g,"%28").replace(/\)/g,"%29"),t=(t+"").replace(/[^!#$&-+\--:<-\[\]-~]/g,encodeURIComponent),n=n||{};var r=e+"="+t;return r+=n.path?";path="+n.path:"",r+=n.domain?";domain="+n.domain:"",r+=n.expires?";expires="+n.expires.toUTCString():"",r+=n.secure?";secure":""},t._getCacheFromString=function(e){for(var n={},o=e?e.split("; "):[],a=0;a<o.length;a++){var i=t._getKeyValuePairFromCookieString(o[a]);n[t._cacheKeyPrefix+i.key]===r&&(n[t._cacheKeyPrefix+i.key]=i.value)}return n},t._getKeyValuePairFromCookieString=function(e){var t=e.indexOf("=");t=t<0?e.length:t;var n,r=e.substr(0,t);try{n=decodeURIComponent(r)}catch(e){console&&"function"==typeof console.error&&console.error('Could not decode cookie with key "'+r+'"',e)}return{key:n,value:e.substr(t+1)}},t._renewCache=function(){t._cache=t._getCacheFromString(t._document.cookie),t._cachedDocumentCookie=t._document.cookie},t._areEnabled=function(){var e="cookies.js",n="1"===t.set(e,1).get(e);return t.expire(e),n},t.enabled=t._areEnabled(),t},a=e&&"object"==typeof e.document?o(e):o;"function"==typeof define&&define.amd?define(function(){return a}):"object"==typeof n?("object"==typeof t&&"object"==typeof t.exports&&(n=t.exports=a),n.Cookies=a):e.Cookies=a}("undefined"==typeof window?this:window)},{}],194:[function(e,t,n){"use strict";function r(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}function o(e,t){var n,o,s,l,u,c,d=!1;t||(t={}),n=t.debug||!1;try{s=a(),l=document.createRange(),u=document.getSelection(),c=document.createElement("span"),c.textContent=e,c.setAttribute("style",["all: unset","position: fixed","top: 0","clip: rect(0, 0, 0, 0)","white-space: pre","-webkit-user-select: text","-moz-user-select: text","-ms-user-select: text","user-select: text"].join(";")),document.body.appendChild(c),l.selectNode(c),u.addRange(l);var f=document.execCommand("copy");if(!f)throw new Error("copy command was unsuccessful");d=!0}catch(a){n&&console.error("unable to copy using execCommand: ",a),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData("text",e),d=!0}catch(a){n&&console.error("unable to copy using clipboardData: ",a),n&&console.error("falling back to prompt"),o=r("message"in t?t.message:i),window.prompt(o,e)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(l):u.removeAllRanges()),c&&document.body.removeChild(c),s()}return d}var a=e("toggle-selection"),i="Copy to clipboard: #{key}, Enter";t.exports=o},{"toggle-selection":1360}],195:[function(e,t,n){e("../../modules/es6.object.assign"),t.exports=e("../../modules/$.core").Object.assign},{"../../modules/$.core":202,"../../modules/es6.object.assign":215}],196:[function(e,t,n){var r=e("../../modules/$");t.exports=function(e,t){return r.create(e,t)}},{"../../modules/$":210}],197:[function(e,t,n){e("../../modules/es6.object.keys"),t.exports=e("../../modules/$.core").Object.keys},{"../../modules/$.core":202,"../../modules/es6.object.keys":216}],198:[function(e,t,n){e("../../modules/es6.object.set-prototype-of"),t.exports=e("../../modules/$.core").Object.setPrototypeOf},{"../../modules/$.core":202,"../../modules/es6.object.set-prototype-of":217}],199:[function(e,t,n){arguments[4][51][0].apply(n,arguments)},{dup:51}],200:[function(e,t,n){var r=e("./$.is-object");t.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},{"./$.is-object":209}],201:[function(e,t,n){arguments[4][57][0].apply(n,arguments)},{dup:57}],202:[function(e,t,n){var r=t.exports={version:"1.2.6"};"number"==typeof __e&&(__e=r)},{}],203:[function(e,t,n){var r=e("./$.a-function");t.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},{"./$.a-function":199}],204:[function(e,t,n){arguments[4][61][0].apply(n,arguments)},{dup:61}],205:[function(e,t,n){var r=e("./$.global"),o=e("./$.core"),a=e("./$.ctx"),i="prototype",s=function(e,t,n){var l,u,c,d=e&s.F,f=e&s.G,p=e&s.S,h=e&s.P,m=e&s.B,v=e&s.W,b=f?o:o[t]||(o[t]={}),g=f?r:p?r[t]:(r[t]||{})[i];f&&(n=t);for(l in n)u=!d&&g&&l in g,u&&l in b||(c=u?g[l]:n[l],b[l]=f&&"function"!=typeof g[l]?n[l]:m&&u?a(c,r):v&&g[l]==c?function(e){var t=function(t){return this instanceof e?new e(t):e(t)};return t[i]=e[i],t}(c):h&&"function"==typeof c?a(Function.call,c):c,h&&((b[i]||(b[i]={}))[l]=c))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,t.exports=s},{"./$.core":202,"./$.ctx":203,"./$.global":207}],206:[function(e,t,n){arguments[4][67][0].apply(n,arguments)},{dup:67}],207:[function(e,t,n){arguments[4][69][0].apply(n,arguments)},{dup:69}],208:[function(e,t,n){var r=e("./$.cof");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},{"./$.cof":201}],209:[function(e,t,n){arguments[4][78][0].apply(n,arguments)},{dup:78}],210:[function(e,t,n){var r=Object;t.exports={create:r.create,getProto:r.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:r.getOwnPropertyDescriptor,setDesc:r.defineProperty,setDescs:r.defineProperties,getKeys:r.keys,getNames:r.getOwnPropertyNames,getSymbols:r.getOwnPropertySymbols,each:[].forEach}},{}],211:[function(e,t,n){var r=e("./$"),o=e("./$.to-object"),a=e("./$.iobject");t.exports=e("./$.fails")(function(){var e=Object.assign,t={},n={},r=Symbol(),o="abcdefghijklmnopqrst";return t[r]=7,o.split("").forEach(function(e){n[e]=e}),7!=e({},t)[r]||Object.keys(e({},n)).join("")!=o})?function(e,t){for(var n=o(e),i=arguments,s=i.length,l=1,u=r.getKeys,c=r.getSymbols,d=r.isEnum;s>l;)for(var f,p=a(i[l++]),h=c?u(p).concat(c(p)):u(p),m=h.length,v=0;m>v;)d.call(p,f=h[v++])&&(n[f]=p[f]);return n}:Object.assign},{"./$":210,"./$.fails":206,"./$.iobject":208,"./$.to-object":214}],212:[function(e,t,n){var r=e("./$.export"),o=e("./$.core"),a=e("./$.fails");t.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],i={};i[e]=t(n),r(r.S+r.F*a(function(){n(1)}),"Object",i)}},{"./$.core":202,"./$.export":205,"./$.fails":206}],213:[function(e,t,n){var r=e("./$").getDesc,o=e("./$.is-object"),a=e("./$.an-object"),i=function(e,t){if(a(e),!o(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,o){try{o=e("./$.ctx")(Function.call,r(Object.prototype,"__proto__").set,2),o(t,[]),n=!(t instanceof Array)}catch(e){n=!0}return function(e,t){return i(e,t),n?e.__proto__=t:o(e,t),e}}({},!1):void 0),check:i}},{"./$":210,"./$.an-object":200,"./$.ctx":203,"./$.is-object":209}],214:[function(e,t,n){var r=e("./$.defined");t.exports=function(e){return Object(r(e))}},{"./$.defined":204}],215:[function(e,t,n){var r=e("./$.export");r(r.S+r.F,"Object",{assign:e("./$.object-assign")})},{"./$.export":205,"./$.object-assign":211}],216:[function(e,t,n){var r=e("./$.to-object");e("./$.object-sap")("keys",function(e){return function(t){return e(r(t))}})},{"./$.object-sap":212,"./$.to-object":214}],217:[function(e,t,n){var r=e("./$.export");r(r.S,"Object",{setPrototypeOf:e("./$.set-proto").set})},{"./$.export":205,"./$.set-proto":213}],218:[function(e,t,n){(function(e){function t(e){return Array.isArray?Array.isArray(e):"[object Array]"===v(e)}function r(e){return"boolean"==typeof e}function o(e){return null===e}function a(e){return null==e}function i(e){return"number"==typeof e}function s(e){return"string"==typeof e}function l(e){return"symbol"==typeof e}function u(e){return void 0===e}function c(e){return"[object RegExp]"===v(e)}function d(e){return"object"==typeof e&&null!==e}function f(e){return"[object Date]"===v(e)}function p(e){return"[object Error]"===v(e)||e instanceof Error}function h(e){return"function"==typeof e}function m(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function v(e){return Object.prototype.toString.call(e)}n.isArray=t,n.isBoolean=r,n.isNull=o,n.isNullOrUndefined=a,n.isNumber=i,n.isString=s,n.isSymbol=l,n.isUndefined=u,n.isRegExp=c,n.isObject=d,n.isDate=f,n.isError=p,n.isFunction=h,n.isPrimitive=m,n.isBuffer=e.isBuffer}).call(this,{isBuffer:e("../../is-buffer/index.js")})},{"../../is-buffer/index.js":363}],219:[function(e,t,n){!function(e,r){"object"==typeof n&&"undefined"!=typeof t?r(n):"function"==typeof define&&define.amd?define(["exports"],r):r(e.d3=e.d3||{})}(this,function(e){"use strict";function t(e){return function(t,n){return Su(e(t),n)}}function n(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),a=r/o;return a>=Bu?o*=10:a>=Vu?o*=5:a>=qu&&(o*=2),t<e?-o:o}function r(e){return e.length}function o(){}function a(e,t){var n=new o;if(e instanceof o)e.each(function(e,t){n.set(t,e)});else if(Array.isArray(e)){var r,a=-1,i=e.length;if(null==t)for(;++a<i;)n.set(a,e[a]);else for(;++a<i;)n.set(t(r=e[a],a,e),r)}else if(e)for(var s in e)n.set(s,e[s]);return n}function i(){return{}}function s(e,t,n){e[t]=n}function l(){return a()}function u(e,t,n){e.set(t,n)}function c(){}function d(e,t){var n=new c;if(e instanceof c)e.each(function(e){n.add(e)});else if(e){var r=-1,o=e.length;if(null==t)for(;++r<o;)n.add(e[r]);else for(;++r<o;)n.add(t(e[r],r,e))}return n}function f(e){return+e}function p(e){return e*e}function h(e){return e*(2-e)}function m(e){return((e*=2)<=1?e*e:--e*(2-e)+1)/2}function v(e){return e*e*e}function b(e){return--e*e*e+1}function g(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}function y(e){return 1-Math.cos(e*Sc)}function _(e){return Math.sin(e*Sc)}function M(e){return(1-Math.cos(wc*e))/2}function w(e){return Math.pow(2,10*e-10)}function S(e){return 1-Math.pow(2,-10*e)}function C(e){return((e*=2)<=1?Math.pow(2,10*e-10):2-Math.pow(2,10-10*e))/2}function x(e){return 1-Math.sqrt(1-e*e)}function k(e){return Math.sqrt(1- --e*e)}function T(e){return((e*=2)<=1?1-Math.sqrt(1-e*e):Math.sqrt(1-(e-=2)*e)+1)/2}function A(e){return 1-P(1-e)}function P(e){return(e=+e)<Cc?zc*e*e:e<kc?zc*(e-=xc)*e+Tc:e<Pc?zc*(e-=Ac)*e+Nc:zc*(e-=Oc)*e+Ec}function N(e){return((e*=2)<=1?1-P(1-e):P(e-1)+1)/2}function O(e,t){return e[0]-t[0]||e[1]-t[1]}function E(e){for(var t=e.length,n=[0,1],r=2,o=2;o<t;++o){for(;r>1&&Xc(e[n[r-2]],e[n[r-1]],e[o])<=0;)--r;n[r++]=o}return n.slice(0,r)}function z(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function R(){return new z}function j(e,t,n,r){if(isNaN(t)||isNaN(n))return e;var o,a,i,s,l,u,c,d,f,p=e._root,h={data:r},m=e._x0,v=e._y0,b=e._x1,g=e._y1;if(!p)return e._root=h,e;for(;p.length;)if((u=t>=(a=(m+b)/2))?m=a:b=a,(c=n>=(i=(v+g)/2))?v=i:g=i,o=p,!(p=p[d=c<<1|u]))return o[d]=h,e;if(s=+e._x.call(null,p.data),l=+e._y.call(null,p.data),t===s&&n===l)return h.next=p,o?o[d]=h:e._root=h,e;do o=o?o[d]=new Array(4):e._root=new Array(4),(u=t>=(a=(m+b)/2))?m=a:b=a,(c=n>=(i=(v+g)/2))?v=i:g=i;while((d=c<<1|u)===(f=(l>=i)<<1|s>=a));return o[f]=p,o[d]=h,e}function L(e){var t,n,r,o,a=e.length,i=new Array(a),s=new Array(a),l=1/0,u=1/0,c=-(1/0),d=-(1/0);for(n=0;n<a;++n)isNaN(r=+this._x.call(null,t=e[n]))||isNaN(o=+this._y.call(null,t))||(i[n]=r,s[n]=o,r<l&&(l=r),r>c&&(c=r),o<u&&(u=o),o>d&&(d=o));for(c<l&&(l=this._x0,c=this._x1),d<u&&(u=this._y0,d=this._y1),this.cover(l,u).cover(c,d),n=0;n<a;++n)j(this,i[n],s[n],e[n]);return this}function D(e){for(var t=0,n=e.length;t<n;++t)this.remove(e[t]);return this}function I(e){return e[0]}function B(e){return e[1]}function V(e,t,n){var r=new q(null==t?I:t,null==n?B:n,NaN,NaN,NaN,NaN);return null==e?r:r.addAll(e)}function q(e,t,n,r,o,a){this._x=e,this._y=t,this._x0=n,this._y0=r,this._x1=o,this._y1=a,this._root=void 0}function F(e){for(var t={data:e.data},n=t;e=e.next;)n=n.next={data:e.data};return t}function U(e){if(!(e>=1))throw new Error;this._size=e,this._call=this._error=null,this._tasks=[],this._data=[],this._waiting=this._active=this._ended=this._start=0}function W(e){if(!e._start)try{H(e)}catch(t){if(e._tasks[e._ended+e._active-1])K(e,t);else if(!e._data)throw t}}function H(e){for(;e._start=e._waiting&&e._active<e._size;){var t=e._ended+e._active,n=e._tasks[t],r=n.length-1,o=n[r];n[r]=X(e,t),--e._waiting,++e._active,n=o.apply(null,n),e._tasks[t]&&(e._tasks[t]=n||md)}}function X(e,t){return function(n,r){e._tasks[t]&&(--e._active,++e._ended,e._tasks[t]=null,null==e._error&&(null!=n?K(e,n):(e._data[t]=r,e._waiting?W(e):G(e))))}}function K(e,t){var n,r=e._tasks.length;for(e._error=t,e._data=void 0,e._waiting=NaN;--r>=0;)if((n=e._tasks[r])&&(e._tasks[r]=null,n.abort))try{n.abort()}catch(e){}e._active=NaN,G(e)}function G(e){if(!e._active&&e._call){var t=e._data;e._data=void 0,e._call(e._error,t)}}function Y(e){return new U(arguments.length?+e:1/0)}function $(e){return e.innerRadius}function Q(e){return e.outerRadius}function J(e){return e.startAngle}function Z(e){return e.endAngle}function ee(e){return e&&e.padAngle}function te(e){return e>=1?yd:e<=-1?-yd:Math.asin(e)}function ne(e,t,n,r,o,a,i,s){var l=n-e,u=r-t,c=i-o,d=s-a,f=(c*(t-a)-d*(e-o))/(d*l-c*u);return[e+f*l,t+f*u]}function re(e,t,n,r,o,a,i){var s=e-n,l=t-r,u=(i?a:-a)/Math.sqrt(s*s+l*l),c=u*l,d=-u*s,f=e+c,p=t+d,h=n+c,m=r+d,v=(f+h)/2,b=(p+m)/2,g=h-f,y=m-p,_=g*g+y*y,M=o-a,w=f*m-h*p,S=(y<0?-1:1)*Math.sqrt(Math.max(0,M*M*_-w*w)),C=(w*y-g*S)/_,x=(-w*g-y*S)/_,k=(w*y+g*S)/_,T=(-w*g+y*S)/_,A=C-v,P=x-b,N=k-v,O=T-b;return A*A+P*P>N*N+O*O&&(C=k,x=T),{cx:C,cy:x,x01:-c,y01:-d,x11:C*(o/M-1),y11:x*(o/M-1)}}function oe(e){this._context=e}function ae(e){return e[0]}function ie(e){return e[1]}function se(e){this._curve=e}function le(e){function t(t){return new se(e(t))}return t._curve=e,t}function ue(e){var t=e.curve;return e.angle=e.x,delete e.x,e.radius=e.y,delete e.y,e.curve=function(e){return arguments.length?t(le(e)):t()._curve},e}function ce(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function de(e){this._context=e}function fe(e){this._context=e}function pe(e){this._context=e}function he(e,t){this._basis=new de(e),this._beta=t}function me(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function ve(e,t){this._context=e,this._k=(1-t)/6}function be(e,t){this._context=e,this._k=(1-t)/6}function ge(e,t){this._context=e,this._k=(1-t)/6}function ye(e,t,n){var r=e._x1,o=e._y1,a=e._x2,i=e._y2;if(e._l01_a>bd){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,o=(o*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>bd){var u=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,c=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*u+e._x1*e._l23_2a-t*e._l12_2a)/c,i=(i*u+e._y1*e._l23_2a-n*e._l12_2a)/c}e._context.bezierCurveTo(r,o,a,i,e._x2,e._y2)}function _e(e,t){this._context=e,this._alpha=t}function Me(e,t){this._context=e,this._alpha=t}function we(e,t){this._context=e,this._alpha=t}function Se(e){this._context=e}function Ce(e){return e<0?-1:1}function xe(e,t,n){var r=e._x1-e._x0,o=t-e._x1,a=(e._y1-e._y0)/(r||o<0&&-0),i=(n-e._y1)/(o||r<0&&-0),s=(a*o+i*r)/(r+o);return(Ce(a)+Ce(i))*Math.min(Math.abs(a),Math.abs(i),.5*Math.abs(s))||0}function ke(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Te(e,t,n){var r=e._x0,o=e._y0,a=e._x1,i=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,o+s*t,a-s,i-s*n,a,i)}function Ae(e){this._context=e}function Pe(e){this._context=new Ne(e)}function Ne(e){this._context=e}function Oe(e){return new Ae(e)}function Ee(e){return new Pe(e)}function ze(e){this._context=e}function Re(e){var t,n,r=e.length-1,o=new Array(r),a=new Array(r),i=new Array(r);for(o[0]=0,a[0]=2,i[0]=e[0]+2*e[1],t=1;t<r-1;++t)o[t]=1,a[t]=4,i[t]=4*e[t]+2*e[t+1];for(o[r-1]=2,a[r-1]=7,i[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=o[t]/a[t-1],a[t]-=n,i[t]-=n*i[t-1];for(o[r-1]=i[r-1]/a[r-1],t=r-2;t>=0;--t)o[t]=(i[t]-o[t+1])/a[t];for(a[r-1]=(e[r]+o[r-1])/2,t=0;t<r-1;++t)a[t]=2*e[t+1]-o[t+1];return[o,a]}function je(e,t){this._context=e,this._t=t}function Le(e){return new je(e,0)}function De(e){return new je(e,1)}function Ie(e,t){return e[t]}function Be(e){for(var t,n=0,r=-1,o=e.length;++r<o;)(t=+e[r][1])&&(n+=t);return n}function Ve(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function qe(){}function Fe(e){var t;return e=(e+"").trim().toLowerCase(),(t=Pf.exec(e))?(t=parseInt(t[1],16),new Ke(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1)):(t=Nf.exec(e))?Ue(parseInt(t[1],16)):(t=Of.exec(e))?new Ke(t[1],t[2],t[3],1):(t=Ef.exec(e))?new Ke(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=zf.exec(e))?We(t[1],t[2],t[3],t[4]):(t=Rf.exec(e))?We(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=jf.exec(e))?Ge(t[1],t[2]/100,t[3]/100,1):(t=Lf.exec(e))?Ge(t[1],t[2]/100,t[3]/100,t[4]):Df.hasOwnProperty(e)?Ue(Df[e]):"transparent"===e?new Ke(NaN,NaN,NaN,0):null}function Ue(e){return new Ke(e>>16&255,e>>8&255,255&e,1)}function We(e,t,n,r){return r<=0&&(e=t=n=NaN),new Ke(e,t,n,r)}function He(e){return e instanceof qe||(e=Fe(e)),e?(e=e.rgb(),new Ke(e.r,e.g,e.b,e.opacity)):new Ke}function Xe(e,t,n,r){return 1===arguments.length?He(e):new Ke(e,t,n,null==r?1:r)}function Ke(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Ge(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Qe(e,t,n,r)}function Ye(e){if(e instanceof Qe)return new Qe(e.h,e.s,e.l,e.opacity);if(e instanceof qe||(e=Fe(e)),!e)return new Qe;if(e instanceof Qe)return e;e=e.rgb();var t=e.r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),a=Math.max(t,n,r),i=NaN,s=a-o,l=(a+o)/2;return s?(i=t===a?(n-r)/s+6*(n<r):n===a?(r-t)/s+2:(t-n)/s+4,s/=l<.5?a+o:2-a-o,i*=60):s=l>0&&l<1?0:i,new Qe(i,s,l,e.opacity)}function $e(e,t,n,r){return 1===arguments.length?Ye(e):new Qe(e,t,n,null==r?1:r)}function Qe(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Je(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function Ze(e){if(e instanceof tt)return new tt(e.l,e.a,e.b,e.opacity);if(e instanceof lt){var t=e.h*If;return new tt(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof Ke||(e=He(e));var n=at(e.r),r=at(e.g),o=at(e.b),a=nt((.4124564*n+.3575761*r+.1804375*o)/qf),i=nt((.2126729*n+.7151522*r+.072175*o)/Ff),s=nt((.0193339*n+.119192*r+.9503041*o)/Uf);return new tt(116*i-16,500*(a-i),200*(i-s),e.opacity)}function et(e,t,n,r){return 1===arguments.length?Ze(e):new tt(e,t,n,null==r?1:r)}function tt(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function nt(e){return e>Kf?Math.pow(e,1/3):e/Xf+Wf}function rt(e){return e>Hf?e*e*e:Xf*(e-Wf)}function ot(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function at(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function it(e){if(e instanceof lt)return new lt(e.h,e.c,e.l,e.opacity);e instanceof tt||(e=Ze(e));var t=Math.atan2(e.b,e.a)*Bf;return new lt(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function st(e,t,n,r){return 1===arguments.length?it(e):new lt(e,t,n,null==r?1:r)}function lt(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function ut(e){if(e instanceof dt)return new dt(e.h,e.s,e.l,e.opacity);e instanceof Ke||(e=He(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(tp*r+Zf*t-ep*n)/(tp+Zf-ep),a=r-o,i=(Jf*(n-o)-$f*a)/Qf,s=Math.sqrt(i*i+a*a)/(Jf*o*(1-o)),l=s?Math.atan2(i,a)*Bf-120:NaN;return new dt(l<0?l+360:l,s,o,e.opacity)}function ct(e,t,n,r){return 1===arguments.length?ut(e):new dt(e,t,n,null==r?1:r)}function dt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function ft(e,t,n,r,o){var a=e*e,i=a*e;return((1-3*e+3*a-i)*t+(4-6*a+3*i)*n+(1+3*e+3*a-3*i)*r+i*o)/6}function pt(e,t){return function(n){return e+n*t}}function ht(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}function mt(e,t){var n=t-e;return n?pt(e,n>180||n<-180?n-360*Math.round(n/360):n):lp(isNaN(e)?t:e)}function vt(e){return 1===(e=+e)?bt:function(t,n){return n-t?ht(t,n,e):lp(isNaN(t)?n:t)}}function bt(e,t){var n=t-e;return n?pt(e,n):lp(isNaN(e)?t:e)}function gt(e){return function(t){var n,r,o=t.length,a=new Array(o),i=new Array(o),s=new Array(o);for(n=0;n<o;++n)r=Xe(t[n]),a[n]=r.r||0,i[n]=r.g||0,s[n]=r.b||0;return a=e(a),i=e(i),s=e(s),r.opacity=1,function(e){return r.r=a(e),r.g=i(e),r.b=s(e),r+""}}}function yt(e){return function(){return e}}
|
6 | function _t(e){return function(t){return e(t)+""}}function Mt(e){return"none"===e?wp:(np||(np=document.createElement("DIV"),rp=document.documentElement,op=document.defaultView),np.style.transform=e,e=op.getComputedStyle(rp.appendChild(np),null).getPropertyValue("transform"),rp.removeChild(np),e=e.slice(7,-1).split(","),Sp(+e[0],+e[1],+e[2],+e[3],+e[4],+e[5]))}function wt(e){return null==e?wp:(ap||(ap=document.createElementNS("http://www.w3.org/2000/svg","g")),ap.setAttribute("transform",e),(e=ap.transform.baseVal.consolidate())?(e=e.matrix,Sp(e.a,e.b,e.c,e.d,e.e,e.f)):wp)}function St(e,t,n,r){function o(e){return e.length?e.pop()+" ":""}function a(e,r,o,a,i,s){if(e!==o||r!==a){var l=i.push("translate(",null,t,null,n);s.push({i:l-4,x:hp(e,o)},{i:l-2,x:hp(r,a)})}else(o||a)&&i.push("translate("+o+t+a+n)}function i(e,t,n,a){e!==t?(e-t>180?t+=360:t-e>180&&(e+=360),a.push({i:n.push(o(n)+"rotate(",null,r)-2,x:hp(e,t)})):t&&n.push(o(n)+"rotate("+t+r)}function s(e,t,n,a){e!==t?a.push({i:n.push(o(n)+"skewX(",null,r)-2,x:hp(e,t)}):t&&n.push(o(n)+"skewX("+t+r)}function l(e,t,n,r,a,i){if(e!==n||t!==r){var s=a.push(o(a)+"scale(",null,",",null,")");i.push({i:s-4,x:hp(e,n)},{i:s-2,x:hp(t,r)})}else 1===n&&1===r||a.push(o(a)+"scale("+n+","+r+")")}return function(t,n){var r=[],o=[];return t=e(t),n=e(n),a(t.translateX,t.translateY,n.translateX,n.translateY,r,o),i(t.rotate,n.rotate,r,o),s(t.skewX,n.skewX,r,o),l(t.scaleX,t.scaleY,n.scaleX,n.scaleY,r,o),t=n=null,function(e){for(var t,n=-1,a=o.length;++n<a;)r[(t=o[n]).i]=t.x(e);return r.join("")}}}function Ct(e){return((e=Math.exp(e))+1/e)/2}function xt(e){return((e=Math.exp(e))-1/e)/2}function kt(e){return((e=Math.exp(2*e))-1)/(e+1)}function Tt(e){return function(t,n){var r=e((t=$e(t)).h,(n=$e(n)).h),o=bt(t.s,n.s),a=bt(t.l,n.l),i=bt(t.opacity,n.opacity);return function(e){return t.h=r(e),t.s=o(e),t.l=a(e),t.opacity=i(e),t+""}}}function At(e,t){var n=bt((e=et(e)).l,(t=et(t)).l),r=bt(e.a,t.a),o=bt(e.b,t.b),a=bt(e.opacity,t.opacity);return function(t){return e.l=n(t),e.a=r(t),e.b=o(t),e.opacity=a(t),e+""}}function Pt(e){return function(t,n){var r=e((t=st(t)).h,(n=st(n)).h),o=bt(t.c,n.c),a=bt(t.l,n.l),i=bt(t.opacity,n.opacity);return function(e){return t.h=r(e),t.c=o(e),t.l=a(e),t.opacity=i(e),t+""}}}function Nt(e){return function t(n){function r(t,r){var o=e((t=ct(t)).h,(r=ct(r)).h),a=bt(t.s,r.s),i=bt(t.l,r.l),s=bt(t.opacity,r.opacity);return function(e){return t.h=o(e),t.s=a(e),t.l=i(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}function Ot(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r)throw new Error("illegal type: "+e);r[e]=[]}return new Et(r)}function Et(e){this._=e}function zt(e,t){return e.trim().split(/^|\s+/).map(function(e){var n="",r=e.indexOf(".");if(r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),e&&!t.hasOwnProperty(e))throw new Error("unknown type: "+e);return{type:e,name:n}})}function Rt(e,t){for(var n,r=0,o=e.length;r<o;++r)if((n=e[r]).name===t)return n.value}function jt(e,t,n){for(var r=0,o=e.length;r<o;++r)if(e[r].name===t){e[r]=Ip,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}function Lt(e){return new Function("d","return {"+e.map(function(e,t){return JSON.stringify(e)+": d["+t+"]"}).join(",")+"}")}function Dt(e,t){var n=Lt(e);return function(r,o){return t(n(r),o,e)}}function It(e){var t=Object.create(null),n=[];return e.forEach(function(e){for(var r in e)r in t||n.push(t[r]=r)}),n}function Bt(e){return function(t,n){e(null==t?n:null)}}function Vt(e){var t=e.responseType;return t&&"text"!==t?e.response:e.responseText}function qt(e,t){return function(n){return e(n.responseText,t)}}function Ft(){return fh||(mh(Ut),fh=hh.now()+ph)}function Ut(){fh=0}function Wt(){this._call=this._time=this._next=null}function Ht(e,t,n){var r=new Wt;return r.restart(e,t,n),r}function Xt(){Ft(),++sh;for(var e,t=Bp;t;)(e=fh-t._time)>=0&&t._call.call(null,e),t=t._next;--sh}function Kt(){fh=(dh=hh.now())+ph,sh=lh=0;try{Xt()}finally{sh=0,Yt(),fh=0}}function Gt(){var e=hh.now(),t=e-dh;t>ch&&(ph-=t,dh=e)}function Yt(){for(var e,t,n=Bp,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:Bp=t);Vp=e,$t(r)}function $t(e){if(!sh){lh&&(lh=clearTimeout(lh));var t=e-fh;t>24?(e<1/0&&(lh=setTimeout(Kt,t)),uh&&(uh=clearInterval(uh))):(uh||(uh=setInterval(Gt,ch)),sh=1,mh(Kt))}}function Qt(e,t,n,r){function o(t){return e(t=new Date((+t))),t}return o.floor=o,o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date((+e)),null==n?1:Math.floor(n)),e},o.range=function(n,r,a){var i=[];if(n=o.ceil(n),a=null==a?1:Math.floor(a),!(n<r&&a>0))return i;do i.push(new Date((+n)));while(t(n,a),e(n),n<r);return i},o.filter=function(n){return Qt(function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},function(e,r){if(e>=e)for(;--r>=0;)for(;t(e,1),!n(e););})},n&&(o.count=function(t,r){return gh.setTime(+t),yh.setTime(+r),e(gh),e(yh),Math.floor(n(gh,yh))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e===0}:function(t){return o.count(0,t)%e===0}):o:null}),o}function Jt(e){return Qt(function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+7*t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Sh)/kh})}function Zt(e){return Qt(function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+7*t)},function(e,t){return(t-e)/kh})}function en(e){if(!(t=Om.exec(e)))throw new Error("invalid format: "+e);var t,n=t[1]||" ",r=t[2]||">",o=t[3]||"-",a=t[4]||"",i=!!t[5],s=t[6]&&+t[6],l=!!t[7],u=t[8]&&+t[8].slice(1),c=t[9]||"";"n"===c?(l=!0,c="g"):Nm[c]||(c=""),(i||"0"===n&&"="===r)&&(i=!0,n="0",r="="),this.fill=n,this.align=r,this.sign=o,this.symbol=a,this.zero=i,this.width=s,this.comma=l,this.precision=u,this.type=c}function tn(e){return e}function nn(t){return zm=jm(t),e.format=zm.format,e.formatPrefix=zm.formatPrefix,zm}function rn(e){if(0<=e.y&&e.y<100){var t=new Date((-1),e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function on(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function an(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}function sn(e){function t(e,t){return function(n){var r,o,a,i=[],s=-1,l=0,u=e.length;for(n instanceof Date||(n=new Date((+n)));++s<u;)37===e.charCodeAt(s)&&(i.push(e.slice(l,s)),null!=(o=Vm[r=e.charAt(++s)])?r=e.charAt(++s):o="e"===r?" ":"0",(a=t[r])&&(r=a(n,o)),i.push(r),l=s+1);return i.push(e.slice(l,s)),i.join("")}}function n(e,t){return function(n){var o=an(1900),a=r(o,e,n+="",0);if(a!=n.length)return null;if("p"in o&&(o.H=o.H%12+12*o.p),"W"in o||"U"in o){"w"in o||(o.w="W"in o?1:0);var i="Z"in o?on(an(o.y)).getUTCDay():t(an(o.y)).getDay();o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7}return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,on(o)):t(o)}}function r(e,t,n,r){for(var o,a,i=0,s=t.length,l=n.length;i<s;){if(r>=l)return-1;if(o=t.charCodeAt(i++),37===o){if(o=t.charAt(i++),a=F[o in Vm?t.charAt(i++):o],!a||(r=a(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}function o(e,t,n){var r=N.exec(t.slice(n));return r?(e.p=O[r[0].toLowerCase()],n+r[0].length):-1}function a(e,t,n){var r=R.exec(t.slice(n));return r?(e.w=j[r[0].toLowerCase()],n+r[0].length):-1}function i(e,t,n){var r=E.exec(t.slice(n));return r?(e.w=z[r[0].toLowerCase()],n+r[0].length):-1}function s(e,t,n){var r=I.exec(t.slice(n));return r?(e.m=B[r[0].toLowerCase()],n+r[0].length):-1}function l(e,t,n){var r=L.exec(t.slice(n));return r?(e.m=D[r[0].toLowerCase()],n+r[0].length):-1}function u(e,t,n){return r(e,w,t,n)}function c(e,t,n){return r(e,S,t,n)}function d(e,t,n){return r(e,C,t,n)}function f(e){return T[e.getDay()]}function p(e){return k[e.getDay()]}function h(e){return P[e.getMonth()]}function m(e){return A[e.getMonth()]}function v(e){return x[+(e.getHours()>=12)]}function b(e){return T[e.getUTCDay()]}function g(e){return k[e.getUTCDay()]}function y(e){return P[e.getUTCMonth()]}function _(e){return A[e.getUTCMonth()]}function M(e){return x[+(e.getUTCHours()>=12)]}var w=e.dateTime,S=e.date,C=e.time,x=e.periods,k=e.days,T=e.shortDays,A=e.months,P=e.shortMonths,N=cn(x),O=dn(x),E=cn(k),z=dn(k),R=cn(T),j=dn(T),L=cn(A),D=dn(A),I=cn(P),B=dn(P),V={a:f,A:p,b:h,B:m,c:null,d:kn,e:kn,H:Tn,I:An,j:Pn,L:Nn,m:On,M:En,p:v,S:zn,U:Rn,w:jn,W:Ln,x:null,X:null,y:Dn,Y:In,Z:Bn,"%":er},q={a:b,A:g,b:y,B:_,c:null,d:Vn,e:Vn,H:qn,I:Fn,j:Un,L:Wn,m:Hn,M:Xn,p:M,S:Kn,U:Gn,w:Yn,W:$n,x:null,X:null,y:Qn,Y:Jn,Z:Zn,"%":er},F={a:a,A:i,b:s,B:l,c:u,d:yn,e:yn,H:Mn,I:Mn,j:_n,L:Cn,m:gn,M:wn,p:o,S:Sn,U:pn,w:fn,W:hn,x:c,X:d,y:vn,Y:mn,Z:bn,"%":xn};return V.x=t(S,V),V.X=t(C,V),V.c=t(w,V),q.x=t(S,q),q.X=t(C,q),q.c=t(w,q),{format:function(e){var n=t(e+="",V);return n.toString=function(){return e},n},parse:function(e){var t=n(e+="",rn);return t.toString=function(){return e},t},utcFormat:function(e){var n=t(e+="",q);return n.toString=function(){return e},n},utcParse:function(e){var t=n(e,on);return t.toString=function(){return e},t}}}function ln(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",a=o.length;return r+(a<n?new Array(n-a+1).join(t)+o:o)}function un(e){return e.replace(Um,"\\$&")}function cn(e){return new RegExp("^(?:"+e.map(un).join("|")+")","i")}function dn(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function fn(e,t,n){var r=qm.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function pn(e,t,n){var r=qm.exec(t.slice(n));return r?(e.U=+r[0],n+r[0].length):-1}function hn(e,t,n){var r=qm.exec(t.slice(n));return r?(e.W=+r[0],n+r[0].length):-1}function mn(e,t,n){var r=qm.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function vn(e,t,n){var r=qm.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function bn(e,t,n){var r=/^(Z)|([+-]\d\d)(?:\:?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function gn(e,t,n){var r=qm.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function yn(e,t,n){var r=qm.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function _n(e,t,n){var r=qm.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function Mn(e,t,n){var r=qm.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function wn(e,t,n){var r=qm.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Sn(e,t,n){var r=qm.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Cn(e,t,n){var r=qm.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function xn(e,t,n){var r=Fm.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function kn(e,t){return ln(e.getDate(),t,2)}function Tn(e,t){return ln(e.getHours(),t,2)}function An(e,t){return ln(e.getHours()%12||12,t,2)}function Pn(e,t){return ln(1+zh.count(Qh(e),e),t,3)}function Nn(e,t){return ln(e.getMilliseconds(),t,3)}function On(e,t){return ln(e.getMonth()+1,t,2)}function En(e,t){return ln(e.getMinutes(),t,2)}function zn(e,t){return ln(e.getSeconds(),t,2)}function Rn(e,t){return ln(jh.count(Qh(e),e),t,2)}function jn(e){return e.getDay()}function Ln(e,t){return ln(Lh.count(Qh(e),e),t,2)}function Dn(e,t){return ln(e.getFullYear()%100,t,2)}function In(e,t){return ln(e.getFullYear()%1e4,t,4)}function Bn(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ln(t/60|0,"0",2)+ln(t%60,"0",2)}function Vn(e,t){return ln(e.getUTCDate(),t,2)}function qn(e,t){return ln(e.getUTCHours(),t,2)}function Fn(e,t){return ln(e.getUTCHours()%12||12,t,2)}function Un(e,t){return ln(1+rm.count(Mm(e),e),t,3)}function Wn(e,t){return ln(e.getUTCMilliseconds(),t,3)}function Hn(e,t){return ln(e.getUTCMonth()+1,t,2)}function Xn(e,t){return ln(e.getUTCMinutes(),t,2)}function Kn(e,t){return ln(e.getUTCSeconds(),t,2)}function Gn(e,t){return ln(am.count(Mm(e),e),t,2)}function Yn(e){return e.getUTCDay()}function $n(e,t){return ln(im.count(Mm(e),e),t,2)}function Qn(e,t){return ln(e.getUTCFullYear()%100,t,2)}function Jn(e,t){return ln(e.getUTCFullYear()%1e4,t,4)}function Zn(){return"+0000"}function er(){return"%"}function tr(t){return Lm=sn(t),e.timeFormat=Lm.format,e.timeParse=Lm.parse,e.utcFormat=Lm.utcFormat,e.utcParse=Lm.utcParse,Lm}function nr(e){return e.toISOString()}function rr(e){var t=new Date(e);return isNaN(t)?null:t}function or(e){function t(t){var a=t+"",i=n.get(a);if(!i){if(o!==$m)return o;n.set(a,i=r.push(t))}return e[(i-1)%e.length]}var n=a(),r=[],o=$m;return e=null==e?[]:Ym.call(e),t.domain=function(e){if(!arguments.length)return r.slice();r=[],n=a();for(var o,i,s=-1,l=e.length;++s<l;)n.has(i=(o=e[s])+"")||n.set(i,r.push(o));return t},t.range=function(n){return arguments.length?(e=Ym.call(n),t):e.slice()},t.unknown=function(e){return arguments.length?(o=e,t):o},t.copy=function(){return or().domain(r).range(e).unknown(o)},t}function ar(){function e(){var e=o().length,r=i[1]<i[0],d=i[r-0],f=i[1-r];t=(f-d)/Math.max(1,e-l+2*u),s&&(t=Math.floor(t)),d+=(f-d-t*(e-l))*c,n=t*(1-l),s&&(d=Math.round(d),n=Math.round(n));var p=Iu(e).map(function(e){return d+t*e});return a(r?p.reverse():p)}var t,n,r=or().unknown(void 0),o=r.domain,a=r.range,i=[0,1],s=!1,l=0,u=0,c=.5;return delete r.unknown,r.domain=function(t){return arguments.length?(o(t),e()):o()},r.range=function(t){return arguments.length?(i=[+t[0],+t[1]],e()):i.slice()},r.rangeRound=function(t){return i=[+t[0],+t[1]],s=!0,e()},r.bandwidth=function(){return n},r.step=function(){return t},r.round=function(t){return arguments.length?(s=!!t,e()):s},r.padding=function(t){return arguments.length?(l=u=Math.max(0,Math.min(1,t)),e()):l},r.paddingInner=function(t){return arguments.length?(l=Math.max(0,Math.min(1,t)),e()):l},r.paddingOuter=function(t){return arguments.length?(u=Math.max(0,Math.min(1,t)),e()):u},r.align=function(t){return arguments.length?(c=Math.max(0,Math.min(1,t)),e()):c},r.copy=function(){return ar().domain(o()).range(i).round(s).paddingInner(l).paddingOuter(u).align(c)},e()}function ir(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return ir(t())},e}function sr(){return ir(ar().paddingInner(1))}function lr(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:Qm(t)}function ur(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=t?0:e>=n?1:r(e)}}}function cr(e){return function(t,n){var r=e(t=+t,n=+n);return function(e){return e<=0?t:e>=1?n:r(e)}}}function dr(e,t,n,r){var o=e[0],a=e[1],i=t[0],s=t[1];return a<o?(o=n(a,o),i=r(s,i)):(o=n(o,a),i=r(i,s)),function(e){return i(o(e))}}function fr(e,t,n,r){var o=Math.min(e.length,t.length)-1,a=new Array(o),i=new Array(o),s=-1;for(e[o]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<o;)a[s]=n(e[s],e[s+1]),i[s]=r(t[s],t[s+1]);return function(t){var n=ku(e,t,1,o)-1;return i[n](a[n](t))}}function pr(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp())}function hr(e,t){function n(){return o=Math.min(s.length,l.length)>2?fr:dr,a=i=null,r}function r(t){return(a||(a=o(s,l,c?ur(e):e,u)))(+t)}var o,a,i,s=Zm,l=Zm,u=yp,c=!1;return r.invert=function(e){return(i||(i=o(l,s,lr,c?cr(t):t)))(+e)},r.domain=function(e){return arguments.length?(s=Gm.call(e,Jm),n()):s.slice()},r.range=function(e){return arguments.length?(l=Ym.call(e),n()):l.slice()},r.rangeRound=function(e){return l=Ym.call(e),u=_p,n()},r.clamp=function(e){return arguments.length?(c=!!e,n()):c},r.interpolate=function(e){return arguments.length?(u=e,n()):u},n()}function mr(e){var t=e.domain;return e.ticks=function(e){var n=t();return Fu(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){return ev(t(),e,n)},e.nice=function(r){var o=t(),a=o.length-1,i=null==r?10:r,s=o[0],l=o[a],u=n(s,l,i);return u&&(u=n(Math.floor(s/u)*u,Math.ceil(l/u)*u,i),o[0]=Math.floor(s/u)*u,o[a]=Math.ceil(l/u)*u,t(o)),e},e}function vr(){var e=hr(lr,hp);return e.copy=function(){return pr(e,vr())},mr(e)}function br(){function e(e){return+e}var t=[0,1];return e.invert=e,e.domain=e.range=function(n){return arguments.length?(t=Gm.call(n,Jm),e):t.slice()},e.copy=function(){return br().domain(t)},mr(e)}function gr(e,t){return(t=Math.log(t/e))?function(n){return Math.log(n/e)/t}:Qm(t)}function yr(e,t){return e<0?function(n){return-Math.pow(-t,n)*Math.pow(-e,1-n)}:function(n){return Math.pow(t,n)*Math.pow(e,1-n)}}function _r(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Mr(e){return 10===e?_r:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}function wr(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}function Sr(e){return function(t){return-e(-t)}}function Cr(){function t(){return a=wr(o),i=Mr(o),r()[0]<0&&(a=Sr(a),i=Sr(i)),n}var n=hr(gr,yr).domain([1,10]),r=n.domain,o=10,a=wr(10),i=Mr(10);return n.base=function(e){return arguments.length?(o=+e,t()):o},n.domain=function(e){return arguments.length?(r(e),t()):r()},n.ticks=function(e){var t,n=r(),s=n[0],l=n[n.length-1];(t=l<s)&&(f=s,s=l,l=f);var u,c,d,f=a(s),p=a(l),h=null==e?10:+e,m=[];if(!(o%1)&&p-f<h){if(f=Math.round(f)-1,p=Math.round(p)+1,s>0){for(;f<p;++f)for(c=1,u=i(f);c<o;++c)if(d=u*c,!(d<s)){if(d>l)break;m.push(d)}}else for(;f<p;++f)for(c=o-1,u=i(f);c>=1;--c)if(d=u*c,!(d<s)){if(d>l)break;m.push(d)}}else m=Fu(f,p,Math.min(p-f,h)).map(i);return t?m.reverse():m},n.tickFormat=function(t,r){if(null==r&&(r=10===o?".0e":","),"function"!=typeof r&&(r=e.format(r)),t===1/0)return r;null==t&&(t=10);var s=Math.max(1,o*t/n.ticks().length);return function(e){var t=e/i(Math.round(a(e)));return t*o<o-.5&&(t*=o),t<=s?r(e):""}},n.nice=function(){return r(tv(r(),{floor:function(e){return i(Math.floor(a(e)))},ceil:function(e){return i(Math.ceil(a(e)))}}))},n.copy=function(){return pr(n,Cr().base(o))},n}function xr(e,t){return e<0?-Math.pow(-e,t):Math.pow(e,t)}function kr(){function e(e,t){return(t=xr(t,n)-(e=xr(e,n)))?function(r){return(xr(r,n)-e)/t}:Qm(t)}function t(e,t){return t=xr(t,n)-(e=xr(e,n)),function(r){return xr(e+t*r,1/n)}}var n=1,r=hr(e,t),o=r.domain;return r.exponent=function(e){return arguments.length?(n=+e,o(o())):n},r.copy=function(){return pr(r,kr().exponent(n))},mr(r)}function Tr(){return kr().exponent(.5)}function Ar(){function e(){var e=0,a=Math.max(1,r.length);for(o=new Array(a-1);++e<a;)o[e-1]=Hu(n,e/a);return t}function t(e){if(!isNaN(e=+e))return r[ku(o,e)]}var n=[],r=[],o=[];return t.invertExtent=function(e){var t=r.indexOf(e);return t<0?[NaN,NaN]:[t>0?o[t-1]:n[0],t<o.length?o[t]:n[n.length-1]]},t.domain=function(t){if(!arguments.length)return n.slice();n=[];for(var r,o=0,a=t.length;o<a;++o)r=t[o],null==r||isNaN(r=+r)||n.push(r);return n.sort(Su),e()},t.range=function(t){return arguments.length?(r=Ym.call(t),e()):r.slice()},t.quantiles=function(){return o.slice()},t.copy=function(){return Ar().domain(n).range(r)},t}function Pr(){function e(e){if(e<=e)return i[ku(a,e,0,o)]}function t(){var t=-1;for(a=new Array(o);++t<o;)a[t]=((t+1)*r-(t-o)*n)/(o+1);return e}var n=0,r=1,o=1,a=[.5],i=[0,1];return e.domain=function(e){return arguments.length?(n=+e[0],r=+e[1],t()):[n,r]},e.range=function(e){return arguments.length?(o=(i=Ym.call(e)).length-1,t()):i.slice()},e.invertExtent=function(e){var t=i.indexOf(e);return t<0?[NaN,NaN]:t<1?[n,a[0]]:t>=o?[a[o-1],r]:[a[t-1],a[t]]},e.copy=function(){return Pr().domain([n,r]).range(i)},mr(e)}function Nr(){function e(e){if(e<=e)return n[ku(t,e,0,r)]}var t=[.5],n=[0,1],r=1;return e.domain=function(o){return arguments.length?(t=Ym.call(o),r=Math.min(t.length,n.length-1),e):t.slice()},e.range=function(o){return arguments.length?(n=Ym.call(o),r=Math.min(t.length,n.length-1),e):n.slice()},e.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},e.copy=function(){return Nr().domain(t).range(n)},e}function Or(e){return new Date(e)}function Er(e){return e instanceof Date?+e:+new Date((+e))}function zr(e,t,r,o,a,i,s,l,u){function c(n){return(s(n)<n?m:i(n)<n?v:a(n)<n?b:o(n)<n?g:t(n)<n?r(n)<n?y:_:e(n)<n?M:w)(n)}function d(t,r,o,a){if(null==t&&(t=10),"number"==typeof t){var i=Math.abs(o-r)/t,s=Cu(function(e){return e[2]}).right(S,i);s===S.length?(a=n(r/lv,o/lv,t),t=e):s?(s=S[i/S[s-1][2]<S[s][2]/i?s-1:s],a=s[1],t=s[0]):(a=n(r,o,t),t=l)}return null==a?t:t.every(a)}var f=hr(lr,hp),p=f.invert,h=f.domain,m=u(".%L"),v=u(":%S"),b=u("%I:%M"),g=u("%I %p"),y=u("%a %d"),_=u("%b %d"),M=u("%B"),w=u("%Y"),S=[[s,1,nv],[s,5,5*nv],[s,15,15*nv],[s,30,30*nv],[i,1,rv],[i,5,5*rv],[i,15,15*rv],[i,30,30*rv],[a,1,ov],[a,3,3*ov],[a,6,6*ov],[a,12,12*ov],[o,1,av],[o,2,2*av],[r,1,iv],[t,1,sv],[t,3,3*sv],[e,1,lv]];return f.invert=function(e){return new Date(p(e))},f.domain=function(e){return arguments.length?h(Gm.call(e,Er)):h().map(Or)},f.ticks=function(e,t){var n,r=h(),o=r[0],a=r[r.length-1],i=a<o;return i&&(n=o,o=a,a=n),n=d(e,o,a,t),n=n?n.range(o,a+1):[],i?n.reverse():n},f.tickFormat=function(e,t){return null==t?c:u(t)},f.nice=function(e,t){var n=h();return(e=d(e,n[0],n[n.length-1],t))?h(tv(n,e)):f},f.copy=function(){return pr(f,zr(e,t,r,o,a,i,s,l,u))},f}function Rr(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}function jr(e){function t(t){var a=(t-n)/(r-n);return e(o?Math.max(0,Math.min(1,a)):a)}var n=0,r=1,o=!1;return t.domain=function(e){return arguments.length?(n=+e[0],r=+e[1],t):[n,r]},t.clamp=function(e){return arguments.length?(o=!!e,t):o},t.interpolator=function(n){return arguments.length?(e=n,t):e},t.copy=function(){return jr(e).domain([n,r]).clamp(o)},mr(t)}function Lr(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===xv&&t.documentElement.namespaceURI===xv?t.createElement(e):t.createElementNS(n,e)}}function Dr(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}function Ir(){return new Br}function Br(){this._="@"+(++Pv).toString(36)}function Vr(e,t,n){return e=qr(e,t,n),function(t){var n=t.relatedTarget;n&&(n===this||8&n.compareDocumentPosition(this))||e.call(this,t)}}function qr(t,n,r){return function(o){var a=e.event;e.event=o;try{t.call(this,this.__data__,n,r)}finally{e.event=a}}}function Fr(e){return e.trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}})}function Ur(e){return function(){var t=this.__on;if(t){for(var n,r=0,o=-1,a=t.length;r<a;++r)n=t[r],e.type&&n.type!==e.type||n.name!==e.name?t[++o]=n:this.removeEventListener(n.type,n.listener,n.capture);++o?t.length=o:delete this.__on}}}function Wr(e,t,n){var r=Rv.hasOwnProperty(e.type)?Vr:qr;return function(o,a,i){var s,l=this.__on,u=r(t,a,i);if(l)for(var c=0,d=l.length;c<d;++c)if((s=l[c]).type===e.type&&s.name===e.name)return this.removeEventListener(s.type,s.listener,s.capture),this.addEventListener(s.type,s.listener=u,s.capture=n),void(s.value=t);this.addEventListener(e.type,u,n),s={type:e.type,name:e.name,value:t,listener:u,capture:n},l?l.push(s):this.__on=[s]}}function Hr(t,n,r,o){var a=e.event;t.sourceEvent=e.event,e.event=t;try{return n.apply(r,o)}finally{e.event=a}}function Xr(){}function Kr(){return[]}function Gr(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function Yr(e,t,n,r,o,a){for(var i,s=0,l=t.length,u=a.length;s<u;++s)(i=t[s])?(i.__data__=a[s],r[s]=i):n[s]=new Gr(e,a[s]);for(;s<l;++s)(i=t[s])&&(o[s]=i)}function $r(e,t,n,r,o,a,i){var s,l,u,c={},d=t.length,f=a.length,p=new Array(d);for(s=0;s<d;++s)(l=t[s])&&(p[s]=u=Gv+i.call(l,l.__data__,s,t),u in c?o[s]=l:c[u]=l);for(s=0;s<f;++s)u=Gv+i.call(e,a[s],s,a),(l=c[u])?(r[s]=l,l.__data__=a[s],c[u]=null):n[s]=new Gr(e,a[s]);for(s=0;s<d;++s)(l=t[s])&&c[p[s]]===l&&(o[s]=l)}function Qr(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Jr(e){return function(){this.removeAttribute(e)}}function Zr(e){return function(){this.removeAttributeNS(e.space,e.local)}}function eo(e,t){return function(){this.setAttribute(e,t)}}function to(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}function no(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}function ro(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}function oo(e){return function(){this.style.removeProperty(e)}}function ao(e,t,n){return function(){this.style.setProperty(e,t,n)}}function io(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}function so(e){return function(){delete this[e]}}function lo(e,t){return function(){this[e]=t}}function uo(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}function co(e){return e.trim().split(/^|\s+/)}function fo(e){return e.classList||new po(e)}function po(e){this._node=e,this._names=co(e.getAttribute("class")||"")}function ho(e,t){for(var n=fo(e),r=-1,o=t.length;++r<o;)n.add(t[r])}function mo(e,t){for(var n=fo(e),r=-1,o=t.length;++r<o;)n.remove(t[r])}function vo(e){return function(){ho(this,e)}}function bo(e){return function(){mo(this,e)}}function go(e,t){return function(){(t.apply(this,arguments)?ho:mo)(this,e)}}function yo(){this.textContent=""}function _o(e){return function(){this.textContent=e}}function Mo(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}function wo(){this.innerHTML=""}function So(e){return function(){this.innerHTML=e}}function Co(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}function xo(){this.nextSibling&&this.parentNode.appendChild(this)}function ko(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function To(){return null}function Ao(){var e=this.parentNode;e&&e.removeChild(this)}function Po(e,t,n){var r=sb(e),o=r.CustomEvent;o?o=new o(t,n):(o=r.document.createEvent("Event"),n?(o.initEvent(t,n.bubbles,n.cancelable),o.detail=n.detail):o.initEvent(t,!1,!1)),e.dispatchEvent(o)}function No(e,t){return function(){return Po(this,e,t)}}function Oo(e,t){return function(){return Po(this,e,t.apply(this,arguments))}}function Eo(e,t){this._groups=e,this._parents=t}function zo(){return new Eo([[document.documentElement]],_b)}function Ro(e,t){var n=e.__transition;if(!n||!(n=n[t])||n.state>Tb)throw new Error("too late");return n}function jo(e,t){var n=e.__transition;if(!n||!(n=n[t])||n.state>Pb)throw new Error("too late");return n}function Lo(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw new Error("too late");return n}function Do(e,t,n){function r(e){n.state=Ab,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)}function o(r){var u,c,d,f;if(n.state!==Ab)return i();for(u in l)if(f=l[u],f.name===n.name){if(f.state===Nb)return vh(o);f.state===Ob?(f.state=zb,f.timer.stop(),f.on.call("interrupt",e,e.__data__,f.index,f.group),delete l[u]):+u<t&&(f.state=zb,f.timer.stop(),delete l[u])}if(vh(function(){n.state===Nb&&(n.state=Ob,n.timer.restart(a,n.delay,n.time),a(r))}),n.state=Pb,n.on.call("start",e,e.__data__,n.index,n.group),n.state===Pb){for(n.state=Nb,s=new Array(d=n.tween.length),u=0,c=-1;u<d;++u)(f=n.tween[u].value.call(e,e.__data__,n.index,n.group))&&(s[++c]=f);s.length=c+1}}function a(t){for(var r=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(i),n.state=Eb,1),o=-1,a=s.length;++o<a;)s[o].call(null,r);n.state===Eb&&(n.on.call("end",e,e.__data__,n.index,n.group),i())}function i(){n.state=zb,n.timer.stop(),delete l[t];for(var r in l)return;delete e.__transition}var s,l=e.__transition;l[t]=n,n.timer=Ht(r,0,n.time)}function Io(e,t){var n,r;return function(){var o=jo(this,e),a=o.tween;if(a!==n){r=n=a;for(var i=0,s=r.length;i<s;++i)if(r[i].name===t){r=r.slice(),r.splice(i,1);break}}o.tween=r}}function Bo(e,t,n){var r,o;if("function"!=typeof n)throw new Error;return function(){var a=jo(this,e),i=a.tween;if(i!==r){o=(r=i).slice();for(var s={name:t,value:n},l=0,u=o.length;l<u;++l)if(o[l].name===t){o[l]=s;break}l===u&&o.push(s)}a.tween=o}}function Vo(e,t,n){var r=e._id;return e.each(function(){var e=jo(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)}),function(e){return Lo(e,r).value[t]}}function qo(e){return function(){this.removeAttribute(e)}}function Fo(e){return function(){this.removeAttributeNS(e.space,e.local)}}function Uo(e,t,n){var r,o;return function(){var a=this.getAttribute(e);return a===n?null:a===r?o:o=t(r=a,n)}}function Wo(e,t,n){var r,o;return function(){var a=this.getAttributeNS(e.space,e.local);return a===n?null:a===r?o:o=t(r=a,n)}}function Ho(e,t,n){var r,o,a;return function(){var i,s=n(this);return null==s?void this.removeAttribute(e):(i=this.getAttribute(e),i===s?null:i===r&&s===o?a:a=t(r=i,o=s))}}function Xo(e,t,n){var r,o,a;return function(){var i,s=n(this);return null==s?void this.removeAttributeNS(e.space,e.local):(i=this.getAttributeNS(e.space,e.local),i===s?null:i===r&&s===o?a:a=t(r=i,o=s))}}function Ko(e,t){function n(){var n=this,r=t.apply(n,arguments);return r&&function(t){n.setAttributeNS(e.space,e.local,r(t))}}return n._value=t,n}function Go(e,t){function n(){var n=this,r=t.apply(n,arguments);return r&&function(t){n.setAttribute(e,r(t))}}return n._value=t,n}function Yo(e,t){return function(){Ro(this,e).delay=+t.apply(this,arguments)}}function $o(e,t){return t=+t,function(){Ro(this,e).delay=t}}function Qo(e,t){return function(){jo(this,e).duration=+t.apply(this,arguments)}}function Jo(e,t){return t=+t,function(){jo(this,e).duration=t}}function Zo(e,t){if("function"!=typeof t)throw new Error;return function(){jo(this,e).ease=t}}function ea(e){return(e+"").trim().split(/^|\s+/).every(function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e})}function ta(e,t,n){var r,o,a=ea(t)?Ro:jo;return function(){var i=a(this,e),s=i.on;s!==r&&(o=(r=s).copy()).on(t,n),i.on=o}}function na(e){return function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}}function ra(e,t){var n,r,o;return function(){var a=sb(this).getComputedStyle(this,null),i=a.getPropertyValue(e),s=(this.style.removeProperty(e),a.getPropertyValue(e));return i===s?null:i===n&&s===r?o:o=t(n=i,r=s)}}function oa(e){return function(){this.style.removeProperty(e)}}function aa(e,t,n){var r,o;return function(){var a=sb(this).getComputedStyle(this,null).getPropertyValue(e);return a===n?null:a===r?o:o=t(r=a,n)}}function ia(e,t,n){var r,o,a;return function(){var i=sb(this).getComputedStyle(this,null),s=i.getPropertyValue(e),l=n(this);return null==l&&(this.style.removeProperty(e),l=i.getPropertyValue(e)),s===l?null:s===r&&l===o?a:a=t(r=s,o=l)}}function sa(e,t,n){function r(){var r=this,o=t.apply(r,arguments);return o&&function(t){r.style.setProperty(e,o(t),n)}}return r._value=t,r}function la(e){return function(){this.textContent=e}}function ua(e){return function(){var t=e(this);this.textContent=null==t?"":t}}function ca(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}function da(e){return zo().transition(e)}function fa(){return++ng}function pa(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))return og.time=Ft(),og;return n}function ha(e,t,n){var r=e(n);return"translate("+(isFinite(r)?r:t(n))+",0)"}function ma(e,t,n){var r=e(n);return"translate(0,"+(isFinite(r)?r:t(n))+")"}function va(e){var t=e.bandwidth()/2;return e.round()&&(t=Math.round(t)),function(n){return e(n)+t}}function ba(){return!this.__axis}function ga(e,t){function n(n){var u,c=null==o?t.ticks?t.ticks.apply(t,r):t.domain():o,d=null==a?t.tickFormat?t.tickFormat.apply(t,r):ug:a,f=Math.max(i,0)+l,p=e===cg||e===fg?ha:ma,h=t.range(),m=h[0]+.5,v=h[h.length-1]+.5,b=(t.bandwidth?va:ug)(t.copy()),g=n.selection?n.selection():n,y=g.selectAll(".domain").data([null]),_=g.selectAll(".tick").data(c,t).order(),M=_.exit(),w=_.enter().append("g").attr("class","tick"),S=_.select("line"),C=_.select("text"),x=e===cg||e===pg?-1:1,k=e===pg||e===dg?(u="x",
|
7 | "y"):(u="y","x");y=y.merge(y.enter().insert("path",".tick").attr("class","domain").attr("stroke","#000")),_=_.merge(w),S=S.merge(w.append("line").attr("stroke","#000").attr(u+"2",x*i).attr(k+"1",.5).attr(k+"2",.5)),C=C.merge(w.append("text").attr("fill","#000").attr(u,x*f).attr(k,.5).attr("dy",e===cg?"0em":e===fg?"0.71em":"0.32em")),n!==g&&(y=y.transition(n),_=_.transition(n),S=S.transition(n),C=C.transition(n),M=M.transition(n).attr("opacity",hg).attr("transform",function(e){return p(b,this.parentNode.__axis||b,e)}),w.attr("opacity",hg).attr("transform",function(e){return p(this.parentNode.__axis||b,b,e)})),M.remove(),y.attr("d",e===pg||e==dg?"M"+x*s+","+m+"H0.5V"+v+"H"+x*s:"M"+m+","+x*s+"V0.5H"+v+"V"+x*s),_.attr("opacity",1).attr("transform",function(e){return p(b,b,e)}),S.attr(u+"2",x*i),C.attr(u,x*f).text(d),g.filter(ba).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",e===dg?"start":e===pg?"end":"middle"),g.each(function(){this.__axis=b})}var r=[],o=null,a=null,i=6,s=6,l=3;return n.scale=function(e){return arguments.length?(t=e,n):t},n.ticks=function(){return r=lg.call(arguments),n},n.tickArguments=function(e){return arguments.length?(r=null==e?[]:lg.call(e),n):r.slice()},n.tickValues=function(e){return arguments.length?(o=null==e?null:lg.call(e),n):o&&o.slice()},n.tickFormat=function(e){return arguments.length?(a=e,n):a},n.tickSize=function(e){return arguments.length?(i=s=+e,n):i},n.tickSizeInner=function(e){return arguments.length?(i=+e,n):i},n.tickSizeOuter=function(e){return arguments.length?(s=+e,n):s},n.tickPadding=function(e){return arguments.length?(l=+e,n):l},n}function ya(e){return ga(cg,e)}function _a(e){return ga(dg,e)}function Ma(e){return ga(fg,e)}function wa(e){return ga(pg,e)}function Sa(e,t){return e.parent===t.parent?1:2}function Ca(e){return e.reduce(xa,0)/e.length}function xa(e,t){return e+t.x}function ka(e){return 1+e.reduce(Ta,0)}function Ta(e,t){return Math.max(e,t.y)}function Aa(e){for(var t;t=e.children;)e=t[0];return e}function Pa(e){for(var t;t=e.children;)e=t[t.length-1];return e}function Na(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),o=null;for(e=n.pop(),t=r.pop();e===t;)o=e,e=n.pop(),t=r.pop();return o}function Oa(e,t){var n,r,o,a,i,s=new La(e),l=+e.value&&(s.value=e.value),u=[s];for(null==t&&(t=za);n=u.pop();)if(l&&(n.value=+n.data.value),(o=t(n.data))&&(i=o.length))for(n.children=new Array(i),a=i-1;a>=0;--a)u.push(r=n.children[a]=new La(o[a])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(ja)}function Ea(){return Oa(this).eachBefore(Ra)}function za(e){return e.children}function Ra(e){e.data=e.data.data}function ja(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function La(e){this.data=e,this.depth=this.height=0,this.parent=null}function Da(e){this._=e,this.next=null}function Ia(e,t){var n=t.x-e.x,r=t.y-e.y,o=e.r-t.r;return o*o+1e-6>n*n+r*r}function Ba(e,t){var n,r,o,a=null,i=e.head;switch(t.length){case 1:n=Va(t[0]);break;case 2:n=qa(t[0],t[1]);break;case 3:n=Fa(t[0],t[1],t[2])}for(;i;)o=i._,r=i.next,n&&Ia(n,o)?a=i:(a?(e.tail=a,a.next=null):e.head=e.tail=null,t.push(o),n=Ba(e,t),t.pop(),e.head?(i.next=e.head,e.head=i):(i.next=null,e.head=e.tail=i),a=e.tail,a.next=r),i=r;return e.tail=a,n}function Va(e){return{x:e.x,y:e.y,r:e.r}}function qa(e,t){var n=e.x,r=e.y,o=e.r,a=t.x,i=t.y,s=t.r,l=a-n,u=i-r,c=s-o,d=Math.sqrt(l*l+u*u);return{x:(n+a+l/d*c)/2,y:(r+i+u/d*c)/2,r:(d+o+s)/2}}function Fa(e,t,n){var r=e.x,o=e.y,a=e.r,i=t.x,s=t.y,l=t.r,u=n.x,c=n.y,d=n.r,f=2*(r-i),p=2*(o-s),h=2*(l-a),m=r*r+o*o-a*a-i*i-s*s+l*l,v=2*(r-u),b=2*(o-c),g=2*(d-a),y=r*r+o*o-a*a-u*u-c*c+d*d,_=v*p-f*b,M=(p*y-b*m)/_-r,w=(b*h-p*g)/_,S=(v*m-f*y)/_-o,C=(f*g-v*h)/_,x=w*w+C*C-1,k=2*(M*w+S*C+a),T=M*M+S*S-a*a,A=(-k-Math.sqrt(k*k-4*x*T))/(2*x);return{x:M+w*A+r,y:S+C*A+o,r:A}}function Ua(e,t,n){var r=e.x,o=e.y,a=t.r+n.r,i=e.r+n.r,s=t.x-r,l=t.y-o,u=s*s+l*l;if(u){var c=.5+((i*=i)-(a*=a))/(2*u),d=Math.sqrt(Math.max(0,2*a*(i+u)-(i-=u)*i-a*a))/(2*u);n.x=r+c*s+d*l,n.y=o+c*l-d*s}else n.x=r+i,n.y=o}function Wa(e,t){var n=t.x-e.x,r=t.y-e.y,o=e.r+t.r;return o*o>n*n+r*r}function Ha(e,t,n){var r=e.x-t,o=e.y-n;return r*r+o*o}function Xa(e){this._=e,this.next=null,this.previous=null}function Ka(e){if(!(o=e.length))return 0;var t,n,r,o;if(t=e[0],t.x=0,t.y=0,!(o>1))return t.r;if(n=e[1],t.x=-n.r,n.x=t.r,n.y=0,!(o>2))return t.r+n.r;Ua(n,t,r=e[2]);var a,i,s,l,u,c,d,f=t.r*t.r,p=n.r*n.r,h=r.r*r.r,m=f+p+h,v=f*t.x+p*n.x+h*r.x,b=f*t.y+p*n.y+h*r.y;t=new Xa(t),n=new Xa(n),r=new Xa(r),t.next=r.previous=n,n.next=t.previous=r,r.next=n.previous=t;e:for(s=3;s<o;++s){if(Ua(t._,n._,r=e[s]),r=new Xa(r),(u=t.previous)===(l=n.next)){if(Wa(l._,r._)){t=n,n=l,--s;continue e}}else{c=l._.r,d=u._.r;do if(c<=d){if(Wa(l._,r._)){n=l,t.next=n,n.previous=t,--s;continue e}l=l.next,c+=l._.r}else{if(Wa(u._,r._)){t=u,t.next=n,n.previous=t,--s;continue e}u=u.previous,d+=u._.r}while(l!==u.next)}for(r.previous=t,r.next=n,t.next=n.previous=n=r,m+=h=r._.r*r._.r,v+=h*r._.x,b+=h*r._.y,f=Ha(t._,a=v/m,i=b/m);(r=r.next)!==n;)(h=Ha(r._,a,i))<f&&(t=r,f=h);n=t.next}for(t=[n._],r=n;(r=r.next)!==n;)t.push(r._);for(r=Tg(t),s=0;s<o;++s)t=e[s],t.x-=r.x,t.y-=r.y;return r.r}function Ga(e){return null==e?null:Ya(e)}function Ya(e){if("function"!=typeof e)throw new Error;return e}function $a(){return 0}function Qa(e){return Math.sqrt(e.value)}function Ja(e){return function(t){t.children||(t.r=Math.max(0,+e(t)||0))}}function Za(e,t){return function(n){if(r=n.children){var r,o,a,i=r.length,s=e(n)*t||0;if(s)for(o=0;o<i;++o)r[o].r+=s;if(a=Ka(r),s)for(o=0;o<i;++o)r[o].r-=s;n.r=a+s}}}function ei(e){return function(t){var n=t.parent;t.r*=e,n&&(t.x=n.x+e*t.x,t.y=n.y+e*t.y)}}function ti(e){return e.id}function ni(e){return e.parentId}function ri(e,t){return e.parent===t.parent?1:2}function oi(e){var t=e.children;return t?t[0]:e.t}function ai(e){var t=e.children;return t?t[t.length-1]:e.t}function ii(e,t,n){var r=n/(t.i-e.i);t.c-=r,t.s+=n,e.c+=r,t.z+=n,t.m+=n}function si(e){for(var t,n=0,r=0,o=e.children,a=o.length;--a>=0;)t=o[a],t.z+=n,t.m+=n,n+=t.s+(r+=t.c)}function li(e,t,n){return e.a.parent===t.parent?e.a:n}function ui(e,t){this._=e,this.parent=null,this.children=null,this.A=null,this.a=this,this.z=0,this.m=0,this.c=0,this.s=0,this.t=null,this.i=t}function ci(e){for(var t,n,r,o,a,i=new ui(e,0),s=[i];t=s.pop();)if(r=t._.children)for(t.children=new Array(a=r.length),o=a-1;o>=0;--o)s.push(n=t.children[o]=new ui(r[o],o)),n.parent=t;return(i.parent=new ui(null,0)).children=[i],i}function di(e,t,n,r,o,a){for(var i,s,l,u,c,d,f,p,h,m,v,b=[],g=t.children,y=0,_=0,M=g.length,w=t.value;y<M;){l=o-n,u=a-r;do c=g[_++].value;while(!c&&_<M);for(d=f=c,m=Math.max(u/l,l/u)/(w*e),v=c*c*m,h=Math.max(f/v,v/d);_<M;++_){if(c+=s=g[_].value,s<d&&(d=s),s>f&&(f=s),v=c*c*m,p=Math.max(f/v,v/d),p>h){c-=s;break}h=p}b.push(i={value:c,dice:l<u,children:g.slice(y,_)}),i.dice?Eg(i,n,r,o,w?r+=u*c/w:a):Bg(i,n,r,w?n+=l*c/w:o,a),w-=c,y=_}return b}function fi(e){return e.x+e.vx}function pi(e){return e.y+e.vy}function hi(e){return e.index}function mi(e,t){var n=e.get(t);if(!n)throw new Error("missing: "+t);return n}function vi(e){return e.x}function bi(e){return e.y}function gi(){e.event.stopImmediatePropagation()}function yi(e,t){var n=e.document.documentElement,r=Mb(e).on("dragstart.drag",null);t&&(r.on("click.drag",ry,!0),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}function _i(e,t,n,r,o,a,i,s,l,u){this.target=e,this.type=t,this.subject=n,this.identifier=r,this.active=o,this.x=a,this.y=i,this.dx=s,this.dy=l,this._=u}function Mi(){return!e.event.button}function wi(){return this.parentNode}function Si(t){return null==t?{x:e.event.x,y:e.event.y}:t}function Ci(e){return e[0]}function xi(e){return e[1]}function ki(){this._=null}function Ti(e){e.U=e.C=e.L=e.R=e.P=e.N=null}function Ai(e,t){var n=t,r=t.R,o=n.U;o?o.L===n?o.L=r:o.R=r:e._=r,r.U=o,n.U=r,n.R=r.L,n.R&&(n.R.U=n),r.L=n}function Pi(e,t){var n=t,r=t.L,o=n.U;o?o.L===n?o.L=r:o.R=r:e._=r,r.U=o,n.U=r,n.L=r.R,n.L&&(n.L.U=n),r.R=n}function Ni(e){for(;e.L;)e=e.L;return e}function Oi(e,t,n,r){var o=[null,null],a=fy.push(o)-1;return o.left=e,o.right=t,n&&zi(o,e,t,n),r&&zi(o,t,e,r),cy[e.index].halfedges.push(a),cy[t.index].halfedges.push(a),o}function Ei(e,t,n){var r=[t,n];return r.left=e,r}function zi(e,t,n,r){e[0]||e[1]?e.left===n?e[1]=r:e[0]=r:(e[0]=r,e.left=t,e.right=n)}function Ri(e,t,n,r,o){var a,i=e[0],s=e[1],l=i[0],u=i[1],c=s[0],d=s[1],f=0,p=1,h=c-l,m=d-u;if(a=t-l,h||!(a>0)){if(a/=h,h<0){if(a<f)return;a<p&&(p=a)}else if(h>0){if(a>p)return;a>f&&(f=a)}if(a=r-l,h||!(a<0)){if(a/=h,h<0){if(a>p)return;a>f&&(f=a)}else if(h>0){if(a<f)return;a<p&&(p=a)}if(a=n-u,m||!(a>0)){if(a/=m,m<0){if(a<f)return;a<p&&(p=a)}else if(m>0){if(a>p)return;a>f&&(f=a)}if(a=o-u,m||!(a<0)){if(a/=m,m<0){if(a>p)return;a>f&&(f=a)}else if(m>0){if(a<f)return;a<p&&(p=a)}return!(f>0||p<1)||(f>0&&(e[0]=[l+f*h,u+f*m]),p<1&&(e[1]=[l+p*h,u+p*m]),!0)}}}}}function ji(e,t,n,r,o){var a=e[1];if(a)return!0;var i,s,l=e[0],u=e.left,c=e.right,d=u[0],f=u[1],p=c[0],h=c[1],m=(d+p)/2,v=(f+h)/2;if(h===f){if(m<t||m>=r)return;if(d>p){if(l){if(l[1]>=o)return}else l=[m,n];a=[m,o]}else{if(l){if(l[1]<n)return}else l=[m,o];a=[m,n]}}else if(i=(d-p)/(h-f),s=v-i*m,i<-1||i>1)if(d>p){if(l){if(l[1]>=o)return}else l=[(n-s)/i,n];a=[(o-s)/i,o]}else{if(l){if(l[1]<n)return}else l=[(o-s)/i,o];a=[(n-s)/i,n]}else if(f<h){if(l){if(l[0]>=r)return}else l=[t,i*t+s];a=[r,i*r+s]}else{if(l){if(l[0]<t)return}else l=[r,i*r+s];a=[t,i*t+s]}return e[0]=l,e[1]=a,!0}function Li(e,t,n,r){for(var o,a=fy.length;a--;)ji(o=fy[a],e,t,n,r)&&Ri(o,e,t,n,r)&&(Math.abs(o[0][0]-o[1][0])>my||Math.abs(o[0][1]-o[1][1])>my)||delete fy[a]}function Di(e){return cy[e.index]={site:e,halfedges:[]}}function Ii(e,t){var n=e.site,r=t.left,o=t.right;return n===o&&(o=r,r=n),o?Math.atan2(o[1]-r[1],o[0]-r[0]):(n===r?(r=t[1],o=t[0]):(r=t[0],o=t[1]),Math.atan2(r[0]-o[0],o[1]-r[1]))}function Bi(e,t){return t[+(t.left!==e.site)]}function Vi(e,t){return t[+(t.left===e.site)]}function qi(){for(var e,t,n,r,o=0,a=cy.length;o<a;++o)if((e=cy[o])&&(r=(t=e.halfedges).length)){var i=new Array(r),s=new Array(r);for(n=0;n<r;++n)i[n]=n,s[n]=Ii(e,fy[t[n]]);for(i.sort(function(e,t){return s[t]-s[e]}),n=0;n<r;++n)s[n]=t[i[n]];for(n=0;n<r;++n)t[n]=s[n]}}function Fi(e,t,n,r){var o,a,i,s,l,u,c,d,f,p,h,m,v=cy.length,b=!0;for(o=0;o<v;++o)if(a=cy[o]){for(i=a.site,l=a.halfedges,s=l.length;s--;)fy[l[s]]||l.splice(s,1);for(s=0,u=l.length;s<u;)p=Vi(a,fy[l[s]]),h=p[0],m=p[1],c=Bi(a,fy[l[++s%u]]),d=c[0],f=c[1],(Math.abs(h-d)>my||Math.abs(m-f)>my)&&(l.splice(s,0,fy.push(Ei(i,p,Math.abs(h-e)<my&&r-m>my?[e,Math.abs(d-e)<my?f:r]:Math.abs(m-r)<my&&n-h>my?[Math.abs(f-r)<my?d:n,r]:Math.abs(h-n)<my&&m-t>my?[n,Math.abs(d-n)<my?f:t]:Math.abs(m-t)<my&&h-e>my?[Math.abs(f-t)<my?d:e,t]:null))-1),++u);u&&(b=!1)}if(b){var g,y,_,M=1/0;for(o=0,b=null;o<v;++o)(a=cy[o])&&(i=a.site,g=i[0]-e,y=i[1]-t,_=g*g+y*y,_<M&&(M=_,b=a));if(b){var w=[e,t],S=[e,r],C=[n,r],x=[n,t];b.halfedges.push(fy.push(Ei(i=b.site,w,S))-1,fy.push(Ei(i,S,C))-1,fy.push(Ei(i,C,x))-1,fy.push(Ei(i,x,w))-1)}}for(o=0;o<v;++o)(a=cy[o])&&(a.halfedges.length||delete cy[o])}function Ui(){Ti(this),this.x=this.y=this.arc=this.site=this.cy=null}function Wi(e){var t=e.P,n=e.N;if(t&&n){var r=t.site,o=e.site,a=n.site;if(r!==a){var i=o[0],s=o[1],l=r[0]-i,u=r[1]-s,c=a[0]-i,d=a[1]-s,f=2*(l*d-u*c);if(!(f>=-vy)){var p=l*l+u*u,h=c*c+d*d,m=(d*p-u*h)/f,v=(l*h-c*p)/f,b=py.pop()||new Ui;b.arc=e,b.site=o,b.x=m+i,b.y=(b.cy=v+s)+Math.sqrt(m*m+v*v),e.circle=b;for(var g=null,y=dy._;y;)if(b.y<y.y||b.y===y.y&&b.x<=y.x){if(!y.L){g=y.P;break}y=y.L}else{if(!y.R){g=y;break}y=y.R}dy.insert(g,b),g||(ly=b)}}}}function Hi(e){var t=e.circle;t&&(t.P||(ly=t.N),dy.remove(t),py.push(t),Ti(t),e.circle=null)}function Xi(){Ti(this),this.edge=this.site=this.circle=null}function Ki(e){var t=hy.pop()||new Xi;return t.site=e,t}function Gi(e){Hi(e),uy.remove(e),hy.push(e),Ti(e)}function Yi(e){var t=e.circle,n=t.x,r=t.cy,o=[n,r],a=e.P,i=e.N,s=[e];Gi(e);for(var l=a;l.circle&&Math.abs(n-l.circle.x)<my&&Math.abs(r-l.circle.cy)<my;)a=l.P,s.unshift(l),Gi(l),l=a;s.unshift(l),Hi(l);for(var u=i;u.circle&&Math.abs(n-u.circle.x)<my&&Math.abs(r-u.circle.cy)<my;)i=u.N,s.push(u),Gi(u),u=i;s.push(u),Hi(u);var c,d=s.length;for(c=1;c<d;++c)u=s[c],l=s[c-1],zi(u.edge,l.site,u.site,o);l=s[0],u=s[d-1],u.edge=Oi(l.site,u.site,null,o),Wi(l),Wi(u)}function $i(e){for(var t,n,r,o,a=e[0],i=e[1],s=uy._;s;)if(r=Qi(s,i)-a,r>my)s=s.L;else{if(o=a-Ji(s,i),!(o>my)){r>-my?(t=s.P,n=s):o>-my?(t=s,n=s.N):t=n=s;break}if(!s.R){t=s;break}s=s.R}Di(e);var l=Ki(e);if(uy.insert(t,l),t||n){if(t===n)return Hi(t),n=Ki(t.site),uy.insert(l,n),l.edge=n.edge=Oi(t.site,l.site),Wi(t),void Wi(n);if(!n)return void(l.edge=Oi(t.site,l.site));Hi(t),Hi(n);var u=t.site,c=u[0],d=u[1],f=e[0]-c,p=e[1]-d,h=n.site,m=h[0]-c,v=h[1]-d,b=2*(f*v-p*m),g=f*f+p*p,y=m*m+v*v,_=[(v*g-p*y)/b+c,(f*y-m*g)/b+d];zi(n.edge,u,h,_),l.edge=Oi(u,e,null,_),n.edge=Oi(e,h,null,_),Wi(t),Wi(n)}}function Qi(e,t){var n=e.site,r=n[0],o=n[1],a=o-t;if(!a)return r;var i=e.P;if(!i)return-(1/0);n=i.site;var s=n[0],l=n[1],u=l-t;if(!u)return s;var c=s-r,d=1/a-1/u,f=c/u;return d?(-f+Math.sqrt(f*f-2*d*(c*c/(-2*u)-l+u/2+o-a/2)))/d+r:(r+s)/2}function Ji(e,t){var n=e.N;if(n)return Qi(n,t);var r=e.site;return r[1]===t?r[0]:1/0}function Zi(e,t,n){return(e[0]-n[0])*(t[1]-e[1])-(e[0]-t[0])*(n[1]-e[1])}function es(e,t){return t[1]-e[1]||t[0]-e[0]}function ts(e,t){var n,r,o,a=e.sort(es).pop();for(fy=[],cy=new Array(e.length),uy=new ki,dy=new ki;;)if(o=ly,a&&(!o||a[1]<o.y||a[1]===o.y&&a[0]<o.x))a[0]===n&&a[1]===r||($i(a),n=a[0],r=a[1]),a=e.pop();else{if(!o)break;Yi(o.arc)}if(qi(),t){var i=+t[0][0],s=+t[0][1],l=+t[1][0],u=+t[1][1];Li(i,s,l,u),Fi(i,s,l,u)}this.edges=fy,this.cells=cy,uy=dy=fy=cy=null}function ns(e,t,n){this.target=e,this.type=t,this.transform=n}function rs(e,t,n){this.k=e,this.x=t,this.y=n}function os(e){return e.__zoom||yy}function as(){e.event.stopImmediatePropagation()}function is(){return!e.event.button}function ss(){var e,t,n=this;return n instanceof SVGElement?(n=n.ownerSVGElement||n,e=n.width.baseVal.value,t=n.height.baseVal.value):(e=n.clientWidth,t=n.clientHeight),[[0,0],[e,t]]}function ls(){return this.__zoom||yy}function us(){e.event.stopImmediatePropagation()}function cs(e){return{type:e}}function ds(){return!e.event.button}function fs(){var e=this.ownerSVGElement||this;return[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]}function ps(e){for(;!e.__brush;)if(!(e=e.parentNode))return;return e.__brush}function hs(e){return e[0][0]===e[1][0]||e[0][1]===e[1][1]}function ms(e){var t=e.__brush;return t?t.dim.output(t.selection):null}function vs(){return gs(Py)}function bs(){return gs(Ny)}function gs(t){function n(e){var n=e.property("__brush",s).selectAll(".overlay").data([cs("overlay")]);n.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",Ey.overlay).merge(n).each(function(){var e=ps(this).extent;Mb(this).attr("x",e[0][0]).attr("y",e[0][1]).attr("width",e[1][0]-e[0][0]).attr("height",e[1][1]-e[0][1])}),e.selectAll(".selection").data([cs("selection")]).enter().append("rect").attr("class","selection").attr("cursor",Ey.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var o=e.selectAll(".handle").data(t.handles,function(e){return e.type});o.exit().remove(),o.enter().append("rect").attr("class",function(e){return"handle handle--"+e.type}).attr("cursor",function(e){return Ey[e.type]}),e.each(r).attr("fill","none").attr("pointer-events","all").style("-webkit-tap-highlight-color","rgba(0,0,0,0)").on("mousedown.brush touchstart.brush",i)}function r(){var e=Mb(this),t=ps(this).selection;t?(e.selectAll(".selection").style("display",null).attr("x",t[0][0]).attr("y",t[0][1]).attr("width",t[1][0]-t[0][0]).attr("height",t[1][1]-t[0][1]),e.selectAll(".handle").style("display",null).attr("x",function(e){return"e"===e.type[e.type.length-1]?t[1][0]-f/2:t[0][0]-f/2}).attr("y",function(e){return"s"===e.type[0]?t[1][1]-f/2:t[0][1]-f/2}).attr("width",function(e){return"n"===e.type||"s"===e.type?t[1][0]-t[0][0]+f:f}).attr("height",function(e){return"e"===e.type||"w"===e.type?t[1][1]-t[0][1]+f:f})):e.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function o(e,t){return e.__brush.emitter||new a(e,t)}function a(e,t){this.that=e,this.args=t,this.state=e.__brush,this.active=0}function i(){function n(){var e=Bv(C);!L||w||S||(Math.abs(e[0]-I[0])>Math.abs(e[1]-I[1])?S=!0:w=!0),I=e,M=!0,Cy(),a()}function a(){var e;switch(y=I[0]-D[0],_=I[1]-D[1],k){case ky:case xy:T&&(y=Math.max(E-d,Math.min(R-m,y)),f=d+y,v=m+y),A&&(_=Math.max(z-p,Math.min(j-b,_)),h=p+_,g=b+_);break;case Ty:T<0?(y=Math.max(E-d,Math.min(R-d,y)),f=d+y,v=m):T>0&&(y=Math.max(E-m,Math.min(R-m,y)),f=d,v=m+y),A<0?(_=Math.max(z-p,Math.min(j-p,_)),h=p+_,g=b):A>0&&(_=Math.max(z-b,Math.min(j-b,_)),h=p,g=b+_);break;case Ay:T&&(f=Math.max(E,Math.min(R,d-y*T)),v=Math.max(E,Math.min(R,m+y*T))),A&&(h=Math.max(z,Math.min(j,p-_*A)),g=Math.max(z,Math.min(j,b+_*A)))}v<f&&(T*=-1,e=d,d=m,m=e,e=f,f=v,v=e,x in zy&&q.attr("cursor",Ey[x=zy[x]])),g<h&&(A*=-1,e=p,p=b,b=e,e=h,h=g,g=e,x in Ry&&q.attr("cursor",Ey[x=Ry[x]])),P.selection&&(O=P.selection),w&&(f=O[0][0],v=O[1][0]),S&&(h=O[0][1],g=O[1][1]),O[0][0]===f&&O[0][1]===h&&O[1][0]===v&&O[1][1]===g||(P.selection=[[f,h],[v,g]],r.call(C),B.brush())}function i(){if(us(),e.event.touches){if(e.event.touches.length)return;l&&clearTimeout(l),l=setTimeout(function(){l=null},500),V.on("touchmove.brush touchend.brush touchcancel.brush",null)}else yi(e.event.view,M),F.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);V.attr("pointer-events","all"),q.attr("cursor",Ey.overlay),P.selection&&(O=P.selection),hs(O)&&(P.selection=null,r.call(C)),B.end()}function s(){switch(e.event.keyCode){case 16:L=T&&A;break;case 18:k===Ty&&(T&&(m=v-y*T,d=f+y*T),A&&(b=g-_*A,p=h+_*A),k=Ay,a());break;case 32:k!==Ty&&k!==Ay||(T<0?m=v-y:T>0&&(d=f-y),A<0?b=g-_:A>0&&(p=h-_),k=ky,q.attr("cursor",Ey.selection),a());break;default:return}Cy()}function u(){switch(e.event.keyCode){case 16:L&&(w=S=L=!1,a());break;case 18:k===Ay&&(T<0?m=v:T>0&&(d=f),A<0?b=g:A>0&&(p=h),k=Ty,a());break;case 32:k===ky&&(e.event.altKey?(T&&(m=v-y*T,d=f+y*T),A&&(b=g-_*A,p=h+_*A),k=Ay):(T<0?m=v:T>0&&(d=f),A<0?b=g:A>0&&(p=h),k=Ty),q.attr("cursor",Ey[x]),a());break;default:return}Cy()}if(e.event.touches){if(e.event.changedTouches.length<e.event.touches.length)return Cy()}else if(l)return;if(c.apply(this,arguments)){var d,f,p,h,m,v,b,g,y,_,M,w,S,C=this,x=e.event.target.__data__.type,k="selection"===(e.event.metaKey?x="overlay":x)?xy:e.event.altKey?Ay:Ty,T=t===Ny?null:jy[x],A=t===Py?null:Ly[x],P=ps(C),N=P.extent,O=P.selection,E=N[0][0],z=N[0][1],R=N[1][0],j=N[1][1],L=T&&A&&e.event.shiftKey,D=Bv(C),I=D,B=o(C,arguments).beforestart();"overlay"===x?P.selection=O=[[d=t===Ny?E:D[0],p=t===Py?z:D[1]],[m=t===Ny?R:d,b=t===Py?j:p]]:(d=O[0][0],p=O[0][1],m=O[1][0],b=O[1][1]),f=d,h=p,v=m,g=b;var V=Mb(C).attr("pointer-events","none"),q=V.selectAll(".overlay").attr("cursor",Ey[x]);if(e.event.touches)V.on("touchmove.brush",n,!0).on("touchend.brush touchcancel.brush",i,!0);else{var F=Mb(e.event.view).on("keydown.brush",s,!0).on("keyup.brush",u,!0).on("mousemove.brush",n,!0).on("mouseup.brush",i,!0);oy(e.event.view)}us(),jb(C),r.call(C),B.start()}}function s(){var e=this.__brush||{selection:null};return e.extent=u.apply(this,arguments),e.dim=t,e}var l,u=fs,c=ds,d=Ot(n,"start","brush","end"),f=6;return n.move=function(e,n){e.selection?e.on("start.brush",function(){o(this,arguments).beforestart().start()}).on("interrupt.brush end.brush",function(){o(this,arguments).end()}).tween("brush",function(){function e(e){i.selection=1===e&&hs(u)?null:c(e),r.call(a),s.brush()}var a=this,i=a.__brush,s=o(a,arguments),l=i.selection,u=t.input("function"==typeof n?n.apply(this,arguments):n,i.extent),c=yp(l,u);return l&&u?e:e(1)}):e.each(function(){var e=this,a=arguments,i=e.__brush,s=t.input("function"==typeof n?n.apply(e,a):n,i.extent),l=o(e,a).beforestart();jb(e),i.selection=null==s||hs(s)?null:s,r.call(e),l.start().brush().end()})},a.prototype={beforestart:function(){return 1===++this.active&&(this.state.emitter=this,this.starting=!0),this},start:function(){return this.starting&&(this.starting=!1,this.emit("start")),this},brush:function(){return this.emit("brush"),this},end:function(){return 0===--this.active&&(delete this.state.emitter,this.emit("end")),this},emit:function(e){Hr(new Sy(n,e,t.output(this.state.selection)),d.apply,d,[e,this.that,this.args])}},n.extent=function(e){return arguments.length?(u="function"==typeof e?e:wy([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),n):u},n.filter=function(e){return arguments.length?(c="function"==typeof e?e:wy(!!e),n):c},n.handleSize=function(e){return arguments.length?(f=+e,n):f},n.on=function(){var e=d.on.apply(d,arguments);return e===d?n:e},n}function ys(e){return function(t,n){return e(t.source.value+t.target.value,n.source.value+n.target.value)}}function _s(e){return e.source}function Ms(e){return e.target}function ws(e){return e.radius}function Ss(e){return e.startAngle}function Cs(e){return e.endAngle}function xs(){this.reset()}function ks(e,t,n){var r=e.s=t+n,o=r-t,a=r-o;e.t=t-a+(n-o)}function Ts(e){return e>1?0:e<-1?P_:Math.acos(e)}function As(e){return e>1?N_:e<-1?-N_:Math.asin(e)}function Ps(e){return(e=U_(e/2))*e}function Ns(){}function Os(e,t){e&&G_.hasOwnProperty(e.type)&&G_[e.type](e,t)}function Es(e,t,n){var r,o=-1,a=e.length-n;for(t.lineStart();++o<a;)r=e[o],t.point(r[0],r[1],r[2]);t.lineEnd()}function zs(e,t){var n=-1,r=e.length;for(t.polygonStart();++n<r;)Es(e[n],t,1);t.polygonEnd()}function Rs(){J_.point=Ls}function js(){Ds(Yy,$y)}function Ls(e,t){J_.point=Ds,Yy=e,$y=t,e*=R_,t*=R_,Qy=e,Jy=I_(t=t/2+O_),Zy=U_(t)}function Ds(e,t){e*=R_,t*=R_,t=t/2+O_;var n=e-Qy,r=n>=0?1:-1,o=r*n,a=I_(t),i=U_(t),s=Zy*i,l=Jy*a+s*I_(o),u=s*r*U_(o);$_.add(D_(u,l)),Qy=e,Jy=a,Zy=i}function Is(e){return[D_(e[1],e[0]),As(e[2])]}function Bs(e){var t=e[0],n=e[1],r=I_(n);return[r*I_(t),r*U_(t),U_(n)]}function Vs(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function qs(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function Fs(e,t){e[0]+=t[0],e[1]+=t[1],e[2]+=t[2]}function Us(e,t){return[e[0]*t,e[1]*t,e[2]*t]}function Ws(e){var t=H_(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);e[0]/=t,e[1]/=t,e[2]/=t}function Hs(e,t){l_.push(u_=[e_=e,n_=e]),t<t_&&(t_=t),t>r_&&(r_=t)}function Xs(e,t){var n=Bs([e*R_,t*R_]);if(s_){var r=qs(s_,n),o=[r[1],-r[0],0],a=qs(o,r);Ws(a),a=Is(a);var i,s=e-o_,l=s>0?1:-1,u=a[0]*z_*l,c=j_(s)>180;c^(l*o_<u&&u<l*e)?(i=a[1]*z_,i>r_&&(r_=i)):(u=(u+360)%360-180,c^(l*o_<u&&u<l*e)?(i=-a[1]*z_,i<t_&&(t_=i)):(t<t_&&(t_=t),t>r_&&(r_=t))),c?e<o_?Js(e_,e)>Js(e_,n_)&&(n_=e):Js(e,n_)>Js(e_,n_)&&(e_=e):n_>=e_?(e<e_&&(e_=e),e>n_&&(n_=e)):e>o_?Js(e_,e)>Js(e_,n_)&&(n_=e):Js(e,n_)>Js(e_,n_)&&(e_=e)}else Hs(e,t);s_=n,o_=e}function Ks(){tM.point=Xs}function Gs(){u_[0]=e_,u_[1]=n_,tM.point=Hs,s_=null}function Ys(e,t){if(s_){var n=e-o_;eM.add(j_(n)>180?n+(n>0?360:-360):n)}else a_=e,i_=t;J_.point(e,t),Xs(e,t)}function $s(){J_.lineStart()}function Qs(){Ys(a_,i_),J_.lineEnd(),j_(eM)>T_&&(e_=-(n_=180)),u_[0]=e_,u_[1]=n_,s_=null}function Js(e,t){return(t-=e)<0?t+360:t}function Zs(e,t){return e[0]-t[0]}function el(e,t){return e[0]<=e[1]?e[0]<=t&&t<=e[1]:t<e[0]||e[1]<t}function tl(e,t){e*=R_,t*=R_;var n=I_(t);nl(n*I_(e),n*U_(e),U_(t))}function nl(e,t,n){++c_,f_+=(e-f_)/c_,p_+=(t-p_)/c_,h_+=(n-h_)/c_}function rl(){rM.point=ol}function ol(e,t){e*=R_,t*=R_;var n=I_(t);S_=n*I_(e),C_=n*U_(e),x_=U_(t),rM.point=al,nl(S_,C_,x_)}function al(e,t){e*=R_,t*=R_;var n=I_(t),r=n*I_(e),o=n*U_(e),a=U_(t),i=D_(H_((i=C_*a-x_*o)*i+(i=x_*r-S_*a)*i+(i=S_*o-C_*r)*i),S_*r+C_*o+x_*a);d_+=i,m_+=i*(S_+(S_=r)),v_+=i*(C_+(C_=o)),b_+=i*(x_+(x_=a)),nl(S_,C_,x_)}function il(){rM.point=tl}function sl(){rM.point=ul}function ll(){cl(M_,w_),rM.point=tl}function ul(e,t){M_=e,w_=t,e*=R_,t*=R_,rM.point=cl;var n=I_(t);S_=n*I_(e),C_=n*U_(e),x_=U_(t),nl(S_,C_,x_)}function cl(e,t){e*=R_,t*=R_;var n=I_(t),r=n*I_(e),o=n*U_(e),a=U_(t),i=C_*a-x_*o,s=x_*r-S_*a,l=S_*o-C_*r,u=H_(i*i+s*s+l*l),c=S_*r+C_*o+x_*a,d=u&&-Ts(c)/u,f=D_(u,c);g_+=d*i,y_+=d*s,__+=d*l,d_+=f,m_+=f*(S_+(S_=r)),v_+=f*(C_+(C_=o)),b_+=f*(x_+(x_=a)),nl(S_,C_,x_)}function dl(e,t){return[e>P_?e-E_:e<-P_?e+E_:e,t]}function fl(e,t,n){return(e%=E_)?t||n?iM(hl(e),ml(t,n)):hl(e):t||n?ml(t,n):dl}function pl(e){return function(t,n){return t+=e,[t>P_?t-E_:t<-P_?t+E_:t,n]}}function hl(e){var t=pl(e);return t.invert=pl(-e),t}function ml(e,t){function n(e,t){var n=I_(t),s=I_(e)*n,l=U_(e)*n,u=U_(t),c=u*r+s*o;return[D_(l*a-c*i,s*r-u*o),As(c*a+l*i)]}var r=I_(e),o=U_(e),a=I_(t),i=U_(t);return n.invert=function(e,t){var n=I_(t),s=I_(e)*n,l=U_(e)*n,u=U_(t),c=u*a-l*i;return[D_(l*a+u*i,s*r+c*o),As(c*r-s*o)]},n}function vl(e,t,n,r,o,a){if(n){var i=I_(t),s=U_(t),l=r*n;null==o?(o=t+r*E_,a=t-l/2):(o=bl(i,o),a=bl(i,a),(r>0?o<a:o>a)&&(o+=r*E_));for(var u,c=o;r>0?c>a:c<a;c-=l)u=Is([i,-s*I_(c),-s*U_(c)]),e.point(u[0],u[1])}}function bl(e,t){t=Bs(t),t[0]-=e,Ws(t);var n=Ts(-t[1]);return((-t[2]<0?-n:n)+E_-T_)%E_}function gl(e,t,n,r){this.x=e,this.z=t,this.o=n,this.e=r,this.v=!1,this.n=this.p=null}function yl(e){if(t=e.length){for(var t,n,r=0,o=e[0];++r<t;)o.n=n=e[r],n.p=o,o=n;o.n=n=e[0],n.p=o}}function _l(e,t,n,r){function o(o,a){return e<=o&&o<=n&&t<=a&&a<=r}function a(o,a,s,u){var c=0,d=0;if(null==o||(c=i(o,s))!==(d=i(a,s))||l(o,a)<0^s>0){do u.point(0===c||3===c?e:n,c>1?r:t);while((c=(c+s+4)%4)!==d)}else u.point(a[0],a[1])}function i(r,o){return j_(r[0]-e)<T_?o>0?0:3:j_(r[0]-n)<T_?o>0?2:1:j_(r[1]-t)<T_?o>0?1:0:o>0?3:2}function s(e,t){return l(e.x,t.x)}function l(e,t){var n=i(e,1),r=i(t,1);return n!==r?n-r:0===n?t[1]-e[1]:1===n?e[0]-t[0]:2===n?e[1]-t[1]:t[0]-e[0]}return function(i){function l(e,t){o(e,t)&&k.point(e,t)}function u(){for(var t=0,n=0,o=v.length;n<o;++n)for(var a,i,s=v[n],l=1,u=s.length,c=s[0],d=c[0],f=c[1];l<u;++l)a=d,i=f,c=s[l],d=c[0],f=c[1],i<=r?f>r&&(d-a)*(r-i)>(f-i)*(e-a)&&++t:f<=r&&(d-a)*(r-i)<(f-i)*(e-a)&&--t;return t}function c(){k=T,m=[],v=[],x=!0}function d(){var e=u(),t=x&&e,n=(m=Qu(m)).length;(t||n)&&(i.polygonStart(),t&&(i.lineStart(),a(null,null,1,i),i.lineEnd()),n&&SM(m,s,e,a,i),i.polygonEnd()),k=i,m=v=b=null}function f(){A.point=h,v&&v.push(b=[]),C=!0,S=!1,M=w=NaN}function p(){m&&(h(g,y),_&&S&&T.rejoin(),m.push(T.result())),A.point=l,S&&k.lineEnd()}function h(a,i){var s=o(a,i);if(v&&b.push([a,i]),C)g=a,y=i,_=s,C=!1,s&&(k.lineStart(),k.point(a,i));else if(s&&S)k.point(a,i);else{var l=[M=Math.max(xM,Math.min(CM,M)),w=Math.max(xM,Math.min(CM,w))],u=[a=Math.max(xM,Math.min(CM,a)),i=Math.max(xM,Math.min(CM,i))];MM(l,u,e,t,n,r)?(S||(k.lineStart(),k.point(l[0],l[1])),k.point(u[0],u[1]),s||k.lineEnd(),x=!1):s&&(k.lineStart(),k.point(a,i),x=!1)}M=a,w=i,S=s}var m,v,b,g,y,_,M,w,S,C,x,k=i,T=_M(),A={point:l,lineStart:f,lineEnd:p,polygonStart:c,polygonEnd:d};return A}}function Ml(){AM.point=Sl,AM.lineEnd=wl}function wl(){AM.point=AM.lineEnd=Ns}function Sl(e,t){e*=R_,t*=R_,sM=e,lM=U_(t),uM=I_(t),AM.point=Cl}function Cl(e,t){e*=R_,t*=R_;var n=U_(t),r=I_(t),o=j_(e-sM),a=I_(o),i=U_(o),s=r*i,l=uM*n-lM*r*a,u=lM*n+uM*r*a;TM.add(D_(H_(s*s+l*l),u)),sM=e,lM=n,uM=r}function xl(e,t,n){var r=Iu(e,t-T_,n).concat(t);return function(e){return r.map(function(t){return[e,t]})}}function kl(e,t,n){var r=Iu(e,t-T_,n).concat(t);return function(e){return r.map(function(t){return[t,e]})}}function Tl(){function e(){return{type:"MultiLineString",coordinates:t()}}function t(){return Iu(B_(a/v)*v,o,v).map(f).concat(Iu(B_(u/b)*b,l,b).map(p)).concat(Iu(B_(r/h)*h,n,h).filter(function(e){return j_(e%v)>T_}).map(c)).concat(Iu(B_(s/m)*m,i,m).filter(function(e){return j_(e%b)>T_}).map(d))}var n,r,o,a,i,s,l,u,c,d,f,p,h=10,m=h,v=90,b=360,g=2.5;return e.lines=function(){return t().map(function(e){return{type:"LineString",coordinates:e}})},e.outline=function(){return{type:"Polygon",coordinates:[f(a).concat(p(l).slice(1),f(o).reverse().slice(1),p(u).reverse().slice(1))]}},e.extent=function(t){return arguments.length?e.extentMajor(t).extentMinor(t):e.extentMinor()},e.extentMajor=function(t){return arguments.length?(a=+t[0][0],o=+t[1][0],u=+t[0][1],l=+t[1][1],a>o&&(t=a,a=o,o=t),u>l&&(t=u,u=l,l=t),e.precision(g)):[[a,u],[o,l]]},e.extentMinor=function(t){return arguments.length?(r=+t[0][0],n=+t[1][0],s=+t[0][1],i=+t[1][1],r>n&&(t=r,r=n,n=t),s>i&&(t=s,s=i,i=t),e.precision(g)):[[r,s],[n,i]]},e.step=function(t){return arguments.length?e.stepMajor(t).stepMinor(t):e.stepMinor()},e.stepMajor=function(t){return arguments.length?(v=+t[0],b=+t[1],e):[v,b]},e.stepMinor=function(t){return arguments.length?(h=+t[0],m=+t[1],e):[h,m]},e.precision=function(t){return arguments.length?(g=+t,c=xl(s,i,90),d=kl(r,n,g),f=xl(u,l,90),p=kl(a,o,g),e):g},e.extentMajor([[-180,-90+T_],[180,90-T_]]).extentMinor([[-180,-80-T_],[180,80+T_]])}function Al(){return Tl()()}function Pl(){DM.point=Nl}function Nl(e,t){DM.point=Ol,cM=fM=e,dM=pM=t}function Ol(e,t){LM.add(pM*e-fM*t),fM=e,pM=t}function El(){Ol(cM,dM)}function zl(e,t){e<IM&&(IM=e),e>VM&&(VM=e),t<BM&&(BM=t),t>qM&&(qM=t)}function Rl(e,t){UM+=e,WM+=t,++HM}function jl(){JM.point=Ll}function Ll(e,t){JM.point=Dl,Rl(vM=e,bM=t)}function Dl(e,t){var n=e-vM,r=t-bM,o=H_(n*n+r*r);XM+=o*(vM+e)/2,KM+=o*(bM+t)/2,GM+=o,Rl(vM=e,bM=t)}function Il(){JM.point=Rl}function Bl(){JM.point=ql}function Vl(){Fl(hM,mM)}function ql(e,t){JM.point=Fl,Rl(hM=vM=e,mM=bM=t)}function Fl(e,t){var n=e-vM,r=t-bM,o=H_(n*n+r*r);XM+=o*(vM+e)/2,KM+=o*(bM+t)/2,GM+=o,o=bM*e-vM*t,YM+=o*(vM+e),$M+=o*(bM+t),QM+=3*o,Rl(vM=e,bM=t)}function Ul(e){this._context=e}function Wl(){this._string=[]}function Hl(e){return"m0,"+e+"a"+e+","+e+" 0 1,1 0,"+-2*e+"a"+e+","+e+" 0 1,1 0,"+2*e+"z"}function Xl(e){return e.length>1}function Kl(e,t){return((e=e.x)[0]<0?e[1]-N_-T_:N_-e[1])-((t=t.x)[0]<0?t[1]-N_-T_:N_-t[1])}function Gl(e){var t,n=NaN,r=NaN,o=NaN;return{lineStart:function(){e.lineStart(),t=1},point:function(a,i){var s=a>0?P_:-P_,l=j_(a-n);j_(l-P_)<T_?(e.point(n,r=(r+i)/2>0?N_:-N_),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(s,r),e.point(a,r),t=0):o!==s&&l>=P_&&(j_(n-o)<T_&&(n-=o*T_),j_(a-s)<T_&&(a-=s*T_),r=Yl(n,r,a,i),e.point(o,r),e.lineEnd(),e.lineStart(),e.point(s,r),t=0),e.point(n=a,r=i),o=s},lineEnd:function(){e.lineEnd(),n=r=NaN},clean:function(){return 2-t}}}function Yl(e,t,n,r){var o,a,i=U_(e-n);return j_(i)>T_?L_((U_(t)*(a=I_(r))*U_(n)-U_(r)*(o=I_(t))*U_(e))/(o*a*i)):(t+r)/2}function $l(e,t,n,r){var o;if(null==e)o=n*N_,r.point(-P_,o),r.point(0,o),r.point(P_,o),r.point(P_,0),r.point(P_,-o),r.point(0,-o),r.point(-P_,-o),r.point(-P_,0),r.point(-P_,o);else if(j_(e[0]-t[0])>T_){var a=e[0]<t[0]?P_:-P_;o=n*a/2,r.point(-a,o),r.point(0,o),r.point(a,o)}else r.point(t[0],t[1])}function Ql(e){return function(t){var n=new Jl;for(var r in e)n[r]=e[r];return n.stream=t,n}}function Jl(){}function Zl(e,t,n){var r=t[1][0]-t[0][0],o=t[1][1]-t[0][1],a=e.clipExtent&&e.clipExtent();e.scale(150).translate([0,0]),null!=a&&e.clipExtent(null),Y_(n,e.stream(FM));var i=FM.result(),s=Math.min(r/(i[1][0]-i[0][0]),o/(i[1][1]-i[0][1])),l=+t[0][0]+(r-s*(i[1][0]+i[0][0]))/2,u=+t[0][1]+(o-s*(i[1][1]+i[0][1]))/2;return null!=a&&e.clipExtent(a),e.scale(150*s).translate([l,u])}function eu(e,t,n){return Zl(e,[[0,0],t],n)}function tu(e){return Ql({point:function(t,n){t=e(t,n),this.stream.point(t[0],t[1])}})}function nu(e,t){function n(r,o,a,i,s,l,u,c,d,f,p,h,m,v){var b=u-r,g=c-o,y=b*b+g*g;if(y>4*t&&m--){var _=i+f,M=s+p,w=l+h,S=H_(_*_+M*M+w*w),C=As(w/=S),x=j_(j_(w)-1)<T_||j_(a-d)<T_?(a+d)/2:D_(M,_),k=e(x,C),T=k[0],A=k[1],P=T-r,N=A-o,O=g*P-b*N;(O*O/y>t||j_((b*P+g*N)/y-.5)>.3||i*f+s*p+l*h<sw)&&(n(r,o,a,i,s,l,T,A,x,_/=S,M/=S,w,m,v),v.point(T,A),n(T,A,x,_,M,w,u,c,d,f,p,h,m,v))}}return function(t){function r(n,r){n=e(n,r),t.point(n[0],n[1])}function o(){b=NaN,w.point=a,t.lineStart()}function a(r,o){var a=Bs([r,o]),i=e(r,o);n(b,g,v,y,_,M,b=i[0],g=i[1],v=r,y=a[0],_=a[1],M=a[2],iw,t),
|
8 | t.point(b,g)}function i(){w.point=r,t.lineEnd()}function s(){o(),w.point=l,w.lineEnd=u}function l(e,t){a(c=e,t),d=b,f=g,p=y,h=_,m=M,w.point=a}function u(){n(b,g,v,y,_,M,d,f,c,p,h,m,iw,t),w.lineEnd=i,i()}var c,d,f,p,h,m,v,b,g,y,_,M,w={point:r,lineStart:o,lineEnd:i,polygonStart:function(){t.polygonStart(),w.lineStart=s},polygonEnd:function(){t.polygonEnd(),w.lineStart=o}};return w}}function ru(e){return ou(function(){return e})()}function ou(e){function t(e){return e=c(e[0]*R_,e[1]*R_),[e[0]*v+s,l-e[1]*v]}function n(e){return e=c.invert((e[0]-s)/v,(l-e[1])/v),e&&[e[0]*z_,e[1]*z_]}function r(e,t){return e=i(e,t),[e[0]*v+s,l-e[1]*v]}function o(){c=iM(u=fl(M,w,S),i);var e=i(y,_);return s=b-e[0]*v,l=g+e[1]*v,a()}function a(){return h=m=null,t}var i,s,l,u,c,d,f,p,h,m,v=150,b=480,g=250,y=0,_=0,M=0,w=0,S=0,C=null,x=rw,k=null,T=RM,A=.5,P=lw(r,A);return t.stream=function(e){return h&&m===e?h:h=uw(x(u,P(T(m=e))))},t.clipAngle=function(e){return arguments.length?(x=+e?ow(C=e*R_,6*R_):(C=null,rw),a()):C*z_},t.clipExtent=function(e){return arguments.length?(T=null==e?(k=d=f=p=null,RM):_l(k=+e[0][0],d=+e[0][1],f=+e[1][0],p=+e[1][1]),a()):null==k?null:[[k,d],[f,p]]},t.scale=function(e){return arguments.length?(v=+e,o()):v},t.translate=function(e){return arguments.length?(b=+e[0],g=+e[1],o()):[b,g]},t.center=function(e){return arguments.length?(y=e[0]%360*R_,_=e[1]%360*R_,o()):[y*z_,_*z_]},t.rotate=function(e){return arguments.length?(M=e[0]%360*R_,w=e[1]%360*R_,S=e.length>2?e[2]%360*R_:0,o()):[M*z_,w*z_,S*z_]},t.precision=function(e){return arguments.length?(P=lw(r,A=e*e),a()):H_(A)},t.fitExtent=function(e,n){return Zl(t,e,n)},t.fitSize=function(e,n){return eu(t,e,n)},function(){return i=e.apply(this,arguments),t.invert=i.invert&&n,o()}}function au(e){var t=0,n=P_/3,r=ou(e),o=r(t,n);return o.parallels=function(e){return arguments.length?r(t=e[0]*R_,n=e[1]*R_):[t*z_,n*z_]},o}function iu(e){function t(e,t){return[e*n,U_(t)/n]}var n=I_(e);return t.invert=function(e,t){return[e/n,As(t*n)]},t}function su(e,t){function n(e,t){var n=H_(a-2*o*U_(t))/o;return[n*U_(e*=o),i-n*I_(e)]}var r=U_(e),o=(r+U_(t))/2;if(j_(o)<T_)return iu(e);var a=1+r*(2*o-r),i=H_(a)/o;return n.invert=function(e,t){var n=i-t;return[D_(e,j_(n))/o*W_(n),As((a-(e*e+n*n)*o*o)/(2*o))]},n}function lu(e){var t=e.length;return{point:function(n,r){for(var o=-1;++o<t;)e[o].point(n,r)},sphere:function(){for(var n=-1;++n<t;)e[n].sphere()},lineStart:function(){for(var n=-1;++n<t;)e[n].lineStart()},lineEnd:function(){for(var n=-1;++n<t;)e[n].lineEnd()},polygonStart:function(){for(var n=-1;++n<t;)e[n].polygonStart()},polygonEnd:function(){for(var n=-1;++n<t;)e[n].polygonEnd()}}}function uu(e){return function(t,n){var r=I_(t),o=I_(n),a=e(r*o);return[a*o*U_(t),a*U_(n)]}}function cu(e){return function(t,n){var r=H_(t*t+n*n),o=e(r),a=U_(o),i=I_(o);return[D_(t*a,r*i),As(r&&n*a/r)]}}function du(e,t){return[e,q_(X_((N_+t)/2))]}function fu(e){var t,n=ru(e),r=n.scale,o=n.translate,a=n.clipExtent;return n.scale=function(e){return arguments.length?(r(e),t&&n.clipExtent(null),n):r()},n.translate=function(e){return arguments.length?(o(e),t&&n.clipExtent(null),n):o()},n.clipExtent=function(e){if(!arguments.length)return t?null:a();if(t=null==e){var i=P_*r(),s=o();e=[[s[0]-i,s[1]-i],[s[0]+i,s[1]+i]]}return a(e),n},n.clipExtent(null)}function pu(e){return X_((N_+e)/2)}function hu(e,t){function n(e,t){a>0?t<-N_+T_&&(t=-N_+T_):t>N_-T_&&(t=N_-T_);var n=a/F_(pu(t),o);return[n*U_(o*e),a-n*I_(o*e)]}var r=I_(e),o=e===t?U_(e):q_(r/I_(t))/q_(pu(t)/pu(e)),a=r*F_(pu(e),o)/o;return o?(n.invert=function(e,t){var n=a-t,r=W_(o)*H_(e*e+n*n);return[D_(e,j_(n))/o*W_(n),2*L_(F_(a/r,1/o))-N_]},n):du}function mu(e,t){return[e,t]}function vu(e,t){function n(e,t){var n=a-t,r=o*e;return[n*U_(r),a-n*I_(r)]}var r=I_(e),o=e===t?U_(e):(r-I_(t))/(t-e),a=r/o+e;return j_(o)<T_?mu:(n.invert=function(e,t){var n=a-t;return[D_(e,j_(n))/o*W_(n),a-W_(o)*H_(e*e+n*n)]},n)}function bu(e,t){var n=I_(t),r=I_(e)*n;return[n*U_(e)/r,U_(t)/r]}function gu(e,t,n,r){return 1===e&&1===t&&0===n&&0===r?RM:Ql({point:function(o,a){this.stream.point(o*e+n,a*t+r)}})}function yu(e,t){return[I_(t)*U_(e),U_(t)]}function _u(e,t){var n=I_(t),r=1+I_(e)*n;return[n*U_(e)/r,U_(t)/r]}function Mu(e,t){return[q_(X_((N_+t)/2)),-e]}var wu="4.4.1",Su=function(e,t){return e<t?-1:e>t?1:e>=t?0:NaN},Cu=function(e){return 1===e.length&&(e=t(e)),{left:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){var a=r+o>>>1;e(t[a],n)<0?r=a+1:o=a}return r},right:function(t,n,r,o){for(null==r&&(r=0),null==o&&(o=t.length);r<o;){var a=r+o>>>1;e(t[a],n)>0?o=a:r=a+1}return r}}},xu=Cu(Su),ku=xu.right,Tu=xu.left,Au=function(e,t){return t<e?-1:t>e?1:t>=e?0:NaN},Pu=function(e){return null===e?NaN:+e},Nu=function(e,t){var n,r,o=e.length,a=0,i=0,s=-1,l=0;if(null==t)for(;++s<o;)isNaN(n=Pu(e[s]))||(r=n-a,a+=r/++l,i+=r*(n-a));else for(;++s<o;)isNaN(n=Pu(t(e[s],s,e)))||(r=n-a,a+=r/++l,i+=r*(n-a));if(l>1)return i/(l-1)},Ou=function(e,t){var n=Nu(e,t);return n?Math.sqrt(n):n},Eu=function(e,t){var n,r,o,a=-1,i=e.length;if(null==t){for(;++a<i;)if(null!=(r=e[a])&&r>=r){n=o=r;break}for(;++a<i;)null!=(r=e[a])&&(n>r&&(n=r),o<r&&(o=r))}else{for(;++a<i;)if(null!=(r=t(e[a],a,e))&&r>=r){n=o=r;break}for(;++a<i;)null!=(r=t(e[a],a,e))&&(n>r&&(n=r),o<r&&(o=r))}return[n,o]},zu=Array.prototype,Ru=zu.slice,ju=zu.map,Lu=function(e){return function(){return e}},Du=function(e){return e},Iu=function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),a=new Array(o);++r<o;)a[r]=e+r*n;return a},Bu=Math.sqrt(50),Vu=Math.sqrt(10),qu=Math.sqrt(2),Fu=function(e,t,r){var o=n(e,t,r);return Iu(Math.ceil(e/o)*o,Math.floor(t/o)*o+o/2,o)},Uu=function(e){return Math.ceil(Math.log(e.length)/Math.LN2)+1},Wu=function(){function e(e){var o,a,i=e.length,s=new Array(i);for(o=0;o<i;++o)s[o]=t(e[o],o,e);var l=n(s),u=l[0],c=l[1],d=r(s,u,c);Array.isArray(d)||(d=Fu(u,c,d));for(var f=d.length;d[0]<=u;)d.shift(),--f;for(;d[f-1]>=c;)d.pop(),--f;var p,h=new Array(f+1);for(o=0;o<=f;++o)p=h[o]=[],p.x0=o>0?d[o-1]:u,p.x1=o<f?d[o]:c;for(o=0;o<i;++o)a=s[o],u<=a&&a<=c&&h[ku(d,a,0,f)].push(e[o]);return h}var t=Du,n=Eu,r=Uu;return e.value=function(n){return arguments.length?(t="function"==typeof n?n:Lu(n),e):t},e.domain=function(t){return arguments.length?(n="function"==typeof t?t:Lu([t[0],t[1]]),e):n},e.thresholds=function(t){return arguments.length?(r="function"==typeof t?t:Lu(Array.isArray(t)?Ru.call(t):t),e):r},e},Hu=function(e,t,n){if(null==n&&(n=Pu),r=e.length){if((t=+t)<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,a=Math.floor(o),i=+n(e[a],a,e),s=+n(e[a+1],a+1,e);return i+(s-i)*(o-a)}},Xu=function(e,t,n){return e=ju.call(e,Pu).sort(Su),Math.ceil((n-t)/(2*(Hu(e,.75)-Hu(e,.25))*Math.pow(e.length,-1/3)))},Ku=function(e,t,n){return Math.ceil((n-t)/(3.5*Ou(e)*Math.pow(e.length,-1/3)))},Gu=function(e,t){var n,r,o=-1,a=e.length;if(null==t){for(;++o<a;)if(null!=(r=e[o])&&r>=r){n=r;break}for(;++o<a;)null!=(r=e[o])&&r>n&&(n=r)}else{for(;++o<a;)if(null!=(r=t(e[o],o,e))&&r>=r){n=r;break}for(;++o<a;)null!=(r=t(e[o],o,e))&&r>n&&(n=r)}return n},Yu=function(e,t){var n,r=0,o=e.length,a=-1,i=o;if(null==t)for(;++a<o;)isNaN(n=Pu(e[a]))?--i:r+=n;else for(;++a<o;)isNaN(n=Pu(t(e[a],a,e)))?--i:r+=n;if(i)return r/i},$u=function(e,t){var n,r=[],o=e.length,a=-1;if(null==t)for(;++a<o;)isNaN(n=Pu(e[a]))||r.push(n);else for(;++a<o;)isNaN(n=Pu(t(e[a],a,e)))||r.push(n);return Hu(r.sort(Su),.5)},Qu=function(e){for(var t,n,r,o=e.length,a=-1,i=0;++a<o;)i+=e[a].length;for(n=new Array(i);--o>=0;)for(r=e[o],t=r.length;--t>=0;)n[--i]=r[t];return n},Ju=function(e,t){var n,r,o=-1,a=e.length;if(null==t){for(;++o<a;)if(null!=(r=e[o])&&r>=r){n=r;break}for(;++o<a;)null!=(r=e[o])&&n>r&&(n=r)}else{for(;++o<a;)if(null!=(r=t(e[o],o,e))&&r>=r){n=r;break}for(;++o<a;)null!=(r=t(e[o],o,e))&&n>r&&(n=r)}return n},Zu=function(e){for(var t=0,n=e.length-1,r=e[0],o=new Array(n<0?0:n);t<n;)o[t]=[r,r=e[++t]];return o},ec=function(e,t){for(var n=t.length,r=new Array(n);n--;)r[n]=e[t[n]];return r},tc=function(e,t){if(n=e.length){var n,r,o=0,a=0,i=e[a];for(t||(t=Su);++o<n;)(t(r=e[o],i)<0||0!==t(i,i))&&(i=r,a=o);return 0===t(i,i)?a:void 0}},nc=function(e,t,n){for(var r,o,a=(null==n?e.length:n)-(t=null==t?0:+t);a;)o=Math.random()*a--|0,r=e[a+t],e[a+t]=e[o+t],e[o+t]=r;return e},rc=function(e,t){var n,r=0,o=e.length,a=-1;if(null==t)for(;++a<o;)(n=+e[a])&&(r+=n);else for(;++a<o;)(n=+t(e[a],a,e))&&(r+=n);return r},oc=function(e){if(!(a=e.length))return[];for(var t=-1,n=Ju(e,r),o=new Array(n);++t<n;)for(var a,i=-1,s=o[t]=new Array(a);++i<a;)s[i]=e[i][t];return o},ac=function(){return oc(arguments)},ic="$";o.prototype=a.prototype={constructor:o,has:function(e){return ic+e in this},get:function(e){return this[ic+e]},set:function(e,t){return this[ic+e]=t,this},remove:function(e){var t=ic+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===ic&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===ic&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===ic&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===ic&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===ic&&++e;return e},empty:function(){for(var e in this)if(e[0]===ic)return!1;return!0},each:function(e){for(var t in this)t[0]===ic&&e(this[t],t.slice(1),this)}};var sc=function(){function e(t,o,i,s){if(o>=c.length)return null!=r?r(t):null!=n?t.sort(n):t;for(var l,u,d,f=-1,p=t.length,h=c[o++],m=a(),v=i();++f<p;)(d=m.get(l=h(u=t[f])+""))?d.push(u):m.set(l,[u]);return m.each(function(t,n){s(v,n,e(t,o,i,s))}),v}function t(e,n){if(++n>c.length)return e;var o,a=d[n-1];return null!=r&&n>=c.length?o=e.entries():(o=[],e.each(function(e,r){o.push({key:r,values:t(e,n)})})),null!=a?o.sort(function(e,t){return a(e.key,t.key)}):o}var n,r,o,c=[],d=[];return o={object:function(t){return e(t,0,i,s)},map:function(t){return e(t,0,l,u)},entries:function(n){return t(e(n,0,l,u),0)},key:function(e){return c.push(e),o},sortKeys:function(e){return d[c.length-1]=e,o},sortValues:function(e){return n=e,o},rollup:function(e){return r=e,o}}},lc=a.prototype;c.prototype=d.prototype={constructor:c,has:lc.has,add:function(e){return e+="",this[ic+e]=e,this},remove:lc.remove,clear:lc.clear,values:lc.keys,size:lc.size,empty:lc.empty,each:lc.each};var uc=function(e){var t=[];for(var n in e)t.push(n);return t},cc=function(e){var t=[];for(var n in e)t.push(e[n]);return t},dc=function(e){var t=[];for(var n in e)t.push({key:n,value:e[n]});return t},fc=function(e,t){return e=null==e?0:+e,t=null==t?1:+t,1===arguments.length?(t=e,e=0):t-=e,function(){return Math.random()*t+e}},pc=function(e,t){var n,r;return e=null==e?0:+e,t=null==t?1:+t,function(){var o;if(null!=n)o=n,n=null;else do n=2*Math.random()-1,o=2*Math.random()-1,r=n*n+o*o;while(!r||r>1);return e+t*o*Math.sqrt(-2*Math.log(r)/r)}},hc=function(){var e=pc.apply(this,arguments);return function(){return Math.exp(e())}},mc=function(e){return function(){for(var t=0,n=0;n<e;++n)t+=Math.random();return t}},vc=function(e){var t=mc(e);return function(){return t()/e}},bc=function(e){return function(){return-Math.log(1-Math.random())/e}},gc=3,yc=function e(t){function n(e){return Math.pow(e,t)}return t=+t,n.exponent=e,n}(gc),_c=function e(t){function n(e){return 1-Math.pow(1-e,t)}return t=+t,n.exponent=e,n}(gc),Mc=function e(t){function n(e){return((e*=2)<=1?Math.pow(e,t):2-Math.pow(2-e,t))/2}return t=+t,n.exponent=e,n}(gc),wc=Math.PI,Sc=wc/2,Cc=4/11,xc=6/11,kc=8/11,Tc=.75,Ac=9/11,Pc=10/11,Nc=.9375,Oc=21/22,Ec=63/64,zc=1/Cc/Cc,Rc=1.70158,jc=function e(t){function n(e){return e*e*((t+1)*e-t)}return t=+t,n.overshoot=e,n}(Rc),Lc=function e(t){function n(e){return--e*e*((t+1)*e+t)+1}return t=+t,n.overshoot=e,n}(Rc),Dc=function e(t){function n(e){return((e*=2)<1?e*e*((t+1)*e-t):(e-=2)*e*((t+1)*e+t)+2)/2}return t=+t,n.overshoot=e,n}(Rc),Ic=2*Math.PI,Bc=1,Vc=.3,qc=function e(t,n){function r(e){return t*Math.pow(2,10*--e)*Math.sin((o-e)/n)}var o=Math.asin(1/(t=Math.max(1,t)))*(n/=Ic);return r.amplitude=function(t){return e(t,n*Ic)},r.period=function(n){return e(t,n)},r}(Bc,Vc),Fc=function e(t,n){function r(e){return 1-t*Math.pow(2,-10*(e=+e))*Math.sin((e+o)/n)}var o=Math.asin(1/(t=Math.max(1,t)))*(n/=Ic);return r.amplitude=function(t){return e(t,n*Ic)},r.period=function(n){return e(t,n)},r}(Bc,Vc),Uc=function e(t,n){function r(e){return((e=2*e-1)<0?t*Math.pow(2,10*e)*Math.sin((o-e)/n):2-t*Math.pow(2,-10*e)*Math.sin((o+e)/n))/2}var o=Math.asin(1/(t=Math.max(1,t)))*(n/=Ic);return r.amplitude=function(t){return e(t,n*Ic)},r.period=function(n){return e(t,n)},r}(Bc,Vc),Wc=function(e){for(var t,n=-1,r=e.length,o=e[r-1],a=0;++n<r;)t=o,o=e[n],a+=t[1]*o[0]-t[0]*o[1];return a/2},Hc=function(e){for(var t,n,r=-1,o=e.length,a=0,i=0,s=e[o-1],l=0;++r<o;)t=s,s=e[r],l+=n=t[0]*s[1]-s[0]*t[1],a+=(t[0]+s[0])*n,i+=(t[1]+s[1])*n;return l*=3,[a/l,i/l]},Xc=function(e,t,n){return(t[0]-e[0])*(n[1]-e[1])-(t[1]-e[1])*(n[0]-e[0])},Kc=function(e){if((n=e.length)<3)return null;var t,n,r=new Array(n),o=new Array(n);for(t=0;t<n;++t)r[t]=[+e[t][0],+e[t][1],t];for(r.sort(O),t=0;t<n;++t)o[t]=[r[t][0],-r[t][1]];var a=E(r),i=E(o),s=i[0]===a[0],l=i[i.length-1]===a[a.length-1],u=[];for(t=a.length-1;t>=0;--t)u.push(e[r[a[t]][2]]);for(t=+s;t<i.length-l;++t)u.push(e[r[i[t]][2]]);return u},Gc=function(e,t){for(var n,r,o=e.length,a=e[o-1],i=t[0],s=t[1],l=a[0],u=a[1],c=!1,d=0;d<o;++d)a=e[d],n=a[0],r=a[1],r>s!=u>s&&i<(l-n)*(s-r)/(u-r)+n&&(c=!c),l=n,u=r;return c},Yc=function(e){for(var t,n,r=-1,o=e.length,a=e[o-1],i=a[0],s=a[1],l=0;++r<o;)t=i,n=s,a=e[r],i=a[0],s=a[1],t-=i,n-=s,l+=Math.sqrt(t*t+n*n);return l},$c=Math.PI,Qc=2*$c,Jc=1e-6,Zc=Qc-Jc;z.prototype=R.prototype={constructor:z,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,n,r){this._+="Q"+ +e+","+ +t+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(e,t,n,r,o,a){this._+="C"+ +e+","+ +t+","+ +n+","+ +r+","+(this._x1=+o)+","+(this._y1=+a)},arcTo:function(e,t,n,r,o){e=+e,t=+t,n=+n,r=+r,o=+o;var a=this._x1,i=this._y1,s=n-e,l=r-t,u=a-e,c=i-t,d=u*u+c*c;if(o<0)throw new Error("negative radius: "+o);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(d>Jc)if(Math.abs(c*s-l*u)>Jc&&o){var f=n-a,p=r-i,h=s*s+l*l,m=f*f+p*p,v=Math.sqrt(h),b=Math.sqrt(d),g=o*Math.tan(($c-Math.acos((h+d-m)/(2*v*b)))/2),y=g/b,_=g/v;Math.abs(y-1)>Jc&&(this._+="L"+(e+y*u)+","+(t+y*c)),this._+="A"+o+","+o+",0,0,"+ +(c*f>u*p)+","+(this._x1=e+_*s)+","+(this._y1=t+_*l)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,n,r,o,a){e=+e,t=+t,n=+n;var i=n*Math.cos(r),s=n*Math.sin(r),l=e+i,u=t+s,c=1^a,d=a?r-o:o-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+l+","+u:(Math.abs(this._x1-l)>Jc||Math.abs(this._y1-u)>Jc)&&(this._+="L"+l+","+u),n&&(d>Zc?this._+="A"+n+","+n+",0,1,"+c+","+(e-i)+","+(t-s)+"A"+n+","+n+",0,1,"+c+","+(this._x1=l)+","+(this._y1=u):(d<0&&(d=d%Qc+Qc),this._+="A"+n+","+n+",0,"+ +(d>=$c)+","+c+","+(this._x1=e+n*Math.cos(o))+","+(this._y1=t+n*Math.sin(o))))},rect:function(e,t,n,r){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var ed=function(e){var t=+this._x.call(null,e),n=+this._y.call(null,e);return j(this.cover(t,n),t,n,e)},td=function(e,t){if(isNaN(e=+e)||isNaN(t=+t))return this;var n=this._x0,r=this._y0,o=this._x1,a=this._y1;if(isNaN(n))o=(n=Math.floor(e))+1,a=(r=Math.floor(t))+1;else{if(!(n>e||e>o||r>t||t>a))return this;var i,s,l=o-n,u=this._root;switch(s=(t<(r+a)/2)<<1|e<(n+o)/2){case 0:do i=new Array(4),i[s]=u,u=i;while(l*=2,o=n+l,a=r+l,e>o||t>a);break;case 1:do i=new Array(4),i[s]=u,u=i;while(l*=2,n=o-l,a=r+l,n>e||t>a);break;case 2:do i=new Array(4),i[s]=u,u=i;while(l*=2,o=n+l,r=a-l,e>o||r>t);break;case 3:do i=new Array(4),i[s]=u,u=i;while(l*=2,n=o-l,r=a-l,n>e||r>t)}this._root&&this._root.length&&(this._root=u)}return this._x0=n,this._y0=r,this._x1=o,this._y1=a,this},nd=function(){var e=[];return this.visit(function(t){if(!t.length)do e.push(t.data);while(t=t.next)}),e},rd=function(e){return arguments.length?this.cover(+e[0][0],+e[0][1]).cover(+e[1][0],+e[1][1]):isNaN(this._x0)?void 0:[[this._x0,this._y0],[this._x1,this._y1]]},od=function(e,t,n,r,o){this.node=e,this.x0=t,this.y0=n,this.x1=r,this.y1=o},ad=function(e,t,n){var r,o,a,i,s,l,u,c=this._x0,d=this._y0,f=this._x1,p=this._y1,h=[],m=this._root;for(m&&h.push(new od(m,c,d,f,p)),null==n?n=1/0:(c=e-n,d=t-n,f=e+n,p=t+n,n*=n);l=h.pop();)if(!(!(m=l.node)||(o=l.x0)>f||(a=l.y0)>p||(i=l.x1)<c||(s=l.y1)<d))if(m.length){var v=(o+i)/2,b=(a+s)/2;h.push(new od(m[3],v,b,i,s),new od(m[2],o,b,v,s),new od(m[1],v,a,i,b),new od(m[0],o,a,v,b)),(u=(t>=b)<<1|e>=v)&&(l=h[h.length-1],h[h.length-1]=h[h.length-1-u],h[h.length-1-u]=l)}else{var g=e-+this._x.call(null,m.data),y=t-+this._y.call(null,m.data),_=g*g+y*y;if(_<n){var M=Math.sqrt(n=_);c=e-M,d=t-M,f=e+M,p=t+M,r=m.data}}return r},id=function(e){if(isNaN(a=+this._x.call(null,e))||isNaN(i=+this._y.call(null,e)))return this;var t,n,r,o,a,i,s,l,u,c,d,f,p=this._root,h=this._x0,m=this._y0,v=this._x1,b=this._y1;if(!p)return this;if(p.length)for(;;){if((u=a>=(s=(h+v)/2))?h=s:v=s,(c=i>=(l=(m+b)/2))?m=l:b=l,t=p,!(p=p[d=c<<1|u]))return this;if(!p.length)break;(t[d+1&3]||t[d+2&3]||t[d+3&3])&&(n=t,f=d)}for(;p.data!==e;)if(r=p,!(p=p.next))return this;return(o=p.next)&&delete p.next,r?(o?r.next=o:delete r.next,this):t?(o?t[d]=o:delete t[d],(p=t[0]||t[1]||t[2]||t[3])&&p===(t[3]||t[2]||t[1]||t[0])&&!p.length&&(n?n[f]=p:this._root=p),this):(this._root=o,this)},sd=function(){return this._root},ld=function(){var e=0;return this.visit(function(t){if(!t.length)do++e;while(t=t.next)}),e},ud=function(e){var t,n,r,o,a,i,s=[],l=this._root;for(l&&s.push(new od(l,this._x0,this._y0,this._x1,this._y1));t=s.pop();)if(!e(l=t.node,r=t.x0,o=t.y0,a=t.x1,i=t.y1)&&l.length){var u=(r+a)/2,c=(o+i)/2;(n=l[3])&&s.push(new od(n,u,c,a,i)),(n=l[2])&&s.push(new od(n,r,c,u,i)),(n=l[1])&&s.push(new od(n,u,o,a,c)),(n=l[0])&&s.push(new od(n,r,o,u,c))}return this},cd=function(e){var t,n=[],r=[];for(this._root&&n.push(new od(this._root,this._x0,this._y0,this._x1,this._y1));t=n.pop();){var o=t.node;if(o.length){var a,i=t.x0,s=t.y0,l=t.x1,u=t.y1,c=(i+l)/2,d=(s+u)/2;(a=o[0])&&n.push(new od(a,i,s,c,d)),(a=o[1])&&n.push(new od(a,c,s,l,d)),(a=o[2])&&n.push(new od(a,i,d,c,u)),(a=o[3])&&n.push(new od(a,c,d,l,u))}r.push(t)}for(;t=r.pop();)e(t.node,t.x0,t.y0,t.x1,t.y1);return this},dd=function(e){return arguments.length?(this._x=e,this):this._x},fd=function(e){return arguments.length?(this._y=e,this):this._y},pd=V.prototype=q.prototype;pd.copy=function(){var e,t,n=new q(this._x,this._y,this._x0,this._y0,this._x1,this._y1),r=this._root;if(!r)return n;if(!r.length)return n._root=F(r),n;for(e=[{source:r,target:n._root=new Array(4)}];r=e.pop();)for(var o=0;o<4;++o)(t=r.source[o])&&(t.length?e.push({source:t,target:r.target[o]=new Array(4)}):r.target[o]=F(t));return n},pd.add=ed,pd.addAll=L,pd.cover=td,pd.data=nd,pd.extent=rd,pd.find=ad,pd.remove=id,pd.removeAll=D,pd.root=sd,pd.size=ld,pd.visit=ud,pd.visitAfter=cd,pd.x=dd,pd.y=fd;var hd=[].slice,md={};U.prototype=Y.prototype={constructor:U,defer:function(e){if("function"!=typeof e||this._call)throw new Error;if(null!=this._error)return this;var t=hd.call(arguments,1);return t.push(e),++this._waiting,this._tasks.push(t),W(this),this},abort:function(){return null==this._error&&K(this,new Error("abort")),this},await:function(e){if("function"!=typeof e||this._call)throw new Error;return this._call=function(t,n){e.apply(null,[t].concat(n))},G(this),this},awaitAll:function(e){if("function"!=typeof e||this._call)throw new Error;return this._call=e,G(this),this}};var vd=function(e){return function(){return e}},bd=1e-12,gd=Math.PI,yd=gd/2,_d=2*gd,Md=function(){function e(){var e,u,c=+t.apply(this,arguments),d=+n.apply(this,arguments),f=a.apply(this,arguments)-yd,p=i.apply(this,arguments)-yd,h=Math.abs(p-f),m=p>f;if(l||(l=e=R()),d<c&&(u=d,d=c,c=u),d>bd)if(h>_d-bd)l.moveTo(d*Math.cos(f),d*Math.sin(f)),l.arc(0,0,d,f,p,!m),c>bd&&(l.moveTo(c*Math.cos(p),c*Math.sin(p)),l.arc(0,0,c,p,f,m));else{var v,b,g=f,y=p,_=f,M=p,w=h,S=h,C=s.apply(this,arguments)/2,x=C>bd&&(o?+o.apply(this,arguments):Math.sqrt(c*c+d*d)),k=Math.min(Math.abs(d-c)/2,+r.apply(this,arguments)),T=k,A=k;if(x>bd){var P=te(x/c*Math.sin(C)),N=te(x/d*Math.sin(C));(w-=2*P)>bd?(P*=m?1:-1,_+=P,M-=P):(w=0,_=M=(f+p)/2),(S-=2*N)>bd?(N*=m?1:-1,g+=N,y-=N):(S=0,g=y=(f+p)/2)}var O=d*Math.cos(g),E=d*Math.sin(g),z=c*Math.cos(M),j=c*Math.sin(M);if(k>bd){var L=d*Math.cos(y),D=d*Math.sin(y),I=c*Math.cos(_),B=c*Math.sin(_);if(h<gd){var V=w>bd?ne(O,E,I,B,L,D,z,j):[z,j],q=O-V[0],F=E-V[1],U=L-V[0],W=D-V[1],H=1/Math.sin(Math.acos((q*U+F*W)/(Math.sqrt(q*q+F*F)*Math.sqrt(U*U+W*W)))/2),X=Math.sqrt(V[0]*V[0]+V[1]*V[1]);T=Math.min(k,(c-X)/(H-1)),A=Math.min(k,(d-X)/(H+1))}}S>bd?A>bd?(v=re(I,B,O,E,d,A,m),b=re(L,D,z,j,d,A,m),l.moveTo(v.cx+v.x01,v.cy+v.y01),A<k?l.arc(v.cx,v.cy,A,Math.atan2(v.y01,v.x01),Math.atan2(b.y01,b.x01),!m):(l.arc(v.cx,v.cy,A,Math.atan2(v.y01,v.x01),Math.atan2(v.y11,v.x11),!m),l.arc(0,0,d,Math.atan2(v.cy+v.y11,v.cx+v.x11),Math.atan2(b.cy+b.y11,b.cx+b.x11),!m),l.arc(b.cx,b.cy,A,Math.atan2(b.y11,b.x11),Math.atan2(b.y01,b.x01),!m))):(l.moveTo(O,E),l.arc(0,0,d,g,y,!m)):l.moveTo(O,E),c>bd&&w>bd?T>bd?(v=re(z,j,L,D,c,-T,m),b=re(O,E,I,B,c,-T,m),l.lineTo(v.cx+v.x01,v.cy+v.y01),T<k?l.arc(v.cx,v.cy,T,Math.atan2(v.y01,v.x01),Math.atan2(b.y01,b.x01),!m):(l.arc(v.cx,v.cy,T,Math.atan2(v.y01,v.x01),Math.atan2(v.y11,v.x11),!m),l.arc(0,0,c,Math.atan2(v.cy+v.y11,v.cx+v.x11),Math.atan2(b.cy+b.y11,b.cx+b.x11),m),l.arc(b.cx,b.cy,T,Math.atan2(b.y11,b.x11),Math.atan2(b.y01,b.x01),!m))):l.arc(0,0,c,M,_,m):l.lineTo(z,j)}else l.moveTo(0,0);if(l.closePath(),e)return l=null,e+""||null}var t=$,n=Q,r=vd(0),o=null,a=J,i=Z,s=ee,l=null;return e.centroid=function(){var e=(+t.apply(this,arguments)+ +n.apply(this,arguments))/2,r=(+a.apply(this,arguments)+ +i.apply(this,arguments))/2-gd/2;return[Math.cos(r)*e,Math.sin(r)*e]},e.innerRadius=function(n){return arguments.length?(t="function"==typeof n?n:vd(+n),e):t},e.outerRadius=function(t){return arguments.length?(n="function"==typeof t?t:vd(+t),e):n},e.cornerRadius=function(t){return arguments.length?(r="function"==typeof t?t:vd(+t),e):r},e.padRadius=function(t){return arguments.length?(o=null==t?null:"function"==typeof t?t:vd(+t),e):o},e.startAngle=function(t){return arguments.length?(a="function"==typeof t?t:vd(+t),e):a},e.endAngle=function(t){return arguments.length?(i="function"==typeof t?t:vd(+t),e):i},e.padAngle=function(t){return arguments.length?(s="function"==typeof t?t:vd(+t),e):s},e.context=function(t){return arguments.length?(l=null==t?null:t,e):l},e};oe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};var wd=function(e){return new oe(e)},Sd=function(){function e(e){var s,l,u,c=e.length,d=!1;for(null==o&&(i=a(u=R())),s=0;s<=c;++s)!(s<c&&r(l=e[s],s,e))===d&&((d=!d)?i.lineStart():i.lineEnd()),d&&i.point(+t(l,s,e),+n(l,s,e));if(u)return i=null,u+""||null}var t=ae,n=ie,r=vd(!0),o=null,a=wd,i=null;return e.x=function(n){return arguments.length?(t="function"==typeof n?n:vd(+n),e):t},e.y=function(t){return arguments.length?(n="function"==typeof t?t:vd(+t),e):n},e.defined=function(t){return arguments.length?(r="function"==typeof t?t:vd(!!t),e):r},e.curve=function(t){return arguments.length?(a=t,null!=o&&(i=a(o)),e):a},e.context=function(t){return arguments.length?(null==t?o=i=null:i=a(o=t),e):o},e},Cd=function(){function e(e){var t,c,d,f,p,h=e.length,m=!1,v=new Array(h),b=new Array(h);for(null==s&&(u=l(p=R())),t=0;t<=h;++t){if(!(t<h&&i(f=e[t],t,e))===m)if(m=!m)c=t,u.areaStart(),u.lineStart();else{for(u.lineEnd(),u.lineStart(),d=t-1;d>=c;--d)u.point(v[d],b[d]);u.lineEnd(),u.areaEnd()}m&&(v[t]=+n(f,t,e),b[t]=+o(f,t,e),u.point(r?+r(f,t,e):v[t],a?+a(f,t,e):b[t]))}if(p)return u=null,p+""||null}function t(){return Sd().defined(i).curve(l).context(s)}var n=ae,r=null,o=vd(0),a=ie,i=vd(!0),s=null,l=wd,u=null;return e.x=function(t){return arguments.length?(n="function"==typeof t?t:vd(+t),r=null,e):n},e.x0=function(t){return arguments.length?(n="function"==typeof t?t:vd(+t),e):n},e.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:vd(+t),e):r},e.y=function(t){return arguments.length?(o="function"==typeof t?t:vd(+t),a=null,e):o},e.y0=function(t){return arguments.length?(o="function"==typeof t?t:vd(+t),e):o},e.y1=function(t){return arguments.length?(a=null==t?null:"function"==typeof t?t:vd(+t),e):a},e.lineX0=e.lineY0=function(){return t().x(n).y(o)},e.lineY1=function(){return t().x(n).y(a)},e.lineX1=function(){return t().x(r).y(o)},e.defined=function(t){return arguments.length?(i="function"==typeof t?t:vd(!!t),e):i},e.curve=function(t){return arguments.length?(l=t,null!=s&&(u=l(s)),e):l},e.context=function(t){return arguments.length?(null==t?s=u=null:u=l(s=t),e):s},e},xd=function(e,t){return t<e?-1:t>e?1:t>=e?0:NaN},kd=function(e){return e},Td=function(){function e(e){var s,l,u,c,d,f=e.length,p=0,h=new Array(f),m=new Array(f),v=+o.apply(this,arguments),b=Math.min(_d,Math.max(-_d,a.apply(this,arguments)-v)),g=Math.min(Math.abs(b)/f,i.apply(this,arguments)),y=g*(b<0?-1:1);for(s=0;s<f;++s)(d=m[h[s]=s]=+t(e[s],s,e))>0&&(p+=d);for(null!=n?h.sort(function(e,t){return n(m[e],m[t])}):null!=r&&h.sort(function(t,n){return r(e[t],e[n])}),s=0,u=p?(b-f*y)/p:0;s<f;++s,v=c)l=h[s],d=m[l],c=v+(d>0?d*u:0)+y,m[l]={data:e[l],index:s,value:d,startAngle:v,endAngle:c,padAngle:g};return m}var t=kd,n=xd,r=null,o=vd(0),a=vd(_d),i=vd(0);return e.value=function(n){return arguments.length?(t="function"==typeof n?n:vd(+n),e):t},e.sortValues=function(t){return arguments.length?(n=t,r=null,e):n},e.sort=function(t){return arguments.length?(r=t,n=null,e):r},e.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:vd(+t),e):o},e.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:vd(+t),e):a},e.padAngle=function(t){return arguments.length?(i="function"==typeof t?t:vd(+t),e):i},e},Ad=le(wd);se.prototype={areaStart:function(){this._curve.areaStart()},areaEnd:function(){this._curve.areaEnd()},lineStart:function(){this._curve.lineStart()},lineEnd:function(){this._curve.lineEnd()},point:function(e,t){this._curve.point(t*Math.sin(e),t*-Math.cos(e))}};var Pd=function(){return ue(Sd().curve(Ad))},Nd=function(){var e=Cd().curve(Ad),t=e.curve,n=e.lineX0,r=e.lineX1,o=e.lineY0,a=e.lineY1;return e.angle=e.x,delete e.x,e.startAngle=e.x0,delete e.x0,e.endAngle=e.x1,delete e.x1,e.radius=e.y,delete e.y,e.innerRadius=e.y0,delete e.y0,e.outerRadius=e.y1,delete e.y1,e.lineStartAngle=function(){return ue(n())},delete e.lineX0,e.lineEndAngle=function(){return ue(r())},delete e.lineX1,e.lineInnerRadius=function(){return ue(o())},delete e.lineY0,e.lineOuterRadius=function(){return ue(a())},delete e.lineY1,e.curve=function(e){return arguments.length?t(le(e)):t()._curve},e},Od={draw:function(e,t){var n=Math.sqrt(t/gd);e.moveTo(n,0),e.arc(0,0,n,0,_d)}},Ed={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},zd=Math.sqrt(1/3),Rd=2*zd,jd={draw:function(e,t){var n=Math.sqrt(t/Rd),r=n*zd;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},Ld=.8908130915292852,Dd=Math.sin(gd/10)/Math.sin(7*gd/10),Id=Math.sin(_d/10)*Dd,Bd=-Math.cos(_d/10)*Dd,Vd={draw:function(e,t){var n=Math.sqrt(t*Ld),r=Id*n,o=Bd*n;e.moveTo(0,-n),e.lineTo(r,o);for(var a=1;a<5;++a){var i=_d*a/5,s=Math.cos(i),l=Math.sin(i);e.lineTo(l*n,-s*n),e.lineTo(s*r-l*o,l*r+s*o)}e.closePath()}},qd={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},Fd=Math.sqrt(3),Ud={draw:function(e,t){var n=-Math.sqrt(t/(3*Fd));e.moveTo(0,2*n),e.lineTo(-Fd*n,-n),e.lineTo(Fd*n,-n),e.closePath()}},Wd=-.5,Hd=Math.sqrt(3)/2,Xd=1/Math.sqrt(12),Kd=3*(Xd/2+1),Gd={draw:function(e,t){var n=Math.sqrt(t/Kd),r=n/2,o=n*Xd,a=r,i=n*Xd+n,s=-a,l=i;e.moveTo(r,o),e.lineTo(a,i),e.lineTo(s,l),e.lineTo(Wd*r-Hd*o,Hd*r+Wd*o),e.lineTo(Wd*a-Hd*i,Hd*a+Wd*i),e.lineTo(Wd*s-Hd*l,Hd*s+Wd*l),e.lineTo(Wd*r+Hd*o,Wd*o-Hd*r),e.lineTo(Wd*a+Hd*i,Wd*i-Hd*a),e.lineTo(Wd*s+Hd*l,Wd*l-Hd*s),e.closePath()}},Yd=[Od,Ed,jd,qd,Vd,Ud,Gd],$d=function(){function e(){var e;if(r||(r=e=R()),t.apply(this,arguments).draw(r,+n.apply(this,arguments)),e)return r=null,e+""||null}var t=vd(Od),n=vd(64),r=null;return e.type=function(n){return arguments.length?(t="function"==typeof n?n:vd(n),e):t},e.size=function(t){return arguments.length?(n="function"==typeof t?t:vd(+t),e):n},e.context=function(t){return arguments.length?(r=null==t?null:t,e):r},e},Qd=function(){};de.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:ce(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:ce(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var Jd=function(e){return new de(e)};fe.prototype={areaStart:Qd,areaEnd:Qd,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:ce(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var Zd=function(e){return new fe(e)};pe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:ce(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};var ef=function(e){return new pe(e)};he.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,o=e[0],a=t[0],i=e[n]-o,s=t[n]-a,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(o+r*i),this._beta*t[l]+(1-this._beta)*(a+r*s));
|
9 | this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var tf=function e(t){function n(e){return 1===t?new de(e):new he(e,t)}return n.beta=function(t){return e(+t)},n}(.85);ve.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:me(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:me(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var nf=function e(t){function n(e){return new ve(e,t)}return n.tension=function(t){return e(+t)},n}(0);be.prototype={areaStart:Qd,areaEnd:Qd,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:me(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var rf=function e(t){function n(e){return new be(e,t)}return n.tension=function(t){return e(+t)},n}(0);ge.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:me(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var of=function e(t){function n(e){return new ge(e,t)}return n.tension=function(t){return e(+t)},n}(0);_e.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:ye(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var af=function e(t){function n(e){return t?new _e(e,t):new ve(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);Me.prototype={areaStart:Qd,areaEnd:Qd,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:ye(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var sf=function e(t){function n(e){return t?new Me(e,t):new be(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);we.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ye(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var lf=function e(t){function n(e){return t?new we(e,t):new ge(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);Se.prototype={areaStart:Qd,areaEnd:Qd,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};var uf=function(e){return new Se(e)};Ae.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Te(this,this._t0,ke(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,e!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Te(this,ke(this,n=xe(this,e,t)),n);break;default:Te(this,this._t0,n=xe(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Pe.prototype=Object.create(Ae.prototype)).point=function(e,t){Ae.prototype.point.call(this,t,e)},Ne.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,o,a){this._context.bezierCurveTo(t,e,r,n,a,o)}},ze.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=Re(e),o=Re(t),a=0,i=1;i<n;++a,++i)this._context.bezierCurveTo(r[0][a],o[0][a],r[1][a],o[1][a],e[i],t[i]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var cf=function(e){return new ze(e)};je.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var df=function(e){return new je(e,.5)},ff=Array.prototype.slice,pf=function(e,t){if((r=e.length)>1)for(var n,r,o=1,a=e[t[0]],i=a.length;o<r;++o){n=a,a=e[t[o]];for(var s=0;s<i;++s)a[s][1]+=a[s][0]=isNaN(n[s][1])?n[s][0]:n[s][1]}},hf=function(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n},mf=function(){function e(e){var a,i,s=t.apply(this,arguments),l=e.length,u=s.length,c=new Array(u);for(a=0;a<u;++a){for(var d,f=s[a],p=c[a]=new Array(l),h=0;h<l;++h)p[h]=d=[0,+o(e[h],f,h,e)],d.data=e[h];p.key=f}for(a=0,i=n(c);a<u;++a)c[i[a]].index=a;return r(c,i),c}var t=vd([]),n=hf,r=pf,o=Ie;return e.keys=function(n){return arguments.length?(t="function"==typeof n?n:vd(ff.call(n)),e):t},e.value=function(t){return arguments.length?(o="function"==typeof t?t:vd(+t),e):o},e.order=function(t){return arguments.length?(n=null==t?hf:"function"==typeof t?t:vd(ff.call(t)),e):n},e.offset=function(t){return arguments.length?(r=null==t?pf:t,e):r},e},vf=function(e,t){if((r=e.length)>0){for(var n,r,o,a=0,i=e[0].length;a<i;++a){for(o=n=0;n<r;++n)o+=e[n][a][1]||0;if(o)for(n=0;n<r;++n)e[n][a][1]/=o}pf(e,t)}},bf=function(e,t){if((n=e.length)>0){for(var n,r=0,o=e[t[0]],a=o.length;r<a;++r){for(var i=0,s=0;i<n;++i)s+=e[i][r][1]||0;o[r][1]+=o[r][0]=-s/2}pf(e,t)}},gf=function(e,t){if((o=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,a=0,i=1;i<r;++i){for(var s=0,l=0,u=0;s<o;++s){for(var c=e[t[s]],d=c[i][1]||0,f=c[i-1][1]||0,p=(d-f)/2,h=0;h<s;++h){var m=e[t[h]],v=m[i][1]||0,b=m[i-1][1]||0;p+=v-b}l+=d,u+=p*d}n[i-1][1]+=n[i-1][0]=a,l&&(a-=u/l)}n[i-1][1]+=n[i-1][0]=a,pf(e,t)}},yf=function(e){var t=e.map(Be);return hf(e).sort(function(e,n){return t[e]-t[n]})},_f=function(e){return yf(e).reverse()},Mf=function(e){var t,n,r=e.length,o=e.map(Be),a=hf(e).sort(function(e,t){return o[t]-o[e]}),i=0,s=0,l=[],u=[];for(t=0;t<r;++t)n=a[t],i<s?(i+=o[n],l.push(n)):(s+=o[n],u.push(n));return u.reverse().concat(l)},wf=function(e){return hf(e).reverse()},Sf=function(e,t,n){e.prototype=t.prototype=n,n.constructor=e},Cf=.7,xf=1/Cf,kf="\\s*([+-]?\\d+)\\s*",Tf="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Af="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Pf=/^#([0-9a-f]{3})$/,Nf=/^#([0-9a-f]{6})$/,Of=new RegExp("^rgb\\("+[kf,kf,kf]+"\\)$"),Ef=new RegExp("^rgb\\("+[Af,Af,Af]+"\\)$"),zf=new RegExp("^rgba\\("+[kf,kf,kf,Tf]+"\\)$"),Rf=new RegExp("^rgba\\("+[Af,Af,Af,Tf]+"\\)$"),jf=new RegExp("^hsl\\("+[Tf,Af,Af]+"\\)$"),Lf=new RegExp("^hsla\\("+[Tf,Af,Af,Tf]+"\\)$"),Df={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Sf(qe,Fe,{displayable:function(){return this.rgb().displayable()},toString:function(){return this.rgb()+""}}),Sf(Ke,Xe,Ve(qe,{brighter:function(e){return e=null==e?xf:Math.pow(xf,e),new Ke(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Cf:Math.pow(Cf,e),new Ke(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},toString:function(){var e=this.opacity;return e=isNaN(e)?1:Math.max(0,Math.min(1,e)),(1===e?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),Sf(Qe,$e,Ve(qe,{brighter:function(e){return e=null==e?xf:Math.pow(xf,e),new Qe(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Cf:Math.pow(Cf,e),new Qe(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Ke(Je(e>=240?e-240:e+120,o,r),Je(e,o,r),Je(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var If=Math.PI/180,Bf=180/Math.PI,Vf=18,qf=.95047,Ff=1,Uf=1.08883,Wf=4/29,Hf=6/29,Xf=3*Hf*Hf,Kf=Hf*Hf*Hf;Sf(tt,et,Ve(qe,{brighter:function(e){return new tt(this.l+Vf*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new tt(this.l-Vf*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return e=Ff*rt(e),t=qf*rt(t),n=Uf*rt(n),new Ke(ot(3.2404542*t-1.5371385*e-.4985314*n),ot(-.969266*t+1.8760108*e+.041556*n),ot(.0556434*t-.2040259*e+1.0572252*n),this.opacity)}})),Sf(lt,st,Ve(qe,{brighter:function(e){return new lt(this.h,this.c,this.l+Vf*(null==e?1:e),this.opacity)},darker:function(e){return new lt(this.h,this.c,this.l-Vf*(null==e?1:e),this.opacity)},rgb:function(){return Ze(this).rgb()}}));var Gf=-.14861,Yf=1.78277,$f=-.29227,Qf=-.90649,Jf=1.97294,Zf=Jf*Qf,ep=Jf*Yf,tp=Yf*$f-Qf*Gf;Sf(dt,ct,Ve(qe,{brighter:function(e){return e=null==e?xf:Math.pow(xf,e),new dt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Cf:Math.pow(Cf,e),new dt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*If,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new Ke(255*(t+n*(Gf*r+Yf*o)),255*(t+n*($f*r+Qf*o)),255*(t+n*(Jf*r)),this.opacity)}}));var np,rp,op,ap,ip=function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],a=e[r+1],i=r>0?e[r-1]:2*o-a,s=r<t-1?e[r+2]:2*a-o;return ft((n-r/t)*t,i,o,a,s)}},sp=function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],a=e[r%t],i=e[(r+1)%t],s=e[(r+2)%t];return ft((n-r/t)*t,o,a,i,s)}},lp=function(e){return function(){return e}},up=function e(t){function n(e,t){var n=r((e=Xe(e)).r,(t=Xe(t)).r),o=r(e.g,t.g),a=r(e.b,t.b),i=r(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=o(t),e.b=a(t),e.opacity=i(t),e+""}}var r=vt(t);return n.gamma=e,n}(1),cp=gt(ip),dp=gt(sp),fp=function(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,a=new Array(r),i=new Array(r);for(n=0;n<o;++n)a[n]=yp(e[n],t[n]);for(;n<r;++n)i[n]=t[n];return function(e){for(n=0;n<o;++n)i[n]=a[n](e);return i}},pp=function(e,t){var n=new Date;return e=+e,t-=e,function(r){return n.setTime(e+t*r),n}},hp=function(e,t){return e=+e,t-=e,function(n){return e+t*n}},mp=function(e,t){var n,r={},o={};null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={});for(n in t)n in e?r[n]=yp(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}},vp=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,bp=new RegExp(vp.source,"g"),gp=function(e,t){var n,r,o,a=vp.lastIndex=bp.lastIndex=0,i=-1,s=[],l=[];for(e+="",t+="";(n=vp.exec(e))&&(r=bp.exec(t));)(o=r.index)>a&&(o=t.slice(a,o),s[i]?s[i]+=o:s[++i]=o),(n=n[0])===(r=r[0])?s[i]?s[i]+=r:s[++i]=r:(s[++i]=null,l.push({i:i,x:hp(n,r)})),a=bp.lastIndex;return a<t.length&&(o=t.slice(a),s[i]?s[i]+=o:s[++i]=o),s.length<2?l[0]?_t(l[0].x):yt(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)s[(n=l[r]).i]=n.x(e);return s.join("")})},yp=function(e,t){var n,r=typeof t;return null==t||"boolean"===r?lp(t):("number"===r?hp:"string"===r?(n=Fe(t))?(t=n,up):gp:t instanceof Fe?up:t instanceof Date?pp:Array.isArray(t)?fp:isNaN(t)?mp:hp)(e,t)},_p=function(e,t){return e=+e,t-=e,function(n){return Math.round(e+t*n)}},Mp=180/Math.PI,wp={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1},Sp=function(e,t,n,r,o,a){var i,s,l;return(i=Math.sqrt(e*e+t*t))&&(e/=i,t/=i),(l=e*n+t*r)&&(n-=e*l,r-=t*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),e*r<t*n&&(e=-e,t=-t,l=-l,i=-i),{translateX:o,translateY:a,rotate:Math.atan2(t,e)*Mp,skewX:Math.atan(l)*Mp,scaleX:i,scaleY:s}},Cp=St(Mt,"px, ","px)","deg)"),xp=St(wt,", ",")",")"),kp=Math.SQRT2,Tp=2,Ap=4,Pp=1e-12,Np=function(e,t){var n,r,o=e[0],a=e[1],i=e[2],s=t[0],l=t[1],u=t[2],c=s-o,d=l-a,f=c*c+d*d;if(f<Pp)r=Math.log(u/i)/kp,n=function(e){return[o+e*c,a+e*d,i*Math.exp(kp*e*r)]};else{var p=Math.sqrt(f),h=(u*u-i*i+Ap*f)/(2*i*Tp*p),m=(u*u-i*i-Ap*f)/(2*u*Tp*p),v=Math.log(Math.sqrt(h*h+1)-h),b=Math.log(Math.sqrt(m*m+1)-m);r=(b-v)/kp,n=function(e){var t=e*r,n=Ct(v),s=i/(Tp*p)*(n*kt(kp*t+v)-xt(v));return[o+s*c,a+s*d,i*n/Ct(kp*t+v)]}}return n.duration=1e3*r,n},Op=Tt(mt),Ep=Tt(bt),zp=Pt(mt),Rp=Pt(bt),jp=Nt(mt),Lp=Nt(bt),Dp=function(e,t){for(var n=new Array(t),r=0;r<t;++r)n[r]=e(r/(t-1));return n},Ip={value:function(){}};Et.prototype=Ot.prototype={constructor:Et,on:function(e,t){var n,r=this._,o=zt(e+"",r),a=-1,i=o.length;{if(!(arguments.length<2)){if(null!=t&&"function"!=typeof t)throw new Error("invalid callback: "+t);for(;++a<i;)if(n=(e=o[a]).type)r[n]=jt(r[n],e.name,t);else if(null==t)for(n in r)r[n]=jt(r[n],e.name,null);return this}for(;++a<i;)if((n=(e=o[a]).type)&&(n=Rt(r[n],e.name)))return n}},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new Et(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,o=new Array(n),a=0;a<n;++a)o[a]=arguments[a+2];if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(r=this._[e],a=0,n=r.length;a<n;++a)r[a].value.apply(t,o)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw new Error("unknown type: "+e);for(var r=this._[e],o=0,a=r.length;o<a;++o)r[o].value.apply(t,n)}};var Bp,Vp,qp=function(e){function t(e,t){var r,o,a=n(e,function(e,n){return r?r(e,n-1):(o=e,void(r=t?Dt(e,t):Lt(e)))});return a.columns=o,a}function n(e,t){function n(){if(c>=u)return i;if(o)return o=!1,a;var t,n=c;if(34===e.charCodeAt(n)){for(var r=n;r++<u;)if(34===e.charCodeAt(r)){if(34!==e.charCodeAt(r+1))break;++r}return c=r+2,t=e.charCodeAt(r+1),13===t?(o=!0,10===e.charCodeAt(r+2)&&++c):10===t&&(o=!0),e.slice(n+1,r).replace(/""/g,'"')}for(;c<u;){var s=1;if(t=e.charCodeAt(c++),10===t)o=!0;else if(13===t)o=!0,10===e.charCodeAt(c)&&(++c,++s);else if(t!==l)continue;return e.slice(n,c-s)}return e.slice(n)}for(var r,o,a={},i={},s=[],u=e.length,c=0,d=0;(r=n())!==i;){for(var f=[];r!==a&&r!==i;)f.push(r),r=n();t&&null==(f=t(f,d++))||s.push(f)}return s}function r(t,n){return null==n&&(n=It(t)),[n.map(i).join(e)].concat(t.map(function(t){return n.map(function(e){return i(t[e])}).join(e)})).join("\n")}function o(e){return e.map(a).join("\n")}function a(t){return t.map(i).join(e)}function i(e){return null==e?"":s.test(e+="")?'"'+e.replace(/\"/g,'""')+'"':e}var s=new RegExp('["'+e+"\n]"),l=e.charCodeAt(0);return{parse:t,parseRows:n,format:r,formatRows:o}},Fp=qp(","),Up=Fp.parse,Wp=Fp.parseRows,Hp=Fp.format,Xp=Fp.formatRows,Kp=qp("\t"),Gp=Kp.parse,Yp=Kp.parseRows,$p=Kp.format,Qp=Kp.formatRows,Jp=function(e,t){function n(e){var t,n=c.status;if(!n&&Vt(c)||n>=200&&n<300||304===n){if(i)try{t=i.call(r,c)}catch(e){return void l.call("error",r,e)}else t=c;l.call("load",r,t)}else l.call("error",r,e)}var r,o,i,s,l=Ot("beforesend","progress","load","error"),u=a(),c=new XMLHttpRequest,d=null,f=null,p=0;if("undefined"==typeof XDomainRequest||"withCredentials"in c||!/^(http(s)?:)?\/\//.test(e)||(c=new XDomainRequest),"onload"in c?c.onload=c.onerror=c.ontimeout=n:c.onreadystatechange=function(e){c.readyState>3&&n(e)},c.onprogress=function(e){l.call("progress",r,e)},r={header:function(e,t){return e=(e+"").toLowerCase(),arguments.length<2?u.get(e):(null==t?u.remove(e):u.set(e,t+""),r)},mimeType:function(e){return arguments.length?(o=null==e?null:e+"",r):o},responseType:function(e){return arguments.length?(s=e,r):s},timeout:function(e){return arguments.length?(p=+e,r):p},user:function(e){return arguments.length<1?d:(d=null==e?null:e+"",r)},password:function(e){return arguments.length<1?f:(f=null==e?null:e+"",r)},response:function(e){return i=e,r},get:function(e,t){return r.send("GET",e,t)},post:function(e,t){return r.send("POST",e,t)},send:function(t,n,a){return c.open(t,e,!0,d,f),null==o||u.has("accept")||u.set("accept",o+",*/*"),c.setRequestHeader&&u.each(function(e,t){c.setRequestHeader(t,e)}),null!=o&&c.overrideMimeType&&c.overrideMimeType(o),null!=s&&(c.responseType=s),p>0&&(c.timeout=p),null==a&&"function"==typeof n&&(a=n,n=null),null!=a&&1===a.length&&(a=Bt(a)),null!=a&&r.on("error",a).on("load",function(e){a(null,e)}),l.call("beforesend",r,c),c.send(null==n?null:n),r},abort:function(){return c.abort(),r},on:function(){var e=l.on.apply(l,arguments);return e===l?r:e}},null!=t){if("function"!=typeof t)throw new Error("invalid callback: "+t);return r.get(t)}return r},Zp=function(e,t){return function(n,r){var o=Jp(n).mimeType(e).response(t);if(null!=r){if("function"!=typeof r)throw new Error("invalid callback: "+r);return o.get(r)}return o}},eh=Zp("text/html",function(e){return document.createRange().createContextualFragment(e.responseText)}),th=Zp("application/json",function(e){return JSON.parse(e.responseText)}),nh=Zp("text/plain",function(e){return e.responseText}),rh=Zp("application/xml",function(e){var t=e.responseXML;if(!t)throw new Error("parse error");return t}),oh=function(e,t){return function(n,r,o){arguments.length<3&&(o=r,r=null);var a=Jp(n).mimeType(e);return a.row=function(e){return arguments.length?a.response(qt(t,r=e)):r},a.row(r),o?a.get(o):a}},ah=oh("text/csv",Up),ih=oh("text/tab-separated-values",Gp),sh=0,lh=0,uh=0,ch=1e3,dh=0,fh=0,ph=0,hh="object"==typeof performance&&performance.now?performance:Date,mh="function"==typeof requestAnimationFrame?requestAnimationFrame:function(e){setTimeout(e,17)};Wt.prototype=Ht.prototype={constructor:Wt,restart:function(e,t,n){if("function"!=typeof e)throw new TypeError("callback is not a function");n=(null==n?Ft():+n)+(null==t?0:+t),this._next||Vp===this||(Vp?Vp._next=this:Bp=this,Vp=this),this._call=e,this._time=n,$t()},stop:function(){this._call&&(this._call=null,this._time=1/0,$t())}};var vh=function(e,t,n){var r=new Wt;return t=null==t?0:+t,r.restart(function(n){r.stop(),e(n+t)},t,n),r},bh=function(e,t,n){var r=new Wt,o=t;return null==t?(r.restart(e,t,n),r):(t=+t,n=null==n?Ft():+n,r.restart(function a(i){i+=o,r.restart(a,o+=t,n),e(i)},t,n),r)},gh=new Date,yh=new Date,_h=Qt(function(){},function(e,t){e.setTime(+e+t)},function(e,t){return t-e});_h.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Qt(function(t){t.setTime(Math.floor(t/e)*e)},function(t,n){t.setTime(+t+n*e)},function(t,n){return(n-t)/e}):_h:null};var Mh=_h.range,wh=1e3,Sh=6e4,Ch=36e5,xh=864e5,kh=6048e5,Th=Qt(function(e){e.setTime(Math.floor(e/wh)*wh)},function(e,t){e.setTime(+e+t*wh)},function(e,t){return(t-e)/wh},function(e){return e.getUTCSeconds()}),Ah=Th.range,Ph=Qt(function(e){e.setTime(Math.floor(e/Sh)*Sh)},function(e,t){e.setTime(+e+t*Sh)},function(e,t){return(t-e)/Sh},function(e){return e.getMinutes()}),Nh=Ph.range,Oh=Qt(function(e){var t=e.getTimezoneOffset()*Sh%Ch;t<0&&(t+=Ch),e.setTime(Math.floor((+e-t)/Ch)*Ch+t)},function(e,t){e.setTime(+e+t*Ch)},function(e,t){return(t-e)/Ch},function(e){return e.getHours()}),Eh=Oh.range,zh=Qt(function(e){e.setHours(0,0,0,0)},function(e,t){e.setDate(e.getDate()+t)},function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Sh)/xh},function(e){return e.getDate()-1}),Rh=zh.range,jh=Jt(0),Lh=Jt(1),Dh=Jt(2),Ih=Jt(3),Bh=Jt(4),Vh=Jt(5),qh=Jt(6),Fh=jh.range,Uh=Lh.range,Wh=Dh.range,Hh=Ih.range,Xh=Bh.range,Kh=Vh.range,Gh=qh.range,Yh=Qt(function(e){e.setDate(1),e.setHours(0,0,0,0)},function(e,t){e.setMonth(e.getMonth()+t)},function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())},function(e){return e.getMonth()}),$h=Yh.range,Qh=Qt(function(e){e.setMonth(0,1),e.setHours(0,0,0,0)},function(e,t){e.setFullYear(e.getFullYear()+t)},function(e,t){return t.getFullYear()-e.getFullYear()},function(e){return e.getFullYear()});Qh.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Qt(function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},function(t,n){t.setFullYear(t.getFullYear()+n*e)}):null};var Jh=Qh.range,Zh=Qt(function(e){e.setUTCSeconds(0,0)},function(e,t){e.setTime(+e+t*Sh)},function(e,t){return(t-e)/Sh},function(e){return e.getUTCMinutes()}),em=Zh.range,tm=Qt(function(e){e.setUTCMinutes(0,0,0)},function(e,t){e.setTime(+e+t*Ch)},function(e,t){return(t-e)/Ch},function(e){return e.getUTCHours()}),nm=tm.range,rm=Qt(function(e){e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCDate(e.getUTCDate()+t)},function(e,t){return(t-e)/xh},function(e){return e.getUTCDate()-1}),om=rm.range,am=Zt(0),im=Zt(1),sm=Zt(2),lm=Zt(3),um=Zt(4),cm=Zt(5),dm=Zt(6),fm=am.range,pm=im.range,hm=sm.range,mm=lm.range,vm=um.range,bm=cm.range,gm=dm.range,ym=Qt(function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCMonth(e.getUTCMonth()+t)},function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())},function(e){return e.getUTCMonth()}),_m=ym.range,Mm=Qt(function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)},function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()},function(e){return e.getUTCFullYear()});Mm.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Qt(function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null};var wm,Sm=Mm.range,Cm=function(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]},xm=function(e){return e=Cm(Math.abs(e)),e?e[1]:NaN},km=function(e,t){return function(n,r){for(var o=n.length,a=[],i=0,s=e[0],l=0;o>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),a.push(n.substring(o-=s,o+s)),!((l+=s+1)>r));)s=e[i=(i+1)%e.length];return a.reverse().join(t)}},Tm=function(e,t){e=e.toPrecision(t);e:for(var n,r=e.length,o=1,a=-1;o<r;++o)switch(e[o]){case".":a=n=o;break;case"0":0===a&&(a=o),n=o;break;case"e":break e;default:a>0&&(a=0)}return a>0?e.slice(0,a)+e.slice(n+1):e},Am=function(e,t){var n=Cm(e,t);if(!n)return e+"";var r=n[0],o=n[1],a=o-(wm=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,i=r.length;return a===i?r:a>i?r+new Array(a-i+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+new Array(1-a).join("0")+Cm(e,Math.max(0,t+a-1))[0]},Pm=function(e,t){var n=Cm(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array((-o)).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")},Nm={"":Tm,"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Pm(100*e,t)},r:Pm,s:Am,X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}},Om=/^(?:(.)?([<>=^]))?([+\-\( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?([a-z%])?$/i,Em=function(e){return new en(e)};en.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+this.type};var zm,Rm=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],jm=function(e){function t(e){function t(e){var t,o,l,g=h,y=m;if("c"===p)y=v(e)+y,e="";else{e=+e;var _=(e<0||1/e<0)&&(e*=-1,!0);if(e=v(e,f),_)for(t=-1,o=e.length,_=!1;++t<o;)if(l=e.charCodeAt(t),48<l&&l<58||"x"===p&&96<l&&l<103||"X"===p&&64<l&&l<71){_=!0;break}if(g=(_?"("===s?s:"-":"-"===s||"("===s?"":s)+g,y=y+("s"===p?Rm[8+wm/3]:"")+(_&&"("===s?")":""),b)for(t=-1,o=e.length;++t<o;)if(l=e.charCodeAt(t),48>l||l>57){y=(46===l?a+e.slice(t+1):e.slice(t))+y,e=e.slice(0,t);break}}d&&!u&&(e=r(e,1/0));var M=g.length+e.length+y.length,w=M<c?new Array(c-M+1).join(n):"";switch(d&&u&&(e=r(w+e,w.length?c-y.length:1/0),w=""),i){case"<":return g+e+y+w;case"=":return g+w+e+y;case"^":return w.slice(0,M=w.length>>1)+g+e+y+w.slice(M)}return w+g+e+y}e=Em(e);var n=e.fill,i=e.align,s=e.sign,l=e.symbol,u=e.zero,c=e.width,d=e.comma,f=e.precision,p=e.type,h="$"===l?o[0]:"#"===l&&/[boxX]/.test(p)?"0"+p.toLowerCase():"",m="$"===l?o[1]:/[%p]/.test(p)?"%":"",v=Nm[p],b=!p||/[defgprs%]/.test(p);return f=null==f?p?6:12:/[gprs]/.test(p)?Math.max(1,Math.min(21,f)):Math.max(0,Math.min(20,f)),t.toString=function(){return e+""},t}function n(e,n){var r=t((e=Em(e),e.type="f",e)),o=3*Math.max(-8,Math.min(8,Math.floor(xm(n)/3))),a=Math.pow(10,-o),i=Rm[8+o/3];return function(e){return r(a*e)+i}}var r=e.grouping&&e.thousands?km(e.grouping,e.thousands):tn,o=e.currency,a=e.decimal;return{format:t,formatPrefix:n}};nn({decimal:".",thousands:",",
|
10 | grouping:[3],currency:["$",""]});var Lm,Dm=function(e){return Math.max(0,-xm(Math.abs(e)))},Im=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(xm(t)/3)))-xm(Math.abs(e)))},Bm=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,xm(t)-xm(e))+1},Vm={"-":"",_:" ",0:"0"},qm=/^\s*\d+/,Fm=/^%/,Um=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;tr({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Wm="%Y-%m-%dT%H:%M:%S.%LZ",Hm=Date.prototype.toISOString?nr:e.utcFormat(Wm),Xm=+new Date("2000-01-01T00:00:00.000Z")?rr:e.utcParse(Wm),Km=Array.prototype,Gm=Km.map,Ym=Km.slice,$m={name:"implicit"},Qm=function(e){return function(){return e}},Jm=function(e){return+e},Zm=[0,1],ev=function(t,r,o){var a,i=t[0],s=t[t.length-1],l=n(i,s,null==r?10:r);switch(o=Em(null==o?",f":o),o.type){case"s":var u=Math.max(Math.abs(i),Math.abs(s));return null!=o.precision||isNaN(a=Im(l,u))||(o.precision=a),e.formatPrefix(o,u);case"":case"e":case"g":case"p":case"r":null!=o.precision||isNaN(a=Bm(l,Math.max(Math.abs(i),Math.abs(s))))||(o.precision=a-("e"===o.type));break;case"f":case"%":null!=o.precision||isNaN(a=Dm(l))||(o.precision=a-2*("%"===o.type))}return e.format(o)},tv=function(e,t){e=e.slice();var n,r=0,o=e.length-1,a=e[r],i=e[o];return i<a&&(n=r,r=o,o=n,n=a,a=i,i=n),e[r]=t.floor(a),e[o]=t.ceil(i),e},nv=1e3,rv=60*nv,ov=60*rv,av=24*ov,iv=7*av,sv=30*av,lv=365*av,uv=function(){return zr(Qh,Yh,jh,zh,Oh,Ph,Th,_h,e.timeFormat).domain([new Date(2e3,0,1),new Date(2e3,0,2)])},cv=function(){return zr(Mm,ym,am,rm,tm,Zh,Th,_h,e.utcFormat).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)])},dv=function(e){return e.match(/.{6}/g).map(function(e){return"#"+e})},fv=dv("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),pv=dv("393b795254a36b6ecf9c9ede6379398ca252b5cf6bcedb9c8c6d31bd9e39e7ba52e7cb94843c39ad494ad6616be7969c7b4173a55194ce6dbdde9ed6"),hv=dv("3182bd6baed69ecae1c6dbefe6550dfd8d3cfdae6bfdd0a231a35474c476a1d99bc7e9c0756bb19e9ac8bcbddcdadaeb636363969696bdbdbdd9d9d9"),mv=dv("1f77b4aec7e8ff7f0effbb782ca02c98df8ad62728ff98969467bdc5b0d58c564bc49c94e377c2f7b6d27f7f7fc7c7c7bcbd22dbdb8d17becf9edae5"),vv=Lp(ct(300,.5,0),ct(-240,.5,1)),bv=Lp(ct(-100,.75,.35),ct(80,1.5,.8)),gv=Lp(ct(260,.75,.35),ct(80,1.5,.8)),yv=ct(),_v=function(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return yv.h=360*e-100,yv.s=1.5-1.5*t,yv.l=.8-.9*t,yv+""},Mv=Rr(dv("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),wv=Rr(dv("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Sv=Rr(dv("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),Cv=Rr(dv("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921")),xv="http://www.w3.org/1999/xhtml",kv={svg:"http://www.w3.org/2000/svg",xhtml:xv,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},Tv=function(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),kv.hasOwnProperty(t)?{space:kv[t],local:e}:e},Av=function(e){var t=Tv(e);return(t.local?Dr:Lr)(t)},Pv=0;Br.prototype=Ir.prototype={constructor:Br,get:function(e){for(var t=this._;!(t in e);)if(!(e=e.parentNode))return;return e[t]},set:function(e,t){return e[this._]=t},remove:function(e){return this._ in e&&delete e[this._]},toString:function(){return this._}};var Nv=function(e){return function(){return this.matches(e)}};if("undefined"!=typeof document){var Ov=document.documentElement;if(!Ov.matches){var Ev=Ov.webkitMatchesSelector||Ov.msMatchesSelector||Ov.mozMatchesSelector||Ov.oMatchesSelector;Nv=function(e){return function(){return Ev.call(this,e)}}}}var zv=Nv,Rv={};if(e.event=null,"undefined"!=typeof document){var jv=document.documentElement;"onmouseenter"in jv||(Rv={mouseenter:"mouseover",mouseleave:"mouseout"})}var Lv=function(e,t,n){var r,o,a=Fr(e+""),i=a.length;{if(!(arguments.length<2)){for(s=t?Wr:Ur,null==n&&(n=!1),r=0;r<i;++r)this.each(s(a[r],t,n));return this}var s=this.node().__on;if(s)for(var l,u=0,c=s.length;u<c;++u)for(r=0,l=s[u];r<i;++r)if((o=a[r]).type===l.type&&o.name===l.name)return l.value}},Dv=function(){for(var t,n=e.event;t=n.sourceEvent;)n=t;return n},Iv=function(e,t){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=t.clientX,r.y=t.clientY,r=r.matrixTransform(e.getScreenCTM().inverse()),[r.x,r.y]}var o=e.getBoundingClientRect();return[t.clientX-o.left-e.clientLeft,t.clientY-o.top-e.clientTop]},Bv=function(e){var t=Dv();return t.changedTouches&&(t=t.changedTouches[0]),Iv(e,t)},Vv=function(e){return null==e?Xr:function(){return this.querySelector(e)}},qv=function(e){"function"!=typeof e&&(e=Vv(e));for(var t=this._groups,n=t.length,r=new Array(n),o=0;o<n;++o)for(var a,i,s=t[o],l=s.length,u=r[o]=new Array(l),c=0;c<l;++c)(a=s[c])&&(i=e.call(a,a.__data__,c,s))&&("__data__"in a&&(i.__data__=a.__data__),u[c]=i);return new Eo(r,this._parents)},Fv=function(e){return null==e?Kr:function(){return this.querySelectorAll(e)}},Uv=function(e){"function"!=typeof e&&(e=Fv(e));for(var t=this._groups,n=t.length,r=[],o=[],a=0;a<n;++a)for(var i,s=t[a],l=s.length,u=0;u<l;++u)(i=s[u])&&(r.push(e.call(i,i.__data__,u,s)),o.push(i));return new Eo(r,o)},Wv=function(e){"function"!=typeof e&&(e=zv(e));for(var t=this._groups,n=t.length,r=new Array(n),o=0;o<n;++o)for(var a,i=t[o],s=i.length,l=r[o]=[],u=0;u<s;++u)(a=i[u])&&e.call(a,a.__data__,u,i)&&l.push(a);return new Eo(r,this._parents)},Hv=function(e){return new Array(e.length)},Xv=function(){return new Eo(this._enter||this._groups.map(Hv),this._parents)};Gr.prototype={constructor:Gr,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var Kv=function(e){return function(){return e}},Gv="$",Yv=function(e,t){if(!e)return p=new Array(this.size()),u=-1,this.each(function(e){p[++u]=e}),p;var n=t?$r:Yr,r=this._parents,o=this._groups;"function"!=typeof e&&(e=Kv(e));for(var a=o.length,i=new Array(a),s=new Array(a),l=new Array(a),u=0;u<a;++u){var c=r[u],d=o[u],f=d.length,p=e.call(c,c&&c.__data__,u,r),h=p.length,m=s[u]=new Array(h),v=i[u]=new Array(h),b=l[u]=new Array(f);n(c,d,m,v,b,p,t);for(var g,y,_=0,M=0;_<h;++_)if(g=m[_]){for(_>=M&&(M=_+1);!(y=v[M])&&++M<h;);g._next=y||null}}return i=new Eo(i,r),i._enter=s,i._exit=l,i},$v=function(){return new Eo(this._exit||this._groups.map(Hv),this._parents)},Qv=function(e){for(var t=this._groups,n=e._groups,r=t.length,o=n.length,a=Math.min(r,o),i=new Array(r),s=0;s<a;++s)for(var l,u=t[s],c=n[s],d=u.length,f=i[s]=new Array(d),p=0;p<d;++p)(l=u[p]||c[p])&&(f[p]=l);for(;s<r;++s)i[s]=t[s];return new Eo(i,this._parents)},Jv=function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,o=e[t],a=o.length-1,i=o[a];--a>=0;)(r=o[a])&&(i&&i!==r.nextSibling&&i.parentNode.insertBefore(r,i),i=r);return this},Zv=function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=Qr);for(var n=this._groups,r=n.length,o=new Array(r),a=0;a<r;++a){for(var i,s=n[a],l=s.length,u=o[a]=new Array(l),c=0;c<l;++c)(i=s[c])&&(u[c]=i);u.sort(t)}return new Eo(o,this._parents).order()},eb=function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},tb=function(){var e=new Array(this.size()),t=-1;return this.each(function(){e[++t]=this}),e},nb=function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],o=0,a=r.length;o<a;++o){var i=r[o];if(i)return i}return null},rb=function(){var e=0;return this.each(function(){++e}),e},ob=function(){return!this.node()},ab=function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var o,a=t[n],i=0,s=a.length;i<s;++i)(o=a[i])&&e.call(o,o.__data__,i,a);return this},ib=function(e,t){var n=Tv(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?Zr:Jr:"function"==typeof t?n.local?ro:no:n.local?to:eo)(n,t))},sb=function(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView},lb=function(e,t,n){var r;return arguments.length>1?this.each((null==t?oo:"function"==typeof t?io:ao)(e,t,null==n?"":n)):sb(r=this.node()).getComputedStyle(r,null).getPropertyValue(e)},ub=function(e,t){return arguments.length>1?this.each((null==t?so:"function"==typeof t?uo:lo)(e,t)):this.node()[e]};po.prototype={add:function(e){var t=this._names.indexOf(e);t<0&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var cb=function(e,t){var n=co(e+"");if(arguments.length<2){for(var r=fo(this.node()),o=-1,a=n.length;++o<a;)if(!r.contains(n[o]))return!1;return!0}return this.each(("function"==typeof t?go:t?vo:bo)(n,t))},db=function(e){return arguments.length?this.each(null==e?yo:("function"==typeof e?Mo:_o)(e)):this.node().textContent},fb=function(e){return arguments.length?this.each(null==e?wo:("function"==typeof e?Co:So)(e)):this.node().innerHTML},pb=function(){return this.each(xo)},hb=function(){return this.each(ko)},mb=function(e){var t="function"==typeof e?e:Av(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})},vb=function(e,t){var n="function"==typeof e?e:Av(e),r=null==t?To:"function"==typeof t?t:Vv(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},bb=function(){return this.each(Ao)},gb=function(e){return arguments.length?this.property("__data__",e):this.node().__data__},yb=function(e,t){return this.each(("function"==typeof t?Oo:No)(e,t))},_b=[null];Eo.prototype=zo.prototype={constructor:Eo,select:qv,selectAll:Uv,filter:Wv,data:Yv,enter:Xv,exit:$v,merge:Qv,order:Jv,sort:Zv,call:eb,nodes:tb,node:nb,size:rb,empty:ob,each:ab,attr:ib,style:lb,property:ub,classed:cb,text:db,html:fb,raise:pb,lower:hb,append:mb,insert:vb,remove:bb,datum:gb,on:Lv,dispatch:yb};var Mb=function(e){return"string"==typeof e?new Eo([[document.querySelector(e)]],[document.documentElement]):new Eo([[e]],_b)},wb=function(e){return"string"==typeof e?new Eo([document.querySelectorAll(e)],[document.documentElement]):new Eo([null==e?[]:e],_b)},Sb=function(e,t,n){arguments.length<3&&(n=t,t=Dv().changedTouches);for(var r,o=0,a=t?t.length:0;o<a;++o)if((r=t[o]).identifier===n)return Iv(e,r);return null},Cb=function(e,t){null==t&&(t=Dv().touches);for(var n=0,r=t?t.length:0,o=new Array(r);n<r;++n)o[n]=Iv(e,t[n]);return o},xb=Ot("start","end","interrupt"),kb=[],Tb=0,Ab=1,Pb=2,Nb=3,Ob=4,Eb=5,zb=6,Rb=function(e,t,n,r,o,a){var i=e.__transition;if(i){if(n in i)return}else e.__transition={};Do(e,n,{name:t,index:r,group:o,on:xb,tween:kb,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:Tb})},jb=function(e,t){var n,r,o,a=e.__transition,i=!0;if(a){t=null==t?null:t+"";for(o in a)(n=a[o]).name===t?(r=n.state>Pb&&n.state<Eb,n.state=zb,n.timer.stop(),r&&n.on.call("interrupt",e,e.__data__,n.index,n.group),delete a[o]):i=!1;i&&delete e.__transition}},Lb=function(e){return this.each(function(){jb(this,e)})},Db=function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,o=Lo(this.node(),n).tween,a=0,i=o.length;a<i;++a)if((r=o[a]).name===e)return r.value;return null}return this.each((null==t?Io:Bo)(n,e,t))},Ib=function(e,t){var n;return("number"==typeof t?hp:t instanceof Fe?up:(n=Fe(t))?(t=n,up):gp)(e,t)},Bb=function(e,t){var n=Tv(e),r="transform"===n?xp:Ib;return this.attrTween(e,"function"==typeof t?(n.local?Xo:Ho)(n,r,Vo(this,"attr."+e,t)):null==t?(n.local?Fo:qo)(n):(n.local?Wo:Uo)(n,r,t))},Vb=function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw new Error;var r=Tv(e);return this.tween(n,(r.local?Ko:Go)(r,t))},qb=function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?Yo:$o)(t,e)):Lo(this.node(),t).delay},Fb=function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?Qo:Jo)(t,e)):Lo(this.node(),t).duration},Ub=function(e){var t=this._id;return arguments.length?this.each(Zo(t,e)):Lo(this.node(),t).ease},Wb=function(e){"function"!=typeof e&&(e=zv(e));for(var t=this._groups,n=t.length,r=new Array(n),o=0;o<n;++o)for(var a,i=t[o],s=i.length,l=r[o]=[],u=0;u<s;++u)(a=i[u])&&e.call(a,a.__data__,u,i)&&l.push(a);return new ca(r,this._parents,this._name,this._id)},Hb=function(e){if(e._id!==this._id)throw new Error;for(var t=this._groups,n=e._groups,r=t.length,o=n.length,a=Math.min(r,o),i=new Array(r),s=0;s<a;++s)for(var l,u=t[s],c=n[s],d=u.length,f=i[s]=new Array(d),p=0;p<d;++p)(l=u[p]||c[p])&&(f[p]=l);for(;s<r;++s)i[s]=t[s];return new ca(i,this._parents,this._name,this._id)},Xb=function(e,t){var n=this._id;return arguments.length<2?Lo(this.node(),n).on.on(e):this.each(ta(n,e,t))},Kb=function(){return this.on("end.remove",na(this._id))},Gb=function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=Vv(e));for(var r=this._groups,o=r.length,a=new Array(o),i=0;i<o;++i)for(var s,l,u=r[i],c=u.length,d=a[i]=new Array(c),f=0;f<c;++f)(s=u[f])&&(l=e.call(s,s.__data__,f,u))&&("__data__"in s&&(l.__data__=s.__data__),d[f]=l,Rb(d[f],t,n,f,d,Lo(s,n)));return new ca(a,this._parents,t,n)},Yb=function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=Fv(e));for(var r=this._groups,o=r.length,a=[],i=[],s=0;s<o;++s)for(var l,u=r[s],c=u.length,d=0;d<c;++d)if(l=u[d]){for(var f,p=e.call(l,l.__data__,d,u),h=Lo(l,n),m=0,v=p.length;m<v;++m)(f=p[m])&&Rb(f,t,n,m,p,h);a.push(p),i.push(l)}return new ca(a,i,t,n)},$b=zo.prototype.constructor,Qb=function(){return new $b(this._groups,this._parents)},Jb=function(e,t,n){var r="transform"==(e+="")?Cp:Ib;return null==t?this.styleTween(e,ra(e,r)).on("end.style."+e,oa(e)):this.styleTween(e,"function"==typeof t?ia(e,r,Vo(this,"style."+e,t)):aa(e,r,t),n)},Zb=function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw new Error;return this.tween(r,sa(e,t,null==n?"":n))},eg=function(e){return this.tween("text","function"==typeof e?ua(Vo(this,"text",e)):la(null==e?"":e+""))},tg=function(){for(var e=this._name,t=this._id,n=fa(),r=this._groups,o=r.length,a=0;a<o;++a)for(var i,s=r[a],l=s.length,u=0;u<l;++u)if(i=s[u]){var c=Lo(i,t);Rb(i,e,n,u,s,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new ca(r,this._parents,e,n)},ng=0,rg=zo.prototype;ca.prototype=da.prototype={constructor:ca,select:Gb,selectAll:Yb,filter:Wb,merge:Hb,selection:Qb,transition:tg,call:rg.call,nodes:rg.nodes,node:rg.node,size:rg.size,empty:rg.empty,each:rg.each,on:Xb,attr:Bb,attrTween:Vb,style:Jb,styleTween:Zb,text:eg,remove:Kb,tween:Db,delay:qb,duration:Fb,ease:Ub};var og={time:null,delay:0,duration:250,ease:g},ag=function(e){var t,n;e instanceof ca?(t=e._id,e=e._name):(t=fa(),(n=og).time=Ft(),e=null==e?null:e+"");for(var r=this._groups,o=r.length,a=0;a<o;++a)for(var i,s=r[a],l=s.length,u=0;u<l;++u)(i=s[u])&&Rb(i,e,t,u,s,n||pa(i,t));return new ca(r,this._parents,e,t)};zo.prototype.interrupt=Lb,zo.prototype.transition=ag;var ig=[null],sg=function(e,t){var n,r,o=e.__transition;if(o){t=null==t?null:t+"";for(r in o)if((n=o[r]).state>Ab&&n.name===t)return new ca([[e]],ig,t,(+r))}return null},lg=Array.prototype.slice,ug=function(e){return e},cg=1,dg=2,fg=3,pg=4,hg=1e-6,mg=function(){function e(e){var a,i=0;e.eachAfter(function(e){var n=e.children;n?(e.x=Ca(n),e.y=ka(n)):(e.x=a?i+=t(e,a):0,e.y=0,a=e)});var s=Aa(e),l=Pa(e),u=s.x-t(s,l)/2,c=l.x+t(l,s)/2;return e.eachAfter(o?function(t){t.x=(t.x-e.x)*n,t.y=(e.y-t.y)*r}:function(t){t.x=(t.x-u)/(c-u)*n,t.y=(1-(e.y?t.y/e.y:1))*r})}var t=Sa,n=1,r=1,o=!1;return e.separation=function(n){return arguments.length?(t=n,e):t},e.size=function(t){return arguments.length?(o=!1,n=+t[0],r=+t[1],e):o?null:[n,r]},e.nodeSize=function(t){return arguments.length?(o=!0,n=+t[0],r=+t[1],e):o?[n,r]:null},e},vg=function(e){var t,n,r,o,a=this,i=[a];do for(t=i.reverse(),i=[];a=t.pop();)if(e(a),n=a.children)for(r=0,o=n.length;r<o;++r)i.push(n[r]);while(i.length);return this},bg=function(e){for(var t,n,r=this,o=[r];r=o.pop();)if(e(r),t=r.children)for(n=t.length-1;n>=0;--n)o.push(t[n]);return this},gg=function(e){for(var t,n,r,o=this,a=[o],i=[];o=a.pop();)if(i.push(o),t=o.children)for(n=0,r=t.length;n<r;++n)a.push(t[n]);for(;o=i.pop();)e(o);return this},yg=function(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,o=r&&r.length;--o>=0;)n+=r[o].value;t.value=n})},_g=function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})},Mg=function(e){for(var t=this,n=Na(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var o=r.length;e!==n;)r.splice(o,0,e),e=e.parent;return r},wg=function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},Sg=function(){var e=[];return this.each(function(t){e.push(t)}),e},Cg=function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e},xg=function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t};La.prototype=Oa.prototype={constructor:La,each:vg,eachAfter:gg,eachBefore:bg,sum:yg,sort:_g,path:Mg,ancestors:wg,descendants:Sg,leaves:Cg,links:xg,copy:Ea};var kg=function(e){for(var t,n=(e=e.slice()).length,r=null,o=r;n;){var a=new Da(e[n-1]);o=o?o.next=a:r=a,e[t]=e[--n]}return{head:r,tail:o}},Tg=function(e){return Ba(kg(e),[])},Ag=function(e){return Ka(e),e},Pg=function(e){return function(){return e}},Ng=function(){function e(e){return e.x=n/2,e.y=r/2,t?e.eachBefore(Ja(t)).eachAfter(Za(o,.5)).eachBefore(ei(1)):e.eachBefore(Ja(Qa)).eachAfter(Za($a,1)).eachAfter(Za(o,e.r/Math.min(n,r))).eachBefore(ei(Math.min(n,r)/(2*e.r))),e}var t=null,n=1,r=1,o=$a;return e.radius=function(n){return arguments.length?(t=Ga(n),e):t},e.size=function(t){return arguments.length?(n=+t[0],r=+t[1],e):[n,r]},e.padding=function(t){return arguments.length?(o="function"==typeof t?t:Pg(+t),e):o},e},Og=function(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)},Eg=function(e,t,n,r,o){for(var a,i=e.children,s=-1,l=i.length,u=e.value&&(r-t)/e.value;++s<l;)a=i[s],a.y0=n,a.y1=o,a.x0=t,a.x1=t+=a.value*u},zg=function(){function e(e){var i=e.height+1;return e.x0=e.y0=o,e.x1=n,e.y1=r/i,e.eachBefore(t(r,i)),a&&e.eachBefore(Og),e}function t(e,t){return function(n){n.children&&Eg(n,n.x0,e*(n.depth+1)/t,n.x1,e*(n.depth+2)/t);var r=n.x0,a=n.y0,i=n.x1-o,s=n.y1-o;i<r&&(r=i=(r+i)/2),s<a&&(a=s=(a+s)/2),n.x0=r,n.y0=a,n.x1=i,n.y1=s}}var n=1,r=1,o=0,a=!1;return e.round=function(t){return arguments.length?(a=!!t,e):a},e.size=function(t){return arguments.length?(n=+t[0],r=+t[1],e):[n,r]},e.padding=function(t){return arguments.length?(o=+t,e):o},e},Rg="$",jg={depth:-1},Lg={},Dg=function(){function e(e){var r,o,a,i,s,l,u,c=e.length,d=new Array(c),f={};for(o=0;o<c;++o)r=e[o],s=d[o]=new La(r),null!=(l=t(r,o,e))&&(l+="")&&(u=Rg+(s.id=l),f[u]=u in f?Lg:s);for(o=0;o<c;++o)if(s=d[o],l=n(e[o],o,e),null!=l&&(l+="")){if(i=f[Rg+l],!i)throw new Error("missing: "+l);if(i===Lg)throw new Error("ambiguous: "+l);i.children?i.children.push(s):i.children=[s],s.parent=i}else{if(a)throw new Error("multiple roots");a=s}if(!a)throw new Error("no root");if(a.parent=jg,a.eachBefore(function(e){e.depth=e.parent.depth+1,--c}).eachBefore(ja),a.parent=null,c>0)throw new Error("cycle");return a}var t=ti,n=ni;return e.id=function(n){return arguments.length?(t=Ya(n),e):t},e.parentId=function(t){return arguments.length?(n=Ya(t),e):n},e};ui.prototype=Object.create(La.prototype);var Ig=function(){function e(e){var r=ci(e);if(r.eachAfter(t),r.parent.m=-r.z,r.eachBefore(n),l)e.eachBefore(o);else{var u=e,c=e,d=e;e.eachBefore(function(e){e.x<u.x&&(u=e),e.x>c.x&&(c=e),e.depth>d.depth&&(d=e)});var f=u===c?1:a(u,c)/2,p=f-u.x,h=i/(c.x+f+p),m=s/(d.depth||1);e.eachBefore(function(e){e.x=(e.x+p)*h,e.y=e.depth*m})}return e}function t(e){var t=e.children,n=e.parent.children,o=e.i?n[e.i-1]:null;if(t){si(e);var i=(t[0].z+t[t.length-1].z)/2;o?(e.z=o.z+a(e._,o._),e.m=e.z-i):e.z=i}else o&&(e.z=o.z+a(e._,o._));e.parent.A=r(e,o,e.parent.A||n[0])}function n(e){e._.x=e.z+e.parent.m,e.m+=e.parent.m}function r(e,t,n){if(t){for(var r,o=e,i=e,s=t,l=o.parent.children[0],u=o.m,c=i.m,d=s.m,f=l.m;s=ai(s),o=oi(o),s&&o;)l=oi(l),i=ai(i),i.a=e,r=s.z+d-o.z-u+a(s._,o._),r>0&&(ii(li(s,e,n),e,r),u+=r,c+=r),d+=s.m,u+=o.m,f+=l.m,c+=i.m;s&&!ai(i)&&(i.t=s,i.m+=d-c),o&&!oi(l)&&(l.t=o,l.m+=u-f,n=e)}return n}function o(e){e.x*=i,e.y=e.depth*s}var a=ri,i=1,s=1,l=null;return e.separation=function(t){return arguments.length?(a=t,e):a},e.size=function(t){return arguments.length?(l=!1,i=+t[0],s=+t[1],e):l?null:[i,s]},e.nodeSize=function(t){return arguments.length?(l=!0,i=+t[0],s=+t[1],e):l?[i,s]:null},e},Bg=function(e,t,n,r,o){for(var a,i=e.children,s=-1,l=i.length,u=e.value&&(o-n)/e.value;++s<l;)a=i[s],a.x0=t,a.x1=r,a.y0=n,a.y1=n+=a.value*u},Vg=(1+Math.sqrt(5))/2,qg=function e(t){function n(e,n,r,o,a){di(t,e,n,r,o,a)}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}(Vg),Fg=function(){function e(e){return e.x0=e.y0=0,e.x1=o,e.y1=a,e.eachBefore(t),i=[0],r&&e.eachBefore(Og),e}function t(e){var t=i[e.depth],r=e.x0+t,o=e.y0+t,a=e.x1-t,f=e.y1-t;a<r&&(r=a=(r+a)/2),f<o&&(o=f=(o+f)/2),e.x0=r,e.y0=o,e.x1=a,e.y1=f,e.children&&(t=i[e.depth+1]=s(e)/2,r+=d(e)-t,o+=l(e)-t,a-=u(e)-t,f-=c(e)-t,a<r&&(r=a=(r+a)/2),f<o&&(o=f=(o+f)/2),n(e,r,o,a,f))}var n=qg,r=!1,o=1,a=1,i=[0],s=$a,l=$a,u=$a,c=$a,d=$a;return e.round=function(t){return arguments.length?(r=!!t,e):r},e.size=function(t){return arguments.length?(o=+t[0],a=+t[1],e):[o,a]},e.tile=function(t){return arguments.length?(n=Ya(t),e):n},e.padding=function(t){return arguments.length?e.paddingInner(t).paddingOuter(t):e.paddingInner()},e.paddingInner=function(t){return arguments.length?(s="function"==typeof t?t:Pg(+t),e):s},e.paddingOuter=function(t){return arguments.length?e.paddingTop(t).paddingRight(t).paddingBottom(t).paddingLeft(t):e.paddingTop()},e.paddingTop=function(t){return arguments.length?(l="function"==typeof t?t:Pg(+t),e):l},e.paddingRight=function(t){return arguments.length?(u="function"==typeof t?t:Pg(+t),e):u},e.paddingBottom=function(t){return arguments.length?(c="function"==typeof t?t:Pg(+t),e):c},e.paddingLeft=function(t){return arguments.length?(d="function"==typeof t?t:Pg(+t),e):d},e},Ug=function(e,t,n,r,o){function a(e,t,n,r,o,i,s){if(e>=t-1){var u=l[e];return u.x0=r,u.y0=o,u.x1=i,u.y1=s,void 0}for(var d=c[e],f=n/2+d,p=e+1,h=t-1;p<h;){var m=p+h>>>1;c[m]<f?p=m+1:h=m}var v=c[p]-d,b=n-v;if(s-o>i-r){var g=(o*b+s*v)/n;a(e,p,v,r,o,i,g),a(p,t,b,r,g,i,s)}else{var y=(r*b+i*v)/n;a(e,p,v,r,o,y,s),a(p,t,b,y,o,i,s)}}var i,s,l=e.children,u=l.length,c=new Array(u+1);for(c[0]=s=i=0;i<u;++i)c[i+1]=s+=l[i].value;a(0,u,e.value,t,n,r,o)},Wg=function(e,t,n,r,o){(1&e.depth?Bg:Eg)(e,t,n,r,o)},Hg=function e(t){function n(e,n,r,o,a){if((i=e._squarify)&&i.ratio===t)for(var i,s,l,u,c,d=-1,f=i.length,p=e.value;++d<f;){for(s=i[d],l=s.children,u=s.value=0,c=l.length;u<c;++u)s.value+=l[u].value;s.dice?Eg(s,n,r,o,r+=(a-r)*s.value/p):Bg(s,n,r,n+=(o-n)*s.value/p,a),p-=s.value}else e._squarify=i=di(t,e,n,r,o,a),i.ratio=t}return n.ratio=function(t){return e((t=+t)>1?t:1)},n}(Vg),Xg=function(e,t){function n(){var n,o,a=r.length,i=0,s=0;for(n=0;n<a;++n)o=r[n],i+=o.x,s+=o.y;for(i=i/a-e,s=s/a-t,n=0;n<a;++n)o=r[n],o.x-=i,o.y-=s}var r;return null==e&&(e=0),null==t&&(t=0),n.initialize=function(e){r=e},n.x=function(t){return arguments.length?(e=+t,n):e},n.y=function(e){return arguments.length?(t=+e,n):t},n},Kg=function(e){return function(){return e}},Gg=function(){return 1e-6*(Math.random()-.5)},Yg=function(e){function t(){function e(e,t,n,r,o){var a=e.data,s=e.r,p=d+s;{if(!a)return t>u+p||r<u-p||n>c+p||o<c-p;if(a.index>l.index){var h=u-a.x-a.vx,m=c-a.y-a.vy,v=h*h+m*m;v<p*p&&(0===h&&(h=Gg(),v+=h*h),0===m&&(m=Gg(),v+=m*m),v=(p-(v=Math.sqrt(v)))/v*i,l.vx+=(h*=v)*(p=(s*=s)/(f+s)),l.vy+=(m*=v)*p,a.vx-=h*(p=1-p),a.vy-=m*p)}}}for(var t,r,l,u,c,d,f,p=o.length,h=0;h<s;++h)for(r=V(o,fi,pi).visitAfter(n),t=0;t<p;++t)l=o[t],d=a[l.index],f=d*d,u=l.x+l.vx,c=l.y+l.vy,r.visit(e)}function n(e){if(e.data)return e.r=a[e.data.index];for(var t=e.r=0;t<4;++t)e[t]&&e[t].r>e.r&&(e.r=e[t].r)}function r(){if(o){var t,n,r=o.length;for(a=new Array(r),t=0;t<r;++t)n=o[t],a[n.index]=+e(n,t,o)}}var o,a,i=1,s=1;return"function"!=typeof e&&(e=Kg(null==e?1:+e)),t.initialize=function(e){o=e,r()},t.iterations=function(e){return arguments.length?(s=+e,t):s},t.strength=function(e){return arguments.length?(i=+e,t):i},t.radius=function(n){return arguments.length?(e="function"==typeof n?n:Kg(+n),r(),t):e},t},$g=function(e){function t(e){return 1/Math.min(c[e.source.index],c[e.target.index])}function n(t){for(var n=0,r=e.length;n<m;++n)for(var o,a,i,u,c,f,p,h=0;h<r;++h)o=e[h],a=o.source,i=o.target,u=i.x+i.vx-a.x-a.vx||Gg(),c=i.y+i.vy-a.y-a.vy||Gg(),f=Math.sqrt(u*u+c*c),f=(f-l[h])/f*t*s[h],u*=f,c*=f,i.vx-=u*(p=d[h]),i.vy-=c*p,a.vx+=u*(p=1-p),a.vy+=c*p}function r(){if(u){var t,n,r=u.length,p=e.length,h=a(u,f);for(t=0,c=new Array(r);t<p;++t)n=e[t],n.index=t,"object"!=typeof n.source&&(n.source=mi(h,n.source)),"object"!=typeof n.target&&(n.target=mi(h,n.target)),c[n.source.index]=(c[n.source.index]||0)+1,c[n.target.index]=(c[n.target.index]||0)+1;for(t=0,d=new Array(p);t<p;++t)n=e[t],d[t]=c[n.source.index]/(c[n.source.index]+c[n.target.index]);s=new Array(p),o(),l=new Array(p),i()}}function o(){if(u)for(var t=0,n=e.length;t<n;++t)s[t]=+p(e[t],t,e)}function i(){if(u)for(var t=0,n=e.length;t<n;++t)l[t]=+h(e[t],t,e)}var s,l,u,c,d,f=hi,p=t,h=Kg(30),m=1;
|
11 | return null==e&&(e=[]),n.initialize=function(e){u=e,r()},n.links=function(t){return arguments.length?(e=t,r(),n):e},n.id=function(e){return arguments.length?(f=e,n):f},n.iterations=function(e){return arguments.length?(m=+e,n):m},n.strength=function(e){return arguments.length?(p="function"==typeof e?e:Kg(+e),o(),n):p},n.distance=function(e){return arguments.length?(h="function"==typeof e?e:Kg(+e),i(),n):h},n},Qg=10,Jg=Math.PI*(3-Math.sqrt(5)),Zg=function(e){function t(){n(),h.call("tick",i),s<l&&(p.stop(),h.call("end",i))}function n(){var t,n,r=e.length;for(s+=(c-s)*u,f.each(function(e){e(s)}),t=0;t<r;++t)n=e[t],null==n.fx?n.x+=n.vx*=d:(n.x=n.fx,n.vx=0),null==n.fy?n.y+=n.vy*=d:(n.y=n.fy,n.vy=0)}function r(){for(var t,n=0,r=e.length;n<r;++n){if(t=e[n],t.index=n,isNaN(t.x)||isNaN(t.y)){var o=Qg*Math.sqrt(n),a=n*Jg;t.x=o*Math.cos(a),t.y=o*Math.sin(a)}(isNaN(t.vx)||isNaN(t.vy))&&(t.vx=t.vy=0)}}function o(t){return t.initialize&&t.initialize(e),t}var i,s=1,l=.001,u=1-Math.pow(l,1/300),c=0,d=.6,f=a(),p=Ht(t),h=Ot("tick","end");return null==e&&(e=[]),r(),i={tick:n,restart:function(){return p.restart(t),i},stop:function(){return p.stop(),i},nodes:function(t){return arguments.length?(e=t,r(),f.each(o),i):e},alpha:function(e){return arguments.length?(s=+e,i):s},alphaMin:function(e){return arguments.length?(l=+e,i):l},alphaDecay:function(e){return arguments.length?(u=+e,i):+u},alphaTarget:function(e){return arguments.length?(c=+e,i):c},velocityDecay:function(e){return arguments.length?(d=1-e,i):1-d},force:function(e,t){return arguments.length>1?(null==t?f.remove(e):f.set(e,o(t)),i):f.get(e)},find:function(t,n,r){var o,a,i,s,l,u=0,c=e.length;for(null==r?r=1/0:r*=r,u=0;u<c;++u)s=e[u],o=t-s.x,a=n-s.y,i=o*o+a*a,i<r&&(l=s,r=i);return l},on:function(e,t){return arguments.length>1?(h.on(e,t),i):h.on(e)}}},ey=function(){function e(e){var t,s=o.length,l=V(o,vi,bi).visitAfter(n);for(i=e,t=0;t<s;++t)a=o[t],l.visit(r)}function t(){if(o){var e,t,n=o.length;for(s=new Array(n),e=0;e<n;++e)t=o[e],s[t.index]=+l(t,e,o)}}function n(e){var t,n,r,o,a,i=0;if(e.length){for(r=o=a=0;a<4;++a)(t=e[a])&&(n=t.value)&&(i+=n,r+=n*t.x,o+=n*t.y);e.x=r/i,e.y=o/i}else{t=e,t.x=t.data.x,t.y=t.data.y;do i+=s[t.data.index];while(t=t.next)}e.value=i}function r(e,t,n,r){if(!e.value)return!0;var o=e.x-a.x,l=e.y-a.y,f=r-t,p=o*o+l*l;if(f*f/d<p)return p<c&&(0===o&&(o=Gg(),p+=o*o),0===l&&(l=Gg(),p+=l*l),p<u&&(p=Math.sqrt(u*p)),a.vx+=o*e.value*i/p,a.vy+=l*e.value*i/p),!0;if(!(e.length||p>=c)){(e.data!==a||e.next)&&(0===o&&(o=Gg(),p+=o*o),0===l&&(l=Gg(),p+=l*l),p<u&&(p=Math.sqrt(u*p)));do e.data!==a&&(f=s[e.data.index]*i/p,a.vx+=o*f,a.vy+=l*f);while(e=e.next)}}var o,a,i,s,l=Kg(-30),u=1,c=1/0,d=.81;return e.initialize=function(e){o=e,t()},e.strength=function(n){return arguments.length?(l="function"==typeof n?n:Kg(+n),t(),e):l},e.distanceMin=function(t){return arguments.length?(u=t*t,e):Math.sqrt(u)},e.distanceMax=function(t){return arguments.length?(c=t*t,e):Math.sqrt(c)},e.theta=function(t){return arguments.length?(d=t*t,e):Math.sqrt(d)},e},ty=function(e){function t(e){for(var t,n=0,i=r.length;n<i;++n)t=r[n],t.vx+=(a[n]-t.x)*o[n]*e}function n(){if(r){var t,n=r.length;for(o=new Array(n),a=new Array(n),t=0;t<n;++t)o[t]=isNaN(a[t]=+e(r[t],t,r))?0:+i(r[t],t,r)}}var r,o,a,i=Kg(.1);return"function"!=typeof e&&(e=Kg(null==e?0:+e)),t.initialize=function(e){r=e,n()},t.strength=function(e){return arguments.length?(i="function"==typeof e?e:Kg(+e),n(),t):i},t.x=function(r){return arguments.length?(e="function"==typeof r?r:Kg(+r),n(),t):e},t},ny=function(e){function t(e){for(var t,n=0,i=r.length;n<i;++n)t=r[n],t.vy+=(a[n]-t.y)*o[n]*e}function n(){if(r){var t,n=r.length;for(o=new Array(n),a=new Array(n),t=0;t<n;++t)o[t]=isNaN(a[t]=+e(r[t],t,r))?0:+i(r[t],t,r)}}var r,o,a,i=Kg(.1);return"function"!=typeof e&&(e=Kg(null==e?0:+e)),t.initialize=function(e){r=e,n()},t.strength=function(e){return arguments.length?(i="function"==typeof e?e:Kg(+e),n(),t):i},t.y=function(r){return arguments.length?(e="function"==typeof r?r:Kg(+r),n(),t):e},t},ry=function(){e.event.preventDefault(),e.event.stopImmediatePropagation()},oy=function(e){var t=e.document.documentElement,n=Mb(e).on("dragstart.drag",ry,!0);"onselectstart"in t?n.on("selectstart.drag",ry,!0):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")},ay=function(e){return function(){return e}};_i.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};var iy=function(){function t(e){e.on("mousedown.drag",n).on("touchstart.drag",a).on("touchmove.drag",i).on("touchend.drag touchcancel.drag",s).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function n(){if(!c&&d.apply(this,arguments)){var t=l("mouse",f.apply(this,arguments),Bv,this,arguments);t&&(Mb(e.event.view).on("mousemove.drag",r,!0).on("mouseup.drag",o,!0),oy(e.event.view),gi(),u=!1,t("start"))}}function r(){ry(),u=!0,h.mouse("drag")}function o(){Mb(e.event.view).on("mousemove.drag mouseup.drag",null),yi(e.event.view,u),ry(),h.mouse("end")}function a(){if(d.apply(this,arguments)){var t,n,r=e.event.changedTouches,o=f.apply(this,arguments),a=r.length;for(t=0;t<a;++t)(n=l(r[t].identifier,o,Sb,this,arguments))&&(gi(),n("start"))}}function i(){var t,n,r=e.event.changedTouches,o=r.length;for(t=0;t<o;++t)(n=h[r[t].identifier])&&(ry(),n("drag"))}function s(){var t,n,r=e.event.changedTouches,o=r.length;for(c&&clearTimeout(c),c=setTimeout(function(){c=null},500),t=0;t<o;++t)(n=h[r[t].identifier])&&(gi(),n("end"))}function l(n,r,o,a,i){var s,l,u,c=o(r,n),d=m.copy();if(Hr(new _i(t,"beforestart",s,n,v,c[0],c[1],0,0,d),function(){return null!=(e.event.subject=s=p.apply(a,i))&&(l=s.x-c[0]||0,u=s.y-c[1]||0,!0)}))return function e(f){var p,m=c;switch(f){case"start":h[n]=e,p=v++;break;case"end":delete h[n],--v;case"drag":c=o(r,n),p=v}Hr(new _i(t,f,s,n,p,c[0]+l,c[1]+u,c[0]-m[0],c[1]-m[1],d),d.apply,d,[f,a,i])}}var u,c,d=Mi,f=wi,p=Si,h={},m=Ot("start","drag","end"),v=0;return t.filter=function(e){return arguments.length?(d="function"==typeof e?e:ay(!!e),t):d},t.container=function(e){return arguments.length?(f="function"==typeof e?e:ay(e),t):f},t.subject=function(e){return arguments.length?(p="function"==typeof e?e:ay(e),t):p},t.on=function(){var e=m.on.apply(m,arguments);return e===m?t:e},t},sy=function(e){return function(){return e}};ki.prototype={constructor:ki,insert:function(e,t){var n,r,o;if(e){if(t.P=e,t.N=e.N,e.N&&(e.N.P=t),e.N=t,e.R){for(e=e.R;e.L;)e=e.L;e.L=t}else e.R=t;n=e}else this._?(e=Ni(this._),t.P=null,t.N=e,e.P=e.L=t,n=e):(t.P=t.N=null,this._=t,n=null);for(t.L=t.R=null,t.U=n,t.C=!0,e=t;n&&n.C;)r=n.U,n===r.L?(o=r.R,o&&o.C?(n.C=o.C=!1,r.C=!0,e=r):(e===n.R&&(Ai(this,n),e=n,n=e.U),n.C=!1,r.C=!0,Pi(this,r))):(o=r.L,o&&o.C?(n.C=o.C=!1,r.C=!0,e=r):(e===n.L&&(Pi(this,n),e=n,n=e.U),n.C=!1,r.C=!0,Ai(this,r))),n=e.U;this._.C=!1},remove:function(e){e.N&&(e.N.P=e.P),e.P&&(e.P.N=e.N),e.N=e.P=null;var t,n,r,o=e.U,a=e.L,i=e.R;if(n=a?i?Ni(i):a:i,o?o.L===e?o.L=n:o.R=n:this._=n,a&&i?(r=n.C,n.C=e.C,n.L=a,a.U=n,n!==i?(o=n.U,n.U=e.U,e=n.R,o.L=e,n.R=i,i.U=n):(n.U=o,o=n,e=n.R)):(r=e.C,e=n),e&&(e.U=o),!r){if(e&&e.C)return void(e.C=!1);do{if(e===this._)break;if(e===o.L){if(t=o.R,t.C&&(t.C=!1,o.C=!0,Ai(this,o),t=o.R),t.L&&t.L.C||t.R&&t.R.C){t.R&&t.R.C||(t.L.C=!1,t.C=!0,Pi(this,t),t=o.R),t.C=o.C,o.C=t.R.C=!1,Ai(this,o),e=this._;break}}else if(t=o.L,t.C&&(t.C=!1,o.C=!0,Pi(this,o),t=o.L),t.L&&t.L.C||t.R&&t.R.C){t.L&&t.L.C||(t.R.C=!1,t.C=!0,Ai(this,t),t=o.L),t.C=o.C,o.C=t.L.C=!1,Pi(this,o),e=this._;break}t.C=!0,e=o,o=o.U}while(!e.C);e&&(e.C=!1)}}};var ly,uy,cy,dy,fy,py=[],hy=[],my=1e-6,vy=1e-12;ts.prototype={constructor:ts,polygons:function(){var e=this.edges;return this.cells.map(function(t){var n=t.halfedges.map(function(n){return Bi(t,e[n])});return n.data=t.site.data,n})},triangles:function(){var e=[],t=this.edges;return this.cells.forEach(function(n,r){if(a=(o=n.halfedges).length)for(var o,a,i,s=n.site,l=-1,u=t[o[a-1]],c=u.left===s?u.right:u.left;++l<a;)i=c,u=t[o[l]],c=u.left===s?u.right:u.left,i&&c&&r<i.index&&r<c.index&&Zi(s,i,c)<0&&e.push([s.data,i.data,c.data])}),e},links:function(){return this.edges.filter(function(e){return e.right}).map(function(e){return{source:e.left.data,target:e.right.data}})},find:function(e,t,n){for(var r,o,a=this,i=a._found||0,s=a.cells.length;!(o=a.cells[i]);)if(++i>=s)return null;var l=e-o.site[0],u=t-o.site[1],c=l*l+u*u;do o=a.cells[r=i],i=null,o.halfedges.forEach(function(n){var r=a.edges[n],s=r.left;if(s!==o.site&&s||(s=r.right)){var l=e-s[0],u=t-s[1],d=l*l+u*u;d<c&&(c=d,i=s.index)}});while(null!==i);return a._found=r,null==n||c<=n*n?o.site:null}};var by=function(){function e(e){return new ts(e.map(function(r,o){var a=[Math.round(t(r,o,e)/my)*my,Math.round(n(r,o,e)/my)*my];return a.index=o,a.data=r,a}),r)}var t=Ci,n=xi,r=null;return e.polygons=function(t){return e(t).polygons()},e.links=function(t){return e(t).links()},e.triangles=function(t){return e(t).triangles()},e.x=function(n){return arguments.length?(t="function"==typeof n?n:sy(+n),e):t},e.y=function(t){return arguments.length?(n="function"==typeof t?t:sy(+t),e):n},e.extent=function(t){return arguments.length?(r=null==t?null:[[+t[0][0],+t[0][1]],[+t[1][0],+t[1][1]]],e):r&&[[r[0][0],r[0][1]],[r[1][0],r[1][1]]]},e.size=function(t){return arguments.length?(r=null==t?null:[[0,0],[+t[0],+t[1]]],e):r&&[r[1][0]-r[0][0],r[1][1]-r[0][1]]},e},gy=function(e){return function(){return e}};rs.prototype={constructor:rs,scale:function(e){return 1===e?this:new rs(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new rs(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var yy=new rs(1,0,0);os.prototype=rs.prototype;var _y=function(){e.event.preventDefault(),e.event.stopImmediatePropagation()},My=function(){function t(e){e.on("wheel.zoom",u).on("mousedown.zoom",c).on("dblclick.zoom",d).on("touchstart.zoom",f).on("touchmove.zoom",p).on("touchend.zoom touchcancel.zoom",h).style("-webkit-tap-highlight-color","rgba(0,0,0,0)").property("__zoom",ls)}function n(e,t){return t=Math.max(y,Math.min(_,t)),t===e.k?e:new rs(t,e.x,e.y)}function r(e,t,n){var r=t[0]-n[0]*e.k,o=t[1]-n[1]*e.k;return r===e.x&&o===e.y?e:new rs(e.k,r,o)}function o(e,t){var n=e.invertX(t[0][0])-M,r=e.invertX(t[1][0])-w,o=e.invertY(t[0][1])-S,a=e.invertY(t[1][1])-C;return e.translate(r>n?(n+r)/2:Math.min(0,n)||Math.max(0,r),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}function a(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function i(e,t,n){e.on("start.zoom",function(){s(this,arguments).start()}).on("interrupt.zoom end.zoom",function(){s(this,arguments).end()}).tween("zoom",function(){var e=this,r=arguments,o=s(e,r),i=g.apply(e,r),l=n||a(i),u=Math.max(i[1][0]-i[0][0],i[1][1]-i[0][1]),c=e.__zoom,d="function"==typeof t?t.apply(e,r):t,f=k(c.invert(l).concat(u/c.k),d.invert(l).concat(u/d.k));return function(e){if(1===e)e=d;else{var t=f(e),n=u/t[2];e=new rs(n,l[0]-t[0]*n,l[1]-t[1]*n)}o.zoom(null,e)}})}function s(e,t){for(var n,r=0,o=T.length;r<o;++r)if((n=T[r]).that===e)return n;return new l(e,t)}function l(e,t){this.that=e,this.args=t,this.index=-1,this.active=0,this.extent=g.apply(e,t)}function u(){function t(){a.wheel=null,a.end()}if(b.apply(this,arguments)){var a=s(this,arguments),i=this.__zoom,l=Math.max(y,Math.min(_,i.k*Math.pow(2,-e.event.deltaY*(e.event.deltaMode?120:1)/500))),u=Bv(this);if(a.wheel)a.mouse[0][0]===u[0]&&a.mouse[0][1]===u[1]||(a.mouse[1]=i.invert(a.mouse[0]=u)),clearTimeout(a.wheel);else{if(i.k===l)return;a.mouse=[u,i.invert(u)],jb(this),a.start()}_y(),a.wheel=setTimeout(t,N),a.zoom("mouse",o(r(n(i,l),a.mouse[0],a.mouse[1]),a.extent))}}function c(){function t(){_y(),a.moved=!0,a.zoom("mouse",o(r(a.that.__zoom,a.mouse[0]=Bv(a.that),a.mouse[1]),a.extent))}function n(){i.on("mousemove.zoom mouseup.zoom",null),yi(e.event.view,a.moved),_y(),a.end()}if(!v&&b.apply(this,arguments)){var a=s(this,arguments),i=Mb(e.event.view).on("mousemove.zoom",t,!0).on("mouseup.zoom",n,!0),l=Bv(this);oy(e.event.view),as(),a.mouse=[l,this.__zoom.invert(l)],jb(this),a.start()}}function d(){if(b.apply(this,arguments)){var a=this.__zoom,s=Bv(this),l=a.invert(s),u=a.k*(e.event.shiftKey?.5:2),c=o(r(n(a,u),s,l),g.apply(this,arguments));_y(),x>0?Mb(this).transition().duration(x).call(i,c,s):Mb(this).call(t.transform,c)}}function f(){if(b.apply(this,arguments)){var t,n,r,o,a=s(this,arguments),i=e.event.changedTouches,l=i.length;for(as(),n=0;n<l;++n)r=i[n],o=Sb(this,i,r.identifier),o=[o,this.__zoom.invert(o),r.identifier],a.touch0?a.touch1||(a.touch1=o):(a.touch0=o,t=!0);return m&&(m=clearTimeout(m),!a.touch1)?(a.end(),o=Mb(this).on("dblclick.zoom"),void(o&&o.apply(this,arguments))):void(t&&(m=setTimeout(function(){m=null},P),jb(this),a.start()))}}function p(){var t,a,i,l,u=s(this,arguments),c=e.event.changedTouches,d=c.length;for(_y(),m&&(m=clearTimeout(m)),t=0;t<d;++t)a=c[t],i=Sb(this,c,a.identifier),u.touch0&&u.touch0[2]===a.identifier?u.touch0[0]=i:u.touch1&&u.touch1[2]===a.identifier&&(u.touch1[0]=i);if(a=u.that.__zoom,u.touch1){var f=u.touch0[0],p=u.touch0[1],h=u.touch1[0],v=u.touch1[1],b=(b=h[0]-f[0])*b+(b=h[1]-f[1])*b,g=(g=v[0]-p[0])*g+(g=v[1]-p[1])*g;a=n(a,Math.sqrt(b/g)),i=[(f[0]+h[0])/2,(f[1]+h[1])/2],l=[(p[0]+v[0])/2,(p[1]+v[1])/2]}else{if(!u.touch0)return;i=u.touch0[0],l=u.touch0[1]}u.zoom("touch",o(r(a,i,l),u.extent))}function h(){var t,n,r=s(this,arguments),o=e.event.changedTouches,a=o.length;for(as(),v&&clearTimeout(v),v=setTimeout(function(){v=null},P),t=0;t<a;++t)n=o[t],r.touch0&&r.touch0[2]===n.identifier?delete r.touch0:r.touch1&&r.touch1[2]===n.identifier&&delete r.touch1;r.touch1&&!r.touch0&&(r.touch0=r.touch1,delete r.touch1),r.touch0||r.end()}var m,v,b=is,g=ss,y=0,_=1/0,M=-_,w=_,S=M,C=w,x=250,k=Np,T=[],A=Ot("start","zoom","end"),P=500,N=150;return t.transform=function(e,t){var n=e.selection?e.selection():e;n.property("__zoom",ls),e!==n?i(e,t):n.interrupt().each(function(){s(this,arguments).start().zoom(null,"function"==typeof t?t.apply(this,arguments):t).end()})},t.scaleBy=function(e,n){t.scaleTo(e,function(){var e=this.__zoom.k,t="function"==typeof n?n.apply(this,arguments):n;return e*t})},t.scaleTo=function(e,i){t.transform(e,function(){var e=g.apply(this,arguments),t=this.__zoom,s=a(e),l=t.invert(s),u="function"==typeof i?i.apply(this,arguments):i;return o(r(n(t,u),s,l),e)})},t.translateBy=function(e,n,r){t.transform(e,function(){return o(this.__zoom.translate("function"==typeof n?n.apply(this,arguments):n,"function"==typeof r?r.apply(this,arguments):r),g.apply(this,arguments))})},l.prototype={start:function(){return 1===++this.active&&(this.index=T.push(this)-1,this.emit("start")),this},zoom:function(e,t){return this.mouse&&"mouse"!==e&&(this.mouse[1]=t.invert(this.mouse[0])),this.touch0&&"touch"!==e&&(this.touch0[1]=t.invert(this.touch0[0])),this.touch1&&"touch"!==e&&(this.touch1[1]=t.invert(this.touch1[0])),this.that.__zoom=t,this.emit("zoom"),this},end:function(){return 0===--this.active&&(T.splice(this.index,1),this.index=-1,this.emit("end")),this},emit:function(e){Hr(new ns(t,e,this.that.__zoom),A.apply,A,[e,this.that,this.args])}},t.filter=function(e){return arguments.length?(b="function"==typeof e?e:gy(!!e),t):b},t.extent=function(e){return arguments.length?(g="function"==typeof e?e:gy([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),t):g},t.scaleExtent=function(e){return arguments.length?(y=+e[0],_=+e[1],t):[y,_]},t.translateExtent=function(e){return arguments.length?(M=+e[0][0],w=+e[1][0],S=+e[0][1],C=+e[1][1],t):[[M,S],[w,C]]},t.duration=function(e){return arguments.length?(x=+e,t):x},t.interpolate=function(e){return arguments.length?(k=e,t):k},t.on=function(){var e=A.on.apply(A,arguments);return e===A?t:e},t},wy=function(e){return function(){return e}},Sy=function(e,t,n){this.target=e,this.type=t,this.selection=n},Cy=function(){e.event.preventDefault(),e.event.stopImmediatePropagation()},xy={name:"drag"},ky={name:"space"},Ty={name:"handle"},Ay={name:"center"},Py={name:"x",handles:["e","w"].map(cs),input:function(e,t){return e&&[[e[0],t[0][1]],[e[1],t[1][1]]]},output:function(e){return e&&[e[0][0],e[1][0]]}},Ny={name:"y",handles:["n","s"].map(cs),input:function(e,t){return e&&[[t[0][0],e[0]],[t[1][0],e[1]]]},output:function(e){return e&&[e[0][1],e[1][1]]}},Oy={name:"xy",handles:["n","e","s","w","nw","ne","se","sw"].map(cs),input:function(e){return e},output:function(e){return e}},Ey={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},zy={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},Ry={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},jy={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Ly={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1},Dy=function(){return gs(Oy)},Iy=Math.cos,By=Math.sin,Vy=Math.PI,qy=Vy/2,Fy=2*Vy,Uy=Math.max,Wy=function(){function e(e){var a,i,s,l,u,c,d=e.length,f=[],p=Iu(d),h=[],m=[],v=m.groups=new Array(d),b=new Array(d*d);for(a=0,u=-1;++u<d;){for(i=0,c=-1;++c<d;)i+=e[u][c];f.push(i),h.push(Iu(d)),a+=i}for(n&&p.sort(function(e,t){return n(f[e],f[t])}),r&&h.forEach(function(t,n){t.sort(function(t,o){return r(e[n][t],e[n][o])})}),a=Uy(0,Fy-t*d)/a,l=a?t:Fy/d,i=0,u=-1;++u<d;){for(s=i,c=-1;++c<d;){var g=p[u],y=h[g][c],_=e[g][y],M=i,w=i+=_*a;b[y*d+g]={index:g,subindex:y,startAngle:M,endAngle:w,value:_}}v[g]={index:g,startAngle:s,endAngle:i,value:f[g]},i+=l}for(u=-1;++u<d;)for(c=u-1;++c<d;){var S=b[c*d+u],C=b[u*d+c];(S.value||C.value)&&m.push(S.value<C.value?{source:C,target:S}:{source:S,target:C})}return o?m.sort(o):m}var t=0,n=null,r=null,o=null;return e.padAngle=function(n){return arguments.length?(t=Uy(0,n),e):t},e.sortGroups=function(t){return arguments.length?(n=t,e):n},e.sortSubgroups=function(t){return arguments.length?(r=t,e):r},e.sortChords=function(t){return arguments.length?(null==t?o=null:(o=ys(t))._=t,e):o&&o._},e},Hy=Array.prototype.slice,Xy=function(e){return function(){return e}},Ky=function(){function e(){var e,s=Hy.call(arguments),l=t.apply(this,s),u=n.apply(this,s),c=+r.apply(this,(s[0]=l,s)),d=o.apply(this,s)-qy,f=a.apply(this,s)-qy,p=c*Iy(d),h=c*By(d),m=+r.apply(this,(s[0]=u,s)),v=o.apply(this,s)-qy,b=a.apply(this,s)-qy;if(i||(i=e=R()),i.moveTo(p,h),i.arc(0,0,c,d,f),d===v&&f===b||(i.quadraticCurveTo(0,0,m*Iy(v),m*By(v)),i.arc(0,0,m,v,b)),i.quadraticCurveTo(0,0,p,h),i.closePath(),e)return i=null,e+""||null}var t=_s,n=Ms,r=ws,o=Ss,a=Cs,i=null;return e.radius=function(t){return arguments.length?(r="function"==typeof t?t:Xy(+t),e):r},e.startAngle=function(t){return arguments.length?(o="function"==typeof t?t:Xy(+t),e):o},e.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:Xy(+t),e):a},e.source=function(n){return arguments.length?(t=n,e):t},e.target=function(t){return arguments.length?(n=t,e):n},e.context=function(t){return arguments.length?(i=null==t?null:t,e):i},e},Gy=function(){return new xs};xs.prototype={constructor:xs,reset:function(){this.s=this.t=0},add:function(e){ks(k_,e,this.t),ks(this,k_.s,this.s),this.s?this.t+=k_.t:this.s=k_.t},valueOf:function(){return this.s}};var Yy,$y,Qy,Jy,Zy,e_,t_,n_,r_,o_,a_,i_,s_,l_,u_,c_,d_,f_,p_,h_,m_,v_,b_,g_,y_,__,M_,w_,S_,C_,x_,k_=new xs,T_=1e-6,A_=1e-12,P_=Math.PI,N_=P_/2,O_=P_/4,E_=2*P_,z_=180/P_,R_=P_/180,j_=Math.abs,L_=Math.atan,D_=Math.atan2,I_=Math.cos,B_=Math.ceil,V_=Math.exp,q_=Math.log,F_=Math.pow,U_=Math.sin,W_=Math.sign||function(e){return e>0?1:e<0?-1:0},H_=Math.sqrt,X_=Math.tan,K_={Feature:function(e,t){Os(e.geometry,t)},FeatureCollection:function(e,t){for(var n=e.features,r=-1,o=n.length;++r<o;)Os(n[r].geometry,t)}},G_={Sphere:function(e,t){t.sphere()},Point:function(e,t){e=e.coordinates,t.point(e[0],e[1],e[2])},MultiPoint:function(e,t){for(var n=e.coordinates,r=-1,o=n.length;++r<o;)e=n[r],t.point(e[0],e[1],e[2])},LineString:function(e,t){Es(e.coordinates,t,0)},MultiLineString:function(e,t){for(var n=e.coordinates,r=-1,o=n.length;++r<o;)Es(n[r],t,0)},Polygon:function(e,t){zs(e.coordinates,t)},MultiPolygon:function(e,t){for(var n=e.coordinates,r=-1,o=n.length;++r<o;)zs(n[r],t)},GeometryCollection:function(e,t){for(var n=e.geometries,r=-1,o=n.length;++r<o;)Os(n[r],t)}},Y_=function(e,t){e&&K_.hasOwnProperty(e.type)?K_[e.type](e,t):Os(e,t)},$_=Gy(),Q_=Gy(),J_={point:Ns,lineStart:Ns,lineEnd:Ns,polygonStart:function(){$_.reset(),J_.lineStart=Rs,J_.lineEnd=js},polygonEnd:function(){var e=+$_;Q_.add(e<0?E_+e:e),this.lineStart=this.lineEnd=this.point=Ns},sphere:function(){Q_.add(E_)}},Z_=function(e){return Q_.reset(),Y_(e,J_),2*Q_},eM=Gy(),tM={point:Hs,lineStart:Ks,lineEnd:Gs,polygonStart:function(){tM.point=Ys,tM.lineStart=$s,tM.lineEnd=Qs,eM.reset(),J_.polygonStart()},polygonEnd:function(){J_.polygonEnd(),tM.point=Hs,tM.lineStart=Ks,tM.lineEnd=Gs,$_<0?(e_=-(n_=180),t_=-(r_=90)):eM>T_?r_=90:eM<-T_&&(t_=-90),u_[0]=e_,u_[1]=n_}},nM=function(e){var t,n,r,o,a,i,s;if(r_=n_=-(e_=t_=1/0),l_=[],Y_(e,tM),n=l_.length){for(l_.sort(Zs),t=1,r=l_[0],a=[r];t<n;++t)o=l_[t],el(r,o[0])||el(r,o[1])?(Js(r[0],o[1])>Js(r[0],r[1])&&(r[1]=o[1]),Js(o[0],r[1])>Js(r[0],r[1])&&(r[0]=o[0])):a.push(r=o);for(i=-(1/0),n=a.length-1,t=0,r=a[n];t<=n;r=o,++t)o=a[t],(s=Js(r[1],o[0]))>i&&(i=s,e_=o[0],n_=r[1])}return l_=u_=null,e_===1/0||t_===1/0?[[NaN,NaN],[NaN,NaN]]:[[e_,t_],[n_,r_]]},rM={sphere:Ns,point:tl,lineStart:rl,lineEnd:il,polygonStart:function(){rM.lineStart=sl,rM.lineEnd=ll},polygonEnd:function(){rM.lineStart=rl,rM.lineEnd=il}},oM=function(e){c_=d_=f_=p_=h_=m_=v_=b_=g_=y_=__=0,Y_(e,rM);var t=g_,n=y_,r=__,o=t*t+n*n+r*r;return o<A_&&(t=m_,n=v_,r=b_,d_<T_&&(t=f_,n=p_,r=h_),o=t*t+n*n+r*r,o<A_)?[NaN,NaN]:[D_(n,t)*z_,As(r/H_(o))*z_]},aM=function(e){return function(){return e}},iM=function(e,t){function n(n,r){return n=e(n,r),t(n[0],n[1])}return e.invert&&t.invert&&(n.invert=function(n,r){return n=t.invert(n,r),n&&e.invert(n[0],n[1])}),n};dl.invert=dl;var sM,lM,uM,cM,dM,fM,pM,hM,mM,vM,bM,gM=function(e){function t(t){return t=e(t[0]*R_,t[1]*R_),t[0]*=z_,t[1]*=z_,t}return e=fl(e[0]*R_,e[1]*R_,e.length>2?e[2]*R_:0),t.invert=function(t){return t=e.invert(t[0]*R_,t[1]*R_),t[0]*=z_,t[1]*=z_,t},t},yM=function(){function e(e,t){n.push(e=r(e,t)),e[0]*=z_,e[1]*=z_}function t(){var e=o.apply(this,arguments),t=a.apply(this,arguments)*R_,l=i.apply(this,arguments)*R_;return n=[],r=fl(-e[0]*R_,-e[1]*R_,0).invert,vl(s,t,l,1),e={type:"Polygon",coordinates:[n]},n=r=null,e}var n,r,o=aM([0,0]),a=aM(90),i=aM(6),s={point:e};return t.center=function(e){return arguments.length?(o="function"==typeof e?e:aM([+e[0],+e[1]]),t):o},t.radius=function(e){return arguments.length?(a="function"==typeof e?e:aM(+e),t):a},t.precision=function(e){return arguments.length?(i="function"==typeof e?e:aM(+e),t):i},t},_M=function(){var e,t=[];return{point:function(t,n){e.push([t,n])},lineStart:function(){t.push(e=[])},lineEnd:Ns,rejoin:function(){t.length>1&&t.push(t.pop().concat(t.shift()))},result:function(){var n=t;return t=[],e=null,n}}},MM=function(e,t,n,r,o,a){var i,s=e[0],l=e[1],u=t[0],c=t[1],d=0,f=1,p=u-s,h=c-l;if(i=n-s,p||!(i>0)){if(i/=p,p<0){if(i<d)return;i<f&&(f=i)}else if(p>0){if(i>f)return;i>d&&(d=i)}if(i=o-s,p||!(i<0)){if(i/=p,p<0){if(i>f)return;i>d&&(d=i)}else if(p>0){if(i<d)return;i<f&&(f=i)}if(i=r-l,h||!(i>0)){if(i/=h,h<0){if(i<d)return;i<f&&(f=i)}else if(h>0){if(i>f)return;i>d&&(d=i)}if(i=a-l,h||!(i<0)){if(i/=h,h<0){if(i>f)return;i>d&&(d=i)}else if(h>0){if(i<d)return;i<f&&(f=i)}return d>0&&(e[0]=s+d*p,e[1]=l+d*h),f<1&&(t[0]=s+f*p,t[1]=l+f*h),!0}}}}},wM=function(e,t){return j_(e[0]-t[0])<T_&&j_(e[1]-t[1])<T_},SM=function(e,t,n,r,o){var a,i,s=[],l=[];if(e.forEach(function(e){if(!((t=e.length-1)<=0)){var t,n,r=e[0],i=e[t];if(wM(r,i)){for(o.lineStart(),a=0;a<t;++a)o.point((r=e[a])[0],r[1]);return void o.lineEnd()}s.push(n=new gl(r,e,null,(!0))),l.push(n.o=new gl(r,null,n,(!1))),s.push(n=new gl(i,e,null,(!1))),l.push(n.o=new gl(i,null,n,(!0)))}}),s.length){for(l.sort(t),yl(s),yl(l),a=0,i=l.length;a<i;++a)l[a].e=n=!n;for(var u,c,d=s[0];;){for(var f=d,p=!0;f.v;)if((f=f.n)===d)return;u=f.z,o.lineStart();do{if(f.v=f.o.v=!0,f.e){if(p)for(a=0,i=u.length;a<i;++a)o.point((c=u[a])[0],c[1]);else r(f.x,f.n.x,1,o);f=f.n}else{if(p)for(u=f.p.z,a=u.length-1;a>=0;--a)o.point((c=u[a])[0],c[1]);else r(f.x,f.p.x,-1,o);f=f.p}f=f.o,u=f.z,p=!p}while(!f.v);o.lineEnd()}}},CM=1e9,xM=-CM,kM=function(){var e,t,n,r=0,o=0,a=960,i=500;return n={stream:function(n){return e&&t===n?e:e=_l(r,o,a,i)(t=n)},extent:function(s){return arguments.length?(r=+s[0][0],o=+s[0][1],a=+s[1][0],i=+s[1][1],e=t=null,n):[[r,o],[a,i]]}}},TM=Gy(),AM={sphere:Ns,point:Ns,lineStart:Ml,lineEnd:Ns,polygonStart:Ns,polygonEnd:Ns},PM=function(e){return TM.reset(),Y_(e,AM),+TM},NM=[null,null],OM={type:"LineString",coordinates:NM},EM=function(e,t){return NM[0]=e,NM[1]=t,PM(OM)},zM=function(e,t){var n=e[0]*R_,r=e[1]*R_,o=t[0]*R_,a=t[1]*R_,i=I_(r),s=U_(r),l=I_(a),u=U_(a),c=i*I_(n),d=i*U_(n),f=l*I_(o),p=l*U_(o),h=2*As(H_(Ps(a-r)+i*l*Ps(o-n))),m=U_(h),v=h?function(e){var t=U_(e*=h)/m,n=U_(h-e)/m,r=n*c+t*f,o=n*d+t*p,a=n*s+t*u;return[D_(o,r)*z_,D_(a,H_(r*r+o*o))*z_]}:function(){return[n*z_,r*z_]};return v.distance=h,v},RM=function(e){return e},jM=Gy(),LM=Gy(),DM={point:Ns,lineStart:Ns,lineEnd:Ns,polygonStart:function(){DM.lineStart=Pl,DM.lineEnd=El},polygonEnd:function(){DM.lineStart=DM.lineEnd=DM.point=Ns,jM.add(j_(LM)),LM.reset()},result:function(){var e=jM/2;return jM.reset(),e}},IM=1/0,BM=IM,VM=-IM,qM=VM,FM={point:zl,lineStart:Ns,lineEnd:Ns,polygonStart:Ns,polygonEnd:Ns,result:function(){var e=[[IM,BM],[VM,qM]];return VM=qM=-(BM=IM=1/0),e}},UM=0,WM=0,HM=0,XM=0,KM=0,GM=0,YM=0,$M=0,QM=0,JM={point:Rl,lineStart:jl,lineEnd:Il,polygonStart:function(){JM.lineStart=Bl,JM.lineEnd=Vl},polygonEnd:function(){JM.point=Rl,JM.lineStart=jl,JM.lineEnd=Il},result:function(){var e=QM?[YM/QM,$M/QM]:GM?[XM/GM,KM/GM]:HM?[UM/HM,WM/HM]:[NaN,NaN];return UM=WM=HM=XM=KM=GM=YM=$M=QM=0,e}};Ul.prototype={_radius:4.5,pointRadius:function(e){return this._radius=e,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._context.closePath(),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._context.moveTo(e,t),this._point=1;break;case 1:this._context.lineTo(e,t);break;default:this._context.moveTo(e+this._radius,t),this._context.arc(e,t,this._radius,0,E_)}},result:Ns},Wl.prototype={_circle:Hl(4.5),pointRadius:function(e){return this._circle=Hl(e),this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){0===this._line&&this._string.push("Z"),this._point=NaN},point:function(e,t){switch(this._point){case 0:this._string.push("M",e,",",t),this._point=1;break;case 1:this._string.push("L",e,",",t);break;default:this._string.push("M",e,",",t,this._circle)}},result:function(){if(this._string.length){var e=this._string.join("");return this._string=[],e}}};var ZM=function(e,t){function n(e){return e&&("function"==typeof a&&o.pointRadius(+a.apply(this,arguments)),Y_(e,r(o))),o.result()}var r,o,a=4.5;return n.area=function(e){return Y_(e,r(DM)),DM.result()},n.bounds=function(e){return Y_(e,r(FM)),FM.result()},n.centroid=function(e){return Y_(e,r(JM)),JM.result()},n.projection=function(t){return arguments.length?(r=null==t?(e=null,RM):(e=t).stream,n):e},n.context=function(e){return arguments.length?(o=null==e?(t=null,new Wl):new Ul(t=e),"function"!=typeof a&&o.pointRadius(a),n):t},n.pointRadius=function(e){return arguments.length?(a="function"==typeof e?e:(o.pointRadius(+e),+e),n):a},n.projection(e).context(t)},ew=Gy(),tw=function(e,t){var n=t[0],r=t[1],o=[U_(n),-I_(n),0],a=0,i=0;ew.reset();for(var s=0,l=e.length;s<l;++s)if(c=(u=e[s]).length)for(var u,c,d=u[c-1],f=d[0],p=d[1]/2+O_,h=U_(p),m=I_(p),v=0;v<c;++v,f=g,h=_,m=M,d=b){var b=u[v],g=b[0],y=b[1]/2+O_,_=U_(y),M=I_(y),w=g-f,S=w>=0?1:-1,C=S*w,x=C>P_,k=h*_;if(ew.add(D_(k*S*U_(C),m*M+k*I_(C))),a+=x?w+S*E_:w,x^f>=n^g>=n){var T=qs(Bs(d),Bs(b));Ws(T);var A=qs(o,T);Ws(A);var P=(x^w>=0?-1:1)*As(A[2]);(r>P||r===P&&(T[0]||T[1]))&&(i+=x^w>=0?1:-1)}}return(a<-T_||a<T_&&ew<-T_)^1&i},nw=function(e,t,n,r){return function(o,a){function i(t,n){var r=o(t,n);e(t=r[0],n=r[1])&&a.point(t,n)}function s(e,t){var n=o(e,t);v.point(n[0],n[1])}function l(){M.point=s,v.lineStart()}function u(){M.point=i,v.lineEnd()}function c(e,t){m.push([e,t]);var n=o(e,t);y.point(n[0],n[1])}function d(){y.lineStart(),m=[]}function f(){c(m[0][0],m[0][1]),y.lineEnd();var e,t,n,r,o=y.clean(),i=g.result(),s=i.length;if(m.pop(),p.push(m),m=null,s)if(1&o){if(n=i[0],(t=n.length-1)>0){for(_||(a.polygonStart(),_=!0),a.lineStart(),e=0;e<t;++e)a.point((r=n[e])[0],r[1]);a.lineEnd()}}else s>1&&2&o&&i.push(i.pop().concat(i.shift())),h.push(i.filter(Xl))}var p,h,m,v=t(a),b=o.invert(r[0],r[1]),g=_M(),y=t(g),_=!1,M={point:i,lineStart:l,lineEnd:u,polygonStart:function(){M.point=c,M.lineStart=d,M.lineEnd=f,h=[],p=[]},polygonEnd:function(){M.point=i,M.lineStart=l,M.lineEnd=u,h=Qu(h);var e=tw(p,b);h.length?(_||(a.polygonStart(),_=!0),SM(h,Kl,e,n,a)):e&&(_||(a.polygonStart(),_=!0),a.lineStart(),n(null,null,1,a),a.lineEnd()),_&&(a.polygonEnd(),_=!1),h=p=null},sphere:function(){a.polygonStart(),a.lineStart(),n(null,null,1,a),a.lineEnd(),a.polygonEnd()}};return M}},rw=nw(function(){return!0},Gl,$l,[-P_,-N_]),ow=function(e,t){function n(n,r,o,a){vl(a,e,t,o,n,r)}function r(e,t){return I_(e)*I_(t)>s}function o(e){var t,n,o,s,c;return{lineStart:function(){s=o=!1,c=1},point:function(d,f){var p,h=[d,f],m=r(d,f),v=l?m?0:i(d,f):m?i(d+(d<0?P_:-P_),f):0;if(!t&&(s=o=m)&&e.lineStart(),m!==o&&(p=a(t,h),(wM(t,p)||wM(h,p))&&(h[0]+=T_,h[1]+=T_,m=r(h[0],h[1]))),m!==o)c=0,m?(e.lineStart(),p=a(h,t),e.point(p[0],p[1])):(p=a(t,h),e.point(p[0],p[1]),e.lineEnd()),t=p;else if(u&&t&&l^m){var b;v&n||!(b=a(h,t,!0))||(c=0,l?(e.lineStart(),e.point(b[0][0],b[0][1]),e.point(b[1][0],b[1][1]),e.lineEnd()):(e.point(b[1][0],b[1][1]),e.lineEnd(),e.lineStart(),e.point(b[0][0],b[0][1])))}!m||t&&wM(t,h)||e.point(h[0],h[1]),t=h,o=m,n=v},lineEnd:function(){o&&e.lineEnd(),t=null},clean:function(){return c|(s&&o)<<1}}}function a(e,t,n){var r=Bs(e),o=Bs(t),a=[1,0,0],i=qs(r,o),l=Vs(i,i),u=i[0],c=l-u*u;if(!c)return!n&&e;var d=s*l/c,f=-s*u/c,p=qs(a,i),h=Us(a,d),m=Us(i,f);Fs(h,m);var v=p,b=Vs(h,v),g=Vs(v,v),y=b*b-g*(Vs(h,h)-1);if(!(y<0)){var _=H_(y),M=Us(v,(-b-_)/g);if(Fs(M,h),M=Is(M),!n)return M;var w,S=e[0],C=t[0],x=e[1],k=t[1];C<S&&(w=S,S=C,C=w);var T=C-S,A=j_(T-P_)<T_,P=A||T<T_;if(!A&&k<x&&(w=x,x=k,k=w),P?A?x+k>0^M[1]<(j_(M[0]-S)<T_?x:k):x<=M[1]&&M[1]<=k:T>P_^(S<=M[0]&&M[0]<=C)){var N=Us(v,(-b+_)/g);return Fs(N,h),[M,Is(N)]}}}function i(t,n){var r=l?e:P_-e,o=0;return t<-r?o|=1:t>r&&(o|=2),n<-r?o|=4:n>r&&(o|=8),o}var s=I_(e),l=s>0,u=j_(s)>T_;return nw(r,o,n,l?[0,-e]:[-P_,e-P_])},aw=function(e){return{stream:Ql(e)}};Jl.prototype={constructor:Jl,point:function(e,t){this.stream.point(e,t)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};var iw=16,sw=I_(30*R_),lw=function(e,t){return+t?nu(e,t):tu(e)},uw=Ql({point:function(e,t){this.stream.point(e*R_,t*R_)}}),cw=function(){return au(su).scale(155.424).center([0,33.6442])},dw=function(){return cw().parallels([29.5,45.5]).scale(1070).translate([480,250]).rotate([96,0]).center([-.6,38.7])},fw=function(){function e(e){var t=e[0],n=e[1];return s=null,o.point(t,n),s||(a.point(t,n),
|
12 | s)||(i.point(t,n),s)}function t(){return n=r=null,e}var n,r,o,a,i,s,l=dw(),u=cw().rotate([154,0]).center([-2,58.5]).parallels([55,65]),c=cw().rotate([157,0]).center([-3,19.9]).parallels([8,18]),d={point:function(e,t){s=[e,t]}};return e.invert=function(e){var t=l.scale(),n=l.translate(),r=(e[0]-n[0])/t,o=(e[1]-n[1])/t;return(o>=.12&&o<.234&&r>=-.425&&r<-.214?u:o>=.166&&o<.234&&r>=-.214&&r<-.115?c:l).invert(e)},e.stream=function(e){return n&&r===e?n:n=lu([l.stream(r=e),u.stream(e),c.stream(e)])},e.precision=function(e){return arguments.length?(l.precision(e),u.precision(e),c.precision(e),t()):l.precision()},e.scale=function(t){return arguments.length?(l.scale(t),u.scale(.35*t),c.scale(t),e.translate(l.translate())):l.scale()},e.translate=function(e){if(!arguments.length)return l.translate();var n=l.scale(),r=+e[0],s=+e[1];return o=l.translate(e).clipExtent([[r-.455*n,s-.238*n],[r+.455*n,s+.238*n]]).stream(d),a=u.translate([r-.307*n,s+.201*n]).clipExtent([[r-.425*n+T_,s+.12*n+T_],[r-.214*n-T_,s+.234*n-T_]]).stream(d),i=c.translate([r-.205*n,s+.212*n]).clipExtent([[r-.214*n+T_,s+.166*n+T_],[r-.115*n-T_,s+.234*n-T_]]).stream(d),t()},e.fitExtent=function(t,n){return Zl(e,t,n)},e.fitSize=function(t,n){return eu(e,t,n)},e.scale(1070)},pw=uu(function(e){return H_(2/(1+e))});pw.invert=cu(function(e){return 2*As(e/2)});var hw=function(){return ru(pw).scale(124.75).clipAngle(179.999)},mw=uu(function(e){return(e=Ts(e))&&e/U_(e)});mw.invert=cu(function(e){return e});var vw=function(){return ru(mw).scale(79.4188).clipAngle(179.999)};du.invert=function(e,t){return[e,2*L_(V_(t))-N_]};var bw=function(){return fu(du).scale(961/E_)},gw=function(){return au(hu).scale(109.5).parallels([30,30])};mu.invert=mu;var yw=function(){return ru(mu).scale(152.63)},_w=function(){return au(vu).scale(131.154).center([0,13.9389])};bu.invert=cu(L_);var Mw=function(){return ru(bu).scale(144.049).clipAngle(60)},ww=function(){function e(){return o=a=null,i}var t,n,r,o,a,i,s=1,l=0,u=0,c=1,d=1,f=RM,p=null,h=RM;return i={stream:function(e){return o&&a===e?o:o=f(h(a=e))},clipExtent:function(o){return arguments.length?(h=null==o?(p=t=n=r=null,RM):_l(p=+o[0][0],t=+o[0][1],n=+o[1][0],r=+o[1][1]),e()):null==p?null:[[p,t],[n,r]]},scale:function(t){return arguments.length?(f=gu((s=+t)*c,s*d,l,u),e()):s},translate:function(t){return arguments.length?(f=gu(s*c,s*d,l=+t[0],u=+t[1]),e()):[l,u]},reflectX:function(t){return arguments.length?(f=gu(s*(c=t?-1:1),s*d,l,u),e()):c<0},reflectY:function(t){return arguments.length?(f=gu(s*c,s*(d=t?-1:1),l,u),e()):d<0},fitExtent:function(e,t){return Zl(i,e,t)},fitSize:function(e,t){return eu(i,e,t)}}};yu.invert=cu(As);var Sw=function(){return ru(yu).scale(249.5).clipAngle(90+T_)};_u.invert=cu(function(e){return 2*L_(e)});var Cw=function(){return ru(_u).scale(250).clipAngle(142)};Mu.invert=function(e,t){return[-t,2*L_(V_(e))-N_]};var xw=function(){var e=fu(Mu),t=e.center,n=e.rotate;return e.center=function(e){return arguments.length?t([-e[1],e[0]]):(e=t(),[e[1],-e[0]])},e.rotate=function(e){return arguments.length?n([e[0],e[1],e.length>2?e[2]+90:90]):(e=n(),[e[0],e[1],e[2]-90])},n([0,0,90]).scale(159.155)};e.version=wu,e.bisect=ku,e.bisectRight=ku,e.bisectLeft=Tu,e.ascending=Su,e.bisector=Cu,e.descending=Au,e.deviation=Ou,e.extent=Eu,e.histogram=Wu,e.thresholdFreedmanDiaconis=Xu,e.thresholdScott=Ku,e.thresholdSturges=Uu,e.max=Gu,e.mean=Yu,e.median=$u,e.merge=Qu,e.min=Ju,e.pairs=Zu,e.permute=ec,e.quantile=Hu,e.range=Iu,e.scan=tc,e.shuffle=nc,e.sum=rc,e.ticks=Fu,e.tickStep=n,e.transpose=oc,e.variance=Nu,e.zip=ac,e.entries=dc,e.keys=uc,e.values=cc,e.map=a,e.set=d,e.nest=sc,e.randomUniform=fc,e.randomNormal=pc,e.randomLogNormal=hc,e.randomBates=vc,e.randomIrwinHall=mc,e.randomExponential=bc,e.easeLinear=f,e.easeQuad=m,e.easeQuadIn=p,e.easeQuadOut=h,e.easeQuadInOut=m,e.easeCubic=g,e.easeCubicIn=v,e.easeCubicOut=b,e.easeCubicInOut=g,e.easePoly=Mc,e.easePolyIn=yc,e.easePolyOut=_c,e.easePolyInOut=Mc,e.easeSin=M,e.easeSinIn=y,e.easeSinOut=_,e.easeSinInOut=M,e.easeExp=C,e.easeExpIn=w,e.easeExpOut=S,e.easeExpInOut=C,e.easeCircle=T,e.easeCircleIn=x,e.easeCircleOut=k,e.easeCircleInOut=T,e.easeBounce=P,e.easeBounceIn=A,e.easeBounceOut=P,e.easeBounceInOut=N,e.easeBack=Dc,e.easeBackIn=jc,e.easeBackOut=Lc,e.easeBackInOut=Dc,e.easeElastic=Fc,e.easeElasticIn=qc,e.easeElasticOut=Fc,e.easeElasticInOut=Uc,e.polygonArea=Wc,e.polygonCentroid=Hc,e.polygonHull=Kc,e.polygonContains=Gc,e.polygonLength=Yc,e.path=R,e.quadtree=V,e.queue=Y,e.arc=Md,e.area=Cd,e.line=Sd,e.pie=Td,e.radialArea=Nd,e.radialLine=Pd,e.symbol=$d,e.symbols=Yd,e.symbolCircle=Od,e.symbolCross=Ed,e.symbolDiamond=jd,e.symbolSquare=qd,e.symbolStar=Vd,e.symbolTriangle=Ud,e.symbolWye=Gd,e.curveBasisClosed=Zd,e.curveBasisOpen=ef,e.curveBasis=Jd,e.curveBundle=tf,e.curveCardinalClosed=rf,e.curveCardinalOpen=of,e.curveCardinal=nf,e.curveCatmullRomClosed=sf,e.curveCatmullRomOpen=lf,e.curveCatmullRom=af,e.curveLinearClosed=uf,e.curveLinear=wd,e.curveMonotoneX=Oe,e.curveMonotoneY=Ee,e.curveNatural=cf,e.curveStep=df,e.curveStepAfter=De,e.curveStepBefore=Le,e.stack=mf,e.stackOffsetExpand=vf,e.stackOffsetNone=pf,e.stackOffsetSilhouette=bf,e.stackOffsetWiggle=gf,e.stackOrderAscending=yf,e.stackOrderDescending=_f,e.stackOrderInsideOut=Mf,e.stackOrderNone=hf,e.stackOrderReverse=wf,e.color=Fe,e.rgb=Xe,e.hsl=$e,e.lab=et,e.hcl=st,e.cubehelix=ct,e.interpolate=yp,e.interpolateArray=fp,e.interpolateDate=pp,e.interpolateNumber=hp,e.interpolateObject=mp,e.interpolateRound=_p,e.interpolateString=gp,e.interpolateTransformCss=Cp,e.interpolateTransformSvg=xp,e.interpolateZoom=Np,e.interpolateRgb=up,e.interpolateRgbBasis=cp,e.interpolateRgbBasisClosed=dp,e.interpolateHsl=Op,e.interpolateHslLong=Ep,e.interpolateLab=At,e.interpolateHcl=zp,e.interpolateHclLong=Rp,e.interpolateCubehelix=jp,e.interpolateCubehelixLong=Lp,e.interpolateBasis=ip,e.interpolateBasisClosed=sp,e.quantize=Dp,e.dispatch=Ot,e.dsvFormat=qp,e.csvParse=Up,e.csvParseRows=Wp,e.csvFormat=Hp,e.csvFormatRows=Xp,e.tsvParse=Gp,e.tsvParseRows=Yp,e.tsvFormat=$p,e.tsvFormatRows=Qp,e.request=Jp,e.html=eh,e.json=th,e.text=nh,e.xml=rh,e.csv=ah,e.tsv=ih,e.now=Ft,e.timer=Ht,e.timerFlush=Xt,e.timeout=vh,e.interval=bh,e.timeInterval=Qt,e.timeMillisecond=_h,e.timeMilliseconds=Mh,e.timeSecond=Th,e.timeSeconds=Ah,e.timeMinute=Ph,e.timeMinutes=Nh,e.timeHour=Oh,e.timeHours=Eh,e.timeDay=zh,e.timeDays=Rh,e.timeWeek=jh,e.timeWeeks=Fh,e.timeSunday=jh,e.timeSundays=Fh,e.timeMonday=Lh,e.timeMondays=Uh,e.timeTuesday=Dh,e.timeTuesdays=Wh;e.timeWednesday=Ih;e.timeWednesdays=Hh,e.timeThursday=Bh,e.timeThursdays=Xh,e.timeFriday=Vh,e.timeFridays=Kh,e.timeSaturday=qh,e.timeSaturdays=Gh,e.timeMonth=Yh,e.timeMonths=$h,e.timeYear=Qh,e.timeYears=Jh,e.utcMillisecond=_h,e.utcMilliseconds=Mh,e.utcSecond=Th,e.utcSeconds=Ah,e.utcMinute=Zh,e.utcMinutes=em,e.utcHour=tm,e.utcHours=nm,e.utcDay=rm,e.utcDays=om,e.utcWeek=am,e.utcWeeks=fm,e.utcSunday=am,e.utcSundays=fm,e.utcMonday=im,e.utcMondays=pm,e.utcTuesday=sm,e.utcTuesdays=hm,e.utcWednesday=lm,e.utcWednesdays=mm,e.utcThursday=um,e.utcThursdays=vm,e.utcFriday=cm,e.utcFridays=bm,e.utcSaturday=dm,e.utcSaturdays=gm,e.utcMonth=ym,e.utcMonths=_m,e.utcYear=Mm,e.utcYears=Sm,e.formatLocale=jm,e.formatDefaultLocale=nn,e.formatSpecifier=Em,e.precisionFixed=Dm,e.precisionPrefix=Im,e.precisionRound=Bm,e.isoFormat=Hm,e.isoParse=Xm,e.timeFormatLocale=sn,e.timeFormatDefaultLocale=tr,e.scaleBand=ar,e.scalePoint=sr,e.scaleIdentity=br,e.scaleLinear=vr,e.scaleLog=Cr,e.scaleOrdinal=or,e.scaleImplicit=$m,e.scalePow=kr,e.scaleSqrt=Tr,e.scaleQuantile=Ar,e.scaleQuantize=Pr,e.scaleThreshold=Nr,e.scaleTime=uv,e.scaleUtc=cv,e.schemeCategory10=fv,e.schemeCategory20b=pv,e.schemeCategory20c=hv,e.schemeCategory20=mv,e.scaleSequential=jr,e.interpolateCubehelixDefault=vv,e.interpolateRainbow=_v,e.interpolateWarm=bv,e.interpolateCool=gv,e.interpolateViridis=Mv,e.interpolateMagma=wv,e.interpolateInferno=Sv,e.interpolatePlasma=Cv,e.creator=Av,e.customEvent=Hr,e.local=Ir,e.matcher=zv,e.mouse=Bv,e.namespace=Tv,e.namespaces=kv,e.select=Mb,e.selectAll=wb,e.selection=zo,e.selector=Vv,e.selectorAll=Fv,e.touch=Sb,e.touches=Cb,e.window=sb,e.active=sg,e.interrupt=jb,e.transition=da,e.axisTop=ya,e.axisRight=_a,e.axisBottom=Ma,e.axisLeft=wa,e.cluster=mg,e.hierarchy=Oa,e.pack=Ng,e.packSiblings=Ag,e.packEnclose=Tg,e.partition=zg,e.stratify=Dg,e.tree=Ig,e.treemap=Fg,e.treemapBinary=Ug,e.treemapDice=Eg,e.treemapSlice=Bg,e.treemapSliceDice=Wg,e.treemapSquarify=qg,e.treemapResquarify=Hg,e.forceCenter=Xg,e.forceCollide=Yg,e.forceLink=$g,e.forceManyBody=ey,e.forceSimulation=Zg,e.forceX=ty,e.forceY=ny,e.drag=iy,e.dragDisable=oy,e.dragEnable=yi,e.voronoi=by,e.zoom=My,e.zoomIdentity=yy,e.zoomTransform=os,e.brush=Dy,e.brushX=vs,e.brushY=bs,e.brushSelection=ms,e.chord=Wy,e.ribbon=Ky,e.geoAlbers=dw,e.geoAlbersUsa=fw,e.geoArea=Z_,e.geoAzimuthalEqualArea=hw,e.geoAzimuthalEqualAreaRaw=pw,e.geoAzimuthalEquidistant=vw,e.geoAzimuthalEquidistantRaw=mw,e.geoBounds=nM,e.geoCentroid=oM,e.geoCircle=yM,e.geoClipExtent=kM,e.geoConicConformal=gw,e.geoConicConformalRaw=hu,e.geoConicEqualArea=cw,e.geoConicEqualAreaRaw=su,e.geoConicEquidistant=_w,e.geoConicEquidistantRaw=vu,e.geoDistance=EM,e.geoEquirectangular=yw,e.geoEquirectangularRaw=mu,e.geoGnomonic=Mw,e.geoGnomonicRaw=bu,e.geoGraticule=Tl,e.geoGraticule10=Al,e.geoIdentity=ww,e.geoInterpolate=zM,e.geoLength=PM,e.geoMercator=bw,e.geoMercatorRaw=du,e.geoOrthographic=Sw,e.geoOrthographicRaw=yu,e.geoPath=ZM,e.geoProjection=ru,e.geoProjectionMutator=ou,e.geoRotation=gM,e.geoStereographic=Cw,e.geoStereographicRaw=_u,e.geoStream=Y_,e.geoTransform=aw,e.geoTransverseMercator=xw,e.geoTransverseMercatorRaw=Mu,Object.defineProperty(e,"__esModule",{value:!0})})},{}],220:[function(e,t,n){(function(r){function o(){return!("undefined"==typeof window||!window||"undefined"==typeof window.process||"renderer"!==window.process.type)||("undefined"!=typeof document&&document&&"WebkitAppearance"in document.documentElement.style||"undefined"!=typeof window&&window&&window.console&&(console.firebug||console.exception&&console.table)||"undefined"!=typeof navigator&&navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function a(e){var t=this.useColors;if(e[0]=(t?"%c":"")+this.namespace+(t?" %c":" ")+e[0]+(t?"%c ":" ")+"+"+n.humanize(this.diff),t){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,a=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(o++,"%c"===e&&(a=o))}),e.splice(a,0,r)}}function i(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function s(e){try{null==e?n.storage.removeItem("debug"):n.storage.debug=e}catch(e){}}function l(){try{return n.storage.debug}catch(e){}if("undefined"!=typeof r&&"env"in r)return r.env.DEBUG}function u(){try{return window.localStorage}catch(e){}}n=t.exports=e("./debug"),n.log=i,n.formatArgs=a,n.save=s,n.load=l,n.useColors=o,n.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:u(),n.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],n.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},n.enable(l())}).call(this,e("_process"))},{"./debug":221,_process:828}],221:[function(e,t,n){function r(e){var t,r=0;for(t in e)r=(r<<5)-r+e.charCodeAt(t),r|=0;return n.colors[Math.abs(r)%n.colors.length]}function o(e){function t(){if(t.enabled){var e=t,r=+new Date,o=r-(u||r);e.diff=o,e.prev=u,e.curr=r,u=r;for(var a=new Array(arguments.length),i=0;i<a.length;i++)a[i]=arguments[i];a[0]=n.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var s=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,function(t,r){if("%%"===t)return t;s++;var o=n.formatters[r];if("function"==typeof o){var i=a[s];t=o.call(e,i),a.splice(s,1),s--}return t}),n.formatArgs.call(e,a);var l=t.log||n.log||console.log.bind(console);l.apply(e,a)}}return t.namespace=e,t.enabled=n.enabled(e),t.useColors=n.useColors(),t.color=r(e),"function"==typeof n.init&&n.init(t),t}function a(e){n.save(e);for(var t=(e||"").split(/[\s,]+/),r=t.length,o=0;o<r;o++)t[o]&&(e=t[o].replace(/\*/g,".*?"),"-"===e[0]?n.skips.push(new RegExp("^"+e.substr(1)+"$")):n.names.push(new RegExp("^"+e+"$")))}function i(){n.enable("")}function s(e){var t,r;for(t=0,r=n.skips.length;t<r;t++)if(n.skips[t].test(e))return!1;for(t=0,r=n.names.length;t<r;t++)if(n.names[t].test(e))return!0;return!1}function l(e){return e instanceof Error?e.stack||e.message:e}n=t.exports=o.debug=o.default=o,n.coerce=l,n.disable=i,n.enable=a,n.enabled=s,n.humanize=e("ms"),n.names=[],n.skips=[],n.formatters={};var u},{ms:811}],222:[function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}},o=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")};n.__esModule=!0;var a=e("./isDisposable"),i=r(a),s=function(){function e(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];o(this,e),Array.isArray(n[0])&&1===n.length&&(n=n[0]);for(var a=0;a<n.length;a++)if(!i.default(n[a]))throw new Error("Expected a disposable");this.disposables=n,this.isDisposed=!1}return e.prototype.add=function(e){this.isDisposed?e.dispose():this.disposables.push(e)},e.prototype.remove=function(e){if(this.isDisposed)return!1;var t=this.disposables.indexOf(e);return t!==-1&&(this.disposables.splice(t,1),e.dispose(),!0)},e.prototype.dispose=function(){if(!this.isDisposed){for(var e=this.disposables.length,t=new Array(e),n=0;n<e;n++)t[n]=this.disposables[n];this.isDisposed=!0,this.disposables=[],this.length=0;for(var n=0;n<e;n++)t[n].dispose()}},e}();n.default=s,t.exports=n.default},{"./isDisposable":226}],223:[function(e,t,n){"use strict";var r=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n.__esModule=!0;var a=function(){},i=function(){function e(t){r(this,e),this.isDisposed=!1,this.action=t||a}return e.prototype.dispose=function(){this.isDisposed||(this.action.call(null),this.isDisposed=!0)},o(e,null,[{key:"empty",enumerable:!0,value:{dispose:a}}]),e}();n.default=i,t.exports=n.default},{}],224:[function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}},o=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")};n.__esModule=!0;var a=e("./isDisposable"),i=r(a),s=function(){function e(){o(this,e),this.isDisposed=!1,this.current=null}return e.prototype.getDisposable=function(){return this.current},e.prototype.setDisposable=function(){var e=void 0===arguments[0]?null:arguments[0];if(null!=e&&!i.default(e))throw new Error("Expected either an empty value or a valid disposable");var t=this.isDisposed,n=void 0;t||(n=this.current,this.current=e),n&&n.dispose(),t&&e&&e.dispose()},e.prototype.dispose=function(){if(!this.isDisposed){this.isDisposed=!0;var e=this.current;this.current=null,e&&e.dispose()}},e}();n.default=s,t.exports=n.default},{"./isDisposable":226}],225:[function(e,t,n){"use strict";var r=function(e){return e&&e.__esModule?e:{default:e}};n.__esModule=!0;var o=e("./isDisposable"),a=r(o);n.isDisposable=a.default;var i=e("./Disposable"),s=r(i);n.Disposable=s.default;var l=e("./CompositeDisposable"),u=r(l);n.CompositeDisposable=u.default;var c=e("./SerialDisposable"),d=r(c);n.SerialDisposable=d.default},{"./CompositeDisposable":222,"./Disposable":223,"./SerialDisposable":224,"./isDisposable":226}],226:[function(e,t,n){"use strict";function r(e){return Boolean(e&&"function"==typeof e.dispose)}n.__esModule=!0,n.default=r,t.exports=n.default},{}],227:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.__esModule=!0;var i=e("redux/lib/createStore"),s=o(i),l=e("./reducers"),u=o(l),c=e("./actions/dragDrop"),d=r(c),f=e("./DragDropMonitor"),p=o(f),h=e("./HandlerRegistry"),m=(o(h),function(){function e(t){a(this,e);var n=s.default(u.default);this.store=n,this.monitor=new p.default(n),this.registry=this.monitor.registry,this.backend=t(this),n.subscribe(this.handleRefCountChange.bind(this))}return e.prototype.handleRefCountChange=function(){var e=this.store.getState().refCount>0;e&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!e&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1)},e.prototype.getMonitor=function(){return this.monitor},e.prototype.getBackend=function(){return this.backend},e.prototype.getRegistry=function(){return this.registry},e.prototype.getActions=function(){function e(e){return function(){var r=e.apply(t,arguments);"undefined"!=typeof r&&n(r)}}var t=this,n=this.store.dispatch;return Object.keys(d).filter(function(e){return"function"==typeof d[e]}).reduce(function(t,n){return t[n]=e(d[n]),t},{})},e}());n.default=m,t.exports=n.default},{"./DragDropMonitor":228,"./HandlerRegistry":231,"./actions/dragDrop":232,"./reducers":239,"redux/lib/createStore":1286}],228:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.__esModule=!0;var a=e("invariant"),i=r(a),s=e("./utils/matchesType"),l=r(s),u=e("lodash/isArray"),c=r(u),d=e("./HandlerRegistry"),f=r(d),p=e("./reducers/dragOffset"),h=e("./reducers/dirtyHandlerIds"),m=function(){function e(t){o(this,e),this.store=t,this.registry=new f.default(t)}return e.prototype.subscribeToStateChange=function(e){var t=this,n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=n.handlerIds;i.default("function"==typeof e,"listener must be a function."),i.default("undefined"==typeof r||c.default(r),"handlerIds, when specified, must be an array of strings.");var o=this.store.getState().stateId,a=function(){var n=t.store.getState(),a=n.stateId;try{var i=a===o||a===o+1&&!h.areDirty(n.dirtyHandlerIds,r);i||e()}finally{o=a}};return this.store.subscribe(a)},e.prototype.subscribeToOffsetChange=function(e){var t=this;i.default("function"==typeof e,"listener must be a function.");var n=this.store.getState().dragOffset,r=function(){var r=t.store.getState().dragOffset;r!==n&&(n=r,e())};return this.store.subscribe(r)},e.prototype.canDragSource=function(e){var t=this.registry.getSource(e);return i.default(t,"Expected to find a valid source."),!this.isDragging()&&t.canDrag(this,e)},e.prototype.canDropOnTarget=function(e){var t=this.registry.getTarget(e);if(i.default(t,"Expected to find a valid target."),!this.isDragging()||this.didDrop())return!1;var n=this.registry.getTargetType(e),r=this.getItemType();return l.default(n,r)&&t.canDrop(this,e)},e.prototype.isDragging=function(){return Boolean(this.getItemType())},e.prototype.isDraggingSource=function(e){var t=this.registry.getSource(e,!0);if(i.default(t,"Expected to find a valid source."),!this.isDragging()||!this.isSourcePublic())return!1;var n=this.registry.getSourceType(e),r=this.getItemType();return n===r&&t.isDragging(this,e)},e.prototype.isOverTarget=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=t.shallow,r=void 0!==n&&n;if(!this.isDragging())return!1;var o=this.registry.getTargetType(e),a=this.getItemType();if(!l.default(o,a))return!1;var i=this.getTargetIds();if(!i.length)return!1;var s=i.indexOf(e);return r?s===i.length-1:s>-1},e.prototype.getItemType=function(){return this.store.getState().dragOperation.itemType},e.prototype.getItem=function(){return this.store.getState().dragOperation.item},e.prototype.getSourceId=function(){return this.store.getState().dragOperation.sourceId},e.prototype.getTargetIds=function(){return this.store.getState().dragOperation.targetIds},e.prototype.getDropResult=function(){return this.store.getState().dragOperation.dropResult},e.prototype.didDrop=function(){return this.store.getState().dragOperation.didDrop},e.prototype.isSourcePublic=function(){return this.store.getState().dragOperation.isSourcePublic},e.prototype.getInitialClientOffset=function(){return this.store.getState().dragOffset.initialClientOffset},e.prototype.getInitialSourceClientOffset=function(){return this.store.getState().dragOffset.initialSourceClientOffset},e.prototype.getClientOffset=function(){return this.store.getState().dragOffset.clientOffset},e.prototype.getSourceClientOffset=function(){return p.getSourceClientOffset(this.store.getState().dragOffset)},e.prototype.getDifferenceFromInitialOffset=function(){return p.getDifferenceFromInitialOffset(this.store.getState().dragOffset)},e}();n.default=m,t.exports=n.default},{"./HandlerRegistry":231,"./reducers/dirtyHandlerIds":236,"./reducers/dragOffset":237,"./utils/matchesType":243,invariant:361,"lodash/isArray":731}],229:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.__esModule=!0;var o=function(){function e(){r(this,e)}return e.prototype.canDrag=function(){return!0},e.prototype.isDragging=function(e,t){return t===e.getSourceId()},e.prototype.endDrag=function(){},e}();n.default=o,t.exports=n.default},{}],230:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.__esModule=!0;var o=function(){function e(){r(this,e)}return e.prototype.canDrop=function(){return!0},e.prototype.hover=function(){},e.prototype.drop=function(){},e}();n.default=o,t.exports=n.default},{}],231:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e){return e&&e.constructor===Symbol?"symbol":typeof e}function i(e){f.default("function"==typeof e.canDrag,"Expected canDrag to be a function."),f.default("function"==typeof e.beginDrag,"Expected beginDrag to be a function."),f.default("function"==typeof e.endDrag,"Expected endDrag to be a function.")}function s(e){f.default("function"==typeof e.canDrop,"Expected canDrop to be a function."),f.default("function"==typeof e.hover,"Expected hover to be a function."),f.default("function"==typeof e.drop,"Expected beginDrag to be a function.")}function l(e,t){return t&&h.default(e)?void e.forEach(function(e){return l(e,!1)}):void f.default("string"==typeof e||"symbol"===("undefined"==typeof e?"undefined":a(e)),t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}function u(e){var t=v.default().toString();switch(e){case _.SOURCE:return"S"+t;case _.TARGET:return"T"+t;default:f.default(!1,"Unknown role: "+e)}}function c(e){switch(e[0]){case"S":return _.SOURCE;case"T":return _.TARGET;default:f.default(!1,"Cannot parse handler ID: "+e)}}n.__esModule=!0;var d=e("invariant"),f=r(d),p=e("lodash/isArray"),h=r(p),m=e("./utils/getNextUniqueId"),v=r(m),b=e("./actions/registry"),g=e("asap"),y=r(g),_={SOURCE:"SOURCE",TARGET:"TARGET"},M=function(){function e(t){o(this,e),this.store=t,this.types={},this.handlers={},this.pinnedSourceId=null,this.pinnedSource=null}return e.prototype.addSource=function(e,t){l(e),i(t);var n=this.addHandler(_.SOURCE,e,t);return this.store.dispatch(b.addSource(n)),n},e.prototype.addTarget=function(e,t){l(e,!0),s(t);var n=this.addHandler(_.TARGET,e,t);return this.store.dispatch(b.addTarget(n)),n},e.prototype.addHandler=function(e,t,n){var r=u(e);return this.types[r]=t,this.handlers[r]=n,r},e.prototype.containsHandler=function(e){var t=this;return Object.keys(this.handlers).some(function(n){return t.handlers[n]===e})},e.prototype.getSource=function(e,t){f.default(this.isSourceId(e),"Expected a valid source ID.");var n=t&&e===this.pinnedSourceId,r=n?this.pinnedSource:this.handlers[e];return r},e.prototype.getTarget=function(e){return f.default(this.isTargetId(e),"Expected a valid target ID."),this.handlers[e]},e.prototype.getSourceType=function(e){return f.default(this.isSourceId(e),"Expected a valid source ID."),this.types[e]},e.prototype.getTargetType=function(e){return f.default(this.isTargetId(e),"Expected a valid target ID."),this.types[e]},e.prototype.isSourceId=function(e){var t=c(e);return t===_.SOURCE},e.prototype.isTargetId=function(e){var t=c(e);return t===_.TARGET},e.prototype.removeSource=function(e){var t=this;f.default(this.getSource(e),"Expected an existing source."),this.store.dispatch(b.removeSource(e)),y.default(function(){delete t.handlers[e],delete t.types[e]})},e.prototype.removeTarget=function(e){var t=this;f.default(this.getTarget(e),"Expected an existing target."),this.store.dispatch(b.removeTarget(e)),y.default(function(){delete t.handlers[e],delete t.types[e]})},e.prototype.pinSource=function(e){var t=this.getSource(e);f.default(t,"Expected an existing source."),this.pinnedSourceId=e,this.pinnedSource=t},e.prototype.unpinSource=function(){f.default(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null},e}();n.default=M,t.exports=n.default},{"./actions/registry":233,"./utils/getNextUniqueId":242,asap:2,invariant:361,"lodash/isArray":731}],232:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=t.publishSource,r=void 0===n||n,o=t.clientOffset,a=void 0===o?null:o,i=t.getSourceClientOffset;f.default(h.default(e),"Expected sourceIds to be an array.");var s=this.getMonitor(),l=this.getRegistry();f.default(!s.isDragging(),"Cannot call beginDrag while dragging.");for(var u=0;u<e.length;u++)f.default(l.getSource(e[u]),"Expected sourceIds to be registered.");for(var c=null,u=e.length-1;u>=0;u--)if(s.canDragSource(e[u])){c=e[u];break}if(null!==c){var d=null;a&&(f.default("function"==typeof i,"When clientOffset is provided, getSourceClientOffset must be a function."),d=i(c));var p=l.getSource(c),m=p.beginDrag(s,c);f.default(v.default(m),"Item must be an object."),l.pinSource(c);var g=l.getSourceType(c);return{type:b,itemType:g,item:m,sourceId:c,clientOffset:a,sourceClientOffset:d,isSourcePublic:r}}}function a(e){var t=this.getMonitor();if(t.isDragging())return{type:g}}function i(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=t.clientOffset,r=void 0===n?null:n;f.default(h.default(e),"Expected targetIds to be an array."),e=e.slice(0);var o=this.getMonitor(),a=this.getRegistry();f.default(o.isDragging(),"Cannot call hover while not dragging."),f.default(!o.didDrop(),"Cannot call hover after drop.");for(var i=0;i<e.length;i++){var s=e[i];f.default(e.lastIndexOf(s)===i,"Expected targetIds to be unique in the passed array.");var l=a.getTarget(s);f.default(l,"Expected targetIds to be registered.")}for(var u=o.getItemType(),i=e.length-1;i>=0;i--){var s=e[i],d=a.getTargetType(s);c.default(d,u)||e.splice(i,1)}for(var i=0;i<e.length;i++){var s=e[i],l=a.getTarget(s);l.hover(o,s)}return{type:y,targetIds:e,clientOffset:r}}function s(){var e=this,t=this.getMonitor(),n=this.getRegistry();f.default(t.isDragging(),"Cannot call drop while not dragging."),f.default(!t.didDrop(),"Cannot call drop twice during one drag operation.");var r=t.getTargetIds().filter(t.canDropOnTarget,t);r.reverse(),r.forEach(function(r,o){var a=n.getTarget(r),i=a.drop(t,r);f.default("undefined"==typeof i||v.default(i),"Drop result must either be an object or undefined."),"undefined"==typeof i&&(i=0===o?{}:t.getDropResult()),e.store.dispatch({type:_,dropResult:i})})}function l(){var e=this.getMonitor(),t=this.getRegistry();f.default(e.isDragging(),"Cannot call endDrag while not dragging.");var n=e.getSourceId(),r=t.getSource(n,!0);return r.endDrag(e,n),t.unpinSource(),{type:M}}n.__esModule=!0,n.beginDrag=o,n.publishDragSource=a,n.hover=i,n.drop=s,n.endDrag=l;var u=e("../utils/matchesType"),c=r(u),d=e("invariant"),f=r(d),p=e("lodash/isArray"),h=r(p),m=e("lodash/isObject"),v=r(m),b="dnd-core/BEGIN_DRAG";n.BEGIN_DRAG=b;var g="dnd-core/PUBLISH_DRAG_SOURCE";n.PUBLISH_DRAG_SOURCE=g;var y="dnd-core/HOVER";n.HOVER=y;var _="dnd-core/DROP";n.DROP=_;var M="dnd-core/END_DRAG";n.END_DRAG=M},{"../utils/matchesType":243,invariant:361,"lodash/isArray":731,"lodash/isObject":741}],233:[function(e,t,n){"use strict";function r(e){return{type:s,sourceId:e}}function o(e){return{type:l,targetId:e}}function a(e){return{type:u,sourceId:e}}function i(e){return{type:c,targetId:e}}n.__esModule=!0,n.addSource=r,n.addTarget=o,n.removeSource=a,n.removeTarget=i;var s="dnd-core/ADD_SOURCE";n.ADD_SOURCE=s;var l="dnd-core/ADD_TARGET";n.ADD_TARGET=l;var u="dnd-core/REMOVE_SOURCE";n.REMOVE_SOURCE=u;var c="dnd-core/REMOVE_TARGET";n.REMOVE_TARGET=c},{}],234:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e){return new l(e)}n.__esModule=!0,n.default=a;var i=e("lodash/noop"),s=r(i),l=function(){function e(t){o(this,e),this.actions=t.getActions()}return e.prototype.setup=function(){this.didCallSetup=!0},e.prototype.teardown=function(){this.didCallTeardown=!0},e.prototype.connectDragSource=function(){return s.default},e.prototype.connectDragPreview=function(){return s.default},e.prototype.connectDropTarget=function(){return s.default},e.prototype.simulateBeginDrag=function(e,t){this.actions.beginDrag(e,t)},e.prototype.simulatePublishDragSource=function(){this.actions.publishDragSource()},e.prototype.simulateHover=function(e,t){this.actions.hover(e,t)},e.prototype.simulateDrop=function(){this.actions.drop()},e.prototype.simulateEndDrag=function(){this.actions.endDrag()},e}();t.exports=n.default},{"lodash/noop":759}],235:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}n.__esModule=!0;var o=e("./DragDropManager");n.DragDropManager=r(o);var a=e("./DragSource");n.DragSource=r(a);var i=e("./DropTarget");n.DropTarget=r(i);var s=e("./backends/createTestBackend");n.createTestBackend=r(s)},{"./DragDropManager":227,"./DragSource":229,"./DropTarget":230,"./backends/createTestBackend":234}],236:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){switch(void 0===e&&(e=f),t.type){case c.HOVER:break;case d.ADD_SOURCE:case d.ADD_TARGET:case d.REMOVE_TARGET:case d.REMOVE_SOURCE:return f;case c.BEGIN_DRAG:case c.PUBLISH_DRAG_SOURCE:case c.END_DRAG:case c.DROP:default:return p}var r=t.targetIds,o=n.targetIds,a=s.default(r,o),i=!1;if(0===a.length){for(var l=0;l<r.length;l++)if(r[l]!==o[l]){i=!0;break}}else i=!0;if(!i)return f;var u=o[o.length-1],h=r[r.length-1];return u!==h&&(u&&a.push(u),h&&a.push(h)),a}function a(e,t){return e!==f&&(e===p||"undefined"==typeof t||u.default(t,e).length>0)}n.__esModule=!0,n.default=o,n.areDirty=a;var i=e("lodash/xor"),s=r(i),l=e("lodash/intersection"),u=r(l),c=e("../actions/dragDrop"),d=e("../actions/registry"),f=[],p=[]},{"../actions/dragDrop":232,"../actions/registry":233,"lodash/intersection":729,"lodash/xor":797}],237:[function(e,t,n){"use strict";function r(e,t){return e===t||e&&t&&e.x===t.x&&e.y===t.y}function o(e,t){switch(void 0===e&&(e=u),t.type){case l.BEGIN_DRAG:return{initialSourceClientOffset:t.sourceClientOffset,initialClientOffset:t.clientOffset,clientOffset:t.clientOffset};case l.HOVER:return r(e.clientOffset,t.clientOffset)?e:s({},e,{clientOffset:t.clientOffset});case l.END_DRAG:case l.DROP:return u;default:return e}}function a(e){var t=e.clientOffset,n=e.initialClientOffset,r=e.initialSourceClientOffset;return t&&n&&r?{x:t.x+r.x-n.x,y:t.y+r.y-n.y}:null}function i(e){var t=e.clientOffset,n=e.initialClientOffset;
|
13 | return t&&n?{x:t.x-n.x,y:t.y-n.y}:null}n.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.default=o,n.getSourceClientOffset=a,n.getDifferenceFromInitialOffset=i;var l=e("../actions/dragDrop"),u={initialSourceClientOffset:null,initialClientOffset:null,clientOffset:null}},{"../actions/dragDrop":232}],238:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){switch(void 0===e&&(e=c),t.type){case i.BEGIN_DRAG:return a({},e,{itemType:t.itemType,item:t.item,sourceId:t.sourceId,isSourcePublic:t.isSourcePublic,dropResult:null,didDrop:!1});case i.PUBLISH_DRAG_SOURCE:return a({},e,{isSourcePublic:!0});case i.HOVER:return a({},e,{targetIds:t.targetIds});case s.REMOVE_TARGET:return e.targetIds.indexOf(t.targetId)===-1?e:a({},e,{targetIds:u.default(e.targetIds,t.targetId)});case i.DROP:return a({},e,{dropResult:t.dropResult,didDrop:!0,targetIds:[]});case i.END_DRAG:return a({},e,{itemType:null,item:null,sourceId:null,dropResult:null,didDrop:!1,isSourcePublic:null,targetIds:[]});default:return e}}n.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.default=o;var i=e("../actions/dragDrop"),s=e("../actions/registry"),l=e("lodash/without"),u=r(l),c={itemType:null,item:null,sourceId:null,targetIds:[],dropResult:null,didDrop:!1,isSourcePublic:null};t.exports=n.default},{"../actions/dragDrop":232,"../actions/registry":233,"lodash/without":795}],239:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=e("./dragOffset"),a=r(o),i=e("./dragOperation"),s=r(i),l=e("./refCount"),u=r(l),c=e("./dirtyHandlerIds"),d=r(c),f=e("./stateId"),p=r(f);n.default=function(e,t){return void 0===e&&(e={}),{dirtyHandlerIds:d.default(e.dirtyHandlerIds,t,e.dragOperation),dragOffset:a.default(e.dragOffset,t),refCount:u.default(e.refCount,t),dragOperation:s.default(e.dragOperation,t),stateId:p.default(e.stateId)}},t.exports=n.default},{"./dirtyHandlerIds":236,"./dragOffset":237,"./dragOperation":238,"./refCount":240,"./stateId":241}],240:[function(e,t,n){"use strict";function r(e,t){switch(void 0===e&&(e=0),t.type){case o.ADD_SOURCE:case o.ADD_TARGET:return e+1;case o.REMOVE_SOURCE:case o.REMOVE_TARGET:return e-1;default:return e}}n.__esModule=!0,n.default=r;var o=e("../actions/registry");t.exports=n.default},{"../actions/registry":233}],241:[function(e,t,n){"use strict";function r(){var e=arguments.length<=0||void 0===arguments[0]?0:arguments[0];return e+1}n.__esModule=!0,n.default=r,t.exports=n.default},{}],242:[function(e,t,n){"use strict";function r(){return o++}n.__esModule=!0,n.default=r;var o=0;t.exports=n.default},{}],243:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return i.default(e)?e.some(function(e){return e===t}):e===t}n.__esModule=!0,n.default=o;var a=e("lodash/isArray"),i=r(a);t.exports=n.default},{"lodash/isArray":731}],244:[function(e,t,n){"use strict";function r(){var e=void 0===arguments[0]?document:arguments[0];try{return e.activeElement}catch(e){}}var o=e("./util/babelHelpers.js");n.__esModule=!0,n.default=r;var a=e("./ownerDocument");o.interopRequireDefault(a);t.exports=n.default},{"./ownerDocument":253,"./util/babelHelpers.js":268}],245:[function(e,t,n){"use strict";var r=e("./hasClass");t.exports=function(e,t){e.classList?e.classList.add(t):r(e)||(e.className=e.className+" "+t)}},{"./hasClass":246}],246:[function(e,t,n){"use strict";t.exports=function(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")!==-1}},{}],247:[function(e,t,n){"use strict";t.exports={addClass:e("./addClass"),removeClass:e("./removeClass"),hasClass:e("./hasClass")}},{"./addClass":245,"./hasClass":246,"./removeClass":248}],248:[function(e,t,n){"use strict";t.exports=function(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}},{}],249:[function(e,t,n){"use strict";var r=e("../query/contains"),o=e("../query/querySelectorAll");t.exports=function(e,t){return function(n){var a=n.currentTarget,i=n.target,s=o(a,e);s.some(function(e){return r(e,i)})&&t.call(this,n)}}},{"../query/contains":255,"../query/querySelectorAll":261}],250:[function(e,t,n){"use strict";var r=e("./on"),o=e("./off"),a=e("./filter");t.exports={on:r,off:o,filter:a}},{"./filter":249,"./off":251,"./on":252}],251:[function(e,t,n){"use strict";var r=e("../util/inDOM"),o=function(){};r&&(o=function(){return document.addEventListener?function(e,t,n,r){return e.removeEventListener(t,n,r||!1)}:document.attachEvent?function(e,t,n){return e.detachEvent("on"+t,n)}:void 0}()),t.exports=o},{"../util/inDOM":273}],252:[function(e,t,n){"use strict";var r=e("../util/inDOM"),o=function(){};r&&(o=function(){return document.addEventListener?function(e,t,n,r){return e.addEventListener(t,n,r||!1)}:document.attachEvent?function(e,t,n){return e.attachEvent("on"+t,n)}:void 0}()),t.exports=o},{"../util/inDOM":273}],253:[function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.__esModule=!0,n.default=r,t.exports=n.default},{}],254:[function(e,t,n){"use strict";function r(e){var t=(0,i.default)(e);return t&&t.defaultView||t.parentWindow}var o=e("./util/babelHelpers.js");n.__esModule=!0,n.default=r;var a=e("./ownerDocument"),i=o.interopRequireDefault(a);t.exports=n.default},{"./ownerDocument":253,"./util/babelHelpers.js":268}],255:[function(e,t,n){"use strict";var r=e("../util/inDOM"),o=function(){var e=r&&document.documentElement;return e&&e.contains?function(e,t){return e.contains(t)}:e&&e.compareDocumentPosition?function(e,t){return e===t||!!(16&e.compareDocumentPosition(t))}:function(e,t){if(t)do if(t===e)return!0;while(t=t.parentNode);return!1}}();t.exports=o},{"../util/inDOM":273}],256:[function(e,t,n){"use strict";var r=e("./offset"),o=e("./isWindow");t.exports=function(e,t){var n=o(e);return n?n.innerHeight:t?e.clientHeight:r(e).height}},{"./isWindow":257,"./offset":258}],257:[function(e,t,n){"use strict";t.exports=function(e){return e===e.window?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}},{}],258:[function(e,t,n){"use strict";var r=e("./contains"),o=e("./isWindow"),a=e("../ownerDocument");t.exports=function(e){var t=a(e),n=o(t),i=t&&t.documentElement,s={top:0,left:0,height:0,width:0};if(t)return r(i,e)?(void 0!==e.getBoundingClientRect&&(s=e.getBoundingClientRect()),(s.width||s.height)&&(s={top:s.top+(n.pageYOffset||i.scrollTop)-(i.clientTop||0),left:s.left+(n.pageXOffset||i.scrollLeft)-(i.clientLeft||0),width:(null==s.width?e.offsetWidth:s.width)||0,height:(null==s.height?e.offsetHeight:s.height)||0}),s):s}},{"../ownerDocument":253,"./contains":255,"./isWindow":257}],259:[function(e,t,n){"use strict";function r(e){return e.nodeName&&e.nodeName.toLowerCase()}function o(e){for(var t=(0,s.default)(e),n=e&&e.offsetParent;n&&"html"!==r(e)&&"static"===(0,u.default)(n,"position");)n=n.offsetParent;return n||t.documentElement}var a=e("../util/babelHelpers.js");n.__esModule=!0,n.default=o;var i=e("../ownerDocument"),s=a.interopRequireDefault(i),l=e("../style"),u=a.interopRequireDefault(l);t.exports=n.default},{"../ownerDocument":253,"../style":265,"../util/babelHelpers.js":268}],260:[function(e,t,n){"use strict";function r(e){return e.nodeName&&e.nodeName.toLowerCase()}function o(e,t){var n,o={top:0,left:0};return"fixed"===(0,m.default)(e,"position")?n=e.getBoundingClientRect():(t=t||(0,u.default)(e),n=(0,s.default)(e),"html"!==r(t)&&(o=(0,s.default)(t)),o.top+=parseInt((0,m.default)(t,"borderTopWidth"),10)-(0,d.default)(t)||0,o.left+=parseInt((0,m.default)(t,"borderLeftWidth"),10)-(0,p.default)(t)||0),a._extends({},n,{top:n.top-o.top-(parseInt((0,m.default)(e,"marginTop"),10)||0),left:n.left-o.left-(parseInt((0,m.default)(e,"marginLeft"),10)||0)})}var a=e("../util/babelHelpers.js");n.__esModule=!0,n.default=o;var i=e("./offset"),s=a.interopRequireDefault(i),l=e("./offsetParent"),u=a.interopRequireDefault(l),c=e("./scrollTop"),d=a.interopRequireDefault(c),f=e("./scrollLeft"),p=a.interopRequireDefault(f),h=e("../style"),m=a.interopRequireDefault(h);t.exports=n.default},{"../style":265,"../util/babelHelpers.js":268,"./offset":258,"./offsetParent":259,"./scrollLeft":262,"./scrollTop":263}],261:[function(e,t,n){"use strict";var r=/^[\w-]*$/,o=Function.prototype.bind.call(Function.prototype.call,[].slice);t.exports=function(e,t){var n,a="#"===t[0],i="."===t[0],s=a||i?t.slice(1):t,l=r.test(s);return l?a?(e=e.getElementById?e:document,(n=e.getElementById(s))?[n]:[]):o(e.getElementsByClassName&&i?e.getElementsByClassName(s):e.getElementsByTagName(t)):o(e.querySelectorAll(t))}},{}],262:[function(e,t,n){"use strict";var r=e("./isWindow");t.exports=function(e,t){var n=r(e);return void 0===t?n?"pageXOffset"in n?n.pageXOffset:n.document.documentElement.scrollLeft:e.scrollLeft:void(n?n.scrollTo(t,"pageYOffset"in n?n.pageYOffset:n.document.documentElement.scrollTop):e.scrollLeft=t)}},{"./isWindow":257}],263:[function(e,t,n){"use strict";var r=e("./isWindow");t.exports=function(e,t){var n=r(e);return void 0===t?n?"pageYOffset"in n?n.pageYOffset:n.document.documentElement.scrollTop:e.scrollTop:void(n?n.scrollTo("pageXOffset"in n?n.pageXOffset:n.document.documentElement.scrollLeft,t):e.scrollTop=t)}},{"./isWindow":257}],264:[function(e,t,n){"use strict";var r=e("../util/babelHelpers.js"),o=e("../util/camelizeStyle"),a=r.interopRequireDefault(o),i=/^(top|right|bottom|left)$/,s=/^([+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/i;t.exports=function(e){if(!e)throw new TypeError("No Element passed to `getComputedStyle()`");var t=e.ownerDocument;return"defaultView"in t?t.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):window.getComputedStyle(e,null):{getPropertyValue:function(t){var n=e.style;t=(0,a.default)(t),"float"==t&&(t="styleFloat");var r=e.currentStyle[t]||null;if(null==r&&n&&n[t]&&(r=n[t]),s.test(r)&&!i.test(t)){var o=n.left,l=e.runtimeStyle,u=l&&l.left;u&&(l.left=e.currentStyle.left),n.left="fontSize"===t?"1em":r,r=n.pixelLeft+"px",n.left=o,u&&(l.left=u)}return r}}}},{"../util/babelHelpers.js":268,"../util/camelizeStyle":270}],265:[function(e,t,n){"use strict";var r=e("../util/camelizeStyle"),o=e("../util/hyphenateStyle"),a=e("./getComputedStyle"),i=e("./removeStyle"),s=Object.prototype.hasOwnProperty;t.exports=function(e,t,n){var l="",u=t;if("string"==typeof t){if(void 0===n)return e.style[r(t)]||a(e).getPropertyValue(o(t));(u={})[t]=n}for(var c in u)s.call(u,c)&&(u[c]||0===u[c]?l+=o(c)+":"+u[c]+";":i(e,o(c)));e.style.cssText+=";"+l}},{"../util/camelizeStyle":270,"../util/hyphenateStyle":272,"./getComputedStyle":264,"./removeStyle":266}],266:[function(e,t,n){"use strict";t.exports=function(e,t){return"removeProperty"in e.style?e.style.removeProperty(t):e.style.removeAttribute(t)}},{}],267:[function(e,t,n){"use strict";function r(){var e,t="",n={O:"otransitionend",Moz:"transitionend",Webkit:"webkitTransitionEnd",ms:"MSTransitionEnd"},r=document.createElement("div");for(var o in n)if(u.call(n,o)&&void 0!==r.style[o+"TransitionProperty"]){t="-"+o.toLowerCase()+"-",e=n[o];break}return e||void 0===r.style.transitionProperty||(e="transitionend"),{end:e,prefix:t}}var o,a,i,s,l=e("../util/inDOM"),u=Object.prototype.hasOwnProperty,c="transform",d={};l&&(d=r(),c=d.prefix+c,i=d.prefix+"transition-property",a=d.prefix+"transition-duration",s=d.prefix+"transition-delay",o=d.prefix+"transition-timing-function"),t.exports={transform:c,end:d.end,property:i,timing:o,delay:s,duration:a}},{"../util/inDOM":273}],268:[function(e,t,n){!function(e,t){"function"==typeof define&&define.amd?define(["exports"],t):t("object"==typeof n?n:e.babelHelpers={})}(this,function(e){var t=e;t.interopRequireDefault=function(e){return e&&e.__esModule?e:{default:e}},t._extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}})},{}],269:[function(e,t,n){"use strict";var r=/-(.)/g;t.exports=function(e){return e.replace(r,function(e,t){return t.toUpperCase()})}},{}],270:[function(e,t,n){"use strict";var r=e("./camelize"),o=/^-ms-/;t.exports=function(e){return r(e.replace(o,"ms-"))}},{"./camelize":269}],271:[function(e,t,n){"use strict";var r=/([A-Z])/g;t.exports=function(e){return e.replace(r,"-$1").toLowerCase()}},{}],272:[function(e,t,n){"use strict";var r=e("./hyphenate"),o=/^ms-/;t.exports=function(e){return r(e).replace(o,"-ms-")}},{"./hyphenate":271}],273:[function(e,t,n){"use strict";t.exports=!("undefined"==typeof window||!window.document||!window.document.createElement)},{}],274:[function(e,t,n){"use strict";function r(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-c)),r=setTimeout(e,n);return c=t,r}var o,a=e("./inDOM"),i=["","webkit","moz","o","ms"],s="clearTimeout",l=r,u=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};a&&i.some(function(e){var t=u(e,"request");if(t in window)return s=u(e,"cancel"),l=function(e){return window[t](e)}});var c=(new Date).getTime();o=function(e){return l(e)},o.cancel=function(e){return window[s](e)},t.exports=o},{"./inDOM":273}],275:[function(e,t,n){"use strict";var r,o=e("./inDOM");t.exports=function(e){if((!r||e)&&o){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),r=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return r}},{"./inDOM":273}],276:[function(e,t,n){var r=e("once"),o=function(){},a=function(e){return e.setHeader&&"function"==typeof e.abort},i=function(e){return e.stdio&&Array.isArray(e.stdio)&&3===e.stdio.length},s=function(e,t,n){if("function"==typeof t)return s(e,null,t);t||(t={}),n=r(n||o);var l=e._writableState,u=e._readableState,c=t.readable||t.readable!==!1&&e.readable,d=t.writable||t.writable!==!1&&e.writable,f=function(){e.writable||p()},p=function(){d=!1,c||n()},h=function(){c=!1,d||n()},m=function(e){n(e?new Error("exited with error code: "+e):null)},v=function(){return(!c||u&&u.ended)&&(!d||l&&l.ended)?void 0:n(new Error("premature close"))},b=function(){e.req.on("finish",p)};return a(e)?(e.on("complete",p),e.on("abort",v),e.req?b():e.on("request",b)):d&&!l&&(e.on("end",f),e.on("close",f)),i(e)&&e.on("exit",m),e.on("end",h),e.on("finish",p),t.error!==!1&&e.on("error",n),e.on("close",v),function(){e.removeListener("complete",p),e.removeListener("abort",v),e.removeListener("request",b),e.req&&e.req.removeListener("finish",p),e.removeListener("end",f),e.removeListener("close",f),e.removeListener("finish",p),e.removeListener("exit",m),e.removeListener("end",h),e.removeListener("error",n),e.removeListener("close",v)}};t.exports=s},{once:277}],277:[function(e,t,n){function r(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}var o=e("wrappy");t.exports=o(r),r.proto=r(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return r(this)},configurable:!0})})},{wrappy:1372}],278:[function(e,t,n){"use strict";function r(){}function o(e,t){function n(n,r){function a(){s();var e,o=arguments.length;if(t){e=new Array(o);for(var a=0;a<o;++a)e[a]=arguments[a];e.event=n}else e=o>0?arguments[0]:void 0;r(e)}i.push(n,a),o.call(e,n,a)}var o=e.addEventListener||e.addListener||e.on;if(!o)throw new Error("cannot register an event listener");var a=e.removeEventListener||e.removeListener||e.off,i=[],s=a?function(){for(var t=0,n=i.length;t<n;t+=2)a.call(e,i[t],i[t+1])}:r;return n.cleanUp=s,n}function a(e,t,n){var a,i=new Promise(function(i,s){var l=o(e,n&&n.array);a=function(){a=r,l.cleanUp()},l(t,i),n&&n.ignoreErrors||l(n&&n.error||"error",s)});return i.cancel=function(){return a()},i}var i=["error"];a.multi=function(e,t,n){n||(n=i);var a,s=new Promise(function(i,s){var l=o(e,!0);a=function(){a=r,l.cleanUp()};var u,c;for(u=0,c=t.length;u<c;++u)l(t[u],i);for(u=0,c=n.length;u<c;++u)l(n[u],s)});return s.cancel=function(){return a()},s},t.exports=a},{}],279:[function(e,t,n){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function o(e){return"function"==typeof e}function a(e){return"number"==typeof e}function i(e){return"object"==typeof e&&null!==e}function s(e){return void 0===e}t.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!a(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,n,r,a,l,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var c=new Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}if(n=this._events[e],s(n))return!1;if(o(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),n.apply(this,a)}else if(i(n))for(a=Array.prototype.slice.call(arguments,1),u=n.slice(),r=u.length,l=0;l<r;l++)u[l].apply(this,a);return!0},r.prototype.addListener=function(e,t){var n;if(!o(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,o(t.listener)?t.listener:t),this._events[e]?i(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,i(this._events[e])&&!this._events[e].warned&&(n=s(this._maxListeners)?r.defaultMaxListeners:this._maxListeners,n&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace())),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){function n(){this.removeListener(e,n),r||(r=!0,t.apply(this,arguments))}if(!o(t))throw TypeError("listener must be a function");var r=!1;return n.listener=t,this.on(e,n),this},r.prototype.removeListener=function(e,t){var n,r,a,s;if(!o(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],a=n.length,r=-1,n===t||o(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(i(n)){for(s=a;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){r=s;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],o(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){var t;return t=this._events&&this._events[e]?o(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(o(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},{}],280:[function(e,t,n){!function(){"use strict";var e=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:e,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:e&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:e&&!!window.screen};"function"==typeof define&&"object"==typeof define.amd&&define.amd?define(function(){return n}):"undefined"!=typeof t&&t.exports?t.exports=n:window.ExecutionEnvironment=n}()},{}],281:[function(e,t,n){"use strict";var r=e("./emptyFunction"),o={listen:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!1),{remove:function(){e.removeEventListener(t,n,!1)}}):e.attachEvent?(e.attachEvent("on"+t,n),{remove:function(){e.detachEvent("on"+t,n)}}):void 0},capture:function(e,t,n){return e.addEventListener?(e.addEventListener(t,n,!0),{remove:function(){e.removeEventListener(t,n,!0)}}):{remove:r}},registerDefault:function(){}};t.exports=o},{"./emptyFunction":288}],282:[function(e,t,n){"use strict";var r=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:r,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:r&&!!window.screen,isInWorker:!r};t.exports=o},{}],283:[function(e,t,n){"use strict";function r(e){return e.replace(o,function(e,t){return t.toUpperCase()})}var o=/-(.)/g;t.exports=r},{}],284:[function(e,t,n){"use strict";function r(e){return o(e.replace(a,"ms-"))}var o=e("./camelize"),a=/^-ms-/;t.exports=r},{"./camelize":283}],285:[function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=e("./isTextNode");t.exports=r},{"./isTextNode":298}],286:[function(e,t,n){"use strict";function r(e){var t=e.length;if(Array.isArray(e)||"object"!=typeof e&&"function"!=typeof e?i(!1):void 0,"number"!=typeof t?i(!1):void 0,0===t||t-1 in e?void 0:i(!1),"function"==typeof e.callee?i(!1):void 0,e.hasOwnProperty)try{return Array.prototype.slice.call(e)}catch(e){}for(var n=Array(t),r=0;r<t;r++)n[r]=e[r];return n}function o(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"length"in e&&!("setInterval"in e)&&"number"!=typeof e.nodeType&&(Array.isArray(e)||"callee"in e||"item"in e)}function a(e){return o(e)?Array.isArray(e)?e.slice():r(e):[e]}var i=e("./invariant");t.exports=a},{"./invariant":296}],287:[function(e,t,n){"use strict";function r(e){var t=e.match(c);return t&&t[1].toLowerCase()}function o(e,t){var n=u;u?void 0:l(!1);var o=r(e),a=o&&s(o);if(a){n.innerHTML=a[1]+e+a[2];for(var c=a[0];c--;)n=n.lastChild}else n.innerHTML=e;var d=n.getElementsByTagName("script");d.length&&(t?void 0:l(!1),i(d).forEach(t));for(var f=Array.from(n.childNodes);n.lastChild;)n.removeChild(n.lastChild);return f}var a=e("./ExecutionEnvironment"),i=e("./createArrayFromMixed"),s=e("./getMarkupWrap"),l=e("./invariant"),u=a.canUseDOM?document.createElement("div"):null,c=/^\s*<(\w+)/;t.exports=o},{"./ExecutionEnvironment":282,"./createArrayFromMixed":286,"./getMarkupWrap":292,"./invariant":296}],288:[function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},t.exports=o},{}],289:[function(e,t,n){"use strict";var r={};t.exports=r},{}],290:[function(e,t,n){"use strict";function r(e){try{e.focus()}catch(e){}}t.exports=r},{}],291:[function(e,t,n){"use strict";function r(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(e){return document.body}}t.exports=r},{}],292:[function(e,t,n){"use strict";function r(e){return i?void 0:a(!1),f.hasOwnProperty(e)||(e="*"),s.hasOwnProperty(e)||("*"===e?i.innerHTML="<link />":i.innerHTML="<"+e+"></"+e+">",s[e]=!i.firstChild),s[e]?f[e]:null}var o=e("./ExecutionEnvironment"),a=e("./invariant"),i=o.canUseDOM?document.createElement("div"):null,s={},l=[1,'<select multiple="true">',"</select>"],u=[1,"<table>","</table>"],c=[3,"<table><tbody><tr>","</tr></tbody></table>"],d=[1,'<svg xmlns="http://www.w3.org/2000/svg">',"</svg>"],f={"*":[1,"?<div>","</div>"],area:[1,"<map>","</map>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],legend:[1,"<fieldset>","</fieldset>"],param:[1,"<object>","</object>"],tr:[2,"<table><tbody>","</tbody></table>"],optgroup:l,option:l,caption:u,colgroup:u,tbody:u,tfoot:u,thead:u,td:c,th:c},p=["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"];p.forEach(function(e){f[e]=d,s[e]=!0}),t.exports=r},{"./ExecutionEnvironment":282,"./invariant":296}],293:[function(e,t,n){"use strict";function r(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}t.exports=r},{}],294:[function(e,t,n){"use strict";function r(e){return e.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;t.exports=r},{}],295:[function(e,t,n){"use strict";function r(e){return o(e).replace(a,"-ms-")}var o=e("./hyphenate"),a=/^ms-/;t.exports=r},{"./hyphenate":294}],296:[function(e,t,n){"use strict";function r(e,t,n,r,a,i,s,l){if(o(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,i,s,l],d=0;u=new Error(t.replace(/%s/g,function(){return c[d++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}}var o=function(e){};t.exports=r},{}],297:[function(e,t,n){"use strict";function r(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}t.exports=r},{}],298:[function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=e("./isNode");t.exports=r},{"./isNode":297}],299:[function(e,t,n){"use strict";function r(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}t.exports=r},{}],300:[function(e,t,n){"use strict";var r,o=e("./ExecutionEnvironment");o.canUseDOM&&(r=window.performance||window.msPerformance||window.webkitPerformance),t.exports=r||{}},{"./ExecutionEnvironment":282}],301:[function(e,t,n){"use strict";var r,o=e("./performance");r=o.now?function(){return o.now()}:function(){return Date.now()},t.exports=r},{"./performance":300}],302:[function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function o(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(var i=0;i<n.length;i++)if(!a.call(t,n[i])||!r(e[n[i]],t[n[i]]))return!1;return!0}var a=Object.prototype.hasOwnProperty;t.exports=o},{}],303:[function(e,t,n){"use strict";var r=e("./emptyFunction"),o=r;t.exports=o},{"./emptyFunction":288}],304:[function(e,t,n){(function(n){var r=e("stream").PassThrough,o=e("object-assign");t.exports=function(e){e=o({},e);var t=e.array,a=e.encoding,i="buffer"===a,s=!1;t?s=!(a||i):a=a||"utf8",i&&(a=null);var l=0,u=[],c=new r({objectMode:s});return a&&c.setEncoding(a),c.on("data",function(e){u.push(e),s?l=u.length:l+=e.length}),c.getBufferedValue=function(){return t?u:i?n.concat(u,l):u.join("")},c.getBufferedLength=function(){return l},c}}).call(this,e("buffer").Buffer)},{buffer:153,"object-assign":823,stream:1295}],305:[function(e,t,n){"use strict";function r(e,t){if(!e)return o.reject(new Error("Expected a stream"));t=a({maxBuffer:1/0},t);var n,r,s=t.maxBuffer,l=new o(function(o,a){function l(e){e&&(e.bufferedData=n.getBufferedValue()),a(e)}n=i(t),e.once("error",l),e.pipe(n),n.on("data",function(){n.getBufferedLength()>s&&a(new Error("maxBuffer exceeded"))}),n.once("error",l),n.on("end",o),r=function(){e.unpipe&&e.unpipe(n)}});return l.then(r,r),l.then(function(){return n.getBufferedValue()})}var o=e("pinkie-promise"),a=e("object-assign"),i=e("./buffer-stream");t.exports=r,t.exports.buffer=function(e,t){return r(e,a({},t,{encoding:"buffer"}))},t.exports.array=function(e,t){return r(e,a({},t,{array:!0}))}},{"./buffer-stream":304,"object-assign":823,"pinkie-promise":824}],306:[function(e,t,n){"use strict";function r(e,t){for(var n=1540483477,r=24,s=t^e.length,l=e.length,u=0;l>=4;){var c=o(e,u);c=i(c,n),c^=c>>>r,c=i(c,n),s=i(s,n),s^=c,u+=4,l-=4}switch(l){case 3:s^=a(e,u),s^=e.charCodeAt(u+2)<<16,s=i(s,n);break;case 2:s^=a(e,u),s=i(s,n);break;case 1:s^=e.charCodeAt(u),s=i(s,n)}return s^=s>>>13,s=i(s,n),s^=s>>>15,s>>>0}function o(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)+(e.charCodeAt(t++)<<16)+(e.charCodeAt(t)<<24)}function a(e,t){return e.charCodeAt(t++)+(e.charCodeAt(t++)<<8)}function i(e,t){e=0|e,t=0|t;var n=65535&e,r=e>>>16,o=n*t+((r*t&65535)<<16)|0;return o}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r},{}],307:[function(e,t,n){"use strict";n.__esModule=!0;n.PUSH="PUSH",n.REPLACE="REPLACE",n.POP="POP"},{}],308:[function(e,t,n){"use strict";n.__esModule=!0;n.loopAsync=function(e,t,n){var r=0,o=!1,a=!1,i=!1,s=void 0,l=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return o=!0,a?void(s=t):void n.apply(void 0,t)},u=function u(){if(!o&&(i=!0,!a)){for(a=!0;!o&&r<e&&i;)i=!1,t(r++,u,l);return a=!1,o?void n.apply(void 0,s):void(r>=e&&i&&(o=!0,n()))}};u()}},{}],309:[function(e,t,n){"use strict";n.__esModule=!0,n.go=n.replaceLocation=n.pushLocation=n.startListener=n.getUserConfirmation=n.getCurrentLocation=void 0;var r=e("./LocationUtils"),o=e("./DOMUtils"),a=e("./DOMStateStorage"),i=e("./PathUtils"),s=e("./ExecutionEnvironment"),l="popstate",u="hashchange",c=s.canUseDOM&&!(0,o.supportsPopstateOnHashchange)(),d=function(e){var t=e&&e.key;return(0,r.createLocation)({pathname:window.location.pathname,search:window.location.search,hash:window.location.hash,state:t?(0,a.readState)(t):void 0},void 0,t)},f=n.getCurrentLocation=function(){var e=void 0;try{e=window.history.state||{}}catch(t){e={}}return d(e)},p=(n.getUserConfirmation=function(e,t){return t(window.confirm(e))},n.startListener=function(e){var t=function(t){void 0!==t.state&&e(d(t.state))};(0,o.addEventListener)(window,l,t);var n=function(){return e(f())};return c&&(0,o.addEventListener)(window,u,n),function(){(0,o.removeEventListener)(window,l,t),c&&(0,o.removeEventListener)(window,u,n)}},function(e,t){var n=e.state,r=e.key;void 0!==n&&(0,a.saveState)(r,n),t({key:r},(0,i.createPath)(e))});n.pushLocation=function(e){return p(e,function(e,t){return window.history.pushState(e,null,t)})},n.replaceLocation=function(e){return p(e,function(e,t){return window.history.replaceState(e,null,t)})},n.go=function(e){e&&window.history.go(e)}},{"./DOMStateStorage":310,"./DOMUtils":311,"./ExecutionEnvironment":312,"./LocationUtils":314,"./PathUtils":315}],310:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0,n.readState=n.saveState=void 0;var o=e("warning"),a=(r(o),{QuotaExceededError:!0,QUOTA_EXCEEDED_ERR:!0}),i={SecurityError:!0},s="@@History/",l=function(e){return s+e};n.saveState=function(e,t){if(window.sessionStorage)try{null==t?window.sessionStorage.removeItem(l(e)):window.sessionStorage.setItem(l(e),JSON.stringify(t))}catch(e){if(i[e.name])return;if(a[e.name]&&0===window.sessionStorage.length)return;throw e}},n.readState=function(e){var t=void 0;try{t=window.sessionStorage.getItem(l(e))}catch(e){if(i[e.name])return}if(t)try{return JSON.parse(t)}catch(e){}}},{warning:1371}],311:[function(e,t,n){"use strict";n.__esModule=!0;n.addEventListener=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},n.removeEventListener=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},n.supportsHistory=function(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")===-1&&e.indexOf("Android 4.0")===-1||e.indexOf("Mobile Safari")===-1||e.indexOf("Chrome")!==-1||e.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history);
|
14 | },n.supportsGoWithoutReloadUsingHash=function(){return window.navigator.userAgent.indexOf("Firefox")===-1},n.supportsPopstateOnHashchange=function(){return window.navigator.userAgent.indexOf("Trident")===-1}},{}],312:[function(e,t,n){"use strict";n.__esModule=!0;n.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement)},{}],313:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0,n.replaceLocation=n.pushLocation=n.startListener=n.getCurrentLocation=n.go=n.getUserConfirmation=void 0;var o=e("./BrowserProtocol");Object.defineProperty(n,"getUserConfirmation",{enumerable:!0,get:function(){return o.getUserConfirmation}}),Object.defineProperty(n,"go",{enumerable:!0,get:function(){return o.go}});var a=e("warning"),i=(r(a),e("./LocationUtils")),s=e("./DOMUtils"),l=e("./DOMStateStorage"),u=e("./PathUtils"),c="hashchange",d=function(){var e=window.location.href,t=e.indexOf("#");return t===-1?"":e.substring(t+1)},f=function(e){return window.location.hash=e},p=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},h=n.getCurrentLocation=function(e,t){var n=e.decodePath(d()),r=(0,u.getQueryStringValueFromPath)(n,t),o=void 0;r&&(n=(0,u.stripQueryStringValueFromPath)(n,t),o=(0,l.readState)(r));var a=(0,u.parsePath)(n);return a.state=o,(0,i.createLocation)(a,void 0,r)},m=void 0,v=(n.startListener=function(e,t,n){var r=function(){var r=d(),o=t.encodePath(r);if(r!==o)p(o);else{var a=h(t,n);if(m&&a.key&&m.key===a.key)return;m=a,e(a)}},o=d(),a=t.encodePath(o);return o!==a&&p(a),(0,s.addEventListener)(window,c,r),function(){return(0,s.removeEventListener)(window,c,r)}},function(e,t,n,r){var o=e.state,a=e.key,i=t.encodePath((0,u.createPath)(e));void 0!==o&&(i=(0,u.addQueryStringValueToPath)(i,n,a),(0,l.saveState)(a,o)),m=e,r(i)});n.pushLocation=function(e,t,n){return v(e,t,n,function(e){d()!==e&&f(e)})},n.replaceLocation=function(e,t,n){return v(e,t,n,function(e){d()!==e&&p(e)})}},{"./BrowserProtocol":309,"./DOMStateStorage":310,"./DOMUtils":311,"./LocationUtils":314,"./PathUtils":315,warning:1371}],314:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0,n.locationsAreEqual=n.statesAreEqual=n.createLocation=n.createQuery=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=e("invariant"),s=r(i),l=e("warning"),u=(r(l),e("./PathUtils")),c=e("./Actions"),d=(n.createQuery=function(e){return a(Object.create(null),e)},n.createLocation=function(){var e=arguments.length<=0||void 0===arguments[0]?"/":arguments[0],t=arguments.length<=1||void 0===arguments[1]?c.POP:arguments[1],n=arguments.length<=2||void 0===arguments[2]?null:arguments[2],r="string"==typeof e?(0,u.parsePath)(e):e,o=r.pathname||"/",a=r.search||"",i=r.hash||"",s=r.state;return{pathname:o,search:a,hash:i,state:s,action:t,key:n}},function(e){return"[object Date]"===Object.prototype.toString.call(e)}),f=n.statesAreEqual=function e(t,n){if(t===n)return!0;var r="undefined"==typeof t?"undefined":o(t),a="undefined"==typeof n?"undefined":o(n);if(r!==a)return!1;if("function"===r?(0,s.default)(!1):void 0,"object"===r){if(d(t)&&d(n)?(0,s.default)(!1):void 0,!Array.isArray(t)){var i=Object.keys(t),l=Object.keys(n);return i.length===l.length&&i.every(function(r){return e(t[r],n[r])})}return Array.isArray(n)&&t.length===n.length&&t.every(function(t,r){return e(t,n[r])})}return!1};n.locationsAreEqual=function(e,t){return e.key===t.key&&e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&f(e.state,t.state)}},{"./Actions":307,"./PathUtils":315,invariant:361,warning:1371}],315:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0,n.createPath=n.parsePath=n.getQueryStringValueFromPath=n.stripQueryStringValueFromPath=n.addQueryStringValueToPath=void 0;var o=e("warning"),a=(r(o),n.addQueryStringValueToPath=function(e,t,n){var r=i(e),o=r.pathname,a=r.search,l=r.hash;return s({pathname:o,search:a+(a.indexOf("?")===-1?"?":"&")+t+"="+n,hash:l})},n.stripQueryStringValueFromPath=function(e,t){var n=i(e),r=n.pathname,o=n.search,a=n.hash;return s({pathname:r,search:o.replace(new RegExp("([?&])"+t+"=[a-zA-Z0-9]+(&?)"),function(e,t,n){return"?"===t?t:n}),hash:a})},n.getQueryStringValueFromPath=function(e,t){var n=i(e),r=n.search,o=r.match(new RegExp("[?&]"+t+"=([a-zA-Z0-9]+)"));return o&&o[1]},function(e){var t=e.match(/^(https?:)?\/\/[^\/]*/);return null==t?e:e.substring(t[0].length)}),i=n.parsePath=function(e){var t=a(e),n="",r="",o=t.indexOf("#");o!==-1&&(r=t.substring(o),t=t.substring(0,o));var i=t.indexOf("?");return i!==-1&&(n=t.substring(i),t=t.substring(0,i)),""===t&&(t="/"),{pathname:t,search:n,hash:r}},s=n.createPath=function(e){if(null==e||"string"==typeof e)return e;var t=e.basename,n=e.pathname,r=e.search,o=e.hash,a=(t||"")+n;return r&&"?"!==r&&(a+=r),o&&(a+=o),a}},{warning:1371}],316:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=e("warning"),s=(o(i),e("invariant")),l=o(s),u=e("./ExecutionEnvironment"),c=e("./DOMUtils"),d=e("./HashProtocol"),f=r(d),p=e("./createHistory"),h=o(p),m="_k",v=function(e){return"/"===e.charAt(0)?e:"/"+e},b={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!"+e},decodePath:function(e){return"!"===e.charAt(0)?e.substring(1):e}},noslash:{encodePath:function(e){return"/"===e.charAt(0)?e.substring(1):e},decodePath:v},slash:{encodePath:v,decodePath:v}},g=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];u.canUseDOM?void 0:(0,l.default)(!1);var t=e.queryKey,n=e.hashType;"string"!=typeof t&&(t=m),null==n&&(n="slash"),n in b||(n="slash");var r=b[n],o=f.getUserConfirmation,i=function(){return f.getCurrentLocation(r,t)},s=function(e){return f.pushLocation(e,r,t)},d=function(e){return f.replaceLocation(e,r,t)},p=(0,h.default)(a({getUserConfirmation:o},e,{getCurrentLocation:i,pushLocation:s,replaceLocation:d,go:f.go})),v=0,g=void 0,y=function(e,n){1===++v&&(g=f.startListener(p.transitionTo,r,t));var o=n?p.listenBefore(e):p.listen(e);return function(){o(),0===--v&&g()}},_=function(e){return y(e,!0)},M=function(e){return y(e,!1)},w=((0,c.supportsGoWithoutReloadUsingHash)(),function(e){p.go(e)}),S=function(e){return"#"+r.encodePath(p.createHref(e))};return a({},p,{listenBefore:_,listen:M,go:w,createHref:S})};n.default=g},{"./DOMUtils":311,"./ExecutionEnvironment":312,"./HashProtocol":313,"./createHistory":317,invariant:361,warning:1371}],317:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=e("./AsyncUtils"),a=e("./PathUtils"),i=e("./runTransitionHook"),s=r(i),l=e("./Actions"),u=e("./LocationUtils"),c=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=e.getCurrentLocation,n=e.getUserConfirmation,r=e.pushLocation,i=e.replaceLocation,c=e.go,d=e.keyLength,f=void 0,p=void 0,h=[],m=[],v=[],b=function(){return p&&p.action===l.POP?v.indexOf(p.key):f?v.indexOf(f.key):-1},g=function(e){var t=b();f=e,f.action===l.PUSH?v=[].concat(v.slice(0,t+1),[f.key]):f.action===l.REPLACE&&(v[t]=f.key),m.forEach(function(e){return e(f)})},y=function(e){return h.push(e),function(){return h=h.filter(function(t){return t!==e})}},_=function(e){return m.push(e),function(){return m=m.filter(function(t){return t!==e})}},M=function(e,t){(0,o.loopAsync)(h.length,function(t,n,r){(0,s.default)(h[t],e,function(e){return null!=e?r(e):n()})},function(e){n&&"string"==typeof e?n(e,function(e){return t(e!==!1)}):t(e!==!1)})},w=function(e){f&&(0,u.locationsAreEqual)(f,e)||p&&(0,u.locationsAreEqual)(p,e)||(p=e,M(e,function(t){if(p===e)if(p=null,t){if(e.action===l.PUSH){var n=(0,a.createPath)(f),o=(0,a.createPath)(e);o===n&&(0,u.statesAreEqual)(f.state,e.state)&&(e.action=l.REPLACE)}e.action===l.POP?g(e):e.action===l.PUSH?r(e)!==!1&&g(e):e.action===l.REPLACE&&i(e)!==!1&&g(e)}else if(f&&e.action===l.POP){var s=v.indexOf(f.key),d=v.indexOf(e.key);s!==-1&&d!==-1&&c(s-d)}}))},S=function(e){return w(P(e,l.PUSH))},C=function(e){return w(P(e,l.REPLACE))},x=function(){return c(-1)},k=function(){return c(1)},T=function(){return Math.random().toString(36).substr(2,d||6)},A=function(e){return(0,a.createPath)(e)},P=function(e,t){var n=arguments.length<=2||void 0===arguments[2]?T():arguments[2];return(0,u.createLocation)(e,t,n)};return{getCurrentLocation:t,listenBefore:y,listen:_,transitionTo:w,push:S,replace:C,go:c,goBack:x,goForward:k,createKey:T,createPath:a.createPath,createHref:A,createLocation:P}};n.default=c},{"./Actions":307,"./AsyncUtils":308,"./LocationUtils":314,"./PathUtils":315,"./runTransitionHook":318}],318:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=e("warning"),a=(r(o),function(e,t,n){var r=e(t,n);e.length<2&&n(r)});n.default=a},{warning:1371}],319:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=e("./runTransitionHook"),i=r(a),s=e("./PathUtils"),l=function(e){return function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=e(t),r=t.basename,a=function(e){return e?(r&&null==e.basename&&(0===e.pathname.indexOf(r)?(e.pathname=e.pathname.substring(r.length),e.basename=r,""===e.pathname&&(e.pathname="/")):e.basename=""),e):e},l=function(e){if(!r)return e;var t="string"==typeof e?(0,s.parsePath)(e):e,n=t.pathname,a="/"===r.slice(-1)?r:r+"/",i="/"===n.charAt(0)?n.slice(1):n,l=a+i;return o({},t,{pathname:l})},u=function(){return a(n.getCurrentLocation())},c=function(e){return n.listenBefore(function(t,n){return(0,i.default)(e,a(t),n)})},d=function(e){return n.listen(function(t){return e(a(t))})},f=function(e){return n.push(l(e))},p=function(e){return n.replace(l(e))},h=function(e){return n.createPath(l(e))},m=function(e){return n.createHref(l(e))},v=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return a(n.createLocation.apply(n,[l(e)].concat(r)))};return o({},n,{getCurrentLocation:u,listenBefore:c,listen:d,push:f,replace:p,createPath:h,createHref:m,createLocation:v})}};n.default=l},{"./PathUtils":315,"./runTransitionHook":318}],320:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=e("query-string"),i=e("./runTransitionHook"),s=r(i),l=e("./LocationUtils"),u=e("./PathUtils"),c=function(e){return(0,a.stringify)(e).replace(/%20/g,"+")},d=a.parse,f=function(e){return function(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=e(t),r=t.stringifyQuery,a=t.parseQueryString;"function"!=typeof r&&(r=c),"function"!=typeof a&&(a=d);var i=function(e){return e?(null==e.query&&(e.query=a(e.search.substring(1))),e):e},f=function(e,t){if(null==t)return e;var n="string"==typeof e?(0,u.parsePath)(e):e,a=r(t),i=a?"?"+a:"";return o({},n,{search:i})},p=function(){return i(n.getCurrentLocation())},h=function(e){return n.listenBefore(function(t,n){return(0,s.default)(e,i(t),n)})},m=function(e){return n.listen(function(t){return e(i(t))})},v=function(e){return n.push(f(e,e.query))},b=function(e){return n.replace(f(e,e.query))},g=function(e){return n.createPath(f(e,e.query))},y=function(e){return n.createHref(f(e,e.query))},_=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];var a=n.createLocation.apply(n,[f(e,e.query)].concat(r));return e.query&&(a.query=(0,l.createQuery)(e.query)),i(a)};return o({},n,{getCurrentLocation:p,listenBefore:h,listen:m,push:v,replace:b,createPath:g,createHref:y,createLocation:_})}};n.default=f},{"./LocationUtils":314,"./PathUtils":315,"./runTransitionHook":318,"query-string":831}],321:[function(e,t,n){"use strict";var r={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},a="function"==typeof Object.getOwnPropertySymbols;t.exports=function(e,t,n){if("string"!=typeof t){var i=Object.getOwnPropertyNames(t);a&&(i=i.concat(Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;++s)if(!(r[i[s]]||o[i[s]]||n&&n[i[s]]))try{e[i[s]]=t[i[s]]}catch(e){}}return e}},{}],322:[function(e,t,n){!function(e,r){"function"==typeof define&&define.amd?define([],r):"object"==typeof n?t.exports=r():e.humanFormat=r()}(this,function(){"use strict";function e(e,t){var n;for(n in t)m(t,n)&&(e[n]=t[n])}function t(t,n){var r,o;for(r=0,o=arguments.length;r<o;++r)n=arguments[r],n&&e(t,n);return t}function n(e,t){return t.length-e.length}function r(e,t){return e.factor-t.factor}function o(e){return e.replace(/([.*+?=^!:${}()|[\]\/\\])/g,"\\$1")}function a(e,t){var n,r;for(n=0,r=e.length;n<r;++n)t(e[n],n)}function i(e,t){var n;for(n in e)m(e,n)&&t(e[n],n)}function s(e){return null!=e}function l(e,t){for(;g(t);)t=e[t];return t}function u(e,t){if(!t)return Math.round(e);var n=Math.pow(10,t);return Math.round(e*n)/n}function c(e){this._prefixes=e;var t=[],a=[];i(e,function(e,n){t.push(o(n)),a.push({factor:e,prefix:n})});var s=this._lcPrefixes={};i(e,function(t,n){var r=n.toLowerCase();m(e,r)||(s[r]=n)}),a.sort(r),this._list=a,t.sort(n),this._regexp=new RegExp("^\\s*(\\d+(?:\\.\\d+)?)\\s*("+t.join("|")+")\\s*(.*)\\s*?$","i")}function d(e,n){n=t({},_,n);var r=h(e,n),o=r.prefix+n.unit;return u(r.value,n.decimals)+(o?n.separator+o:"")}function f(e,t){var n=p(e,t);return n.value*n.factor}function p(e,n){if(!g(e))throw new TypeError("str must be a string");n=t({},_,n);var r=l(y,n.scale);if(!r)throw new Error("missing scale");var o=r.parse(e,n.strict);if(!o)throw new Error("cannot parse str");return o}function h(e,n){if(0===e)return{value:0,prefix:""};if(!b(e))throw new TypeError("value must be a number");n=t({},_,n);var r=l(y,n.scale);if(!r)throw new Error("missing scale");var o,a=n.prefix;if(s(a)){if(!m(r._prefixes,a))throw new Error("invalid prefix");o=r._prefixes[a]}else{var i=r.findPrefix(e);a=i.prefix,o=i.factor}return e/=o,{prefix:a,value:e}}var m=function(e){return function(t,n){return t&&e.call(t,n)}}(Object.prototype.hasOwnProperty),v=function(e){return function(t){return e.call(t)}}(Object.prototype.toString),b=function(e){return function(t){return t===t&&v(t)===e}}(v(0)),g=function(e){return function(t){return v(t)===e}}(v(""));c.create=function(e,t,n){var r={},o=n?Math.pow(t,n):1;return a(e,function(e,a){r[e]=Math.pow(t,a+(n||0)),o*=t}),new c(r)},c.prototype.findPrefix=function(e){for(var t,n,r=this._list,o=0,a=r.length-1;o!==a;)t=o+a+1>>1,n=r[t].factor,n>e?a=t-1:o=t;return r[o]},c.prototype.parse=function(e,t){var n=e.match(this._regexp);if(!n)return null;var r,o=n[2];if(m(this._prefixes,o))r=this._prefixes[o];else{if(t||(o=o.toLowerCase(),!m(this._lcPrefixes,o)))return null;o=this._lcPrefixes[o],r=this._prefixes[o]}return{factor:r,prefix:o,unit:n[3],value:+n[1]}};var y={binary:c.create(",ki,Mi,Gi,Ti,Pi,Ei,Zi,Yi".split(","),1024),SI:c.create("y,z,a,f,p,n,µ,m,,k,M,G,T,P,E,Z,Y".split(","),1e3,-8)},_={scale:"SI",strict:!1,unit:"",decimals:2,separator:" "};return d.parse=f,f.raw=p,d.raw=h,d.Scale=c,d})},{}],323:[function(e,t,n){"use strict";function r(e){return e in i?i[e]:i[e]=e.replace(o,"-$&").toLowerCase().replace(a,"-ms-")}var o=/[A-Z]/g,a=/^ms-/,i={};t.exports=r},{}],324:[function(e,t,n){n.read=function(e,t,n,r,o){var a,i,s=8*o-r-1,l=(1<<s)-1,u=l>>1,c=-7,d=n?o-1:0,f=n?-1:1,p=e[t+d];for(d+=f,a=p&(1<<-c)-1,p>>=-c,c+=s;c>0;a=256*a+e[t+d],d+=f,c-=8);for(i=a&(1<<-c)-1,a>>=-c,c+=r;c>0;i=256*i+e[t+d],d+=f,c-=8);if(0===a)a=1-u;else{if(a===l)return i?NaN:(p?-1:1)*(1/0);i+=Math.pow(2,r),a-=u}return(p?-1:1)*i*Math.pow(2,a-r)},n.write=function(e,t,n,r,o,a){var i,s,l,u=8*a-o-1,c=(1<<u)-1,d=c>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:a-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,i=c):(i=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-i))<1&&(i--,l*=2),t+=i+d>=1?f/l:f*Math.pow(2,1-d),t*l>=2&&(i++,l/=2),i+d>=c?(s=0,i=c):i+d>=1?(s=(t*l-1)*Math.pow(2,o),i+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),i=0));o>=8;e[n+p]=255&s,p+=h,s/=256,o-=8);for(i=i<<o|s,u+=o;u>0;e[n+p]=255&i,p+=h,i/=256,u-=8);e[n+p-h]|=128*m}},{}],325:[function(e,t,n){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],326:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if("string"==typeof t&&!(0,l.default)(t)&&t.indexOf("calc(")>-1)return(0,i.default)(e,t,function(e,t){return t.replace(/calc\(/g,e+"calc(")})}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var a=e("../../utils/joinPrefixedValue"),i=r(a),s=e("../../utils/isPrefixedValue"),l=r(s);t.exports=n.default},{"../../utils/isPrefixedValue":339,"../../utils/joinPrefixedValue":340}],327:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if("cursor"===e&&s[t])return(0,i.default)(e,t)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var a=e("../../utils/joinPrefixedValue"),i=r(a),s={"zoom-in":!0,"zoom-out":!0,grab:!0,grabbing:!0};t.exports=n.default},{"../../utils/joinPrefixedValue":340}],328:[function(e,t,n){"use strict";function r(e,t){if("display"===e&&o[t])return{display:["-webkit-box","-moz-box","-ms-"+t+"box","-webkit-"+t,t]}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r;var o={flex:!0,"inline-flex":!0};t.exports=n.default},{}],329:[function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(i[e])return r({},i[e],a[t]||t)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var a={"space-around":"distribute","space-between":"justify","flex-start":"start","flex-end":"end"},i={alignContent:"msFlexLinePack",alignSelf:"msFlexItemAlign",alignItems:"msFlexAlign",justifyContent:"msFlexPack",order:"msFlexOrder",flexGrow:"msFlexPositive",flexShrink:"msFlexNegative",flexBasis:"msPreferredSize"};t.exports=n.default},{}],330:[function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){return"flexDirection"===e&&"string"==typeof t?{WebkitBoxOrient:t.indexOf("column")>-1?"vertical":"horizontal",WebkitBoxDirection:t.indexOf("reverse")>-1?"reverse":"normal"}:i[e]?r({},i[e],a[t]||t):void 0}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var a={"space-around":"justify","space-between":"justify","flex-start":"start","flex-end":"end","wrap-reverse":"multiple",wrap:"multiple"},i={alignItems:"WebkitBoxAlign",justifyContent:"WebkitBoxPack",flexWrap:"WebkitBoxLines"};t.exports=n.default},{}],331:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if("string"==typeof t&&!(0,l.default)(t)&&null!==t.match(u))return(0,i.default)(e,t)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var a=e("../../utils/joinPrefixedValue"),i=r(a),s=e("../../utils/isPrefixedValue"),l=r(s),u=/linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient/;t.exports=n.default},{"../../utils/isPrefixedValue":339,"../../utils/joinPrefixedValue":340}],332:[function(e,t,n){"use strict";function r(e,t){if("position"===e&&"sticky"===t)return{position:["-webkit-sticky","sticky"]}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r,t.exports=n.default},{}],333:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(s[e]&&l[t])return(0,i.default)(e,t)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var a=e("../../utils/joinPrefixedValue"),i=r(a),s={maxHeight:!0,maxWidth:!0,width:!0,height:!0,columnWidth:!0,minWidth:!0,minHeight:!0},l={"min-content":!0,"max-content":!0,"fill-available":!0,"fit-content":!0,"contain-floats":!0};t.exports=n.default},{"../../utils/joinPrefixedValue":340}],334:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if("string"==typeof t&&m[e]){var n,r=i(t),a=r.split(/,(?![^()]*(?:\([^()]*\))?\))/g).filter(function(e){return null===e.match(/-moz-|-ms-/)}).join(",");return e.indexOf("Webkit")>-1?o({},e,a):(n={},o(n,"Webkit"+(0,c.default)(e),a),o(n,e,r),n)}}function i(e){if((0,f.default)(e))return e;var t=e.split(/,(?![^()]*(?:\([^()]*\))?\))/g);return t.forEach(function(e,n){t[n]=Object.keys(h.default).reduce(function(t,n){var r="-"+n.toLowerCase()+"-";return Object.keys(h.default[n]).forEach(function(n){var o=(0,l.default)(n);e.indexOf(o)>-1&&"order"!==o&&(t=e.replace(o,r+o)+","+t)}),t},e)}),t.join(",")}Object.defineProperty(n,"__esModule",{value:!0}),n.default=a;var s=e("hyphenate-style-name"),l=r(s),u=e("../../utils/capitalizeString"),c=r(u),d=e("../../utils/isPrefixedValue"),f=r(d),p=e("../prefixProps"),h=r(p),m={transition:!0,transitionProperty:!0,WebkitTransition:!0,WebkitTransitionProperty:!0};t.exports=n.default},{"../../utils/capitalizeString":337,"../../utils/isPrefixedValue":339,"../prefixProps":336,"hyphenate-style-name":323}],335:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return Object.keys(e).forEach(function(t){var n=e[t];n instanceof Object&&!Array.isArray(n)?e[t]=o(n):Object.keys(s.default).forEach(function(r){var o=s.default[r];o[t]&&(e[r+(0,u.default)(t)]=n)})}),Object.keys(e).forEach(function(t){[].concat(e[t]).forEach(function(n,r){N.forEach(function(r){return a(e,r(t,n))})})}),(0,d.default)(e)}function a(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];Object.keys(t).forEach(function(n){var r=e[n];Array.isArray(r)?[].concat(t[n]).forEach(function(t){var o=r.indexOf(t);o>-1&&e[n].splice(o,1),e[n].push(t)}):e[n]=t[n]})}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var i=e("./prefixProps"),s=r(i),l=e("../utils/capitalizeString"),u=r(l),c=e("../utils/sortPrefixedStyle"),d=r(c),f=e("./plugins/position"),p=r(f),h=e("./plugins/calc"),m=r(h),v=e("./plugins/cursor"),b=r(v),g=e("./plugins/flex"),y=r(g),_=e("./plugins/sizing"),M=r(_),w=e("./plugins/gradient"),S=r(w),C=e("./plugins/transition"),x=r(C),k=e("./plugins/flexboxIE"),T=r(k),A=e("./plugins/flexboxOld"),P=r(A),N=[p.default,m.default,b.default,M.default,S.default,x.default,T.default,P.default,y.default];t.exports=n.default},{"../utils/capitalizeString":337,"../utils/sortPrefixedStyle":341,"./plugins/calc":326,"./plugins/cursor":327,"./plugins/flex":328,"./plugins/flexboxIE":329,"./plugins/flexboxOld":330,"./plugins/gradient":331,"./plugins/position":332,"./plugins/sizing":333,"./plugins/transition":334,"./prefixProps":336}],336:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={Webkit:{transform:!0,transformOrigin:!0,transformOriginX:!0,transformOriginY:!0,backfaceVisibility:!0,perspective:!0,perspectiveOrigin:!0,transformStyle:!0,transformOriginZ:!0,animation:!0,animationDelay:!0,animationDirection:!0,animationFillMode:!0,animationDuration:!0,animationIterationCount:!0,animationName:!0,animationPlayState:!0,animationTimingFunction:!0,appearance:!0,userSelect:!0,fontKerning:!0,textEmphasisPosition:!0,textEmphasis:!0,textEmphasisStyle:!0,textEmphasisColor:!0,boxDecorationBreak:!0,clipPath:!0,maskImage:!0,maskMode:!0,maskRepeat:!0,maskPosition:!0,maskClip:!0,maskOrigin:!0,maskSize:!0,maskComposite:!0,mask:!0,maskBorderSource:!0,maskBorderMode:!0,maskBorderSlice:!0,maskBorderWidth:!0,maskBorderOutset:!0,maskBorderRepeat:!0,maskBorder:!0,maskType:!0,textDecorationStyle:!0,textDecorationSkip:!0,textDecorationLine:!0,textDecorationColor:!0,filter:!0,fontFeatureSettings:!0,breakAfter:!0,breakBefore:!0,breakInside:!0,columnCount:!0,columnFill:!0,columnGap:!0,columnRule:!0,columnRuleColor:!0,columnRuleStyle:!0,columnRuleWidth:!0,columns:!0,columnSpan:!0,columnWidth:!0,flex:!0,flexBasis:!0,flexDirection:!0,flexGrow:!0,flexFlow:!0,flexShrink:!0,flexWrap:!0,alignContent:!0,alignItems:!0,alignSelf:!0,justifyContent:!0,order:!0,transition:!0,transitionDelay:!0,transitionDuration:!0,transitionProperty:!0,transitionTimingFunction:!0,backdropFilter:!0,scrollSnapType:!0,scrollSnapPointsX:!0,scrollSnapPointsY:!0,scrollSnapDestination:!0,scrollSnapCoordinate:!0,shapeImageThreshold:!0,shapeImageMargin:!0,shapeImageOutside:!0,hyphens:!0,flowInto:!0,flowFrom:!0,regionFragment:!0,textSizeAdjust:!0},Moz:{appearance:!0,userSelect:!0,boxSizing:!0,textAlignLast:!0,textDecorationStyle:!0,textDecorationSkip:!0,textDecorationLine:!0,textDecorationColor:!0,tabSize:!0,hyphens:!0,fontFeatureSettings:!0,breakAfter:!0,breakBefore:!0,breakInside:!0,columnCount:!0,columnFill:!0,columnGap:!0,columnRule:!0,columnRuleColor:!0,columnRuleStyle:!0,columnRuleWidth:!0,columns:!0,columnSpan:!0,columnWidth:!0},ms:{flex:!0,flexBasis:!1,flexDirection:!0,flexGrow:!1,flexFlow:!0,flexShrink:!1,flexWrap:!0,alignContent:!1,alignItems:!1,alignSelf:!1,justifyContent:!1,order:!1,transform:!0,transformOrigin:!0,transformOriginX:!0,transformOriginY:!0,userSelect:!0,wrapFlow:!0,wrapThrough:!0,wrapMargin:!0,scrollSnapType:!0,scrollSnapPointsX:!0,scrollSnapPointsY:!0,scrollSnapDestination:!0,scrollSnapCoordinate:!0,touchAction:!0,hyphens:!0,flowInto:!0,flowFrom:!0,breakBefore:!0,breakAfter:!0,breakInside:!0,regionFragment:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridTemplate:!0,gridAutoColumns:!0,gridAutoRows:!0,gridAutoFlow:!0,grid:!0,gridRowStart:!0,gridColumnStart:!0,gridRowEnd:!0,gridRow:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnGap:!0,gridRowGap:!0,gridArea:!0,gridGap:!0,textSizeAdjust:!0}},t.exports=n.default},{}],337:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},t.exports=n.default},{}],338:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return null!==e.match(/^(Webkit|Moz|O|ms)/)},t.exports=n.default},{}],339:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return Array.isArray(e)&&(e=e.join(",")),null!==e.match(/-webkit-|-moz-|-ms-/)},t.exports=n.default},{}],340:[function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t){var n=arguments.length<=2||void 0===arguments[2]?function(e,t){return e+t}:arguments[2];return r({},e,["-webkit-","-moz-",""].map(function(e){return n(e,t)}))},t.exports=n.default},{}],341:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return Object.keys(e).sort(function(e,t){return(0,i.default)(e)&&!(0,i.default)(t)?-1:!(0,i.default)(e)&&(0,i.default)(t)?1:0}).reduce(function(t,n){return t[n]=e[n],t},{})}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var a=e("./isPrefixedProperty"),i=r(a);t.exports=n.default},{"./isPrefixedProperty":338}],342:[function(e,t,n){t.exports=e("./lib/static/prefixAll")},{"./lib/static/prefixAll":335}],343:[function(e,t,n){"use strict";n=t.exports=e("./lib/memoizer").default,n.default=n},{"./lib/memoizer":345}],344:[function(e,t,n){"use strict";var r=Function.prototype.bind||function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),n=this,r=function(){},o=function(){return n.apply(this instanceof r?this:e,t.concat(Array.prototype.slice.call(arguments)))};return this.prototype&&(r.prototype=this.prototype),o.prototype=new r,o},o=Object.prototype.hasOwnProperty,a=function(){try{return!!Object.defineProperty({},"a",{})}catch(e){return!1}}(),i=(!a&&!Object.prototype.__defineGetter__,a?Object.defineProperty:function(e,t,n){"get"in n&&e.__defineGetter__?e.__defineGetter__(t,n.get):(!o.call(e,t)||"value"in n)&&(e[t]=n.value)}),s=Object.create||function(e,t){function n(){}var r,a;n.prototype=e,r=new n;for(a in t)o.call(t,a)&&i(r,a,t[a]);return r};n.bind=r,n.defineProperty=i,n.objCreate=s},{}],345:[function(e,t,n){"use strict";function r(e){var t=i.objCreate(null);return function(){var n=Array.prototype.slice.call(arguments),r=o(n),a=r&&t[r];return a||(a=new(i.bind.apply(e,[null].concat(n))),r&&(t[r]=a)),a}}function o(e){if("undefined"!=typeof JSON){var t,n,r,o=[];for(t=0,n=e.length;t<n;t+=1)r=e[t],r&&"object"==typeof r?o.push(a(r)):o.push(r);return JSON.stringify(o)}}function a(e){var t,n,r,o,a=[],i=[];for(t in e)e.hasOwnProperty(t)&&i.push(t);var s=i.sort();for(n=0,r=s.length;n<r;n+=1)t=s[n],o={},o[t]=e[t],a[n]=o;return a}var i=e("./es5");n.default=r},{"./es5":344}],346:[function(e,t,n){"use strict";n=t.exports=e("./lib/parser").default,n.default=n},{"./lib/parser":347}],347:[function(e,t,n){"use strict";n.default=function(){function e(e,t){function n(){this.constructor=e}n.prototype=t.prototype,e.prototype=new n}function t(e,t,n,r,o,a){this.message=e,this.expected=t,this.found=n,this.offset=r,this.line=o,this.column=a,this.name="SyntaxError"}function n(e){function n(t){function n(t,n,r){var o,a;for(o=n;o<r;o++)a=e.charAt(o),"\n"===a?(t.seenCR||t.line++,t.column=1,t.seenCR=!1):"\r"===a||"\u2028"===a||"\u2029"===a?(t.line++,t.column=1,t.seenCR=!0):(t.column++,t.seenCR=!1)}return Ye!==t&&(Ye>t&&(Ye=0,$e={line:1,column:1,seenCR:!1}),n($e,Ye,t),Ye=t),$e}function r(e){Ke<Qe||(Ke>Qe&&(Qe=Ke,Je=[]),Je.push(e))}function o(r,o,a){function i(e){var t=1;for(e.sort(function(e,t){return e.description<t.description?-1:e.description>t.description?1:0});t<e.length;)e[t-1]===e[t]?e.splice(t,1):t++}function s(e,t){function n(e){function t(e){return e.charCodeAt(0).toString(16).toUpperCase()}return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(e){return"\\x0"+t(e)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(e){return"\\x"+t(e)}).replace(/[\u0180-\u0FFF]/g,function(e){return"\\u0"+t(e)}).replace(/[\u1080-\uFFFF]/g,function(e){return"\\u"+t(e)})}var r,o,a,i=new Array(e.length);for(a=0;a<e.length;a++)i[a]=e[a].description;return r=e.length>1?i.slice(0,-1).join(", ")+" or "+i[e.length-1]:i[0],o=t?'"'+n(t)+'"':"end of input","Expected "+r+" but "+o+" found."}var l=n(a),u=a<e.length?e.charAt(a):null;return null!==o&&i(o),new t(null!==r?r:s(o,u),o,u,a,l.line,l.column)}function a(){var e;return e=i()}function i(){var e,t,n;for(e=Ke,t=[],n=s();n!==N;)t.push(n),n=s();return t!==N&&(Ge=e,t=z(t)),e=t}function s(){var e;return e=u(),e===N&&(e=d()),e}function l(){var t,n,r,o,a,i;if(t=Ke,n=[],r=Ke,o=w(),o!==N?(a=T(),a!==N?(i=w(),i!==N?(o=[o,a,i],r=o):(Ke=r,r=R)):(Ke=r,r=R)):(Ke=r,r=R),
|
15 | r!==N)for(;r!==N;)n.push(r),r=Ke,o=w(),o!==N?(a=T(),a!==N?(i=w(),i!==N?(o=[o,a,i],r=o):(Ke=r,r=R)):(Ke=r,r=R)):(Ke=r,r=R);else n=R;return n!==N&&(Ge=t,n=j(n)),t=n,t===N&&(t=Ke,n=M(),n!==N&&(n=e.substring(t,Ke)),t=n),t}function u(){var e,t;return e=Ke,t=l(),t!==N&&(Ge=e,t=L(t)),e=t}function c(){var t,n,o;if(t=x(),t===N){if(t=Ke,n=[],D.test(e.charAt(Ke))?(o=e.charAt(Ke),Ke++):(o=N,0===Ze&&r(I)),o!==N)for(;o!==N;)n.push(o),D.test(e.charAt(Ke))?(o=e.charAt(Ke),Ke++):(o=N,0===Ze&&r(I));else n=R;n!==N&&(n=e.substring(t,Ke)),t=n}return t}function d(){var t,n,o,a,i,s,l,u,d;return t=Ke,123===e.charCodeAt(Ke)?(n=B,Ke++):(n=N,0===Ze&&r(V)),n!==N?(o=w(),o!==N?(a=c(),a!==N?(i=w(),i!==N?(s=Ke,44===e.charCodeAt(Ke)?(l=F,Ke++):(l=N,0===Ze&&r(U)),l!==N?(u=w(),u!==N?(d=f(),d!==N?(l=[l,u,d],s=l):(Ke=s,s=R)):(Ke=s,s=R)):(Ke=s,s=R),s===N&&(s=q),s!==N?(l=w(),l!==N?(125===e.charCodeAt(Ke)?(u=W,Ke++):(u=N,0===Ze&&r(H)),u!==N?(Ge=t,n=X(a,s),t=n):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R),t}function f(){var e;return e=p(),e===N&&(e=h(),e===N&&(e=m(),e===N&&(e=v()))),e}function p(){var t,n,o,a,i,s,l;return t=Ke,e.substr(Ke,6)===K?(n=K,Ke+=6):(n=N,0===Ze&&r(G)),n===N&&(e.substr(Ke,4)===Y?(n=Y,Ke+=4):(n=N,0===Ze&&r($)),n===N&&(e.substr(Ke,4)===Q?(n=Q,Ke+=4):(n=N,0===Ze&&r(J)))),n!==N?(o=w(),o!==N?(a=Ke,44===e.charCodeAt(Ke)?(i=F,Ke++):(i=N,0===Ze&&r(U)),i!==N?(s=w(),s!==N?(l=T(),l!==N?(i=[i,s,l],a=i):(Ke=a,a=R)):(Ke=a,a=R)):(Ke=a,a=R),a===N&&(a=q),a!==N?(Ge=t,n=Z(n,a),t=n):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R),t}function h(){var t,n,o,a,i,s;return t=Ke,e.substr(Ke,6)===ee?(n=ee,Ke+=6):(n=N,0===Ze&&r(te)),n!==N?(o=w(),o!==N?(44===e.charCodeAt(Ke)?(a=F,Ke++):(a=N,0===Ze&&r(U)),a!==N?(i=w(),i!==N?(s=_(),s!==N?(Ge=t,n=ne(s),t=n):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R),t}function m(){var t,n,o,a,i,s;return t=Ke,e.substr(Ke,13)===re?(n=re,Ke+=13):(n=N,0===Ze&&r(oe)),n!==N?(o=w(),o!==N?(44===e.charCodeAt(Ke)?(a=F,Ke++):(a=N,0===Ze&&r(U)),a!==N?(i=w(),i!==N?(s=_(),s!==N?(Ge=t,n=ae(s),t=n):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R),t}function v(){var t,n,o,a,i,s,l;if(t=Ke,e.substr(Ke,6)===ie?(n=ie,Ke+=6):(n=N,0===Ze&&r(se)),n!==N)if(o=w(),o!==N)if(44===e.charCodeAt(Ke)?(a=F,Ke++):(a=N,0===Ze&&r(U)),a!==N)if(i=w(),i!==N){if(s=[],l=g(),l!==N)for(;l!==N;)s.push(l),l=g();else s=R;s!==N?(Ge=t,n=le(s),t=n):(Ke=t,t=R)}else Ke=t,t=R;else Ke=t,t=R;else Ke=t,t=R;else Ke=t,t=R;return t}function b(){var t,n,o,a;return t=Ke,n=Ke,61===e.charCodeAt(Ke)?(o=ue,Ke++):(o=N,0===Ze&&r(ce)),o!==N?(a=x(),a!==N?(o=[o,a],n=o):(Ke=n,n=R)):(Ke=n,n=R),n!==N&&(n=e.substring(t,Ke)),t=n,t===N&&(t=T()),t}function g(){var t,n,o,a,s,l,u,c,d;return t=Ke,n=w(),n!==N?(o=b(),o!==N?(a=w(),a!==N?(123===e.charCodeAt(Ke)?(s=B,Ke++):(s=N,0===Ze&&r(V)),s!==N?(l=w(),l!==N?(u=i(),u!==N?(c=w(),c!==N?(125===e.charCodeAt(Ke)?(d=W,Ke++):(d=N,0===Ze&&r(H)),d!==N?(Ge=t,n=de(o,u),t=n):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R),t}function y(){var t,n,o,a;return t=Ke,e.substr(Ke,7)===fe?(n=fe,Ke+=7):(n=N,0===Ze&&r(pe)),n!==N?(o=w(),o!==N?(a=x(),a!==N?(Ge=t,n=he(a),t=n):(Ke=t,t=R)):(Ke=t,t=R)):(Ke=t,t=R),t}function _(){var e,t,n,r,o;if(e=Ke,t=y(),t===N&&(t=q),t!==N)if(n=w(),n!==N){if(r=[],o=g(),o!==N)for(;o!==N;)r.push(o),o=g();else r=R;r!==N?(Ge=e,t=me(t,r),e=t):(Ke=e,e=R)}else Ke=e,e=R;else Ke=e,e=R;return e}function M(){var t,n;if(Ze++,t=[],be.test(e.charAt(Ke))?(n=e.charAt(Ke),Ke++):(n=N,0===Ze&&r(ge)),n!==N)for(;n!==N;)t.push(n),be.test(e.charAt(Ke))?(n=e.charAt(Ke),Ke++):(n=N,0===Ze&&r(ge));else t=R;return Ze--,t===N&&(n=N,0===Ze&&r(ve)),t}function w(){var t,n,o;for(Ze++,t=Ke,n=[],o=M();o!==N;)n.push(o),o=M();return n!==N&&(n=e.substring(t,Ke)),t=n,Ze--,t===N&&(n=N,0===Ze&&r(ye)),t}function S(){var t;return _e.test(e.charAt(Ke))?(t=e.charAt(Ke),Ke++):(t=N,0===Ze&&r(Me)),t}function C(){var t;return we.test(e.charAt(Ke))?(t=e.charAt(Ke),Ke++):(t=N,0===Ze&&r(Se)),t}function x(){var t,n,o,a,i,s;if(t=Ke,48===e.charCodeAt(Ke)?(n=Ce,Ke++):(n=N,0===Ze&&r(xe)),n===N){if(n=Ke,o=Ke,ke.test(e.charAt(Ke))?(a=e.charAt(Ke),Ke++):(a=N,0===Ze&&r(Te)),a!==N){for(i=[],s=S();s!==N;)i.push(s),s=S();i!==N?(a=[a,i],o=a):(Ke=o,o=R)}else Ke=o,o=R;o!==N&&(o=e.substring(n,Ke)),n=o}return n!==N&&(Ge=t,n=Ae(n)),t=n}function k(){var t,n,o,a,i,s,l,u;return Pe.test(e.charAt(Ke))?(t=e.charAt(Ke),Ke++):(t=N,0===Ze&&r(Ne)),t===N&&(t=Ke,e.substr(Ke,2)===Oe?(n=Oe,Ke+=2):(n=N,0===Ze&&r(Ee)),n!==N&&(Ge=t,n=ze()),t=n,t===N&&(t=Ke,e.substr(Ke,2)===Re?(n=Re,Ke+=2):(n=N,0===Ze&&r(je)),n!==N&&(Ge=t,n=Le()),t=n,t===N&&(t=Ke,e.substr(Ke,2)===De?(n=De,Ke+=2):(n=N,0===Ze&&r(Ie)),n!==N&&(Ge=t,n=Be()),t=n,t===N&&(t=Ke,e.substr(Ke,2)===Ve?(n=Ve,Ke+=2):(n=N,0===Ze&&r(qe)),n!==N&&(Ge=t,n=Fe()),t=n,t===N&&(t=Ke,e.substr(Ke,2)===Ue?(n=Ue,Ke+=2):(n=N,0===Ze&&r(We)),n!==N?(o=Ke,a=Ke,i=C(),i!==N?(s=C(),s!==N?(l=C(),l!==N?(u=C(),u!==N?(i=[i,s,l,u],a=i):(Ke=a,a=R)):(Ke=a,a=R)):(Ke=a,a=R)):(Ke=a,a=R),a!==N&&(a=e.substring(o,Ke)),o=a,o!==N?(Ge=t,n=He(o),t=n):(Ke=t,t=R)):(Ke=t,t=R)))))),t}function T(){var e,t,n;if(e=Ke,t=[],n=k(),n!==N)for(;n!==N;)t.push(n),n=k();else t=R;return t!==N&&(Ge=e,t=Xe(t)),e=t}var A,P=arguments.length>1?arguments[1]:{},N={},O={start:a},E=a,z=function(e){return{type:"messageFormatPattern",elements:e}},R=N,j=function(e){var t,n,r,o,a,i="";for(t=0,r=e.length;t<r;t+=1)for(o=e[t],n=0,a=o.length;n<a;n+=1)i+=o[n];return i},L=function(e){return{type:"messageTextElement",value:e}},D=/^[^ \t\n\r,.+={}#]/,I={type:"class",value:"[^ \\t\\n\\r,.+={}#]",description:"[^ \\t\\n\\r,.+={}#]"},B="{",V={type:"literal",value:"{",description:'"{"'},q=null,F=",",U={type:"literal",value:",",description:'","'},W="}",H={type:"literal",value:"}",description:'"}"'},X=function(e,t){return{type:"argumentElement",id:e,format:t&&t[2]}},K="number",G={type:"literal",value:"number",description:'"number"'},Y="date",$={type:"literal",value:"date",description:'"date"'},Q="time",J={type:"literal",value:"time",description:'"time"'},Z=function(e,t){return{type:e+"Format",style:t&&t[2]}},ee="plural",te={type:"literal",value:"plural",description:'"plural"'},ne=function(e){return{type:e.type,ordinal:!1,offset:e.offset||0,options:e.options}},re="selectordinal",oe={type:"literal",value:"selectordinal",description:'"selectordinal"'},ae=function(e){return{type:e.type,ordinal:!0,offset:e.offset||0,options:e.options}},ie="select",se={type:"literal",value:"select",description:'"select"'},le=function(e){return{type:"selectFormat",options:e}},ue="=",ce={type:"literal",value:"=",description:'"="'},de=function(e,t){return{type:"optionalFormatPattern",selector:e,value:t}},fe="offset:",pe={type:"literal",value:"offset:",description:'"offset:"'},he=function(e){return e},me=function(e,t){return{type:"pluralFormat",offset:e,options:t}},ve={type:"other",description:"whitespace"},be=/^[ \t\n\r]/,ge={type:"class",value:"[ \\t\\n\\r]",description:"[ \\t\\n\\r]"},ye={type:"other",description:"optionalWhitespace"},_e=/^[0-9]/,Me={type:"class",value:"[0-9]",description:"[0-9]"},we=/^[0-9a-f]/i,Se={type:"class",value:"[0-9a-f]i",description:"[0-9a-f]i"},Ce="0",xe={type:"literal",value:"0",description:'"0"'},ke=/^[1-9]/,Te={type:"class",value:"[1-9]",description:"[1-9]"},Ae=function(e){return parseInt(e,10)},Pe=/^[^{}\\\0-\x1F \t\n\r]/,Ne={type:"class",value:"[^{}\\\\\\0-\\x1F \\t\\n\\r]",description:"[^{}\\\\\\0-\\x1F \\t\\n\\r]"},Oe="\\\\",Ee={type:"literal",value:"\\\\",description:'"\\\\\\\\"'},ze=function(){return"\\"},Re="\\#",je={type:"literal",value:"\\#",description:'"\\\\#"'},Le=function(){return"\\#"},De="\\{",Ie={type:"literal",value:"\\{",description:'"\\\\{"'},Be=function(){return"{"},Ve="\\}",qe={type:"literal",value:"\\}",description:'"\\\\}"'},Fe=function(){return"}"},Ue="\\u",We={type:"literal",value:"\\u",description:'"\\\\u"'},He=function(e){return String.fromCharCode(parseInt(e,16))},Xe=function(e){return e.join("")},Ke=0,Ge=0,Ye=0,$e={line:1,column:1,seenCR:!1},Qe=0,Je=[],Ze=0;if("startRule"in P){if(!(P.startRule in O))throw new Error("Can't start parsing from rule \""+P.startRule+'".');E=O[P.startRule]}if(A=E(),A!==N&&Ke===e.length)return A;throw A!==N&&Ke<e.length&&r({type:"end",description:"end of input"}),o(null,Je,Qe)}return e(t,Error),{SyntaxError:t,parse:n}}()},{}],348:[function(e,t,n){"use strict";var r=e("./lib/main").default;e("./lib/locales"),n=t.exports=r,n.default=n},{"./lib/locales":151,"./lib/main":353}],349:[function(e,t,n){"use strict";function r(e,t,n){this.locales=e,this.formats=t,this.pluralFn=n}function o(e){this.id=e}function a(e,t,n,r,o){this.id=e,this.useOrdinal=t,this.offset=n,this.options=r,this.pluralFn=o}function i(e,t,n,r){this.id=e,this.offset=t,this.numberFormat=n,this.string=r}function s(e,t){this.id=e,this.options=t}n.default=r,r.prototype.compile=function(e){return this.pluralStack=[],this.currentPlural=null,this.pluralNumberFormat=null,this.compileMessage(e)},r.prototype.compileMessage=function(e){if(!e||"messageFormatPattern"!==e.type)throw new Error('Message AST is not of type: "messageFormatPattern"');var t,n,r,o=e.elements,a=[];for(t=0,n=o.length;t<n;t+=1)switch(r=o[t],r.type){case"messageTextElement":a.push(this.compileMessageText(r));break;case"argumentElement":a.push(this.compileArgument(r));break;default:throw new Error("Message element does not have a valid type")}return a},r.prototype.compileMessageText=function(e){return this.currentPlural&&/(^|[^\\])#/g.test(e.value)?(this.pluralNumberFormat||(this.pluralNumberFormat=new Intl.NumberFormat(this.locales)),new i(this.currentPlural.id,this.currentPlural.format.offset,this.pluralNumberFormat,e.value)):e.value.replace(/\\#/g,"#")},r.prototype.compileArgument=function(e){var t=e.format;if(!t)return new o(e.id);var n,r=this.formats,i=this.locales,l=this.pluralFn;switch(t.type){case"numberFormat":return n=r.number[t.style],{id:e.id,format:new Intl.NumberFormat(i,n).format};case"dateFormat":return n=r.date[t.style],{id:e.id,format:new Intl.DateTimeFormat(i,n).format};case"timeFormat":return n=r.time[t.style],{id:e.id,format:new Intl.DateTimeFormat(i,n).format};case"pluralFormat":return n=this.compileOptions(e),new a(e.id,t.ordinal,t.offset,n,l);case"selectFormat":return n=this.compileOptions(e),new s(e.id,n);default:throw new Error("Message element does not have a valid format type")}},r.prototype.compileOptions=function(e){var t=e.format,n=t.options,r={};this.pluralStack.push(this.currentPlural),this.currentPlural="pluralFormat"===t.type?e:null;var o,a,i;for(o=0,a=n.length;o<a;o+=1)i=n[o],r[i.selector]=this.compileMessage(i.value);return this.currentPlural=this.pluralStack.pop(),r},o.prototype.format=function(e){return e?"string"==typeof e?e:String(e):""},a.prototype.getOption=function(e){var t=this.options,n=t["="+e]||t[this.pluralFn(e-this.offset,this.useOrdinal)];return n||t.other},i.prototype.format=function(e){var t=this.numberFormat.format(e-this.offset);return this.string.replace(/(^|[^\\])#/g,"$1"+t).replace(/\\#/g,"#")},s.prototype.getOption=function(e){var t=this.options;return t[e]||t.other}},{}],350:[function(e,t,n){"use strict";function r(e,t,n){var o="string"==typeof e?r.__parse(e):e;if(!o||"messageFormatPattern"!==o.type)throw new TypeError("A message must be provided as a String or AST.");n=this._mergeFormats(r.formats,n),a.defineProperty(this,"_locale",{value:this._resolveLocale(t)});var i=this._findPluralRuleFunction(this._locale),s=this._compilePattern(o,t,n,i),l=this;this.format=function(e){return l._format(s,e)}}var o=e("./utils"),a=e("./es5"),i=e("./compiler"),s=e("intl-messageformat-parser");n.default=r,a.defineProperty(r,"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"}}}}),a.defineProperty(r,"__localeData__",{value:a.objCreate(null)}),a.defineProperty(r,"__addLocaleData",{value:function(e){if(!e||!e.locale)throw new Error("Locale data provided to IntlMessageFormat is missing a `locale` property");r.__localeData__[e.locale.toLowerCase()]=e}}),a.defineProperty(r,"__parse",{value:s.default.parse}),a.defineProperty(r,"defaultLocale",{enumerable:!0,writable:!0,value:void 0}),r.prototype.resolvedOptions=function(){return{locale:this._locale}},r.prototype._compilePattern=function(e,t,n,r){var o=new i.default(t,n,r);return o.compile(e)},r.prototype._findPluralRuleFunction=function(e){for(var t=r.__localeData__,n=t[e.toLowerCase()];n;){if(n.pluralRuleFunction)return n.pluralRuleFunction;n=n.parentLocale&&t[n.parentLocale.toLowerCase()]}throw new Error("Locale data added to IntlMessageFormat is missing a `pluralRuleFunction` for :"+e)},r.prototype._format=function(e,t){var n,r,a,i,s,l="";for(n=0,r=e.length;n<r;n+=1)if(a=e[n],"string"!=typeof a){if(i=a.id,!t||!o.hop.call(t,i))throw new Error("A value must be provided for: "+i);s=t[i],l+=a.options?this._format(a.getOption(s),t):a.format(s)}else l+=a;return l},r.prototype._mergeFormats=function(e,t){var n,r,i={};for(n in e)o.hop.call(e,n)&&(i[n]=r=a.objCreate(e[n]),t&&o.hop.call(t,n)&&o.extend(r,t[n]));return i},r.prototype._resolveLocale=function(e){"string"==typeof e&&(e=[e]),e=(e||[]).concat(r.defaultLocale);var t,n,o,a,i=r.__localeData__;for(t=0,n=e.length;t<n;t+=1)for(o=e[t].toLowerCase().split("-");o.length;){if(a=i[o.join("-")])return a.locale;o.pop()}var s=e.pop();throw new Error("No locale data has been added to IntlMessageFormat for: "+e.join(", ")+", or the default locale: "+s)}},{"./compiler":349,"./es5":352,"./utils":354,"intl-messageformat-parser":346}],351:[function(e,t,n){"use strict";n.default={locale:"en",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=!n[1],o=Number(n[0])==e,a=o&&n[0].slice(-1),i=o&&n[0].slice(-2);return t?1==a&&11!=i?"one":2==a&&12!=i?"two":3==a&&13!=i?"few":"other":1==e&&r?"one":"other"}}},{}],352:[function(e,t,n){"use strict";var r=e("./utils"),o=function(){try{return!!Object.defineProperty({},"a",{})}catch(e){return!1}}(),a=(!o&&!Object.prototype.__defineGetter__,o?Object.defineProperty:function(e,t,n){"get"in n&&e.__defineGetter__?e.__defineGetter__(t,n.get):(!r.hop.call(e,t)||"value"in n)&&(e[t]=n.value)}),i=Object.create||function(e,t){function n(){}var o,i;n.prototype=e,o=new n;for(i in t)r.hop.call(t,i)&&a(o,i,t[i]);return o};n.defineProperty=a,n.objCreate=i},{"./utils":354}],353:[function(e,t,n){"use strict";var r=e("./core"),o=e("./en");r.default.__addLocaleData(o.default),r.default.defaultLocale="en",n.default=r.default},{"./core":350,"./en":351}],354:[function(e,t,n){"use strict";function r(e){var t,n,r,a,i=Array.prototype.slice.call(arguments,1);for(t=0,n=i.length;t<n;t+=1)if(r=i[t])for(a in r)o.call(r,a)&&(e[a]=r[a]);return e}n.extend=r;var o=Object.prototype.hasOwnProperty;n.hop=o},{}],355:[function(e,t,n){"use strict";var r=e("./lib/main").default;e("./lib/locales"),n=t.exports=r,n.default=n},{"./lib/locales":151,"./lib/main":360}],356:[function(e,t,n){"use strict";function r(e,t){t=t||{},i.isArray(e)&&(e=e.concat()),i.defineProperty(this,"_locale",{value:this._resolveLocale(e)}),i.defineProperty(this,"_options",{value:{style:this._resolveStyle(t.style),units:this._isValidUnits(t.units)&&t.units}}),i.defineProperty(this,"_locales",{value:e}),i.defineProperty(this,"_fields",{value:this._findFields(this._locale)}),i.defineProperty(this,"_messages",{value:i.objCreate(null)});var n=this;this.format=function(e,t){return n._format(e,t)}}var o=e("intl-messageformat"),a=e("./diff"),i=e("./es5");n.default=r;var s=["second","minute","hour","day","month","year"],l=["best fit","numeric"];i.defineProperty(r,"__localeData__",{value:i.objCreate(null)}),i.defineProperty(r,"__addLocaleData",{value:function(e){if(!e||!e.locale)throw new Error("Locale data provided to IntlRelativeFormat is missing a `locale` property value");r.__localeData__[e.locale.toLowerCase()]=e,o.default.__addLocaleData(e)}}),i.defineProperty(r,"defaultLocale",{enumerable:!0,writable:!0,value:void 0}),i.defineProperty(r,"thresholds",{enumerable:!0,value:{second:45,minute:45,hour:22,day:26,month:11}}),r.prototype.resolvedOptions=function(){return{locale:this._locale,style:this._options.style,units:this._options.units}},r.prototype._compileMessage=function(e){var t,n=this._locales,r=(this._locale,this._fields[e]),a=r.relativeTime,i="",s="";for(t in a.future)a.future.hasOwnProperty(t)&&(i+=" "+t+" {"+a.future[t].replace("{0}","#")+"}");for(t in a.past)a.past.hasOwnProperty(t)&&(s+=" "+t+" {"+a.past[t].replace("{0}","#")+"}");var l="{when, select, future {{0, plural, "+i+"}}past {{0, plural, "+s+"}}}";return new o.default(l,n)},r.prototype._getMessage=function(e){var t=this._messages;return t[e]||(t[e]=this._compileMessage(e)),t[e]},r.prototype._getRelativeUnits=function(e,t){var n=this._fields[t];if(n.relative)return n.relative[e]},r.prototype._findFields=function(e){for(var t=r.__localeData__,n=t[e.toLowerCase()];n;){if(n.fields)return n.fields;n=n.parentLocale&&t[n.parentLocale.toLowerCase()]}throw new Error("Locale data added to IntlRelativeFormat is missing `fields` for :"+e)},r.prototype._format=function(e,t){var n=t&&void 0!==t.now?t.now:i.dateNow();if(void 0===e&&(e=n),!isFinite(n))throw new RangeError("The `now` option provided to IntlRelativeFormat#format() is not in valid range.");if(!isFinite(e))throw new RangeError("The date value provided to IntlRelativeFormat#format() is not in valid range.");var r=a.default(n,e),o=this._options.units||this._selectUnits(r),s=r[o];if("numeric"!==this._options.style){var l=this._getRelativeUnits(s,o);if(l)return l}return this._getMessage(o).format({0:Math.abs(s),when:s<0?"past":"future"})},r.prototype._isValidUnits=function(e){if(!e||i.arrIndexOf.call(s,e)>=0)return!0;if("string"==typeof e){var t=/s$/.test(e)&&e.substr(0,e.length-1);if(t&&i.arrIndexOf.call(s,t)>=0)throw new Error('"'+e+'" is not a valid IntlRelativeFormat `units` value, did you mean: '+t)}throw new Error('"'+e+'" is not a valid IntlRelativeFormat `units` value, it must be one of: "'+s.join('", "')+'"')},r.prototype._resolveLocale=function(e){"string"==typeof e&&(e=[e]),e=(e||[]).concat(r.defaultLocale);var t,n,o,a,i=r.__localeData__;for(t=0,n=e.length;t<n;t+=1)for(o=e[t].toLowerCase().split("-");o.length;){if(a=i[o.join("-")])return a.locale;o.pop()}var s=e.pop();throw new Error("No locale data has been added to IntlRelativeFormat for: "+e.join(", ")+", or the default locale: "+s)},r.prototype._resolveStyle=function(e){if(!e)return l[0];if(i.arrIndexOf.call(l,e)>=0)return e;throw new Error('"'+e+'" is not a valid IntlRelativeFormat `style` value, it must be one of: "'+l.join('", "')+'"')},r.prototype._selectUnits=function(e){var t,n,o;for(t=0,n=s.length;t<n&&(o=s[t],!(Math.abs(e[o])<r.thresholds[o]));t+=1);return o}},{"./diff":357,"./es5":359,"intl-messageformat":348}],357:[function(e,t,n){"use strict";function r(e){return 400*e/146097}var o=Math.round;n.default=function(e,t){e=+e,t=+t;var n=o(t-e),a=o(n/1e3),i=o(a/60),s=o(i/60),l=o(s/24),u=o(l/7),c=r(l),d=o(12*c),f=o(c);return{millisecond:n,second:a,minute:i,hour:s,day:l,week:u,month:d,year:f}}},{}],358:[function(e,t,n){"use strict";n.default={locale:"en",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=!n[1],o=Number(n[0])==e,a=o&&n[0].slice(-1),i=o&&n[0].slice(-2);return t?1==a&&11!=i?"one":2==a&&12!=i?"two":3==a&&13!=i?"few":"other":1==e&&r?"one":"other"},fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},minute:{displayName:"minute",relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}}}}},{}],359:[function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty,o=Object.prototype.toString,a=function(){try{return!!Object.defineProperty({},"a",{})}catch(e){return!1}}(),i=(!a&&!Object.prototype.__defineGetter__,a?Object.defineProperty:function(e,t,n){"get"in n&&e.__defineGetter__?e.__defineGetter__(t,n.get):(!r.call(e,t)||"value"in n)&&(e[t]=n.value)}),s=Object.create||function(e,t){function n(){}var o,a;n.prototype=e,o=new n;for(a in t)r.call(t,a)&&i(o,a,t[a]);return o},l=Array.prototype.indexOf||function(e,t){var n=this;if(!n.length)return-1;for(var r=t||0,o=n.length;r<o;r++)if(n[r]===e)return r;return-1},u=Array.isArray||function(e){return"[object Array]"===o.call(e)},c=Date.now||function(){return(new Date).getTime()};n.defineProperty=i,n.objCreate=s,n.arrIndexOf=l,n.isArray=u,n.dateNow=c},{}],360:[function(e,t,n){arguments[4][353][0].apply(n,arguments)},{"./core":356,"./en":358,dup:353}],361:[function(e,t,n){"use strict";var r=function(e,t,n,r,o,a,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,i,s],c=0;l=new Error(t.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}};t.exports=r},{}],362:[function(e,t,n){"use strict";var r="(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])(?:\\.(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])){3}",o="(?:(?:[0-9a-fA-F:]){1,4}(?:(?::(?:[0-9a-fA-F]){1,4}|:)){2,7})+",a=t.exports=function(e){return e=e||{},e.exact?new RegExp("(?:^"+r+"$)|(?:^"+o+"$)"):new RegExp("(?:"+r+")|(?:"+o+")","g")};a.v4=function(e){return e=e||{},e.exact?new RegExp("^"+r+"$"):new RegExp(r,"g")},a.v6=function(e){return e=e||{},e.exact?new RegExp("^"+o+"$"):new RegExp(o,"g")}},{}],363:[function(e,t,n){function r(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function o(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&r(e.slice(0,0))}t.exports=function(e){return null!=e&&(r(e)||o(e)||!!e._isBuffer)}},{}],364:[function(e,t,n){function r(e){var t=o.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)}t.exports=r;var o=Object.prototype.toString},{}],365:[function(e,t,n){"use strict";var r=e("ip-regex"),o=t.exports=function(e){return r({exact:!0}).test(e)};o.v4=function(e){return r.v4({exact:!0}).test(e)},o.v6=function(e){return r.v6({exact:!0}).test(e)}},{"ip-regex":362}],366:[function(e,t,n){"use strict";function r(e){return o(e)===!0&&"[object Object]"===Object.prototype.toString.call(e)}var o=e("isobject");t.exports=function(e){var t,n;return r(e)!==!1&&(t=e.constructor,"function"==typeof t&&(n=t.prototype,r(n)!==!1&&n.hasOwnProperty("isPrototypeOf")!==!1))}},{isobject:368}],367:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},{}],368:[function(e,t,n){"use strict";t.exports=function(e){return null!=e&&"object"==typeof e&&!Array.isArray(e)}},{}],369:[function(e,t,n){!function(e,n){"use strict";"object"==typeof t&&"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";function n(e,t){t=t||te;var n=t.createElement("script");n.text=e,t.head.appendChild(n).parentNode.removeChild(n)}function r(e){var t=!!e&&"length"in e&&e.length,n=he.type(e);return"function"!==n&&!he.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function o(e,t,n){return he.isFunction(t)?he.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?he.grep(e,function(e){return e===t!==n}):"string"!=typeof t?he.grep(e,function(e){return ie.call(t,e)>-1!==n}):Ce.test(t)?he.filter(t,e,n):(t=he.filter(t,e),he.grep(e,function(e){return ie.call(t,e)>-1!==n&&1===e.nodeType}))}function a(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function i(e){var t={};return he.each(e.match(Ne)||[],function(e,n){t[n]=!0}),t}function s(e){return e}function l(e){throw e}function u(e,t,n){var r;try{e&&he.isFunction(r=e.promise)?r.call(e).done(t).fail(n):e&&he.isFunction(r=e.then)?r.call(e,t,n):t.call(void 0,e)}catch(e){n.call(void 0,e)}}function c(){te.removeEventListener("DOMContentLoaded",c),e.removeEventListener("load",c),he.ready()}function d(){this.expando=he.expando+d.uid++}function f(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:De.test(e)?JSON.parse(e):e)}function p(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Ie,"-$&").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n=f(n)}catch(e){}Le.set(e,t,n)}else n=void 0;return n}function h(e,t,n,r){var o,a=1,i=20,s=r?function(){return r.cur()}:function(){return he.css(e,t,"")},l=s(),u=n&&n[3]||(he.cssNumber[t]?"":"px"),c=(he.cssNumber[t]||"px"!==u&&+l)&&Ve.exec(he.css(e,t));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;do a=a||".5",c/=a,he.style(e,t,c+u);while(a!==(a=s()/l)&&1!==a&&--i)}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=o)),o}function m(e){var t,n=e.ownerDocument,r=e.nodeName,o=We[r];return o?o:(t=n.body.appendChild(n.createElement(r)),o=he.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),We[r]=o,o)}function v(e,t){for(var n,r,o=[],a=0,i=e.length;a<i;a++)r=e[a],r.style&&(n=r.style.display,t?("none"===n&&(o[a]=je.get(r,"display")||null,o[a]||(r.style.display="")),""===r.style.display&&Fe(r)&&(o[a]=m(r))):"none"!==n&&(o[a]="none",je.set(r,"display",n)));for(a=0;a<i;a++)null!=o[a]&&(e[a].style.display=o[a]);return e}function b(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&he.nodeName(e,t)?he.merge([e],n):n}function g(e,t){for(var n=0,r=e.length;n<r;n++)je.set(e[n],"globalEval",!t||je.get(t[n],"globalEval"))}function y(e,t,n,r,o){for(var a,i,s,l,u,c,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p<h;p++)if(a=e[p],a||0===a)if("object"===he.type(a))he.merge(f,a.nodeType?[a]:a);else if(Ye.test(a)){for(i=i||d.appendChild(t.createElement("div")),s=(Xe.exec(a)||["",""])[1].toLowerCase(),l=Ge[s]||Ge._default,i.innerHTML=l[1]+he.htmlPrefilter(a)+l[2],c=l[0];c--;)i=i.lastChild;he.merge(f,i.childNodes),i=d.firstChild,i.textContent=""}else f.push(t.createTextNode(a));for(d.textContent="",p=0;a=f[p++];)if(r&&he.inArray(a,r)>-1)o&&o.push(a);else if(u=he.contains(a.ownerDocument,a),i=b(d.appendChild(a),"script"),u&&g(i),n)for(c=0;a=i[c++];)Ke.test(a.type||"")&&n.push(a);return d}function _(){return!0}function M(){return!1}function w(){try{return te.activeElement}catch(e){}}function S(e,t,n,r,o,a){var i,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)S(e,s,n,r,t[s],a);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),o===!1)o=M;else if(!o)return e;return 1===a&&(i=o,o=function(e){return he().off(e),i.apply(this,arguments)},o.guid=i.guid||(i.guid=he.guid++)),e.each(function(){he.event.add(this,t,o,r,n)})}function C(e,t){return he.nodeName(e,"table")&&he.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e:e}function x(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function k(e){var t=rt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function T(e,t){var n,r,o,a,i,s,l,u;if(1===t.nodeType){if(je.hasData(e)&&(a=je.access(e),i=je.set(t,a),u=a.events)){delete i.handle,i.events={};for(o in u)for(n=0,r=u[o].length;n<r;n++)he.event.add(t,o,u[o][n])}Le.hasData(e)&&(s=Le.access(e),l=he.extend({},s),Le.set(t,l))}}function A(e,t){var n=t.nodeName.toLowerCase();"input"===n&&He.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function P(e,t,r,o){t=oe.apply([],t);var a,i,s,l,u,c,d=0,f=e.length,p=f-1,h=t[0],m=he.isFunction(h);if(m||f>1&&"string"==typeof h&&!fe.checkClone&&nt.test(h))return e.each(function(n){var a=e.eq(n);m&&(t[0]=h.call(this,n,a.html())),P(a,t,r,o)});if(f&&(a=y(t,e[0].ownerDocument,!1,e,o),i=a.firstChild,1===a.childNodes.length&&(a=i),i||o)){for(s=he.map(b(a,"script"),x),l=s.length;d<f;d++)u=a,d!==p&&(u=he.clone(u,!0,!0),l&&he.merge(s,b(u,"script"))),r.call(e[d],u,d);if(l)for(c=s[s.length-1].ownerDocument,he.map(s,k),d=0;d<l;d++)u=s[d],Ke.test(u.type||"")&&!je.access(u,"globalEval")&&he.contains(c,u)&&(u.src?he._evalUrl&&he._evalUrl(u.src):n(u.textContent.replace(ot,""),c))}return e}function N(e,t,n){for(var r,o=t?he.filter(t,e):e,a=0;null!=(r=o[a]);a++)n||1!==r.nodeType||he.cleanData(b(r)),r.parentNode&&(n&&he.contains(r.ownerDocument,r)&&g(b(r,"script")),r.parentNode.removeChild(r));return e}function O(e,t,n){var r,o,a,i,s=e.style;return n=n||st(e),n&&(i=n.getPropertyValue(t)||n[t],""!==i||he.contains(e.ownerDocument,e)||(i=he.style(e,t)),!fe.pixelMarginRight()&&it.test(i)&&at.test(t)&&(r=s.width,o=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=i,i=n.width,s.width=r,s.minWidth=o,s.maxWidth=a)),void 0!==i?i+"":i}function E(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function z(e){if(e in ft)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=dt.length;n--;)if(e=dt[n]+t,e in ft)return e}function R(e,t,n){var r=Ve.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function j(e,t,n,r,o){var a,i=0;for(a=n===(r?"border":"content")?4:"width"===t?1:0;a<4;a+=2)"margin"===n&&(i+=he.css(e,n+qe[a],!0,o)),r?("content"===n&&(i-=he.css(e,"padding"+qe[a],!0,o)),"margin"!==n&&(i-=he.css(e,"border"+qe[a]+"Width",!0,o))):(i+=he.css(e,"padding"+qe[a],!0,o),"padding"!==n&&(i+=he.css(e,"border"+qe[a]+"Width",!0,o)));return i}function L(e,t,n){var r,o=!0,a=st(e),i="border-box"===he.css(e,"boxSizing",!1,a);if(e.getClientRects().length&&(r=e.getBoundingClientRect()[t]),r<=0||null==r){if(r=O(e,t,a),(r<0||null==r)&&(r=e.style[t]),it.test(r))return r;o=i&&(fe.boxSizingReliable()||r===e.style[t]),r=parseFloat(r)||0}return r+j(e,t,n||(i?"border":"content"),o,a)+"px"}function D(e,t,n,r,o){return new D.prototype.init(e,t,n,r,o)}function I(){ht&&(e.requestAnimationFrame(I),he.fx.tick())}function B(){return e.setTimeout(function(){pt=void 0}),pt=he.now()}function V(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)n=qe[r],o["margin"+n]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function q(e,t,n){for(var r,o=(W.tweeners[t]||[]).concat(W.tweeners["*"]),a=0,i=o.length;a<i;a++)if(r=o[a].call(n,t,e))return r}function F(e,t,n){var r,o,a,i,s,l,u,c,d="width"in t||"height"in t,f=this,p={},h=e.style,m=e.nodeType&&Fe(e),b=je.get(e,"fxshow");n.queue||(i=he._queueHooks(e,"fx"),null==i.unqueued&&(i.unqueued=0,s=i.empty.fire,i.empty.fire=function(){i.unqueued||s()}),i.unqueued++,f.always(function(){f.always(function(){i.unqueued--,he.queue(e,"fx").length||i.empty.fire()})}));for(r in t)if(o=t[r],mt.test(o)){if(delete t[r],a=a||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!b||void 0===b[r])continue;
|
16 | m=!0}p[r]=b&&b[r]||he.style(e,r)}if(l=!he.isEmptyObject(t),l||!he.isEmptyObject(p)){d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],u=b&&b.display,null==u&&(u=je.get(e,"display")),c=he.css(e,"display"),"none"===c&&(u?c=u:(v([e],!0),u=e.style.display||u,c=he.css(e,"display"),v([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===he.css(e,"float")&&(l||(f.done(function(){h.display=u}),null==u&&(c=h.display,u="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),l=!1;for(r in p)l||(b?"hidden"in b&&(m=b.hidden):b=je.access(e,"fxshow",{display:u}),a&&(b.hidden=!m),m&&v([e],!0),f.done(function(){m||v([e]),je.remove(e,"fxshow");for(r in p)he.style(e,r,p[r])})),l=q(m?b[r]:0,r,f),r in b||(b[r]=l.start,m&&(l.end=l.start,l.start=0))}}function U(e,t){var n,r,o,a,i;for(n in e)if(r=he.camelCase(n),o=t[r],a=e[n],he.isArray(a)&&(o=a[1],a=e[n]=a[0]),n!==r&&(e[r]=a,delete e[n]),i=he.cssHooks[r],i&&"expand"in i){a=i.expand(a),delete e[r];for(n in a)n in e||(e[n]=a[n],t[n]=o)}else t[r]=o}function W(e,t,n){var r,o,a=0,i=W.prefilters.length,s=he.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=pt||B(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,a=1-r,i=0,l=u.tweens.length;i<l;i++)u.tweens[i].run(a);return s.notifyWith(e,[u,a,n]),a<1&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:he.extend({},t),opts:he.extend(!0,{specialEasing:{},easing:he.easing._default},n),originalProperties:t,originalOptions:n,startTime:pt||B(),duration:n.duration,tweens:[],createTween:function(t,n){var r=he.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),c=u.props;for(U(c,u.opts.specialEasing);a<i;a++)if(r=W.prefilters[a].call(u,e,c,u.opts))return he.isFunction(r.stop)&&(he._queueHooks(u.elem,u.opts.queue).stop=he.proxy(r.stop,r)),r;return he.map(c,q,u),he.isFunction(u.opts.start)&&u.opts.start.call(e,u),he.fx.timer(he.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function H(e){var t=e.match(Ne)||[];return t.join(" ")}function X(e){return e.getAttribute&&e.getAttribute("class")||""}function K(e,t,n,r){var o;if(he.isArray(t))he.each(t,function(t,o){n||kt.test(e)?r(e,o):K(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==he.type(t))r(e,t);else for(o in t)K(e+"["+o+"]",t[o],n,r)}function G(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,a=t.toLowerCase().match(Ne)||[];if(he.isFunction(n))for(;r=a[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Y(e,t,n,r){function o(s){var l;return a[s]=!0,he.each(e[s]||[],function(e,s){var u=s(t,n,r);return"string"!=typeof u||i||a[u]?i?!(l=u):void 0:(t.dataTypes.unshift(u),o(u),!1)}),l}var a={},i=e===It;return o(t.dataTypes[0])||!a["*"]&&o("*")}function $(e,t){var n,r,o=he.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&he.extend(!0,e,r),e}function Q(e,t,n){for(var r,o,a,i,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){l.unshift(o);break}if(l[0]in n)a=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){a=o;break}i||(i=o)}a=a||i}if(a)return a!==l[0]&&l.unshift(a),n[a]}function J(e,t,n,r){var o,a,i,s,l,u={},c=e.dataTypes.slice();if(c[1])for(i in e.converters)u[i.toLowerCase()]=e.converters[i];for(a=c.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=c.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(i=u[l+" "+a]||u["* "+a],!i)for(o in u)if(s=o.split(" "),s[1]===a&&(i=u[l+" "+s[0]]||u["* "+s[0]])){i===!0?i=u[o]:u[o]!==!0&&(a=s[0],c.unshift(s[1]));break}if(i!==!0)if(i&&e.throws)t=i(t);else try{t=i(t)}catch(e){return{state:"parsererror",error:i?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}function Z(e){return he.isWindow(e)?e:9===e.nodeType&&e.defaultView}var ee=[],te=e.document,ne=Object.getPrototypeOf,re=ee.slice,oe=ee.concat,ae=ee.push,ie=ee.indexOf,se={},le=se.toString,ue=se.hasOwnProperty,ce=ue.toString,de=ce.call(Object),fe={},pe="3.1.1",he=function(e,t){return new he.fn.init(e,t)},me=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ve=/^-ms-/,be=/-([a-z])/g,ge=function(e,t){return t.toUpperCase()};he.fn=he.prototype={jquery:pe,constructor:he,length:0,toArray:function(){return re.call(this)},get:function(e){return null==e?re.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=he.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return he.each(this,e)},map:function(e){return this.pushStack(he.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(re.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ae,sort:ee.sort,splice:ee.splice},he.extend=he.fn.extend=function(){var e,t,n,r,o,a,i=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof i&&(u=i,i=arguments[s]||{},s++),"object"==typeof i||he.isFunction(i)||(i={}),s===l&&(i=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)n=i[t],r=e[t],i!==r&&(u&&r&&(he.isPlainObject(r)||(o=he.isArray(r)))?(o?(o=!1,a=n&&he.isArray(n)?n:[]):a=n&&he.isPlainObject(n)?n:{},i[t]=he.extend(u,a,r)):void 0!==r&&(i[t]=r));return i},he.extend({expando:"jQuery"+(pe+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===he.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=he.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==le.call(e))&&(!(t=ne(e))||(n=ue.call(t,"constructor")&&t.constructor,"function"==typeof n&&ce.call(n)===de))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?se[le.call(e)]||"object":typeof e},globalEval:function(e){n(e)},camelCase:function(e){return e.replace(ve,"ms-").replace(be,ge)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,o=0;if(r(e))for(n=e.length;o<n&&t.call(e[o],o,e[o])!==!1;o++);else for(o in e)if(t.call(e[o],o,e[o])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(me,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(r(Object(e))?he.merge(n,"string"==typeof e?[e]:e):ae.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:ie.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r,o=[],a=0,i=e.length,s=!n;a<i;a++)r=!t(e[a],a),r!==s&&o.push(e[a]);return o},map:function(e,t,n){var o,a,i=0,s=[];if(r(e))for(o=e.length;i<o;i++)a=t(e[i],i,n),null!=a&&s.push(a);else for(i in e)a=t(e[i],i,n),null!=a&&s.push(a);return oe.apply([],s)},guid:1,proxy:function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),he.isFunction(e))return r=re.call(arguments,2),o=function(){return e.apply(t||this,r.concat(re.call(arguments)))},o.guid=e.guid=e.guid||he.guid++,o},now:Date.now,support:fe}),"function"==typeof Symbol&&(he.fn[Symbol.iterator]=ee[Symbol.iterator]),he.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){se["[object "+t+"]"]=t.toLowerCase()});var ye=function(e){function t(e,t,n,r){var o,a,i,s,l,u,c,f=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:q)!==z&&E(t),t=t||z,j)){if(11!==h&&(l=be.exec(e)))if(o=l[1]){if(9===h){if(!(i=t.getElementById(o)))return n;if(i.id===o)return n.push(i),n}else if(f&&(i=f.getElementById(o))&&B(t,i)&&i.id===o)return n.push(i),n}else{if(l[2])return J.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&w.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(o)),n}if(w.qsa&&!X[e+" "]&&(!L||!L.test(e))){if(1!==h)f=t,c=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(Me,we):t.setAttribute("id",s=V),u=k(e),a=u.length;a--;)u[a]="#"+s+" "+p(u[a]);c=u.join(","),f=ge.test(e)&&d(t.parentNode)||t}if(c)try{return J.apply(n,f.querySelectorAll(c)),n}catch(e){}finally{s===V&&t.removeAttribute("id")}}}return A(e.replace(se,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>S.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[V]=!0,e}function o(e){var t=z.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function a(e,t){for(var n=e.split("|"),r=n.length;r--;)S.attrHandle[n[r]]=t}function i(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function l(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function u(e){return function(t){return"form"in t?t.parentNode&&t.disabled===!1?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Ce(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function c(e){return r(function(t){return t=+t,r(function(n,r){for(var o,a=e([],n.length,t),i=a.length;i--;)n[o=a[i]]&&(n[o]=!(r[o]=n[o]))})})}function d(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function f(){}function p(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function h(e,t,n){var r=t.dir,o=t.next,a=o||r,i=n&&"parentNode"===a,s=U++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o);return!1}:function(t,n,l){var u,c,d,f=[F,s];if(l){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||i)if(d=t[V]||(t[V]={}),c=d[t.uniqueID]||(d[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((u=c[a])&&u[0]===F&&u[1]===s)return f[2]=u[2];if(c[a]=f,f[2]=e(t,n,l))return!0}return!1}}function m(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function v(e,n,r){for(var o=0,a=n.length;o<a;o++)t(e,n[o],r);return r}function b(e,t,n,r,o){for(var a,i=[],s=0,l=e.length,u=null!=t;s<l;s++)(a=e[s])&&(n&&!n(a,r,o)||(i.push(a),u&&t.push(s)));return i}function g(e,t,n,o,a,i){return o&&!o[V]&&(o=g(o)),a&&!a[V]&&(a=g(a,i)),r(function(r,i,s,l){var u,c,d,f=[],p=[],h=i.length,m=r||v(t||"*",s.nodeType?[s]:s,[]),g=!e||!r&&t?m:b(m,f,e,s,l),y=n?a||(r?e:h||o)?[]:i:g;if(n&&n(g,y,s,l),o)for(u=b(y,p),o(u,[],s,l),c=u.length;c--;)(d=u[c])&&(y[p[c]]=!(g[p[c]]=d));if(r){if(a||e){if(a){for(u=[],c=y.length;c--;)(d=y[c])&&u.push(g[c]=d);a(null,y=[],u,l)}for(c=y.length;c--;)(d=y[c])&&(u=a?ee(r,d):f[c])>-1&&(r[u]=!(i[u]=d))}}else y=b(y===i?y.splice(h,y.length):y),a?a(null,i,y,l):J.apply(i,y)})}function y(e){for(var t,n,r,o=e.length,a=S.relative[e[0].type],i=a||S.relative[" "],s=a?1:0,l=h(function(e){return e===t},i,!0),u=h(function(e){return ee(t,e)>-1},i,!0),c=[function(e,n,r){var o=!a&&(r||n!==P)||((t=n).nodeType?l(e,n,r):u(e,n,r));return t=null,o}];s<o;s++)if(n=S.relative[e[s].type])c=[h(m(c),n)];else{if(n=S.filter[e[s].type].apply(null,e[s].matches),n[V]){for(r=++s;r<o&&!S.relative[e[r].type];r++);return g(s>1&&m(c),s>1&&p(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s<r&&y(e.slice(s,r)),r<o&&y(e=e.slice(r)),r<o&&p(e))}c.push(n)}return m(c)}function _(e,n){var o=n.length>0,a=e.length>0,i=function(r,i,s,l,u){var c,d,f,p=0,h="0",m=r&&[],v=[],g=P,y=r||a&&S.find.TAG("*",u),_=F+=null==g?1:Math.random()||.1,M=y.length;for(u&&(P=i===z||i||u);h!==M&&null!=(c=y[h]);h++){if(a&&c){for(d=0,i||c.ownerDocument===z||(E(c),s=!j);f=e[d++];)if(f(c,i||z,s)){l.push(c);break}u&&(F=_)}o&&((c=!f&&c)&&p--,r&&m.push(c))}if(p+=h,o&&h!==p){for(d=0;f=n[d++];)f(m,v,i,s);if(r){if(p>0)for(;h--;)m[h]||v[h]||(v[h]=$.call(l));v=b(v)}J.apply(l,v),u&&!r&&v.length>0&&p+n.length>1&&t.uniqueSort(l)}return u&&(F=_,P=g),m};return o?r(i):i}var M,w,S,C,x,k,T,A,P,N,O,E,z,R,j,L,D,I,B,V="sizzle"+1*new Date,q=e.document,F=0,U=0,W=n(),H=n(),X=n(),K=function(e,t){return e===t&&(O=!0),0},G={}.hasOwnProperty,Y=[],$=Y.pop,Q=Y.push,J=Y.push,Z=Y.slice,ee=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",oe="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ne+"*\\]",ae=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+oe+")*)|.*)\\)|)",ie=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),le=new RegExp("^"+ne+"*,"+ne+"*"),ue=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),de=new RegExp(ae),fe=new RegExp("^"+re+"$"),pe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+oe),PSEUDO:new RegExp("^"+ae),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,be=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ge=/[+~]/,ye=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),_e=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},Me=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,we=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Se=function(){E()},Ce=h(function(e){return e.disabled===!0&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{J.apply(Y=Z.call(q.childNodes),q.childNodes),Y[q.childNodes.length].nodeType}catch(e){J={apply:Y.length?function(e,t){Q.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}w=t.support={},x=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},E=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:q;return r!==z&&9===r.nodeType&&r.documentElement?(z=r,R=z.documentElement,j=!x(z),q!==z&&(n=z.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Se,!1):n.attachEvent&&n.attachEvent("onunload",Se)),w.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=o(function(e){return e.appendChild(z.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=ve.test(z.getElementsByClassName),w.getById=o(function(e){return R.appendChild(e).id=V,!z.getElementsByName||!z.getElementsByName(V).length}),w.getById?(S.filter.ID=function(e){var t=e.replace(ye,_e);return function(e){return e.getAttribute("id")===t}},S.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&j){var n=t.getElementById(e);return n?[n]:[]}}):(S.filter.ID=function(e){var t=e.replace(ye,_e);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},S.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&j){var n,r,o,a=t.getElementById(e);if(a){if(n=a.getAttributeNode("id"),n&&n.value===e)return[a];for(o=t.getElementsByName(e),r=0;a=o[r++];)if(n=a.getAttributeNode("id"),n&&n.value===e)return[a]}return[]}}),S.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[o++];)1===n.nodeType&&r.push(n);return r}return a},S.find.CLASS=w.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&j)return t.getElementsByClassName(e)},D=[],L=[],(w.qsa=ve.test(z.querySelectorAll))&&(o(function(e){R.appendChild(e).innerHTML="<a id='"+V+"'></a><select id='"+V+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&L.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||L.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+V+"-]").length||L.push("~="),e.querySelectorAll(":checked").length||L.push(":checked"),e.querySelectorAll("a#"+V+"+*").length||L.push(".#.+[+~]")}),o(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=z.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&L.push("name"+ne+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&L.push(":enabled",":disabled"),R.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&L.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),L.push(",.*:")})),(w.matchesSelector=ve.test(I=R.matches||R.webkitMatchesSelector||R.mozMatchesSelector||R.oMatchesSelector||R.msMatchesSelector))&&o(function(e){w.disconnectedMatch=I.call(e,"*"),I.call(e,"[s!='']:x"),D.push("!=",ae)}),L=L.length&&new RegExp(L.join("|")),D=D.length&&new RegExp(D.join("|")),t=ve.test(R.compareDocumentPosition),B=t||ve.test(R.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},K=t?function(e,t){if(e===t)return O=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===z||e.ownerDocument===q&&B(q,e)?-1:t===z||t.ownerDocument===q&&B(q,t)?1:N?ee(N,e)-ee(N,t):0:4&n?-1:1)}:function(e,t){if(e===t)return O=!0,0;var n,r=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(!o||!a)return e===z?-1:t===z?1:o?-1:a?1:N?ee(N,e)-ee(N,t):0;if(o===a)return i(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;s[r]===l[r];)r++;return r?i(s[r],l[r]):s[r]===q?-1:l[r]===q?1:0},z):z},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==z&&E(e),n=n.replace(ce,"='$1']"),w.matchesSelector&&j&&!X[n+" "]&&(!D||!D.test(n))&&(!L||!L.test(n)))try{var r=I.call(e,n);if(r||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,z,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==z&&E(e),B(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==z&&E(e);var n=S.attrHandle[t.toLowerCase()],r=n&&G.call(S.attrHandle,t.toLowerCase())?n(e,t,!j):void 0;return void 0!==r?r:w.attributes||!j?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(Me,we)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,o=0;if(O=!w.detectDuplicates,N=!w.sortStable&&e.slice(0),e.sort(K),O){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return N=null,e},C=t.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=C(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=C(t);return n},S=t.selectors={cacheLength:50,createPseudo:r,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ye,_e),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,_e),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&de.test(n)&&(t=k(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ye,_e).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(o){var a=t.attr(o,e);return null==a?"!="===n:!n||(a+="","="===n?a===r:"!="===n?a!==r:"^="===n?r&&0===a.indexOf(r):"*="===n?r&&a.indexOf(r)>-1:"$="===n?r&&a.slice(-r.length)===r:"~="===n?(" "+a.replace(ie," ")+" ").indexOf(r)>-1:"|="===n&&(a===r||a.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,o){var a="nth"!==e.slice(0,3),i="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,f,p,h,m=a!==i?"nextSibling":"previousSibling",v=t.parentNode,b=s&&t.nodeName.toLowerCase(),g=!l&&!s,y=!1;if(v){if(a){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===b:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[i?v.firstChild:v.lastChild],i&&g){for(f=v,d=f[V]||(f[V]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),u=c[e]||[],p=u[0]===F&&u[1],y=p&&u[2],f=p&&v.childNodes[p];f=++p&&f&&f[m]||(y=p=0)||h.pop();)if(1===f.nodeType&&++y&&f===t){c[e]=[F,p,y];break}}else if(g&&(f=t,d=f[V]||(f[V]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),u=c[e]||[],p=u[0]===F&&u[1],y=p),y===!1)for(;(f=++p&&f&&f[m]||(y=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==b:1!==f.nodeType)||!++y||(g&&(d=f[V]||(f[V]={}),c=d[f.uniqueID]||(d[f.uniqueID]={}),c[e]=[F,y]),f!==t)););return y-=o,y===r||y%r===0&&y/r>=0}}},PSEUDO:function(e,n){var o,a=S.pseudos[e]||S.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return a[V]?a(n):a.length>1?(o=[e,e,"",n],S.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,o=a(e,n),i=o.length;i--;)r=ee(e,o[i]),e[r]=!(t[r]=o[i])}):function(e){return a(e,0,o)}):a}},pseudos:{not:r(function(e){var t=[],n=[],o=T(e.replace(se,"$1"));return o[V]?r(function(e,t,n,r){for(var a,i=o(e,null,r,[]),s=e.length;s--;)(a=i[s])&&(e[s]=!(t[s]=a))}):function(e,r,a){return t[0]=e,o(t,null,a,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ye,_e),function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:r(function(e){return fe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,_e).toLowerCase(),function(t){var n;do if(n=j?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===R},focus:function(e){return e===z.activeElement&&(!z.hasFocus||z.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:u(!1),disabled:u(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!S.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[n<0?n+t:n]}),even:c(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:c(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:c(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},S.pseudos.nth=S.pseudos.eq;for(M in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})S.pseudos[M]=s(M);for(M in{submit:!0,reset:!0})S.pseudos[M]=l(M);return f.prototype=S.filters=S.pseudos,S.setFilters=new f,k=t.tokenize=function(e,n){var r,o,a,i,s,l,u,c=H[e+" "];if(c)return n?0:c.slice(0);for(s=e,l=[],u=S.preFilter;s;){r&&!(o=le.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(a=[])),r=!1,(o=ue.exec(s))&&(r=o.shift(),a.push({value:r,type:o[0].replace(se," ")}),s=s.slice(r.length));for(i in S.filter)!(o=pe[i].exec(s))||u[i]&&!(o=u[i](o))||(r=o.shift(),a.push({value:r,type:i,matches:o}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):H(e,l).slice(0)},T=t.compile=function(e,t){var n,r=[],o=[],a=X[e+" "];if(!a){for(t||(t=k(e)),n=t.length;n--;)a=y(t[n]),a[V]?r.push(a):o.push(a);a=X(e,_(o,r)),a.selector=e}return a},A=t.select=function(e,t,n,r){var o,a,i,s,l,u="function"==typeof e&&e,c=!r&&k(e=u.selector||e);if(n=n||[],1===c.length){if(a=c[0]=c[0].slice(0),a.length>2&&"ID"===(i=a[0]).type&&9===t.nodeType&&j&&S.relative[a[1].type]){if(t=(S.find.ID(i.matches[0].replace(ye,_e),t)||[])[0],!t)return n;u&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(o=pe.needsContext.test(e)?0:a.length;o--&&(i=a[o],!S.relative[s=i.type]);)if((l=S.find[s])&&(r=l(i.matches[0].replace(ye,_e),ge.test(a[0].type)&&d(t.parentNode)||t))){if(a.splice(o,1),e=r.length&&p(a),!e)return J.apply(n,r),n;break}}return(u||T(e,c))(r,t,!j,n,!t||ge.test(e)&&d(t.parentNode)||t),n},w.sortStable=V.split("").sort(K).join("")===V,w.detectDuplicates=!!O,E(),w.sortDetached=o(function(e){return 1&e.compareDocumentPosition(z.createElement("fieldset"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||a("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||a("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||a(te,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);he.find=ye,he.expr=ye.selectors,he.expr[":"]=he.expr.pseudos,he.uniqueSort=he.unique=ye.uniqueSort,he.text=ye.getText,he.isXMLDoc=ye.isXML,he.contains=ye.contains,he.escapeSelector=ye.escape;var _e=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&he(e).is(n))break;r.push(e)}return r},Me=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},we=he.expr.match.needsContext,Se=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,Ce=/^.[^:#\[\.,]*$/;he.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?he.find.matchesSelector(r,e)?[r]:[]:he.find.matches(e,he.grep(t,function(e){return 1===e.nodeType}))},he.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(he(e).filter(function(){for(t=0;t<r;t++)if(he.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)he.find(e,o[t],n);return r>1?he.uniqueSort(n):n},filter:function(e){return this.pushStack(o(this,e||[],!1))},not:function(e){return this.pushStack(o(this,e||[],!0))},is:function(e){return!!o(this,"string"==typeof e&&we.test(e)?he(e):e||[],!1).length}});var xe,ke=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Te=he.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||xe,"string"==typeof e){if(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:ke.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof he?t[0]:t,he.merge(this,he.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:te,!0)),Se.test(r[1])&&he.isPlainObject(t))for(r in t)he.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return o=te.getElementById(r[2]),o&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):he.isFunction(e)?void 0!==n.ready?n.ready(e):e(he):he.makeArray(e,this)};Te.prototype=he.fn,xe=he(te);var Ae=/^(?:parents|prev(?:Until|All))/,Pe={children:!0,contents:!0,next:!0,prev:!0};he.fn.extend({has:function(e){var t=he(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(he.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,o=this.length,a=[],i="string"!=typeof e&&he(e);if(!we.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(i?i.index(n)>-1:1===n.nodeType&&he.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(a.length>1?he.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?ie.call(he(e),this[0]):ie.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(he.uniqueSort(he.merge(this.get(),he(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),he.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return _e(e,"parentNode")},parentsUntil:function(e,t,n){return _e(e,"parentNode",n)},next:function(e){return a(e,"nextSibling")},prev:function(e){return a(e,"previousSibling")},nextAll:function(e){return _e(e,"nextSibling")},prevAll:function(e){return _e(e,"previousSibling")},nextUntil:function(e,t,n){return _e(e,"nextSibling",n)},prevUntil:function(e,t,n){return _e(e,"previousSibling",n)},siblings:function(e){return Me((e.parentNode||{}).firstChild,e)},children:function(e){return Me(e.firstChild)},contents:function(e){return e.contentDocument||he.merge([],e.childNodes)}},function(e,t){he.fn[e]=function(n,r){var o=he.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=he.filter(r,o)),this.length>1&&(Pe[e]||he.uniqueSort(o),Ae.test(e)&&o.reverse()),this.pushStack(o)}});var Ne=/[^\x20\t\r\n\f]+/g;he.Callbacks=function(e){e="string"==typeof e?i(e):he.extend({},e);var t,n,r,o,a=[],s=[],l=-1,u=function(){for(o=e.once,r=t=!0;s.length;l=-1)for(n=s.shift();++l<a.length;)a[l].apply(n[0],n[1])===!1&&e.stopOnFalse&&(l=a.length,n=!1);e.memory||(n=!1),t=!1,o&&(a=n?[]:"")},c={add:function(){return a&&(n&&!t&&(l=a.length-1,s.push(n)),function t(n){he.each(n,function(n,r){he.isFunction(r)?e.unique&&c.has(r)||a.push(r):r&&r.length&&"string"!==he.type(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return he.each(arguments,function(e,t){for(var n;(n=he.inArray(t,a,n))>-1;)a.splice(n,1),n<=l&&l--}),this},has:function(e){return e?he.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){
|
17 | return o=s=[],a=n="",this},disabled:function(){return!a},lock:function(){return o=s=[],n||t||(a=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},he.extend({Deferred:function(t){var n=[["notify","progress",he.Callbacks("memory"),he.Callbacks("memory"),2],["resolve","done",he.Callbacks("once memory"),he.Callbacks("once memory"),0,"resolved"],["reject","fail",he.Callbacks("once memory"),he.Callbacks("once memory"),1,"rejected"]],r="pending",o={state:function(){return r},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return he.Deferred(function(t){he.each(n,function(n,r){var o=he.isFunction(e[r[4]])&&e[r[4]];a[r[1]](function(){var e=o&&o.apply(this,arguments);e&&he.isFunction(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(t,r,o){function a(t,n,r,o){return function(){var u=this,c=arguments,d=function(){var e,d;if(!(t<i)){if(e=r.apply(u,c),e===n.promise())throw new TypeError("Thenable self-resolution");d=e&&("object"==typeof e||"function"==typeof e)&&e.then,he.isFunction(d)?o?d.call(e,a(i,n,s,o),a(i,n,l,o)):(i++,d.call(e,a(i,n,s,o),a(i,n,l,o),a(i,n,s,n.notifyWith))):(r!==s&&(u=void 0,c=[e]),(o||n.resolveWith)(u,c))}},f=o?d:function(){try{d()}catch(e){he.Deferred.exceptionHook&&he.Deferred.exceptionHook(e,f.stackTrace),t+1>=i&&(r!==l&&(u=void 0,c=[e]),n.rejectWith(u,c))}};t?f():(he.Deferred.getStackHook&&(f.stackTrace=he.Deferred.getStackHook()),e.setTimeout(f))}}var i=0;return he.Deferred(function(e){n[0][3].add(a(0,e,he.isFunction(o)?o:s,e.notifyWith)),n[1][3].add(a(0,e,he.isFunction(t)?t:s)),n[2][3].add(a(0,e,he.isFunction(r)?r:l))}).promise()},promise:function(e){return null!=e?he.extend(e,o):o}},a={};return he.each(n,function(e,t){var i=t[2],s=t[5];o[t[1]]=i.add,s&&i.add(function(){r=s},n[3-e][2].disable,n[0][2].lock),i.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=i.fireWith}),o.promise(a),t&&t.call(a,a),a},when:function(e){var t=arguments.length,n=t,r=Array(n),o=re.call(arguments),a=he.Deferred(),i=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?re.call(arguments):n,--t||a.resolveWith(r,o)}};if(t<=1&&(u(e,a.done(i(n)).resolve,a.reject),"pending"===a.state()||he.isFunction(o[n]&&o[n].then)))return a.then();for(;n--;)u(o[n],i(n),a.reject);return a.promise()}});var Oe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;he.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Oe.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},he.readyException=function(t){e.setTimeout(function(){throw t})};var Ee=he.Deferred();he.fn.ready=function(e){return Ee.then(e).catch(function(e){he.readyException(e)}),this},he.extend({isReady:!1,readyWait:1,holdReady:function(e){e?he.readyWait++:he.ready(!0)},ready:function(e){(e===!0?--he.readyWait:he.isReady)||(he.isReady=!0,e!==!0&&--he.readyWait>0||Ee.resolveWith(te,[he]))}}),he.ready.then=Ee.then,"complete"===te.readyState||"loading"!==te.readyState&&!te.documentElement.doScroll?e.setTimeout(he.ready):(te.addEventListener("DOMContentLoaded",c),e.addEventListener("load",c));var ze=function(e,t,n,r,o,a,i){var s=0,l=e.length,u=null==n;if("object"===he.type(n)){o=!0;for(s in n)ze(e,t,s,n[s],!0,a,i)}else if(void 0!==r&&(o=!0,he.isFunction(r)||(i=!0),u&&(i?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(he(e),n)})),t))for(;s<l;s++)t(e[s],n,i?r:r.call(e[s],s,t(e[s],n)));return o?e:u?t.call(e):l?t(e[0],n):a},Re=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};d.uid=1,d.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Re(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[he.camelCase(t)]=n;else for(r in t)o[he.camelCase(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][he.camelCase(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){he.isArray(t)?t=t.map(he.camelCase):(t=he.camelCase(t),t=t in r?[t]:t.match(Ne)||[]),n=t.length;for(;n--;)delete r[t[n]]}(void 0===t||he.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!he.isEmptyObject(t)}};var je=new d,Le=new d,De=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ie=/[A-Z]/g;he.extend({hasData:function(e){return Le.hasData(e)||je.hasData(e)},data:function(e,t,n){return Le.access(e,t,n)},removeData:function(e,t){Le.remove(e,t)},_data:function(e,t,n){return je.access(e,t,n)},_removeData:function(e,t){je.remove(e,t)}}),he.fn.extend({data:function(e,t){var n,r,o,a=this[0],i=a&&a.attributes;if(void 0===e){if(this.length&&(o=Le.get(a),1===a.nodeType&&!je.get(a,"hasDataAttrs"))){for(n=i.length;n--;)i[n]&&(r=i[n].name,0===r.indexOf("data-")&&(r=he.camelCase(r.slice(5)),p(a,r,o[r])));je.set(a,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each(function(){Le.set(this,e)}):ze(this,function(t){var n;if(a&&void 0===t){if(n=Le.get(a,e),void 0!==n)return n;if(n=p(a,e),void 0!==n)return n}else this.each(function(){Le.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Le.remove(this,e)})}}),he.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=je.get(e,t),n&&(!r||he.isArray(n)?r=je.access(e,t,he.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=he.queue(e,t),r=n.length,o=n.shift(),a=he._queueHooks(e,t),i=function(){he.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete a.stop,o.call(e,i,a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return je.get(e,n)||je.access(e,n,{empty:he.Callbacks("once memory").add(function(){je.remove(e,[t+"queue",n])})})}}),he.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?he.queue(this[0],e):void 0===t?this:this.each(function(){var n=he.queue(this,e,t);he._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&he.dequeue(this,e)})},dequeue:function(e){return this.each(function(){he.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=he.Deferred(),a=this,i=this.length,s=function(){--r||o.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";i--;)n=je.get(a[i],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var Be=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ve=new RegExp("^(?:([+-])=|)("+Be+")([a-z%]*)$","i"),qe=["Top","Right","Bottom","Left"],Fe=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&he.contains(e.ownerDocument,e)&&"none"===he.css(e,"display")},Ue=function(e,t,n,r){var o,a,i={};for(a in t)i[a]=e.style[a],e.style[a]=t[a];o=n.apply(e,r||[]);for(a in t)e.style[a]=i[a];return o},We={};he.fn.extend({show:function(){return v(this,!0)},hide:function(){return v(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Fe(this)?he(this).show():he(this).hide()})}});var He=/^(?:checkbox|radio)$/i,Xe=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Ke=/^$|\/(?:java|ecma)script/i,Ge={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Ge.optgroup=Ge.option,Ge.tbody=Ge.tfoot=Ge.colgroup=Ge.caption=Ge.thead,Ge.th=Ge.td;var Ye=/<|&#?\w+;/;!function(){var e=te.createDocumentFragment(),t=e.appendChild(te.createElement("div")),n=te.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),fe.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",fe.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var $e=te.documentElement,Qe=/^key/,Je=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ze=/^([^.]*)(?:\.(.+)|)/;he.event={global:{},add:function(e,t,n,r,o){var a,i,s,l,u,c,d,f,p,h,m,v=je.get(e);if(v)for(n.handler&&(a=n,n=a.handler,o=a.selector),o&&he.find.matchesSelector($e,o),n.guid||(n.guid=he.guid++),(l=v.events)||(l=v.events={}),(i=v.handle)||(i=v.handle=function(t){return"undefined"!=typeof he&&he.event.triggered!==t.type?he.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Ne)||[""],u=t.length;u--;)s=Ze.exec(t[u])||[],p=m=s[1],h=(s[2]||"").split(".").sort(),p&&(d=he.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=he.event.special[p]||{},c=he.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&he.expr.match.needsContext.test(o),namespace:h.join(".")},a),(f=l[p])||(f=l[p]=[],f.delegateCount=0,d.setup&&d.setup.call(e,r,h,i)!==!1||e.addEventListener&&e.addEventListener(p,i)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,c):f.push(c),he.event.global[p]=!0)},remove:function(e,t,n,r,o){var a,i,s,l,u,c,d,f,p,h,m,v=je.hasData(e)&&je.get(e);if(v&&(l=v.events)){for(t=(t||"").match(Ne)||[""],u=t.length;u--;)if(s=Ze.exec(t[u])||[],p=m=s[1],h=(s[2]||"").split(".").sort(),p){for(d=he.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,f=l[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),i=a=f.length;a--;)c=f[a],!o&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(a,1),c.selector&&f.delegateCount--,d.remove&&d.remove.call(e,c));i&&!f.length&&(d.teardown&&d.teardown.call(e,h,v.handle)!==!1||he.removeEvent(e,p,v.handle),delete l[p])}else for(p in l)he.event.remove(e,p+t[u],n,r,!0);he.isEmptyObject(l)&&je.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,a,i,s=he.event.fix(e),l=new Array(arguments.length),u=(je.get(this,"events")||{})[s.type]||[],c=he.event.special[s.type]||{};for(l[0]=s,t=1;t<arguments.length;t++)l[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,s)!==!1){for(i=he.event.handlers.call(this,s,u),t=0;(o=i[t++])&&!s.isPropagationStopped();)for(s.currentTarget=o.elem,n=0;(a=o.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(a.namespace)||(s.handleObj=a,s.data=a.data,r=((he.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,l),void 0!==r&&(s.result=r)===!1&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,o,a,i,s=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||u.disabled!==!0)){for(a=[],i={},n=0;n<l;n++)r=t[n],o=r.selector+" ",void 0===i[o]&&(i[o]=r.needsContext?he(o,this).index(u)>-1:he.find(o,this,null,[u]).length),i[o]&&a.push(r);a.length&&s.push({elem:u,handlers:a})}return u=this,l<t.length&&s.push({elem:u,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(he.Event.prototype,e,{enumerable:!0,configurable:!0,get:he.isFunction(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[he.expando]?e:new he.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==w()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===w()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&he.nodeName(this,"input"))return this.click(),!1},_default:function(e){return he.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},he.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},he.Event=function(e,t){return this instanceof he.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?_:M,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&he.extend(this,t),this.timeStamp=e&&e.timeStamp||he.now(),void(this[he.expando]=!0)):new he.Event(e,t)},he.Event.prototype={constructor:he.Event,isDefaultPrevented:M,isPropagationStopped:M,isImmediatePropagationStopped:M,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=_,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=_,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=_,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},he.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&Qe.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Je.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},he.event.addProp),he.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){he.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,a=e.handleObj;return o&&(o===r||he.contains(r,o))||(e.type=a.origType,n=a.handler.apply(this,arguments),e.type=t),n}}}),he.fn.extend({on:function(e,t,n,r){return S(this,e,t,n,r)},one:function(e,t,n,r){return S(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,he(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=M),this.each(function(){he.event.remove(this,e,n,t)})}});var et=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,tt=/<script|<style|<link/i,nt=/checked\s*(?:[^=]|=\s*.checked.)/i,rt=/^true\/(.*)/,ot=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;he.extend({htmlPrefilter:function(e){return e.replace(et,"<$1></$2>")},clone:function(e,t,n){var r,o,a,i,s=e.cloneNode(!0),l=he.contains(e.ownerDocument,e);if(!(fe.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||he.isXMLDoc(e)))for(i=b(s),a=b(e),r=0,o=a.length;r<o;r++)A(a[r],i[r]);if(t)if(n)for(a=a||b(e),i=i||b(s),r=0,o=a.length;r<o;r++)T(a[r],i[r]);else T(e,s);return i=b(s,"script"),i.length>0&&g(i,!l&&b(e,"script")),s},cleanData:function(e){for(var t,n,r,o=he.event.special,a=0;void 0!==(n=e[a]);a++)if(Re(n)){if(t=n[je.expando]){if(t.events)for(r in t.events)o[r]?he.event.remove(n,r):he.removeEvent(n,r,t.handle);n[je.expando]=void 0}n[Le.expando]&&(n[Le.expando]=void 0)}}}),he.fn.extend({detach:function(e){return N(this,e,!0)},remove:function(e){return N(this,e)},text:function(e){return ze(this,function(e){return void 0===e?he.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return P(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=C(this,e);t.appendChild(e)}})},prepend:function(){return P(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=C(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return P(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return P(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(he.cleanData(b(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return he.clone(this,e,t)})},html:function(e){return ze(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!tt.test(e)&&!Ge[(Xe.exec(e)||["",""])[1].toLowerCase()]){e=he.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(he.cleanData(b(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return P(this,arguments,function(t){var n=this.parentNode;he.inArray(this,e)<0&&(he.cleanData(b(this)),n&&n.replaceChild(t,this))},e)}}),he.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){he.fn[e]=function(e){for(var n,r=[],o=he(e),a=o.length-1,i=0;i<=a;i++)n=i===a?this:this.clone(!0),he(o[i])[t](n),ae.apply(r,n.get());return this.pushStack(r)}});var at=/^margin/,it=new RegExp("^("+Be+")(?!px)[a-z%]+$","i"),st=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)};!function(){function t(){if(s){s.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",s.innerHTML="",$e.appendChild(i);var t=e.getComputedStyle(s);n="1%"!==t.top,a="2px"===t.marginLeft,r="4px"===t.width,s.style.marginRight="50%",o="4px"===t.marginRight,$e.removeChild(i),s=null}}var n,r,o,a,i=te.createElement("div"),s=te.createElement("div");s.style&&(s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",fe.clearCloneStyle="content-box"===s.style.backgroundClip,i.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",i.appendChild(s),he.extend(fe,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return t(),r},pixelMarginRight:function(){return t(),o},reliableMarginLeft:function(){return t(),a}}))}();var lt=/^(none|table(?!-c[ea]).+)/,ut={position:"absolute",visibility:"hidden",display:"block"},ct={letterSpacing:"0",fontWeight:"400"},dt=["Webkit","Moz","ms"],ft=te.createElement("div").style;he.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=O(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,i,s=he.camelCase(t),l=e.style;return t=he.cssProps[s]||(he.cssProps[s]=z(s)||s),i=he.cssHooks[t]||he.cssHooks[s],void 0===n?i&&"get"in i&&void 0!==(o=i.get(e,!1,r))?o:l[t]:(a=typeof n,"string"===a&&(o=Ve.exec(n))&&o[1]&&(n=h(e,t,o),a="number"),null!=n&&n===n&&("number"===a&&(n+=o&&o[3]||(he.cssNumber[s]?"":"px")),fe.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),i&&"set"in i&&void 0===(n=i.set(e,n,r))||(l[t]=n)),void 0)}},css:function(e,t,n,r){var o,a,i,s=he.camelCase(t);return t=he.cssProps[s]||(he.cssProps[s]=z(s)||s),i=he.cssHooks[t]||he.cssHooks[s],i&&"get"in i&&(o=i.get(e,!0,n)),void 0===o&&(o=O(e,t,r)),"normal"===o&&t in ct&&(o=ct[t]),""===n||n?(a=parseFloat(o),n===!0||isFinite(a)?a||0:o):o}}),he.each(["height","width"],function(e,t){he.cssHooks[t]={get:function(e,n,r){if(n)return!lt.test(he.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?L(e,t,r):Ue(e,ut,function(){return L(e,t,r)})},set:function(e,n,r){var o,a=r&&st(e),i=r&&j(e,t,r,"border-box"===he.css(e,"boxSizing",!1,a),a);return i&&(o=Ve.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=he.css(e,t)),R(e,n,i)}}}),he.cssHooks.marginLeft=E(fe.reliableMarginLeft,function(e,t){if(t)return(parseFloat(O(e,"marginLeft"))||e.getBoundingClientRect().left-Ue(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),he.each({margin:"",padding:"",border:"Width"},function(e,t){he.cssHooks[e+t]={expand:function(n){for(var r=0,o={},a="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+qe[r]+t]=a[r]||a[r-2]||a[0];return o}},at.test(e)||(he.cssHooks[e+t].set=R)}),he.fn.extend({css:function(e,t){return ze(this,function(e,t,n){var r,o,a={},i=0;if(he.isArray(t)){for(r=st(e),o=t.length;i<o;i++)a[t[i]]=he.css(e,t[i],!1,r);return a}return void 0!==n?he.style(e,t,n):he.css(e,t)},e,t,arguments.length>1)}}),he.Tween=D,D.prototype={constructor:D,init:function(e,t,n,r,o,a){this.elem=e,this.prop=n,this.easing=o||he.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(he.cssNumber[n]?"":"px")},cur:function(){var e=D.propHooks[this.prop];return e&&e.get?e.get(this):D.propHooks._default.get(this)},run:function(e){var t,n=D.propHooks[this.prop];return this.options.duration?this.pos=t=he.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):D.propHooks._default.set(this),this}},D.prototype.init.prototype=D.prototype,D.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=he.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){he.fx.step[e.prop]?he.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[he.cssProps[e.prop]]&&!he.cssHooks[e.prop]?e.elem[e.prop]=e.now:he.style(e.elem,e.prop,e.now+e.unit)}}},D.propHooks.scrollTop=D.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},he.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},he.fx=D.prototype.init,he.fx.step={};var pt,ht,mt=/^(?:toggle|show|hide)$/,vt=/queueHooks$/;he.Animation=he.extend(W,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return h(n.elem,e,Ve.exec(t),n),n}]},tweener:function(e,t){he.isFunction(e)?(t=e,e=["*"]):e=e.match(Ne);for(var n,r=0,o=e.length;r<o;r++)n=e[r],W.tweeners[n]=W.tweeners[n]||[],W.tweeners[n].unshift(t)},prefilters:[F],prefilter:function(e,t){t?W.prefilters.unshift(e):W.prefilters.push(e)}}),he.speed=function(e,t,n){var r=e&&"object"==typeof e?he.extend({},e):{complete:n||!n&&t||he.isFunction(e)&&e,duration:e,easing:n&&t||t&&!he.isFunction(t)&&t};return he.fx.off||te.hidden?r.duration=0:"number"!=typeof r.duration&&(r.duration in he.fx.speeds?r.duration=he.fx.speeds[r.duration]:r.duration=he.fx.speeds._default),null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){he.isFunction(r.old)&&r.old.call(this),r.queue&&he.dequeue(this,r.queue)},r},he.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Fe).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=he.isEmptyObject(e),a=he.speed(t,n,r),i=function(){var t=W(this,he.extend({},e),a);(o||je.get(this,"finish"))&&t.stop(!0)};return i.finish=i,o||a.queue===!1?this.each(i):this.queue(a.queue,i)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",a=he.timers,i=je.get(this);if(o)i[o]&&i[o].stop&&r(i[o]);else for(o in i)i[o]&&i[o].stop&&vt.test(o)&&r(i[o]);for(o=a.length;o--;)a[o].elem!==this||null!=e&&a[o].queue!==e||(a[o].anim.stop(n),t=!1,a.splice(o,1));!t&&n||he.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=je.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],a=he.timers,i=r?r.length:0;for(n.finish=!0,he.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<i;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),he.each(["toggle","show","hide"],function(e,t){var n=he.fn[t];he.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(V(t,!0),e,r,o)}}),he.each({slideDown:V("show"),slideUp:V("hide"),slideToggle:V("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){he.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),he.timers=[],he.fx.tick=function(){var e,t=0,n=he.timers;for(pt=he.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||he.fx.stop(),pt=void 0},he.fx.timer=function(e){he.timers.push(e),e()?he.fx.start():he.timers.pop()},he.fx.interval=13,he.fx.start=function(){ht||(ht=e.requestAnimationFrame?e.requestAnimationFrame(I):e.setInterval(he.fx.tick,he.fx.interval))},he.fx.stop=function(){e.cancelAnimationFrame?e.cancelAnimationFrame(ht):e.clearInterval(ht),ht=null},he.fx.speeds={slow:600,fast:200,_default:400},he.fn.delay=function(t,n){return t=he.fx?he.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var o=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(o)}})},function(){var e=te.createElement("input"),t=te.createElement("select"),n=t.appendChild(te.createElement("option"));e.type="checkbox",fe.checkOn=""!==e.value,fe.optSelected=n.selected,e=te.createElement("input"),e.value="t",e.type="radio",fe.radioValue="t"===e.value}();var bt,gt=he.expr.attrHandle;he.fn.extend({attr:function(e,t){return ze(this,he.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){he.removeAttr(this,e)})}}),he.extend({attr:function(e,t,n){var r,o,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return"undefined"==typeof e.getAttribute?he.prop(e,t,n):(1===a&&he.isXMLDoc(e)||(o=he.attrHooks[t.toLowerCase()]||(he.expr.match.bool.test(t)?bt:void 0)),void 0!==n?null===n?void he.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:(r=he.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!fe.radioValue&&"radio"===t&&he.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(Ne);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),bt={set:function(e,t,n){return t===!1?he.removeAttr(e,n):e.setAttribute(n,n),n}},he.each(he.expr.match.bool.source.match(/\w+/g),function(e,t){var n=gt[t]||he.find.attr;gt[t]=function(e,t,r){var o,a,i=t.toLowerCase();return r||(a=gt[i],gt[i]=o,o=null!=n(e,t,r)?i:null,gt[i]=a),o}});var yt=/^(?:input|select|textarea|button)$/i,_t=/^(?:a|area)$/i;he.fn.extend({prop:function(e,t){return ze(this,he.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[he.propFix[e]||e]})}}),he.extend({prop:function(e,t,n){var r,o,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&he.isXMLDoc(e)||(t=he.propFix[t]||t,o=he.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=he.find.attr(e,"tabindex");return t?parseInt(t,10):yt.test(e.nodeName)||_t.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),fe.optSelected||(he.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),he.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){he.propFix[this.toLowerCase()]=this}),he.fn.extend({addClass:function(e){var t,n,r,o,a,i,s,l=0;if(he.isFunction(e))return this.each(function(t){he(this).addClass(e.call(this,t,X(this)))});if("string"==typeof e&&e)for(t=e.match(Ne)||[];n=this[l++];)if(o=X(n),r=1===n.nodeType&&" "+H(o)+" "){for(i=0;a=t[i++];)r.indexOf(" "+a+" ")<0&&(r+=a+" ");s=H(r),o!==s&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,o,a,i,s,l=0;if(he.isFunction(e))return this.each(function(t){he(this).removeClass(e.call(this,t,X(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Ne)||[];n=this[l++];)if(o=X(n),r=1===n.nodeType&&" "+H(o)+" "){for(i=0;a=t[i++];)for(;r.indexOf(" "+a+" ")>-1;)r=r.replace(" "+a+" "," ");s=H(r),o!==s&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):he.isFunction(e)?this.each(function(n){he(this).toggleClass(e.call(this,n,X(this),t),t)}):this.each(function(){var t,r,o,a;if("string"===n)for(r=0,o=he(this),a=e.match(Ne)||[];t=a[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=X(this),t&&je.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||e===!1?"":je.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+H(X(n))+" ").indexOf(t)>-1)return!0;return!1}});var Mt=/\r/g;he.fn.extend({val:function(e){var t,n,r,o=this[0];{if(arguments.length)return r=he.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,he(this).val()):e,null==o?o="":"number"==typeof o?o+="":he.isArray(o)&&(o=he.map(o,function(e){return null==e?"":e+""})),t=he.valHooks[this.type]||he.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))});if(o)return t=he.valHooks[o.type]||he.valHooks[o.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(Mt,""):null==n?"":n)}}}),he.extend({valHooks:{option:{get:function(e){var t=he.find.attr(e,"value");return null!=t?t:H(he.text(e))}},select:{get:function(e){var t,n,r,o=e.options,a=e.selectedIndex,i="select-one"===e.type,s=i?null:[],l=i?a+1:o.length;for(r=a<0?l:i?a:0;r<l;r++)if(n=o[r],(n.selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!he.nodeName(n.parentNode,"optgroup"))){if(t=he(n).val(),i)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,a=he.makeArray(t),i=o.length;i--;)r=o[i],(r.selected=he.inArray(he.valHooks.option.get(r),a)>-1)&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),he.each(["radio","checkbox"],function(){he.valHooks[this]={set:function(e,t){if(he.isArray(t))return e.checked=he.inArray(he(e).val(),t)>-1}},fe.checkOn||(he.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var wt=/^(?:focusinfocus|focusoutblur)$/;he.extend(he.event,{trigger:function(t,n,r,o){var a,i,s,l,u,c,d,f=[r||te],p=ue.call(t,"type")?t.type:t,h=ue.call(t,"namespace")?t.namespace.split("."):[];if(i=s=r=r||te,3!==r.nodeType&&8!==r.nodeType&&!wt.test(p+he.event.triggered)&&(p.indexOf(".")>-1&&(h=p.split("."),p=h.shift(),h.sort()),u=p.indexOf(":")<0&&"on"+p,t=t[he.expando]?t:new he.Event(p,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=h.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:he.makeArray(n,[t]),d=he.event.special[p]||{},o||!d.trigger||d.trigger.apply(r,n)!==!1)){if(!o&&!d.noBubble&&!he.isWindow(r)){for(l=d.delegateType||p,wt.test(l+p)||(i=i.parentNode);i;i=i.parentNode)f.push(i),s=i;s===(r.ownerDocument||te)&&f.push(s.defaultView||s.parentWindow||e)}for(a=0;(i=f[a++])&&!t.isPropagationStopped();)t.type=a>1?l:d.bindType||p,
|
18 | c=(je.get(i,"events")||{})[t.type]&&je.get(i,"handle"),c&&c.apply(i,n),c=u&&i[u],c&&c.apply&&Re(i)&&(t.result=c.apply(i,n),t.result===!1&&t.preventDefault());return t.type=p,o||t.isDefaultPrevented()||d._default&&d._default.apply(f.pop(),n)!==!1||!Re(r)||u&&he.isFunction(r[p])&&!he.isWindow(r)&&(s=r[u],s&&(r[u]=null),he.event.triggered=p,r[p](),he.event.triggered=void 0,s&&(r[u]=s)),t.result}},simulate:function(e,t,n){var r=he.extend(new he.Event,n,{type:e,isSimulated:!0});he.event.trigger(r,null,t)}}),he.fn.extend({trigger:function(e,t){return this.each(function(){he.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return he.event.trigger(e,t,n,!0)}}),he.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){he.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),he.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),fe.focusin="onfocusin"in e,fe.focusin||he.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){he.event.simulate(t,e.target,he.event.fix(e))};he.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=je.access(r,t);o||r.addEventListener(e,n,!0),je.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=je.access(r,t)-1;o?je.access(r,t,o):(r.removeEventListener(e,n,!0),je.remove(r,t))}}});var St=e.location,Ct=he.now(),xt=/\?/;he.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||he.error("Invalid XML: "+t),n};var kt=/\[\]$/,Tt=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Pt=/^(?:input|select|textarea|keygen)/i;he.param=function(e,t){var n,r=[],o=function(e,t){var n=he.isFunction(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(he.isArray(e)||e.jquery&&!he.isPlainObject(e))he.each(e,function(){o(this.name,this.value)});else for(n in e)K(n,e[n],t,o);return r.join("&")},he.fn.extend({serialize:function(){return he.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=he.prop(this,"elements");return e?he.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!he(this).is(":disabled")&&Pt.test(this.nodeName)&&!At.test(e)&&(this.checked||!He.test(e))}).map(function(e,t){var n=he(this).val();return null==n?null:he.isArray(n)?he.map(n,function(e){return{name:t.name,value:e.replace(Tt,"\r\n")}}):{name:t.name,value:n.replace(Tt,"\r\n")}}).get()}});var Nt=/%20/g,Ot=/#.*$/,Et=/([?&])_=[^&]*/,zt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Rt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,jt=/^(?:GET|HEAD)$/,Lt=/^\/\//,Dt={},It={},Bt="*/".concat("*"),Vt=te.createElement("a");Vt.href=St.href,he.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:Rt.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":he.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$($(e,he.ajaxSettings),t):$(he.ajaxSettings,e)},ajaxPrefilter:G(Dt),ajaxTransport:G(It),ajax:function(t,n){function r(t,n,r,s){var u,f,p,_,M,w=n;c||(c=!0,l&&e.clearTimeout(l),o=void 0,i=s||"",S.readyState=t>0?4:0,u=t>=200&&t<300||304===t,r&&(_=Q(h,S,r)),_=J(h,_,S,u),u?(h.ifModified&&(M=S.getResponseHeader("Last-Modified"),M&&(he.lastModified[a]=M),M=S.getResponseHeader("etag"),M&&(he.etag[a]=M)),204===t||"HEAD"===h.type?w="nocontent":304===t?w="notmodified":(w=_.state,f=_.data,p=_.error,u=!p)):(p=w,!t&&w||(w="error",t<0&&(t=0))),S.status=t,S.statusText=(n||w)+"",u?b.resolveWith(m,[f,w,S]):b.rejectWith(m,[S,w,p]),S.statusCode(y),y=void 0,d&&v.trigger(u?"ajaxSuccess":"ajaxError",[S,h,u?f:p]),g.fireWith(m,[S,w]),d&&(v.trigger("ajaxComplete",[S,h]),--he.active||he.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var o,a,i,s,l,u,c,d,f,p,h=he.ajaxSetup({},n),m=h.context||h,v=h.context&&(m.nodeType||m.jquery)?he(m):he.event,b=he.Deferred(),g=he.Callbacks("once memory"),y=h.statusCode||{},_={},M={},w="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=zt.exec(i);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=M[e.toLowerCase()]=M[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)S.always(e[S.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||w;return o&&o.abort(t),r(0,t),this}};if(b.promise(S),h.url=((t||h.url||St.href)+"").replace(Lt,St.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(Ne)||[""],null==h.crossDomain){u=te.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=Vt.protocol+"//"+Vt.host!=u.protocol+"//"+u.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=he.param(h.data,h.traditional)),Y(Dt,h,n,S),c)return S;d=he.event&&h.global,d&&0===he.active++&&he.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!jt.test(h.type),a=h.url.replace(Ot,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Nt,"+")):(p=h.url.slice(a.length),h.data&&(a+=(xt.test(a)?"&":"?")+h.data,delete h.data),h.cache===!1&&(a=a.replace(Et,"$1"),p=(xt.test(a)?"&":"?")+"_="+Ct++ +p),h.url=a+p),h.ifModified&&(he.lastModified[a]&&S.setRequestHeader("If-Modified-Since",he.lastModified[a]),he.etag[a]&&S.setRequestHeader("If-None-Match",he.etag[a])),(h.data&&h.hasContent&&h.contentType!==!1||n.contentType)&&S.setRequestHeader("Content-Type",h.contentType),S.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Bt+"; q=0.01":""):h.accepts["*"]);for(f in h.headers)S.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(h.beforeSend.call(m,S,h)===!1||c))return S.abort();if(w="abort",g.add(h.complete),S.done(h.success),S.fail(h.error),o=Y(It,h,n,S)){if(S.readyState=1,d&&v.trigger("ajaxSend",[S,h]),c)return S;h.async&&h.timeout>0&&(l=e.setTimeout(function(){S.abort("timeout")},h.timeout));try{c=!1,o.send(_,r)}catch(e){if(c)throw e;r(-1,e)}}else r(-1,"No Transport");return S},getJSON:function(e,t,n){return he.get(e,t,n,"json")},getScript:function(e,t){return he.get(e,void 0,t,"script")}}),he.each(["get","post"],function(e,t){he[t]=function(e,n,r,o){return he.isFunction(n)&&(o=o||r,r=n,n=void 0),he.ajax(he.extend({url:e,type:t,dataType:o,data:n,success:r},he.isPlainObject(e)&&e))}}),he._evalUrl=function(e){return he.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},he.fn.extend({wrapAll:function(e){var t;return this[0]&&(he.isFunction(e)&&(e=e.call(this[0])),t=he(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return he.isFunction(e)?this.each(function(t){he(this).wrapInner(e.call(this,t))}):this.each(function(){var t=he(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=he.isFunction(e);return this.each(function(n){he(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){he(this).replaceWith(this.childNodes)}),this}}),he.expr.pseudos.hidden=function(e){return!he.expr.pseudos.visible(e)},he.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},he.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var qt={0:200,1223:204},Ft=he.ajaxSettings.xhr();fe.cors=!!Ft&&"withCredentials"in Ft,fe.ajax=Ft=!!Ft,he.ajaxTransport(function(t){var n,r;if(fe.cors||Ft&&!t.crossDomain)return{send:function(o,a){var i,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(i in t.xhrFields)s[i]=t.xhrFields[i];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(i in o)s.setRequestHeader(i,o[i]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?a(0,"error"):a(s.status,s.statusText):a(qt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),he.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),he.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return he.globalEval(e),e}}}),he.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),he.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,o){t=he("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),te.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Ut=[],Wt=/(=)\?(?=&|$)|\?\?/;he.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Ut.pop()||he.expando+"_"+Ct++;return this[e]=!0,e}}),he.ajaxPrefilter("json jsonp",function(t,n,r){var o,a,i,s=t.jsonp!==!1&&(Wt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Wt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=he.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Wt,"$1"+o):t.jsonp!==!1&&(t.url+=(xt.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return i||he.error(o+" was not called"),i[0]},t.dataTypes[0]="json",a=e[o],e[o]=function(){i=arguments},r.always(function(){void 0===a?he(e).removeProp(o):e[o]=a,t[o]&&(t.jsonpCallback=n.jsonpCallback,Ut.push(o)),i&&he.isFunction(a)&&a(i[0]),i=a=void 0}),"script"}),fe.createHTMLDocument=function(){var e=te.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),he.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var r,o,a;return t||(fe.createHTMLDocument?(t=te.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=te.location.href,t.head.appendChild(r)):t=te),o=Se.exec(e),a=!n&&[],o?[t.createElement(o[1])]:(o=y([e],t,a),a&&a.length&&he(a).remove(),he.merge([],o.childNodes))},he.fn.load=function(e,t,n){var r,o,a,i=this,s=e.indexOf(" ");return s>-1&&(r=H(e.slice(s)),e=e.slice(0,s)),he.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),i.length>0&&he.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){a=arguments,i.html(r?he("<div>").append(he.parseHTML(e)).find(r):e)}).always(n&&function(e,t){i.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},he.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){he.fn[t]=function(e){return this.on(t,e)}}),he.expr.pseudos.animated=function(e){return he.grep(he.timers,function(t){return e===t.elem}).length},he.offset={setOffset:function(e,t,n){var r,o,a,i,s,l,u,c=he.css(e,"position"),d=he(e),f={};"static"===c&&(e.style.position="relative"),s=d.offset(),a=he.css(e,"top"),l=he.css(e,"left"),u=("absolute"===c||"fixed"===c)&&(a+l).indexOf("auto")>-1,u?(r=d.position(),i=r.top,o=r.left):(i=parseFloat(a)||0,o=parseFloat(l)||0),he.isFunction(t)&&(t=t.call(e,n,he.extend({},s))),null!=t.top&&(f.top=t.top-s.top+i),null!=t.left&&(f.left=t.left-s.left+o),"using"in t?t.using.call(e,f):d.css(f)}},he.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){he.offset.setOffset(this,e,t)});var t,n,r,o,a=this[0];if(a)return a.getClientRects().length?(r=a.getBoundingClientRect(),r.width||r.height?(o=a.ownerDocument,n=Z(o),t=o.documentElement,{top:r.top+n.pageYOffset-t.clientTop,left:r.left+n.pageXOffset-t.clientLeft}):r):{top:0,left:0}},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===he.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),he.nodeName(e[0],"html")||(r=e.offset()),r={top:r.top+he.css(e[0],"borderTopWidth",!0),left:r.left+he.css(e[0],"borderLeftWidth",!0)}),{top:t.top-r.top-he.css(n,"marginTop",!0),left:t.left-r.left-he.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===he.css(e,"position");)e=e.offsetParent;return e||$e})}}),he.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;he.fn[e]=function(r){return ze(this,function(e,r,o){var a=Z(e);return void 0===o?a?a[t]:e[r]:void(a?a.scrollTo(n?a.pageXOffset:o,n?o:a.pageYOffset):e[r]=o)},e,r,arguments.length)}}),he.each(["top","left"],function(e,t){he.cssHooks[t]=E(fe.pixelPosition,function(e,n){if(n)return n=O(e,t),it.test(n)?he(e).position()[t]+"px":n})}),he.each({Height:"height",Width:"width"},function(e,t){he.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){he.fn[r]=function(o,a){var i=arguments.length&&(n||"boolean"!=typeof o),s=n||(o===!0||a===!0?"margin":"border");return ze(this,function(t,n,o){var a;return he.isWindow(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===o?he.css(t,n,s):he.style(t,n,o,s)},t,i?o:void 0,i)}})}),he.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),he.parseJSON=JSON.parse,"function"==typeof define&&define.amd&&define("jquery",[],function(){return he});var Ht=e.jQuery,Xt=e.$;return he.noConflict=function(t){return e.$===he&&(e.$=Xt),t&&e.jQuery===he&&(e.jQuery=Ht),he},t||(e.jQuery=e.$=he),he})},{}],370:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(){var t=this,n=arguments;return new k.default(function(r){return r(e.apply(t,n))})}}function a(e){if("request"===e.type)throw new D.MethodNotFound(e.method)}function i(){}Object.defineProperty(n,"__esModule",{value:!0});var s=e("babel-runtime/helpers/typeof"),l=r(s),u=e("babel-runtime/regenerator"),c=r(u),d=e("babel-runtime/helpers/asyncToGenerator"),f=r(d),p=e("babel-runtime/core-js/object/create"),h=r(p),m=e("babel-runtime/core-js/object/get-prototype-of"),v=r(m),b=e("babel-runtime/helpers/classCallCheck"),g=r(b),y=e("babel-runtime/helpers/createClass"),_=r(y),M=e("babel-runtime/helpers/possibleConstructorReturn"),w=r(M),S=e("babel-runtime/helpers/inherits"),C=r(S),x=e("babel-runtime/core-js/promise"),k=r(x),T=e("babel-runtime/core-js/object/define-property"),A=r(T),P=e("readable-stream/duplex"),N=r(P),O=e("lodash/forEach"),E=r(O),z=e("lodash/isArray"),R=r(z),j=e("lodash/map"),L=r(j),D=e("json-rpc-protocol");!function(){var n=e("json-rpc-protocol"),r=function(e){"default"!==e&&Object.prototype.hasOwnProperty.call(n,e)&&(0,A.default)(t.exports,e,{configurable:!0,enumerable:!0,get:function(){return n[e]}})};for(var o in n)r(o)}();var I=function(e){try{return(0,D.parse)(e)}catch(e){throw D.format.error(null,e)}},B=-9007199254740991,V=function(e){function t(e){(0,g.default)(this,t);var n=(0,w.default)(this,(t.__proto__||(0,v.default)(t)).call(this,{objectMode:!0}));return n._handle=o(e||a),n._deferreds=(0,h.default)(null),n.on("finish",function(){this.push(null)}),n}return(0,C.default)(t,e),(0,_.default)(t,[{key:"_getDeferred",value:function(e){var t=this._deferreds[e];return delete this._deferreds[e],t}},{key:"_read",value:function(){}},{key:"_write",value:function(e,t,n){var r=this;this.exec(String(e)).then(function(e){void 0!==e&&r.push(e)},function(e){r.emit("error",e)}),n()}},{key:"exec",value:function(){function e(e){return t.apply(this,arguments)}var t=(0,f.default)(c.default.mark(function e(t){var n,r,o,a,s,u,d,f=this;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=I(t),!(0,R.default)(t)){e.next=6;break}return e.delegateYield(c.default.mark(function e(){var n;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=[],e.next=3,k.default.all((0,L.default)(t,function(e){return f.exec(e).then(function(e){e&&n.push(e)})}));case 3:return e.abrupt("return",{v:n});case 4:case"end":return e.stop()}},e,f)})(),"t0",3);case 3:if(n=e.t0,"object"!==("undefined"==typeof n?"undefined":(0,l.default)(n))){e.next=6;break}return e.abrupt("return",n.v);case 6:if(r=t,o=r.type,"error"!==o){e.next=15;break}if(a=t,s=a.id,null!==s){e.next=11;break}return e.abrupt("return");case 11:u=t,d=u.error,this._getDeferred(s).reject(new D.JsonRpcError(d.message,d.code,d.data)),e.next=24;break;case 15:if("response"!==o){e.next=19;break}this._getDeferred(t.id).resolve(t.result),e.next=24;break;case 19:if("notification"!==o){e.next=23;break}this._handle(t).catch(i),e.next=24;break;case 23:return e.abrupt("return",this._handle(t).then(function(e){return D.format.response(t.id,void 0===e?null:e)},function(e){return D.format.error(t.id,e instanceof D.MethodNotFound&&!e.data?new D.MethodNotFound(t.method):e)}));case 24:case"end":return e.stop()}},e,this)}));return e}()},{key:"failPendingRequests",value:function(e){var t=this._deferreds;(0,E.default)(t,function(n,r){var o=n.reject;o(e),delete t[r]})}},{key:"request",value:function(e,t){var n=this;return new k.default(function(r,o){var a=B++;n.push(D.format.request(a,e,t)),n._deferreds[a]={resolve:r,reject:o}})}},{key:"notify",value:function(){function e(e,n){return t.apply(this,arguments)}var t=(0,f.default)(c.default.mark(function e(t,n){return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.push(D.format.notification(t,n));case 1:case"end":return e.stop()}},e,this)}));return e}()}]),t}(N.default);n.default=V},{"babel-runtime/core-js/object/create":10,"babel-runtime/core-js/object/define-property":12,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/asyncToGenerator":21,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/typeof":33,"babel-runtime/regenerator":147,"json-rpc-protocol":373,"lodash/forEach":716,"lodash/isArray":731,"lodash/map":754,"readable-stream/duplex":1270}],371:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(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)}Object.defineProperty(n,"__esModule",{value:!0}),n.InvalidParameters=n.MethodNotFound=n.InvalidRequest=n.InvalidJson=n.JsonRpcError=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=e("make-error"),l=n.JsonRpcError=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknown error from the peer",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-32e3,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;r(this,t);var i=o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.code=n,i.data=a,i}return a(t,e),i(t,[{key:"toJsonRpcError",value:function(){return{code:this.code,data:this.data,message:this.message}}}]),t}(s.BaseError);n.InvalidJson=function(e){function t(){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"invalid JSON",-32700))}return a(t,e),t}(l),n.InvalidRequest=function(e){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"invalid JSON-RPC request";return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,-32600))}return a(t,e),t}(l),n.MethodNotFound=function(e){function t(e){r(this,t);var n=e?"method not found: "+e:"method not found";return o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n,-32601,e))}return a(t,e),t}(l),n.InvalidParameters=function(e){function t(e){return r(this,t),o(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"invalid parameter(s)",-32602,e))}return a(t,e),t}(l)},{"make-error":798}],372:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.response=n.request=n.notification=n.error=void 0;var r=e("./errors"),o=JSON.stringify;n.error=function(e,t){return t=("function"==typeof t.toJsonRpcError?t:new r.JsonRpcError).toJsonRpcError(),o({jsonrpc:"2.0",id:e,error:t})},n.notification=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;return o({jsonrpc:"2.0",method:e,params:t})},n.request=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;return o({jsonrpc:"2.0",method:t,params:n,id:e})},n.response=function(e,t){return o({jsonrpc:"2.0",id:e,result:t})}},{"./errors":371}],373:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}Object.defineProperty(n,"__esModule",{value:!0}),n.parse=n.format=void 0;var a=e("./errors");Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}})});var i=e("./format"),s=o(i),l=e("./parse"),u=r(l);n.format=s,n.parse=u.default},{"./errors":371,"./format":372,"./parse":374}],374:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if((0,p.default)(e))try{e=JSON.parse(e)}catch(e){if(e instanceof SyntaxError)throw new v.InvalidJson;throw e}if((0,s.default)(e))return(0,m.default)(e,function(e){return o(e)});var t=C(e);if((0,p.default)(e.method)){var n=e,r=n.id;x(r,t)?y(e,"notification"):(w(r),y(e,"request")),S(e.params,t)}else if(k(e,t)){var a=e,i=a.id;null!==i&&w(i),M(e.error,t),y(e,"error")}else w(e.id),y(e,"response");return e}Object.defineProperty(n,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n.default=o;var i=e("lodash/isArray"),s=r(i),l=e("lodash/isNumber"),u=r(l),c=e("lodash/isObject"),d=r(c),f=e("lodash/isString"),p=r(f),h=e("lodash/map"),m=r(h),v=e("./errors"),b=function(e){return(0,u.default)(e)&&e%1===0},g=Object.defineProperty,y=function(e,t){return g(e,"type",{configurable:!0,value:t,writable:!0})},_=function(e){return null===e?"null":"undefined"==typeof e?"undefined":a(e)},M=function(e,t){if("1.0"===t){if(null==e)throw new v.InvalidRequest("invalid error "+_(e))}else if(null==e||!b(e.code)||!(0,p.default)(e.message))throw new v.InvalidRequest("invalid error: "+_(e)+" instead of {code, message}")},w=function(e){if(!(0,u.default)(e)&&!(0,p.default)(e))throw new v.InvalidRequest("invalid identifier: "+_(e)+" instead of number or string")},S=function(e,t){if("2.0"===t){if(void 0!==e&&!(0,s.default)(e)&&!(0,d.default)(e))throw new v.InvalidRequest("invalid params: "+_(e)+" instead of undefined, array or object")}else if(!(0,s.default)(e))throw new v.InvalidRequest("invalid params: "+_(e)+" instead of array")},C=function(e){var t=e.jsonrpc;if(void 0===t)return"1.0";if("2.0"===t)return"2.0";throw new v.InvalidRequest("invalid version: "+_(t)+" instead of undefined or '2.0'")},x=function(e,t){return e===("2.0"===t?void 0:null)},k=function(e,t){var n=e.error;return n!==("2.0"===t?void 0:null)}},{"./errors":371,"lodash/isArray":731,"lodash/isNumber":740,"lodash/isObject":741,"lodash/isString":744,"lodash/map":754}],375:[function(e,t,n){"use strict";function r(){var e=1,t=1;return l(function(){var n=e;return e=t,t+=n,{done:!1,value:n}})}function o(e){var t=this[i]();return l(function(){var n=t.next();return n.done?s:{done:!1,value:e(n.value)}})}function a(e){if(e<1)return l(function(){return s});if(e===1/0)return this;var t=this[i]();return l(function(){var n=void 0;return!e--||(n=t.next()).done?s:{done:!1,value:n.value}})}Object.defineProperty(n,"__esModule",{value:!0}),n.fibonacci=r,n.map=o,n.take=a;var i=Symbol.iterator,s={done:!0},l=function(e){var t={next:e};return t[i]=function(){return t},t};n.default=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return(e=(e=r(),o).call(e,function(e){return Math.round(1e3*(e+Math.random()-.5))}),a).call(e,t)}},{}],376:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(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)}Object.defineProperty(n,"__esModule",{value:!0}),n.OPEN=n.CONNECTING=n.CLOSED=n.AbortedConnection=n.ConnectionError=n.createBackoff=void 0;var l=e("lodash/isString"),u=r(l),c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=e("json-rpc-peer"),f=r(d),p=e("./parse-url"),h=r(p),m=e("./websocket-client"),v=r(m),b=e("./backoff"),g=r(b);n.createBackoff=g.default,n.ConnectionError=m.ConnectionError,n.AbortedConnection=m.AbortedConnection,n.CLOSED=m.CLOSED,n.CONNECTING=m.CONNECTING,n.OPEN=m.OPEN;var y=function(e){function t(e){a(this,t);var n=void 0,r=void 0;if(e)if((0,u.default)(e))n=e,e={};else{var s=e;n=s.url;var l=s.protocols;r=void 0===l?"":l,e=o(s,["url","protocols"])}else e={};var c=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,(0,h.default)(n),r,e)),p=c._peer=new f.default(function(e){if("notification"!==e.type)throw new d.MethodNotFound;c.emit("notification",e)}).on("data",function(e){c.send(e)});return c.on(m.CLOSED,function(){p.failPendingRequests(new m.ConnectionError("connection has been closed"))}),c.on(m.MESSAGE,function(e){p.write(e)}),c}return s(t,e),c(t,[{key:"call",value:function(e,t){return this._peer.request(e,t)}},{key:"notify",value:function(e,t){return this._peer.notify(e,t)}}]),t}(v.default);n.default=y},{"./backoff":375,"./parse-url":377,"./websocket-client":378,"json-rpc-peer":370,"lodash/isString":744}],377:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=e("url"),a=/^(?:(?:http|ws)(s)?:\/\/)?(.+)$/;n.default=function(e){if("undefined"!=typeof window){var t=String(window.location);e=e?(0,o.resolve)(t,e):t}else if(!e)throw new Error("cannot get current URL");var n=a.exec(e),i=r(n,3),s=i[1],l=i[2];return["ws",s||"","://",l].join("")}},{url:1365}],378:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0}),n.OPEN=n.MESSAGE=n.CONNECTING=n.CLOSED=n.AbortedConnection=n.ConnectionError=void 0;var s=e("lodash/startsWith"),l=r(s),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=e("event-to-promise"),d=r(c),f=e("ws"),p=r(f),h=e("make-error"),m=e("events"),v=function(e){return new Promise(function(t){return setTimeout(t,e)})},b=n.ConnectionError=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),t}(h.BaseError),g=n.AbortedConnection=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"connection aborted"))}return i(t,e),t}(b),y=n.CLOSED="closed",_=n.CONNECTING="connecting",M=n.MESSAGE="message",w=n.OPEN="open",S=function(e){function t(e,n,r){o(this,t);var i=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r&&!(0,l.default)(i._url,"wss")&&delete r.rejectUnauthorized,i._opts=r,i._protocols=n,i._url=e,i._protocol=null,i._socket=null,i._status=y,i._onClose=i._onClose.bind(i),i}return i(t,e),u(t,[{key:"close",value:function(){var e=this;return new Promise(function(t){if(e._status!==y){var n=e._socket;t((0,d.default)(n,"close")),n.close()}})}},{key:"open",value:function(e){var t=this;if(!e)return this._open();var n=e[Symbol.iterator](),r=!1,o=function(){r=!0},a=void 0,i=function e(){if(r)throw a;return t._open().catch(function(r){var i=void 0;if(r instanceof g||(i=n.next()).done)throw r;var s=i,l=s.value;return t.emit("scheduledAttempt",{cancel:o,delay:l}),a=r,v(i.value).then(e)})},s=i();return s.cancel=o,s}},{key:"send",value:function(e){this._assertStatus(w),this._socket.send(e)}},{key:"_assertNotStatus",value:function(e){if(this._status===e)throw new b("invalid status "+this._status);
|
19 | }},{key:"_assertStatus",value:function(e){if(this._status!==e)throw new b("invalid status "+this._status+", expected "+e)}},{key:"_onClose",value:function(){var e=this._status;this._socket=null,this._status=y,e===w&&this.emit(y)}},{key:"_open",value:function(){var e=this;return Promise.resolve().then(function(){e._assertStatus(y),e._status=_;var t=e._socket=new p.default(e._url,e._protocols,e._opts);return d.default.multi(t,["open"],["close","error"]).then(function(){t.addEventListener("close",e._onClose),t.addEventListener("error",function(t){e.emit("error",t)}),t.addEventListener("message",function(t){var n=t.data;e.emit(M,n)}),e._status=w,e.emit(w)},function(t){if(e._onClose(),"close"===t.event)throw new g;throw new b(t[0].message)})})}},{key:"protocol",get:function(){return this._protocol}},{key:"status",get:function(){return this._status}}]),t}(m.EventEmitter);n.default=S},{"event-to-promise":278,events:279,"lodash/startsWith":777,"make-error":798,ws:379}],379:[function(e,t,n){(function(e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=e.WebSocket||e.MozWebSocket}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],380:[function(e,t,n){n=t.exports=function(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return i[e];var n=String(e),a=r[n.toLowerCase()];if(a)return a;var a=o[n.toLowerCase()];return a?a:1===n.length?n.charCodeAt(0):void 0};var r=n.code=n.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},o=n.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(a=97;a<123;a++)r[String.fromCharCode(a)]=a-32;for(var a=48;a<58;a++)r[a-48]=a;for(a=1;a<13;a++)r["f"+a]=a+111;for(a=0;a<10;a++)r["numpad "+a]=a+96;var i=n.names=n.title={};for(a in r)i[r[a]]=a;for(var s in o)r[s]=o[s]},{}],381:[function(e,t,n){function r(e){var t;if(void 0===e)return"undefined";if(null===e)return"null";switch(t=typeof e){case"object":switch(Object.prototype.toString.call(e)){case"[object RegExp]":return"regexp";case"[object Date]":return"date";case"[object Array]":return"array"}default:return t}}"undefined"!=typeof t&&(t.exports=r)},{}],382:[function(e,t,n){e("./later"),t.exports=later},{"./later":383}],383:[function(e,t,n){later=function(){"use strict";var e={version:"1.2.0"};return Array.prototype.indexOf||(Array.prototype.indexOf=function(e){if(null==this)throw new TypeError;var t=Object(this),n=t.length>>>0;if(0===n)return-1;var r=0;if(arguments.length>1&&(r=Number(arguments[1]),r!=r?r=0:0!=r&&r!=1/0&&r!=-(1/0)&&(r=(r>0||-1)*Math.floor(Math.abs(r)))),r>=n)return-1;for(var o=r>=0?r:Math.max(n-Math.abs(r),0);o<n;o++)if(o in t&&t[o]===e)return o;return-1}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),e.array={},e.array.sort=function(e,t){e.sort(function(e,t){return+e-+t}),t&&0===e[0]&&e.push(e.shift())},e.array.next=function(e,t,n){for(var r,o=0!==n[0],a=0,i=t.length-1;i>-1;--i){if(r=t[i],r===e)return r;if(!(r>e||0===r&&o&&n[1]>e))break;a=i}return t[a]},e.array.nextInvalid=function(e,t,n){for(var r=n[0],o=n[1],a=t.length,i=0===t[a-1]&&0!==r?o:0,s=e,l=t.indexOf(e),u=s;s===(t[l]||i);)if(s++,s>o&&(s=r),l++,l===a&&(l=0),s===u)return;return s},e.array.prev=function(e,t,n){for(var r,o=t.length,a=0!==n[0],i=o-1,s=0;s<o;s++){if(r=t[s],r===e)return r;if(!(r<e||0===r&&a&&n[1]<e))break;i=s}return t[i]},e.array.prevInvalid=function(e,t,n){for(var r=n[0],o=n[1],a=t.length,i=0===t[a-1]&&0!==r?o:0,s=e,l=t.indexOf(e),u=s;s===(t[l]||i);)if(s--,s<r&&(s=o),l--,l===-1&&(l=a-1),s===u)return;return s},e.day=e.D={name:"day",range:86400,val:function(t){return t.D||(t.D=e.date.getDate.call(t))},isValid:function(t,n){return e.D.val(t)===(n||e.D.extent(t)[1])},extent:function(t){if(t.DExtent)return t.DExtent;var n=e.M.val(t),r=e.DAYS_IN_MONTH[n-1];return 2===n&&366===e.dy.extent(t)[1]&&(r+=1),t.DExtent=[1,r]},start:function(t){return t.DStart||(t.DStart=e.date.next(e.Y.val(t),e.M.val(t),e.D.val(t)))},end:function(t){return t.DEnd||(t.DEnd=e.date.prev(e.Y.val(t),e.M.val(t),e.D.val(t)))},next:function(t,n){n=n>e.D.extent(t)[1]?1:n;var r=e.date.nextRollover(t,n,e.D,e.M),o=e.D.extent(r)[1];return n=n>o?1:n||o,e.date.next(e.Y.val(r),e.M.val(r),n)},prev:function(t,n){var r=e.date.prevRollover(t,n,e.D,e.M),o=e.D.extent(r)[1];return e.date.prev(e.Y.val(r),e.M.val(r),n>o?o:n||o)}},e.dayOfWeekCount=e.dc={name:"day of week count",range:604800,val:function(t){return t.dc||(t.dc=Math.floor((e.D.val(t)-1)/7)+1)},isValid:function(t,n){return e.dc.val(t)===n||0===n&&e.D.val(t)>e.D.extent(t)[1]-7},extent:function(t){return t.dcExtent||(t.dcExtent=[1,Math.ceil(e.D.extent(t)[1]/7)])},start:function(t){return t.dcStart||(t.dcStart=e.date.next(e.Y.val(t),e.M.val(t),Math.max(1,7*(e.dc.val(t)-1)+1||1)))},end:function(t){return t.dcEnd||(t.dcEnd=e.date.prev(e.Y.val(t),e.M.val(t),Math.min(7*e.dc.val(t),e.D.extent(t)[1])))},next:function(t,n){n=n>e.dc.extent(t)[1]?1:n;var r=e.date.nextRollover(t,n,e.dc,e.M),o=e.dc.extent(r)[1];n=n>o?1:n;var a=e.date.next(e.Y.val(r),e.M.val(r),0===n?e.D.extent(r)[1]-6:1+7*(n-1));return a.getTime()<=t.getTime()?(r=e.M.next(t,e.M.val(t)+1),e.date.next(e.Y.val(r),e.M.val(r),0===n?e.D.extent(r)[1]-6:1+7*(n-1))):a},prev:function(t,n){var r=e.date.prevRollover(t,n,e.dc,e.M),o=e.dc.extent(r)[1];return n=n>o?o:n||o,e.dc.end(e.date.prev(e.Y.val(r),e.M.val(r),1+7*(n-1)))}},e.dayOfWeek=e.dw=e.d={name:"day of week",range:86400,val:function(t){return t.dw||(t.dw=e.date.getDay.call(t)+1)},isValid:function(t,n){return e.dw.val(t)===(n||7)},extent:function(){return[1,7]},start:function(t){return e.D.start(t)},end:function(t){return e.D.end(t)},next:function(t,n){return n=n>7?1:n||7,e.date.next(e.Y.val(t),e.M.val(t),e.D.val(t)+(n-e.dw.val(t))+(n<=e.dw.val(t)?7:0))},prev:function(t,n){return n=n>7?7:n||7,e.date.prev(e.Y.val(t),e.M.val(t),e.D.val(t)+(n-e.dw.val(t))+(n>=e.dw.val(t)?-7:0))}},e.dayOfYear=e.dy={name:"day of year",range:86400,val:function(t){return t.dy||(t.dy=Math.ceil(1+(e.D.start(t).getTime()-e.Y.start(t).getTime())/e.DAY))},isValid:function(t,n){return e.dy.val(t)===(n||e.dy.extent(t)[1])},extent:function(t){var n=e.Y.val(t);return t.dyExtent||(t.dyExtent=[1,n%4?365:366])},start:function(t){return e.D.start(t)},end:function(t){return e.D.end(t)},next:function(t,n){n=n>e.dy.extent(t)[1]?1:n;var r=e.date.nextRollover(t,n,e.dy,e.Y),o=e.dy.extent(r)[1];return n=n>o?1:n||o,e.date.next(e.Y.val(r),e.M.val(r),n)},prev:function(t,n){var r=e.date.prevRollover(t,n,e.dy,e.Y),o=e.dy.extent(r)[1];return n=n>o?o:n||o,e.date.prev(e.Y.val(r),e.M.val(r),n)}},e.hour=e.h={name:"hour",range:3600,val:function(t){return t.h||(t.h=e.date.getHour.call(t))},isValid:function(t,n){return e.h.val(t)===n},extent:function(){return[0,23]},start:function(t){return t.hStart||(t.hStart=e.date.next(e.Y.val(t),e.M.val(t),e.D.val(t),e.h.val(t)))},end:function(t){return t.hEnd||(t.hEnd=e.date.prev(e.Y.val(t),e.M.val(t),e.D.val(t),e.h.val(t)))},next:function(t,n){n=n>23?0:n;var r=e.date.next(e.Y.val(t),e.M.val(t),e.D.val(t)+(n<=e.h.val(t)?1:0),n);return!e.date.isUTC&&r.getTime()<=t.getTime()&&(r=e.date.next(e.Y.val(r),e.M.val(r),e.D.val(r),n+1)),r},prev:function(t,n){return n=n>23?23:n,e.date.prev(e.Y.val(t),e.M.val(t),e.D.val(t)+(n>=e.h.val(t)?-1:0),n)}},e.minute=e.m={name:"minute",range:60,val:function(t){return t.m||(t.m=e.date.getMin.call(t))},isValid:function(t,n){return e.m.val(t)===n},extent:function(e){return[0,59]},start:function(t){return t.mStart||(t.mStart=e.date.next(e.Y.val(t),e.M.val(t),e.D.val(t),e.h.val(t),e.m.val(t)))},end:function(t){return t.mEnd||(t.mEnd=e.date.prev(e.Y.val(t),e.M.val(t),e.D.val(t),e.h.val(t),e.m.val(t)))},next:function(t,n){var r=e.m.val(t),o=e.s.val(t),a=n>59?60-r:n<=r?60-r+n:n-r,i=new Date(t.getTime()+a*e.MIN-o*e.SEC);return!e.date.isUTC&&i.getTime()<=t.getTime()&&(i=new Date(t.getTime()+(a+120)*e.MIN-o*e.SEC)),i},prev:function(t,n){return n=n>59?59:n,e.date.prev(e.Y.val(t),e.M.val(t),e.D.val(t),e.h.val(t)+(n>=e.m.val(t)?-1:0),n)}},e.month=e.M={name:"month",range:2629740,val:function(t){return t.M||(t.M=e.date.getMonth.call(t)+1)},isValid:function(t,n){return e.M.val(t)===(n||12)},extent:function(){return[1,12]},start:function(t){return t.MStart||(t.MStart=e.date.next(e.Y.val(t),e.M.val(t)))},end:function(t){return t.MEnd||(t.MEnd=e.date.prev(e.Y.val(t),e.M.val(t)))},next:function(t,n){return n=n>12?1:n||12,e.date.next(e.Y.val(t)+(n>e.M.val(t)?0:1),n)},prev:function(t,n){return n=n>12?12:n||12,e.date.prev(e.Y.val(t)-(n>=e.M.val(t)?1:0),n)}},e.second=e.s={name:"second",range:1,val:function(t){return t.s||(t.s=e.date.getSec.call(t))},isValid:function(t,n){return e.s.val(t)===n},extent:function(){return[0,59]},start:function(e){return e},end:function(e){return e},next:function(t,n){var r=e.s.val(t),o=n>59?60-r:n<=r?60-r+n:n-r,a=new Date(t.getTime()+o*e.SEC);return!e.date.isUTC&&a.getTime()<=t.getTime()&&(a=new Date(t.getTime()+(o+7200)*e.SEC)),a},prev:function(t,n,r){return n=n>59?59:n,e.date.prev(e.Y.val(t),e.M.val(t),e.D.val(t),e.h.val(t),e.m.val(t)+(n>=e.s.val(t)?-1:0),n)}},e.time=e.t={name:"time",range:1,val:function(t){return t.t||(t.t=3600*e.h.val(t)+60*e.m.val(t)+e.s.val(t))},isValid:function(t,n){return e.t.val(t)===n},extent:function(){return[0,86399]},start:function(e){return e},end:function(e){return e},next:function(t,n){n=n>86399?0:n;var r=e.date.next(e.Y.val(t),e.M.val(t),e.D.val(t)+(n<=e.t.val(t)?1:0),0,0,n);return!e.date.isUTC&&r.getTime()<t.getTime()&&(r=e.date.next(e.Y.val(r),e.M.val(r),e.D.val(r),e.h.val(r),e.m.val(r),n+7200)),r},prev:function(t,n){return n=n>86399?86399:n,e.date.next(e.Y.val(t),e.M.val(t),e.D.val(t)+(n>=e.t.val(t)?-1:0),0,0,n)}},e.weekOfMonth=e.wm={name:"week of month",range:604800,val:function(t){return t.wm||(t.wm=(e.D.val(t)+(e.dw.val(e.M.start(t))-1)+(7-e.dw.val(t)))/7)},isValid:function(t,n){return e.wm.val(t)===(n||e.wm.extent(t)[1])},extent:function(t){return t.wmExtent||(t.wmExtent=[1,(e.D.extent(t)[1]+(e.dw.val(e.M.start(t))-1)+(7-e.dw.val(e.M.end(t))))/7])},start:function(t){return t.wmStart||(t.wmStart=e.date.next(e.Y.val(t),e.M.val(t),Math.max(e.D.val(t)-e.dw.val(t)+1,1)))},end:function(t){return t.wmEnd||(t.wmEnd=e.date.prev(e.Y.val(t),e.M.val(t),Math.min(e.D.val(t)+(7-e.dw.val(t)),e.D.extent(t)[1])))},next:function(t,n){n=n>e.wm.extent(t)[1]?1:n;var r=e.date.nextRollover(t,n,e.wm,e.M),o=e.wm.extent(r)[1];return n=n>o?1:n||o,e.date.next(e.Y.val(r),e.M.val(r),Math.max(1,7*(n-1)-(e.dw.val(r)-2)))},prev:function(t,n){var r=e.date.prevRollover(t,n,e.wm,e.M),o=e.wm.extent(r)[1];return n=n>o?o:n||o,e.wm.end(e.date.next(e.Y.val(r),e.M.val(r),Math.max(1,7*(n-1)-(e.dw.val(r)-2))))}},e.weekOfYear=e.wy={name:"week of year (ISO)",range:604800,val:function(t){if(t.wy)return t.wy;var n=e.dw.next(e.wy.start(t),5),r=e.dw.next(e.Y.prev(n,e.Y.val(n)-1),5);return t.wy=1+Math.ceil((n.getTime()-r.getTime())/e.WEEK)},isValid:function(t,n){return e.wy.val(t)===(n||e.wy.extent(t)[1])},extent:function(t){if(t.wyExtent)return t.wyExtent;var n=e.dw.next(e.wy.start(t),5),r=e.dw.val(e.Y.start(n)),o=e.dw.val(e.Y.end(n));return t.wyExtent=[1,5===r||5===o?53:52]},start:function(t){return t.wyStart||(t.wyStart=e.date.next(e.Y.val(t),e.M.val(t),e.D.val(t)-(e.dw.val(t)>1?e.dw.val(t)-2:6)))},end:function(t){return t.wyEnd||(t.wyEnd=e.date.prev(e.Y.val(t),e.M.val(t),e.D.val(t)+(e.dw.val(t)>1?8-e.dw.val(t):0)))},next:function(t,n){n=n>e.wy.extent(t)[1]?1:n;var r=e.dw.next(e.wy.start(t),5),o=e.date.nextRollover(r,n,e.wy,e.Y);1!==e.wy.val(o)&&(o=e.dw.next(o,2));var a=e.wy.extent(o)[1],i=e.wy.start(o);return n=n>a?1:n||a,e.date.next(e.Y.val(i),e.M.val(i),e.D.val(i)+7*(n-1))},prev:function(t,n){var r=e.dw.next(e.wy.start(t),5),o=e.date.prevRollover(r,n,e.wy,e.Y);1!==e.wy.val(o)&&(o=e.dw.next(o,2));var a=e.wy.extent(o)[1],i=e.wy.end(o);return n=n>a?a:n||a,e.wy.end(e.date.next(e.Y.val(i),e.M.val(i),e.D.val(i)+7*(n-1)))}},e.year=e.Y={name:"year",range:31556900,val:function(t){return t.Y||(t.Y=e.date.getYear.call(t))},isValid:function(t,n){return e.Y.val(t)===n},extent:function(){return[1970,2099]},start:function(t){return t.YStart||(t.YStart=e.date.next(e.Y.val(t)))},end:function(t){return t.YEnd||(t.YEnd=e.date.prev(e.Y.val(t)))},next:function(t,n){return n>e.Y.val(t)&&n<=e.Y.extent()[1]?e.date.next(n):e.NEVER},prev:function(t,n){return n<e.Y.val(t)&&n>=e.Y.extent()[0]?e.date.prev(n):e.NEVER}},e.fullDate=e.fd={name:"full date",range:1,val:function(e){return e.fd||(e.fd=e.getTime())},isValid:function(t,n){return e.fd.val(t)===n},extent:function(){return[0,3250368e7]},start:function(e){return e},end:function(e){return e},next:function(t,n){return e.fd.val(t)<n?new Date(n):e.NEVER},prev:function(t,n){return e.fd.val(t)>n?new Date(n):e.NEVER}},e.modifier={},e.modifier.after=e.modifier.a=function(e,t){var n=t[0];return{name:"after "+e.name,range:(e.extent(new Date)[1]-n)*e.range,val:e.val,isValid:function(e,t){return this.val(e)>=n},extent:e.extent,start:e.start,end:e.end,next:function(t,r){return r!=n&&(r=e.extent(t)[0]),e.next(t,r)},prev:function(t,r){return r=r===n?e.extent(t)[1]:n-1,e.prev(t,r)}}},e.modifier.before=e.modifier.b=function(e,t){var n=t[t.length-1];return{name:"before "+e.name,range:e.range*(n-1),val:e.val,isValid:function(e,t){return this.val(e)<n},extent:e.extent,start:e.start,end:e.end,next:function(t,r){return r=r===n?e.extent(t)[0]:n,e.next(t,r)},prev:function(t,r){return r=r===n?n-1:e.extent(t)[1],e.prev(t,r)}}},e.compile=function(t){function n(e){return"next"===e?function(e,t){return e.getTime()>t.getTime()}:function(e,t){return t.getTime()>e.getTime()}}var r,o=[],a=0;for(var i in t){var s=i.split("_"),l=s[0],u=s[1],c=t[i],d=u?e.modifier[u](e[l],c):e[l];o.push({constraint:d,vals:c}),a++}return o.sort(function(e,t){var n=e.constraint.range,r=t.constraint.range;return r<n?-1:r>n?1:0}),r=o[a-1].constraint,{start:function(t,n){for(var i,s=n,l=e.array[t],u=1e3;u--&&!i&&s;){i=!0;for(var c=0;c<a;c++){var d=o[c].constraint,f=d.val(s),p=d.extent(s),h=l(f,o[c].vals,p);if(!d.isValid(s,h)){s=d[t](s,h),i=!1;break}}}return s!==e.NEVER&&(s="next"===t?r.start(s):r.end(s)),s},end:function(t,r){for(var i,s=e.array[t+"Invalid"],l=n(t),u=a-1;u>=0;u--){var c,d=o[u].constraint,f=d.val(r),p=d.extent(r),h=s(f,o[u].vals,p);void 0!==h&&(c=d[t](r,h),!c||i&&!l(i,c)||(i=c))}return i},tick:function(t,n){return new Date("next"===t?r.end(n).getTime()+e.SEC:r.start(n).getTime()-e.SEC)},tickStart:function(e){return r.start(e)}}},e.schedule=function(t){function n(t,n,v,y,_){var M,w,S,C=p(t),x=n,k=1e3,T=[],A=[],P=[],N="next"===t,O=N?0:1,E=N?1:0;if(v=v?new Date(v):new Date,!v||!v.getTime())throw new Error("Invalid start date.");for(o(t,m,T,v),i(t,b,A,v);k--&&x&&(M=h(T,C))&&(!y||!C(M,y));)if(g&&(s(t,b,A,M),w=c(t,A,M)))a(t,m,T,w);else{if(_){var z=d(A,C);w=f(t,m,T,M,z);var R=N?[new Date(Math.max(v,M)),w?new Date(y?Math.min(w,y):w):void 0]:[w?new Date(y?Math.max(y,w.getTime()+e.SEC):w.getTime()+e.SEC):void 0,new Date(Math.min(v,M.getTime()+e.SEC))];if(S&&R[O].getTime()===S[E].getTime()?(S[E]=R[E],x++):(S=R,P.push(S)),!w)break;a(t,m,T,w)}else P.push(N?new Date(Math.max(v,M)):u(m,T,M,y)),l(t,m,T,M);x--}for(var j=0,L=P.length;j<L;j++){var D=P[j];P[j]="[object Array]"===Object.prototype.toString.call(D)?[r(D[0]),r(D[1])]:r(D)}return 0===P.length?e.NEVER:1===n?P[0]:P}function r(e){if(e instanceof Date&&!isNaN(e.valueOf()))return new Date(e)}function o(e,t,n,r){for(var o=0,a=t.length;o<a;o++)n[o]=t[o].start(e,r)}function a(e,t,n,r){for(var o=p(e),a=0,i=t.length;a<i;a++)n[a]&&!o(n[a],r)&&(n[a]=t[a].start(e,r))}function i(t,n,r,o){for(var a=(p(t),0),i=n.length;a<i;a++){var s=n[a].start(t,o);s?r[a]=[s,n[a].end(t,s)]:r[a]=e.NEVER}}function s(t,n,r,o){for(var a=p(t),i=0,s=n.length;i<s;i++)if(r[i]&&!a(r[i][0],o)){var l=n[i].start(t,o);l?r[i]=[l,n[i].end(t,l)]:r[i]=e.NEVER}}function l(e,t,n,r){for(var o=0,a=t.length;o<a;o++)n[o]&&n[o].getTime()===r.getTime()&&(n[o]=t[o].start(e,t[o].tick(e,r)))}function u(e,t,n,r){for(var o,a=0,i=t.length;a<i;a++)if(t[a]&&t[a].getTime()===n.getTime()){var s=e[a].tickStart(n);if(r&&s<r)return r;(!o||s>o)&&(o=s)}return o}function c(e,t,n){for(var r,o=p(e),a=0,i=t.length;a<i;a++){var s=t[a];!s||o(s[0],n)||s[1]&&!o(s[1],n)||r&&!o(s[1],r)||(r=s[1])}return r}function d(e,t){for(var n,r=0,o=e.length;r<o;r++)!e[r]||n&&!t(n,e[r][0])||(n=e[r][0]);return n}function f(e,t,n,r,o){for(var a,i=p(e),s=0,l=t.length;s<l;s++){var u=n[s];if(u&&u.getTime()===r.getTime()){var c=t[s].end(e,u);if(o&&(!c||i(c,o)))return o;a&&!i(c,a)||(a=c)}}return a}function p(e){return"next"===e?function(e,t){return!t||e.getTime()>t.getTime()}:function(e,t){return!e||t.getTime()>e.getTime()}}function h(e,t){for(var n=e[0],r=1,o=e.length;r<o;r++)e[r]&&t(n,e[r])&&(n=e[r]);return n}if(!t)throw new Error("Missing schedule definition.");if(!t.schedules)throw new Error("Definition must include at least one schedule.");for(var m=[],v=t.schedules.length,b=[],g=t.exceptions?t.exceptions.length:0,y=0;y<v;y++)m.push(e.compile(t.schedules[y]));for(var _=0;_<g;_++)b.push(e.compile(t.exceptions[_]));return{isValid:function(t){return n("next",1,t,t)!==e.NEVER},next:function(e,t,r){return n("next",e||1,t,r)},prev:function(e,t,r){return n("prev",e||1,t,r)},nextRange:function(e,t,r){return n("next",e||1,t,r,!0)},prevRange:function(e,t,r){return n("prev",e||1,t,r,!0)}}},e.setTimeout=function(t,n){function r(){var e=Date.now(),n=a.next(2,e);if(!n[0])return void(o=void 0);var i=n[0].getTime()-e;i<1e3&&(i=n[1]?n[1].getTime()-e:1e3),o=i<2147483647?setTimeout(t,i):setTimeout(r,2147483647)}var o,a=e.schedule(n);return t&&r(),{isDone:function(){return!o},clear:function(){clearTimeout(o)}}},e.setInterval=function(t,n){function r(){a||(t(),o=e.setTimeout(r,n))}if(t){var o=e.setTimeout(r,n),a=o.isDone();return{isDone:function(){return o.isDone()},clear:function(){a=!0,o.clear()}}}},e.date={},e.date.timezone=function(t){e.date.build=t?function(e,t,n,r,o,a){return new Date(e,t,n,r,o,a)}:function(e,t,n,r,o,a){return new Date(Date.UTC(e,t,n,r,o,a))};var n=t?"get":"getUTC",r=Date.prototype;e.date.getYear=r[n+"FullYear"],e.date.getMonth=r[n+"Month"],e.date.getDate=r[n+"Date"],e.date.getDay=r[n+"Day"],e.date.getHour=r[n+"Hours"],e.date.getMin=r[n+"Minutes"],e.date.getSec=r[n+"Seconds"],e.date.isUTC=!t},e.date.UTC=function(){e.date.timezone(!1)},e.date.localTime=function(){e.date.timezone(!0)},e.date.UTC(),e.SEC=1e3,e.MIN=60*e.SEC,e.HOUR=60*e.MIN,e.DAY=24*e.HOUR,e.WEEK=7*e.DAY,e.DAYS_IN_MONTH=[31,28,31,30,31,30,31,31,30,31,30,31],e.NEVER=0,e.date.next=function(t,n,r,o,a,i){return e.date.build(t,void 0!==n?n-1:0,void 0!==r?r:1,o||0,a||0,i||0)},e.date.nextRollover=function(t,n,r,o){var a=r.val(t),i=r.extent(t)[1];return(n||i)<=a||n>i?new Date(o.end(t).getTime()+e.SEC):o.start(t)},e.date.prev=function(t,n,r,o,a,i){var s=arguments.length;return n=s<2?11:n-1,r=s<3?e.D.extent(e.date.next(t,n+1))[1]:r,o=s<4?23:o,a=s<5?59:a,i=s<6?59:i,e.date.build(t,n,r,o,a,i)},e.date.prevRollover=function(e,t,n,r){var o=n.val(e);return t>=o||!t?r.start(r.prev(e,r.val(e)-1)):r.start(e)},e.parse={},e.parse.cron=function(e,t){function n(e,t,n){return isNaN(e)?p[e]||null:Math.min(+e+(t||0),n||9999)}function r(e){var t,n={};for(t in e)"dc"!==t&&"d"!==t&&(n[t]=e[t].slice(0));return n}function o(e,t,n,r,o){var a=n;for(e[t]||(e[t]=[]);a<=r;)e[t].indexOf(a)<0&&e[t].push(a),a+=o||1;e[t].sort(function(e,t){return e-t})}function a(e,t,n,a){(t.d&&!t.dc||t.dc&&t.dc.indexOf(a)<0)&&(e.push(r(t)),t=e[e.length-1]),o(t,"d",n,n),o(t,"dc",a,a)}function i(e,t,n){var r={},a={};1===n?(o(t,"D",1,3),o(t,"d",p.MON,p.FRI),o(r,"D",2,2),o(r,"d",p.TUE,p.FRI),o(a,"D",3,3),o(a,"d",p.TUE,p.FRI)):(o(t,"D",n-1,n+1),o(t,"d",p.MON,p.FRI),o(r,"D",n-1,n-1),o(r,"d",p.MON,p.THU),o(a,"D",n+1,n+1),o(a,"d",p.TUE,p.FRI)),e.exceptions.push(r),e.exceptions.push(a)}function s(e,t,r,a,i,s){var l=e.split("/"),u=+l[1],c=l[0];if("*"!==c&&"0"!==c){var d=c.split("-");a=n(d[0],s,i),i=n(d[1],s,i)||i}o(t,r,a,i,u)}function l(e,t,r,l,u,c){var d,f,p=t.schedules,h=p[p.length-1];"L"===e&&(e=l-1),null!==(d=n(e,c,u))?o(h,r,d,d):null!==(d=n(e.replace("W",""),c,u))?i(t,h,d):null!==(d=n(e.replace("L",""),c,u))?a(p,h,d,l-1):2===(f=e.split("#")).length?(d=n(f[0],c,u),a(p,h,d,n(f[1]))):s(e,h,r,l,u,c)}function u(e){return e.indexOf("#")>-1||e.indexOf("L")>0}function c(e,t){return u(e)&&!u(t)?1:e-t}function d(e){var t,n,r,o,a={schedules:[{}],exceptions:[]},i=e.replace(/(\s)+/g," ").split(" ");for(t in m)if(n=m[t],r=i[n[0]],r&&"*"!==r&&"?"!==r){o=r.split(",").sort(c);var s,u=o.length;for(s=0;s<u;s++)l(o[s],a,t,n[1],n[2],n[3])}return a}function f(e){var t=e.toUpperCase();return h[t]||t}var p={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12,SUN:1,MON:2,TUE:3,WED:4,THU:5,FRI:6,SAT:7},h={"* * * * * *":"0/1 * * * * *","@YEARLY":"0 0 1 1 *","@ANNUALLY":"0 0 1 1 *","@MONTHLY":"0 0 1 * *","@WEEKLY":"0 0 * * 0","@DAILY":"0 0 * * *","@HOURLY":"0 * * * *"},m={s:[0,0,59],m:[1,0,59],h:[2,0,23],D:[3,1,31],M:[4,1,12],Y:[6,1970,2099],d:[5,1,7,1]},v=f(e);return d(t?v:"0 "+v)},e.parse.recur=function(){function t(e,t,d){if(e=i?e+"_"+i:e,n||(p.push({}),n=p[0]),n[e]||(n[e]=[]),r=n[e],a){for(o=[],u=t;u<=d;u+=a)o.push(u);c={n:e,x:a,c:r.length,m:d}}o=s?[t]:l?[d]:o;var f=o.length;for(u=0;u<f;u+=1){var h=o[u];r.indexOf(h)<0&&r.push(h)}o=a=i=s=l=0}var n,r,o,a,i,s,l,u,c,d=[],f=[],p=d;return{schedules:d,exceptions:f,on:function(){return o=arguments[0]instanceof Array?arguments[0]:arguments,this},every:function(e){return a=e||1,this},after:function(e){return i="a",o=[e],this},before:function(e){return i="b",o=[e],this},first:function(){return s=1,this},last:function(){return l=1,this},time:function(){for(var e=0,n=o.length;e<n;e++){var r=o[e].split(":");r.length<3&&r.push(0),o[e]=3600*+r[0]+60*+r[1]+ +r[2]}return t("t"),this},second:function(){return t("s",0,59),this},minute:function(){return t("m",0,59),this},hour:function(){return t("h",0,23),this},dayOfMonth:function(){return t("D",1,l?0:31),this},dayOfWeek:function(){return t("d",1,7),this},onWeekend:function(){return o=[1,7],this.dayOfWeek()},onWeekday:function(){return o=[2,3,4,5,6],this.dayOfWeek()},dayOfWeekCount:function(){return t("dc",1,l?0:5),this},dayOfYear:function(){return t("dy",1,l?0:366),this},weekOfMonth:function(){return t("wm",1,l?0:5),this},weekOfYear:function(){return t("wy",1,l?0:53),this},month:function(){return t("M",1,12),this},year:function(){return t("Y",1970,2450),this},fullDate:function(){for(var e=0,n=o.length;e<n;e++)o[e]=o[e].getTime();return t("fd"),this},customModifier:function(t,n){var r=e.modifier[t];if(!r)throw new Error("Custom modifier "+t+" not recognized!");return i=t,o=arguments[1]instanceof Array?arguments[1]:[arguments[1]],this},customPeriod:function(n){var r=e[n];if(!r)throw new Error("Custom time period "+n+" not recognized!");return t(n,r.extent(new Date)[0],r.extent(new Date)[1]),this},startingOn:function(e){return this.between(e,c.m)},between:function(e,r){return n[c.n]=n[c.n].splice(0,c.c),a=c.x,t(c.n,e,r),this},and:function(){return n=p[p.push({})-1],this},except:function(){return p=f,n=null,this}}},e.parse.text=function(t){function n(e,t,n,r){return{startPos:e,endPos:t,text:n,type:r}}function r(e){var t,r,o,a,i,s,l=e instanceof Array?e:[e],u=/\s+/;for(l.push(u),i=b;!t||t.type===u;){s=-1,r=g.substring(i),t=n(i,i,g.split(u)[0]);var c,d=l.length;for(c=0;c<d;c++)a=l[c],o=a.exec(r),o&&0===o.index&&o[0].length>s&&(s=o[0].length,t=n(i,i+s,r.substring(0,s),a));t.type===u&&(i=t.endPos)}return t}function o(e){var t=r(e);return b=t.endPos,t}function a(e){for(var t=+p(e),n=d(y.through)?+p(e):t,r=[],o=t;o<=n;o++)r.push(o);return r}function i(e){for(var t=a(e);d(y.and);)t=t.concat(a(e));return t}function s(e){var t,n,r,o;d(y.weekend)?e.on(_.sun,_.sat).dayOfWeek():d(y.weekday)?e.on(_.mon,_.tue,_.wed,_.thu,_.fri).dayOfWeek():(t=p(y.rank),e.every(t),n=c(e),d(y.start)?(t=p(y.rank),e.startingOn(t),f(n.type)):d(y.between)&&(r=p(y.rank),d(y.and)&&(o=p(y.rank),e.between(r,o))))}function l(e){d(y.first)?e.first():d(y.last)?e.last():e.on(i(y.rank)),c(e)}function u(e){b=0,g=e,m=-1;for(var t=v();b<g.length&&m<0;){var n=f([y.every,y.after,y.before,y.onthe,y.on,y.of,y.in,y.at,y.and,y.except,y.also]);switch(n.type){case y.every:s(t);break;case y.after:void 0!==r(y.time).type?(t.after(p(y.time)),t.time()):(t.after(p(y.rank)),c(t));break;case y.before:void 0!==r(y.time).type?(t.before(p(y.time)),t.time()):(t.before(p(y.rank)),c(t));break;case y.onthe:l(t);break;case y.on:t.on(i(y.dayName)).dayOfWeek();break;case y.of:t.on(i(y.monthName)).month();break;case y.in:t.on(i(y.yearIndex)).year();break;case y.at:for(t.on(p(y.time)).time();d(y.and);)t.on(p(y.time)).time();break;case y.and:break;case y.also:t.and();break;case y.except:t.except();break;default:m=b}}return{schedules:t.schedules,exceptions:t.exceptions,error:m}}function c(e){var t=f([y.second,y.minute,y.hour,y.dayOfYear,y.dayOfWeek,y.dayInstance,y.day,y.month,y.year,y.weekOfMonth,y.weekOfYear]);switch(t.type){case y.second:e.second();break;case y.minute:e.minute();break;case y.hour:e.hour();break;case y.dayOfYear:e.dayOfYear();break;case y.dayOfWeek:e.dayOfWeek();break;case y.dayInstance:e.dayOfWeekCount();break;case y.day:e.dayOfMonth();break;case y.weekOfMonth:e.weekOfMonth();break;case y.weekOfYear:e.weekOfYear();break;case y.month:e.month();break;case y.year:e.year();break;default:m=b}return t}function d(e){var t=r(e).type===e;return t&&o(e),t}function f(e){var t=o(e);return t.type?t.text=h(t.text,e):m=b,t}function p(e){return f(e).text}function h(e,t){var n=e;switch(t){case y.time:var r=e.split(/(:|am|pm)/),o="pm"===r[3]&&r[0]<12?parseInt(r[0],10)+12:r[0],a=r[2].trim();n=(1===o.length?"0":"")+o+":"+a;break;case y.rank:n=parseInt(/^\d+/.exec(e)[0],10);break;case y.monthName:case y.dayName:n=_[e.substring(0,3)]}return n}var m,v=e.parse.recur,b=0,g="",y={eof:/^$/,rank:/^((\d\d\d\d)|([2-5]?1(st)?|[2-5]?2(nd)?|[2-5]?3(rd)?|(0|[1-5]?[4-9]|[1-5]0|1[1-3])(th)?))\b/,time:/^((([0]?[1-9]|1[0-2]):[0-5]\d(\s)?(am|pm))|(([0]?\d|1\d|2[0-3]):[0-5]\d))\b/,dayName:/^((sun|mon|tue(s)?|wed(nes)?|thu(r(s)?)?|fri|sat(ur)?)(day)?)\b/,monthName:/^(jan(uary)?|feb(ruary)?|ma((r(ch)?)?|y)|apr(il)?|ju(ly|ne)|aug(ust)?|oct(ober)?|(sept|nov|dec)(ember)?)\b/,yearIndex:/^(\d\d\d\d)\b/,every:/^every\b/,after:/^after\b/,before:/^before\b/,second:/^(s|sec(ond)?(s)?)\b/,minute:/^(m|min(ute)?(s)?)\b/,hour:/^(h|hour(s)?)\b/,day:/^(day(s)?( of the month)?)\b/,dayInstance:/^day instance\b/,dayOfWeek:/^day(s)? of the week\b/,dayOfYear:/^day(s)? of the year\b/,weekOfYear:/^week(s)?( of the year)?\b/,weekOfMonth:/^week(s)? of the month\b/,weekday:/^weekday\b/,weekend:/^weekend\b/,month:/^month(s)?\b/,year:/^year(s)?\b/,between:/^between (the)?\b/,start:/^(start(ing)? (at|on( the)?)?)\b/,at:/^(at|@)\b/,and:/^(,|and\b)/,except:/^(except\b)/,also:/(also)\b/,first:/^(first)\b/,last:/^last\b/,in:/^in\b/,of:/^of\b/,onthe:/^on the\b/,on:/^on\b/,through:/(-|^(to|through)\b)/},_={jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12,sun:1,mon:2,tue:3,wed:4,thu:5,fri:6,sat:7,"1st":1,fir:1,"2nd":2,sec:2,"3rd":3,thi:3,"4th":4,for:4};return u(t.toLowerCase())},e}()},{}],384:[function(e,t,n){function r(e){var t=e?e.length:0;return t?e[t-1]:void 0}t.exports=r},{}],385:[function(e,t,n){var r=e("../internal/baseEach"),o=e("../internal/createFind"),a=o(r);t.exports=a},{"../internal/baseEach":394,"../internal/createFind":418}],386:[function(e,t,n){function r(e,t){if("function"!=typeof e)throw new TypeError(o);return t=a(void 0===t?e.length-1:+t||0,0),function(){for(var n=arguments,r=-1,o=a(n.length-t,0),i=Array(o);++r<o;)i[r]=n[t+r];switch(t){case 0:return e.call(this,i);case 1:return e.call(this,n[0],i);case 2:return e.call(this,n[0],n[1],i)}var s=Array(t+1);for(r=-1;++r<t;)s[r]=n[r];return s[t]=i,e.apply(this,s)}}var o="Expected a function",a=Math.max;t.exports=r},{}],387:[function(e,t,n){(function(n){function r(e){var t=e?e.length:0;for(this.data={hash:s(null),set:new i};t--;)this.push(e[t])}var o=e("./cachePush"),a=e("./getNative"),i=a(n,"Set"),s=a(Object,"create");r.prototype.push=o,t.exports=r}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./cachePush":414,"./getNative":424}],388:[function(e,t,n){function r(e,t){for(var n=-1,r=e.length;++n<r&&t(e[n],n,e)!==!1;);return e}t.exports=r},{}],389:[function(e,t,n){function r(e,t){for(var n=-1,r=e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}t.exports=r},{}],390:[function(e,t,n){function r(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}t.exports=r},{}],391:[function(e,t,n){function r(e,t){for(var n=-1,r=e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}t.exports=r},{}],392:[function(e,t,n){function r(e,t,n){var r=typeof e;return"function"==r?void 0===t?e:i(e,t,n):null==e?s:"object"==r?o(e):void 0===t?l(e):a(e,t)}var o=e("./baseMatches"),a=e("./baseMatchesProperty"),i=e("./bindCallback"),s=e("../utility/identity"),l=e("../utility/property");t.exports=r},{"../utility/identity":451,"../utility/property":452,"./baseMatches":406,"./baseMatchesProperty":407,"./bindCallback":412}],393:[function(e,t,n){function r(e,t){var n=e?e.length:0,r=[];if(!n)return r;var l=-1,u=o,c=!0,d=c&&t.length>=s?i(t):null,f=t.length;d&&(u=a,c=!1,t=d);e:for(;++l<n;){var p=e[l];if(c&&p===p){for(var h=f;h--;)if(t[h]===p)continue e;r.push(p)}else u(t,p,0)<0&&r.push(p)}return r}var o=e("./baseIndexOf"),a=e("./cacheIndexOf"),i=e("./createCache"),s=200;t.exports=r},{"./baseIndexOf":402,"./cacheIndexOf":413,"./createCache":417}],394:[function(e,t,n){var r=e("./baseForOwn"),o=e("./createBaseEach"),a=o(r);t.exports=a},{"./baseForOwn":400,"./createBaseEach":415}],395:[function(e,t,n){function r(e,t,n,r){var o;return n(e,function(e,n,a){if(t(e,n,a))return o=r?n:e,!1}),o}t.exports=r},{}],396:[function(e,t,n){function r(e,t,n){for(var r=e.length,o=n?r:-1;n?o--:++o<r;)if(t(e[o],o,e))return o;return-1}t.exports=r},{}],397:[function(e,t,n){function r(e,t,n,u){u||(u=[]);for(var c=-1,d=e.length;++c<d;){var f=e[c];l(f)&&s(f)&&(n||i(f)||a(f))?t?r(f,t,n,u):o(u,f):n||(u[u.length]=f)}return u}var o=e("./arrayPush"),a=e("../lang/isArguments"),i=e("../lang/isArray"),s=e("./isArrayLike"),l=e("./isObjectLike");t.exports=r},{"../lang/isArguments":438,"../lang/isArray":439,"./arrayPush":390,"./isArrayLike":426,"./isObjectLike":431}],398:[function(e,t,n){var r=e("./createBaseFor"),o=r();t.exports=o},{"./createBaseFor":416}],399:[function(e,t,n){function r(e,t){return o(e,t,a)}var o=e("./baseFor"),a=e("../object/keysIn");t.exports=r},{"../object/keysIn":446,"./baseFor":398}],400:[function(e,t,n){function r(e,t){return o(e,t,a)}var o=e("./baseFor"),a=e("../object/keys");t.exports=r},{"../object/keys":445,"./baseFor":398}],401:[function(e,t,n){function r(e,t,n){if(null!=e){e=o(e),void 0!==n&&n in e&&(t=[n]);for(var r=0,a=t.length;null!=e&&r<a;)e=o(e)[t[r++]];return r&&r==a?e:void 0}}var o=e("./toObject");t.exports=r},{"./toObject":436}],402:[function(e,t,n){function r(e,t,n){if(t!==t)return o(e,n);for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}var o=e("./indexOfNaN");t.exports=r},{"./indexOfNaN":425}],403:[function(e,t,n){function r(e,t,n,s,l,u){return e===t||(null==e||null==t||!a(e)&&!i(t)?e!==e&&t!==t:o(e,t,r,n,s,l,u))}var o=e("./baseIsEqualDeep"),a=e("../lang/isObject"),i=e("./isObjectLike");t.exports=r},{"../lang/isObject":442,"./baseIsEqualDeep":404,"./isObjectLike":431}],404:[function(e,t,n){function r(e,t,n,r,p,v,b){var g=s(e),y=s(t),_=d,M=d;g||(_=m.call(e),_==c?_=f:_!=f&&(g=u(e))),
|
20 | y||(M=m.call(t),M==c?M=f:M!=f&&(y=u(t)));var w=_==f&&!l(e),S=M==f&&!l(t),C=_==M;if(C&&!g&&!w)return a(e,t,_);if(!p){var x=w&&h.call(e,"__wrapped__"),k=S&&h.call(t,"__wrapped__");if(x||k)return n(x?e.value():e,k?t.value():t,r,p,v,b)}if(!C)return!1;v||(v=[]),b||(b=[]);for(var T=v.length;T--;)if(v[T]==e)return b[T]==t;v.push(e),b.push(t);var A=(g?o:i)(e,t,n,r,p,v,b);return v.pop(),b.pop(),A}var o=e("./equalArrays"),a=e("./equalByTag"),i=e("./equalObjects"),s=e("../lang/isArray"),l=e("./isHostObject"),u=e("../lang/isTypedArray"),c="[object Arguments]",d="[object Array]",f="[object Object]",p=Object.prototype,h=p.hasOwnProperty,m=p.toString;t.exports=r},{"../lang/isArray":439,"../lang/isTypedArray":444,"./equalArrays":419,"./equalByTag":420,"./equalObjects":421,"./isHostObject":427}],405:[function(e,t,n){function r(e,t,n){var r=t.length,i=r,s=!n;if(null==e)return!i;for(e=a(e);r--;){var l=t[r];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++r<i;){l=t[r];var u=l[0],c=e[u],d=l[1];if(s&&l[2]){if(void 0===c&&!(u in e))return!1}else{var f=n?n(c,d,u):void 0;if(!(void 0===f?o(d,c,n,!0):f))return!1}}return!0}var o=e("./baseIsEqual"),a=e("./toObject");t.exports=r},{"./baseIsEqual":403,"./toObject":436}],406:[function(e,t,n){function r(e){var t=a(e);if(1==t.length&&t[0][2]){var n=t[0][0],r=t[0][1];return function(e){return null!=e&&(e=i(e),e[n]===r&&(void 0!==r||n in e))}}return function(e){return o(e,t)}}var o=e("./baseIsMatch"),a=e("./getMatchData"),i=e("./toObject");t.exports=r},{"./baseIsMatch":405,"./getMatchData":423,"./toObject":436}],407:[function(e,t,n){function r(e,t){var n=s(e),r=l(e)&&u(t),p=e+"";return e=f(e),function(s){if(null==s)return!1;var l=p;if(s=d(s),(n||!r)&&!(l in s)){if(s=1==e.length?s:o(s,i(e,0,-1)),null==s)return!1;l=c(e),s=d(s)}return s[l]===t?void 0!==t||l in s:a(t,s[l],void 0,!0)}}var o=e("./baseGet"),a=e("./baseIsEqual"),i=e("./baseSlice"),s=e("../lang/isArray"),l=e("./isKey"),u=e("./isStrictComparable"),c=e("../array/last"),d=e("./toObject"),f=e("./toPath");t.exports=r},{"../array/last":384,"../lang/isArray":439,"./baseGet":401,"./baseIsEqual":403,"./baseSlice":410,"./isKey":429,"./isStrictComparable":432,"./toObject":436,"./toPath":437}],408:[function(e,t,n){function r(e){return function(t){return null==t?void 0:o(t)[e]}}var o=e("./toObject");t.exports=r},{"./toObject":436}],409:[function(e,t,n){function r(e){var t=e+"";return e=a(e),function(n){return o(n,e,t)}}var o=e("./baseGet"),a=e("./toPath");t.exports=r},{"./baseGet":401,"./toPath":437}],410:[function(e,t,n){function r(e,t,n){var r=-1,o=e.length;t=null==t?0:+t||0,t<0&&(t=-t>o?0:o+t),n=void 0===n||n>o?o:+n||0,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r<o;)a[r]=e[r+t];return a}t.exports=r},{}],411:[function(e,t,n){function r(e){return null==e?"":e+""}t.exports=r},{}],412:[function(e,t,n){function r(e,t,n){if("function"!=typeof e)return o;if(void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,a){return e.call(t,n,r,o,a)};case 5:return function(n,r,o,a,i){return e.call(t,n,r,o,a,i)}}return function(){return e.apply(t,arguments)}}var o=e("../utility/identity");t.exports=r},{"../utility/identity":451}],413:[function(e,t,n){function r(e,t){var n=e.data,r="string"==typeof t||o(t)?n.set.has(t):n.hash[t];return r?0:-1}var o=e("../lang/isObject");t.exports=r},{"../lang/isObject":442}],414:[function(e,t,n){function r(e){var t=this.data;"string"==typeof e||o(e)?t.set.add(e):t.hash[e]=!0}var o=e("../lang/isObject");t.exports=r},{"../lang/isObject":442}],415:[function(e,t,n){function r(e,t){return function(n,r){var s=n?o(n):0;if(!a(s))return e(n,r);for(var l=t?s:-1,u=i(n);(t?l--:++l<s)&&r(u[l],l,u)!==!1;);return n}}var o=e("./getLength"),a=e("./isLength"),i=e("./toObject");t.exports=r},{"./getLength":422,"./isLength":430,"./toObject":436}],416:[function(e,t,n){function r(e){return function(t,n,r){for(var a=o(t),i=r(t),s=i.length,l=e?s:-1;e?l--:++l<s;){var u=i[l];if(n(a[u],u,a)===!1)break}return t}}var o=e("./toObject");t.exports=r},{"./toObject":436}],417:[function(e,t,n){(function(n){function r(e){return s&&i?new o(e):null}var o=e("./SetCache"),a=e("./getNative"),i=a(n,"Set"),s=a(Object,"create");t.exports=r}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./SetCache":387,"./getNative":424}],418:[function(e,t,n){function r(e,t){return function(n,r,l){if(r=o(r,l,3),s(n)){var u=i(n,r,t);return u>-1?n[u]:void 0}return a(n,r,e)}}var o=e("./baseCallback"),a=e("./baseFind"),i=e("./baseFindIndex"),s=e("../lang/isArray");t.exports=r},{"../lang/isArray":439,"./baseCallback":392,"./baseFind":395,"./baseFindIndex":396}],419:[function(e,t,n){function r(e,t,n,r,a,i,s){var l=-1,u=e.length,c=t.length;if(u!=c&&!(a&&c>u))return!1;for(;++l<u;){var d=e[l],f=t[l],p=r?r(a?f:d,a?d:f,l):void 0;if(void 0!==p){if(p)continue;return!1}if(a){if(!o(t,function(e){return d===e||n(d,e,r,a,i,s)}))return!1}else if(d!==f&&!n(d,f,r,a,i,s))return!1}return!0}var o=e("./arraySome");t.exports=r},{"./arraySome":391}],420:[function(e,t,n){function r(e,t,n){switch(n){case o:case a:return+e==+t;case i:return e.name==t.name&&e.message==t.message;case s:return e!=+e?t!=+t:e==+t;case l:case u:return e==t+""}return!1}var o="[object Boolean]",a="[object Date]",i="[object Error]",s="[object Number]",l="[object RegExp]",u="[object String]";t.exports=r},{}],421:[function(e,t,n){function r(e,t,n,r,a,s,l){var u=o(e),c=u.length,d=o(t),f=d.length;if(c!=f&&!a)return!1;for(var p=c;p--;){var h=u[p];if(!(a?h in t:i.call(t,h)))return!1}for(var m=a;++p<c;){h=u[p];var v=e[h],b=t[h],g=r?r(a?b:v,a?v:b,h):void 0;if(!(void 0===g?n(v,b,r,a,s,l):g))return!1;m||(m="constructor"==h)}if(!m){var y=e.constructor,_=t.constructor;if(y!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof _&&_ instanceof _))return!1}return!0}var o=e("../object/keys"),a=Object.prototype,i=a.hasOwnProperty;t.exports=r},{"../object/keys":445}],422:[function(e,t,n){var r=e("./baseProperty"),o=r("length");t.exports=o},{"./baseProperty":408}],423:[function(e,t,n){function r(e){for(var t=a(e),n=t.length;n--;)t[n][2]=o(t[n][1]);return t}var o=e("./isStrictComparable"),a=e("../object/pairs");t.exports=r},{"../object/pairs":448,"./isStrictComparable":432}],424:[function(e,t,n){function r(e,t){var n=null==e?void 0:e[t];return o(n)?n:void 0}var o=e("../lang/isNative");t.exports=r},{"../lang/isNative":441}],425:[function(e,t,n){function r(e,t,n){for(var r=e.length,o=t+(n?0:-1);n?o--:++o<r;){var a=e[o];if(a!==a)return o}return-1}t.exports=r},{}],426:[function(e,t,n){function r(e){return null!=e&&a(o(e))}var o=e("./getLength"),a=e("./isLength");t.exports=r},{"./getLength":422,"./isLength":430}],427:[function(e,t,n){var r=function(){try{Object({toString:0}+"")}catch(e){return function(){return!1}}return function(e){return"function"!=typeof e.toString&&"string"==typeof(e+"")}}();t.exports=r},{}],428:[function(e,t,n){function r(e,t){return e="number"==typeof e||o.test(e)?+e:-1,t=null==t?a:t,e>-1&&e%1==0&&e<t}var o=/^\d+$/,a=9007199254740991;t.exports=r},{}],429:[function(e,t,n){function r(e,t){var n=typeof e;if("string"==n&&s.test(e)||"number"==n)return!0;if(o(e))return!1;var r=!i.test(e);return r||null!=t&&e in a(t)}var o=e("../lang/isArray"),a=e("./toObject"),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=r},{"../lang/isArray":439,"./toObject":436}],430:[function(e,t,n){function r(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}var o=9007199254740991;t.exports=r},{}],431:[function(e,t,n){function r(e){return!!e&&"object"==typeof e}t.exports=r},{}],432:[function(e,t,n){function r(e){return e===e&&!o(e)}var o=e("../lang/isObject");t.exports=r},{"../lang/isObject":442}],433:[function(e,t,n){function r(e,t){e=o(e);for(var n=-1,r=t.length,a={};++n<r;){var i=t[n];i in e&&(a[i]=e[i])}return a}var o=e("./toObject");t.exports=r},{"./toObject":436}],434:[function(e,t,n){function r(e,t){var n={};return o(e,function(e,r,o){t(e,r,o)&&(n[r]=e)}),n}var o=e("./baseForIn");t.exports=r},{"./baseForIn":399}],435:[function(e,t,n){function r(e){for(var t=u(e),n=t.length,r=n&&e.length,c=!!r&&s(r)&&(a(e)||o(e)||l(e)),f=-1,p=[];++f<n;){var h=t[f];(c&&i(h,r)||d.call(e,h))&&p.push(h)}return p}var o=e("../lang/isArguments"),a=e("../lang/isArray"),i=e("./isIndex"),s=e("./isLength"),l=e("../lang/isString"),u=e("../object/keysIn"),c=Object.prototype,d=c.hasOwnProperty;t.exports=r},{"../lang/isArguments":438,"../lang/isArray":439,"../lang/isString":443,"../object/keysIn":446,"./isIndex":428,"./isLength":430}],436:[function(e,t,n){function r(e){if(i.unindexedChars&&a(e)){for(var t=-1,n=e.length,r=Object(e);++t<n;)r[t]=e.charAt(t);return r}return o(e)?e:Object(e)}var o=e("../lang/isObject"),a=e("../lang/isString"),i=e("../support");t.exports=r},{"../lang/isObject":442,"../lang/isString":443,"../support":450}],437:[function(e,t,n){function r(e){if(a(e))return e;var t=[];return o(e).replace(i,function(e,n,r,o){t.push(r?o.replace(s,"$1"):n||e)}),t}var o=e("./baseToString"),a=e("../lang/isArray"),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,s=/\\(\\)?/g;t.exports=r},{"../lang/isArray":439,"./baseToString":411}],438:[function(e,t,n){function r(e){return a(e)&&o(e)&&s.call(e,"callee")&&!l.call(e,"callee")}var o=e("../internal/isArrayLike"),a=e("../internal/isObjectLike"),i=Object.prototype,s=i.hasOwnProperty,l=i.propertyIsEnumerable;t.exports=r},{"../internal/isArrayLike":426,"../internal/isObjectLike":431}],439:[function(e,t,n){var r=e("../internal/getNative"),o=e("../internal/isLength"),a=e("../internal/isObjectLike"),i="[object Array]",s=Object.prototype,l=s.toString,u=r(Array,"isArray"),c=u||function(e){return a(e)&&o(e.length)&&l.call(e)==i};t.exports=c},{"../internal/getNative":424,"../internal/isLength":430,"../internal/isObjectLike":431}],440:[function(e,t,n){function r(e){return o(e)&&s.call(e)==a}var o=e("./isObject"),a="[object Function]",i=Object.prototype,s=i.toString;t.exports=r},{"./isObject":442}],441:[function(e,t,n){function r(e){return null!=e&&(o(e)?d.test(u.call(e)):i(e)&&(a(e)?d:s).test(e))}var o=e("./isFunction"),a=e("../internal/isHostObject"),i=e("../internal/isObjectLike"),s=/^\[object .+?Constructor\]$/,l=Object.prototype,u=Function.prototype.toString,c=l.hasOwnProperty,d=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},{"../internal/isHostObject":427,"../internal/isObjectLike":431,"./isFunction":440}],442:[function(e,t,n){function r(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}t.exports=r},{}],443:[function(e,t,n){function r(e){return"string"==typeof e||o(e)&&s.call(e)==a}var o=e("../internal/isObjectLike"),a="[object String]",i=Object.prototype,s=i.toString;t.exports=r},{"../internal/isObjectLike":431}],444:[function(e,t,n){function r(e){return a(e)&&o(e.length)&&!!P[O.call(e)]}var o=e("../internal/isLength"),a=e("../internal/isObjectLike"),i="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",d="[object Function]",f="[object Map]",p="[object Number]",h="[object Object]",m="[object RegExp]",v="[object Set]",b="[object String]",g="[object WeakMap]",y="[object ArrayBuffer]",_="[object Float32Array]",M="[object Float64Array]",w="[object Int8Array]",S="[object Int16Array]",C="[object Int32Array]",x="[object Uint8Array]",k="[object Uint8ClampedArray]",T="[object Uint16Array]",A="[object Uint32Array]",P={};P[_]=P[M]=P[w]=P[S]=P[C]=P[x]=P[k]=P[T]=P[A]=!0,P[i]=P[s]=P[y]=P[l]=P[u]=P[c]=P[d]=P[f]=P[p]=P[h]=P[m]=P[v]=P[b]=P[g]=!1;var N=Object.prototype,O=N.toString;t.exports=r},{"../internal/isLength":430,"../internal/isObjectLike":431}],445:[function(e,t,n){var r=e("../internal/getNative"),o=e("../internal/isArrayLike"),a=e("../lang/isObject"),i=e("../internal/shimKeys"),s=e("../support"),l=r(Object,"keys"),u=l?function(e){var t=null==e?void 0:e.constructor;return"function"==typeof t&&t.prototype===e||("function"==typeof e?s.enumPrototypes:o(e))?i(e):a(e)?l(e):[]}:i;t.exports=u},{"../internal/getNative":424,"../internal/isArrayLike":426,"../internal/shimKeys":435,"../lang/isObject":442,"../support":450}],446:[function(e,t,n){function r(e){if(null==e)return[];c(e)||(e=Object(e));var t=e.length;t=t&&u(t)&&(i(e)||a(e)||d(e))&&t||0;for(var n=e.constructor,r=-1,o=s(n)&&n.prototype||C,p=o===e,h=Array(t),m=t>0,b=f.enumErrorProps&&(e===S||e instanceof Error),g=f.enumPrototypes&&s(e);++r<t;)h[r]=r+"";for(var _ in e)g&&"prototype"==_||b&&("message"==_||"name"==_)||m&&l(_,t)||"constructor"==_&&(p||!k.call(e,_))||h.push(_);if(f.nonEnumShadows&&e!==C){var P=e===x?M:e===S?v:T.call(e),N=A[P]||A[y];for(P==y&&(o=C),t=w.length;t--;){_=w[t];var O=N[_];p&&O||(O?!k.call(e,_):e[_]===o[_])||h.push(_)}}return h}var o=e("../internal/arrayEach"),a=e("../lang/isArguments"),i=e("../lang/isArray"),s=e("../lang/isFunction"),l=e("../internal/isIndex"),u=e("../internal/isLength"),c=e("../lang/isObject"),d=e("../lang/isString"),f=e("../support"),p="[object Array]",h="[object Boolean]",m="[object Date]",v="[object Error]",b="[object Function]",g="[object Number]",y="[object Object]",_="[object RegExp]",M="[object String]",w=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],S=Error.prototype,C=Object.prototype,x=String.prototype,k=C.hasOwnProperty,T=C.toString,A={};A[p]=A[m]=A[g]={constructor:!0,toLocaleString:!0,toString:!0,valueOf:!0},A[h]=A[M]={constructor:!0,toString:!0,valueOf:!0},A[v]=A[b]=A[_]={constructor:!0,toString:!0},A[y]={constructor:!0},o(w,function(e){for(var t in A)if(k.call(A,t)){var n=A[t];n[e]=k.call(n,e)}}),t.exports=r},{"../internal/arrayEach":388,"../internal/isIndex":428,"../internal/isLength":430,"../lang/isArguments":438,"../lang/isArray":439,"../lang/isFunction":440,"../lang/isObject":442,"../lang/isString":443,"../support":450}],447:[function(e,t,n){var r=e("../internal/arrayMap"),o=e("../internal/baseDifference"),a=e("../internal/baseFlatten"),i=e("../internal/bindCallback"),s=e("./keysIn"),l=e("../internal/pickByArray"),u=e("../internal/pickByCallback"),c=e("../function/restParam"),d=c(function(e,t){if(null==e)return{};if("function"!=typeof t[0]){var t=r(a(t),String);return l(e,o(s(e),t))}var n=i(t[0],t[1],3);return u(e,function(e,t,r){return!n(e,t,r)})});t.exports=d},{"../function/restParam":386,"../internal/arrayMap":389,"../internal/baseDifference":393,"../internal/baseFlatten":397,"../internal/bindCallback":412,"../internal/pickByArray":433,"../internal/pickByCallback":434,"./keysIn":446}],448:[function(e,t,n){function r(e){e=a(e);for(var t=-1,n=o(e),r=n.length,i=Array(r);++t<r;){var s=n[t];i[t]=[s,e[s]]}return i}var o=e("./keys"),a=e("../internal/toObject");t.exports=r},{"../internal/toObject":436,"./keys":445}],449:[function(e,t,n){var r=e("../internal/baseFlatten"),o=e("../internal/bindCallback"),a=e("../internal/pickByArray"),i=e("../internal/pickByCallback"),s=e("../function/restParam"),l=s(function(e,t){return null==e?{}:"function"==typeof t[0]?i(e,o(t[0],t[1],3)):a(e,r(t))});t.exports=l},{"../function/restParam":386,"../internal/baseFlatten":397,"../internal/bindCallback":412,"../internal/pickByArray":433,"../internal/pickByCallback":434}],450:[function(e,t,n){var r=Array.prototype,o=Error.prototype,a=Object.prototype,i=a.propertyIsEnumerable,s=r.splice,l={};!function(e){var t=function(){this.x=e},n={0:e,length:e},r=[];t.prototype={valueOf:e,y:e};for(var a in new t)r.push(a);l.enumErrorProps=i.call(o,"message")||i.call(o,"name"),l.enumPrototypes=i.call(t,"prototype"),l.nonEnumShadows=!/valueOf/.test(r),l.ownLast="x"!=r[0],l.spliceObjects=(s.call(n,0,1),!n[0]),l.unindexedChars="x"[0]+Object("x")[0]!="xx"}(1,0),t.exports=l},{}],451:[function(e,t,n){function r(e){return e}t.exports=r},{}],452:[function(e,t,n){function r(e){return i(e)?o(e):a(e)}var o=e("../internal/baseProperty"),a=e("../internal/basePropertyDeep"),i=e("../internal/isKey");t.exports=r},{"../internal/baseProperty":408,"../internal/basePropertyDeep":409,"../internal/isKey":429}],453:[function(e,t,n){function r(e){return!!e&&"object"==typeof e}function o(e,t){var n=null==e?void 0:e[t];return s(n)?n:void 0}function a(e){return i(e)&&p.call(e)==l}function i(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function s(e){return null!=e&&(a(e)?h.test(d.call(e)):r(e)&&u.test(e))}var l="[object Function]",u=/^\[object .+?Constructor\]$/,c=Object.prototype,d=Function.prototype.toString,f=c.hasOwnProperty,p=c.toString,h=RegExp("^"+d.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=o},{}],454:[function(e,t,n){(function(e){function n(e,t,n){function o(t){var n=m,r=v;return m=v=void 0,C=t,g=e.apply(r,n)}function a(e){return C=e,y=setTimeout(c,t),x?o(e):g}function l(e){var n=e-S,r=e-C,o=t-n;return k?M(o,b-r):o}function u(e){var n=e-S,r=e-C;return void 0===S||n>=t||n<0||k&&r>=b}function c(){var e=w();return u(e)?d(e):void(y=setTimeout(c,l(e)))}function d(e){return y=void 0,T&&m?o(e):(m=v=void 0,g)}function f(){void 0!==y&&clearTimeout(y),C=0,m=S=v=y=void 0}function p(){return void 0===y?g:d(w())}function h(){var e=w(),n=u(e);if(m=arguments,v=this,S=e,n){if(void 0===y)return a(S);if(k)return y=setTimeout(c,t),o(S)}return void 0===y&&(y=setTimeout(c,t)),g}var m,v,b,g,y,S,C=0,x=!1,k=!1,T=!0;if("function"!=typeof e)throw new TypeError(s);return t=i(t)||0,r(n)&&(x=!!n.leading,k="maxWait"in n,b=k?_(i(n.maxWait)||0,t):b,T="trailing"in n?!!n.trailing:T),h.cancel=f,h.flush=p,h}function r(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function o(e){return!!e&&"object"==typeof e}function a(e){return"symbol"==typeof e||o(e)&&y.call(e)==u}function i(e){if("number"==typeof e)return e;if(a(e))return l;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(c,"");var n=f.test(e);return n||p.test(e)?h(e.slice(2),n?2:8):d.test(e)?l:+e}var s="Expected a function",l=NaN,u="[object Symbol]",c=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,p=/^0o[0-7]+$/i,h=parseInt,m="object"==typeof e&&e&&e.Object===Object&&e,v="object"==typeof self&&self&&self.Object===Object&&self,b=m||v||Function("return this")(),g=Object.prototype,y=g.toString,_=Math.max,M=Math.min,w=function(){return b.Date.now()};t.exports=n}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],455:[function(e,t,n){function r(e){return a(e)&&m.call(e,"callee")&&(!b.call(e,"callee")||v.call(e)==d)}function o(e){return null!=e&&s(e.length)&&!i(e)}function a(e){return u(e)&&o(e)}function i(e){var t=l(e)?v.call(e):"";return t==f||t==p}function s(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=c}function l(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function u(e){return!!e&&"object"==typeof e}var c=9007199254740991,d="[object Arguments]",f="[object Function]",p="[object GeneratorFunction]",h=Object.prototype,m=h.hasOwnProperty,v=h.toString,b=h.propertyIsEnumerable;t.exports=r},{}],456:[function(e,t,n){function r(e){return!!e&&"object"==typeof e}function o(e,t){var n=null==e?void 0:e[t];return l(n)?n:void 0}function a(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=g}function i(e){return s(e)&&m.call(e)==c}function s(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function l(e){return null!=e&&(i(e)?v.test(p.call(e)):r(e)&&d.test(e))}var u="[object Array]",c="[object Function]",d=/^\[object .+?Constructor\]$/,f=Object.prototype,p=Function.prototype.toString,h=f.hasOwnProperty,m=f.toString,v=RegExp("^"+p.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),b=o(Array,"isArray"),g=9007199254740991,y=b||function(e){return r(e)&&a(e.length)&&m.call(e)==u};t.exports=y},{}],457:[function(e,t,n){function r(e){return function(t){return null==t?void 0:t[e]}}function o(e){return null!=e&&i(g(e))}function a(e,t){return e="number"==typeof e||p.test(e)?+e:-1,t=null==t?b:t,e>-1&&e%1==0&&e<t}function i(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=b}function s(e){for(var t=u(e),n=t.length,r=n&&e.length,o=!!r&&i(r)&&(f(e)||d(e)),s=-1,l=[];++s<n;){var c=t[s];(o&&a(c,r)||m.call(e,c))&&l.push(c)}return l}function l(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function u(e){if(null==e)return[];l(e)||(e=Object(e));var t=e.length;t=t&&i(t)&&(f(e)||d(e))&&t||0;for(var n=e.constructor,r=-1,o="function"==typeof n&&n.prototype===e,s=Array(t),u=t>0;++r<t;)s[r]=r+"";for(var c in e)u&&a(c,t)||"constructor"==c&&(o||!m.call(e,c))||s.push(c);return s}var c=e("lodash._getnative"),d=e("lodash.isarguments"),f=e("lodash.isarray"),p=/^\d+$/,h=Object.prototype,m=h.hasOwnProperty,v=c(Object,"keys"),b=9007199254740991,g=r("length"),y=v?function(e){var t=null==e?void 0:e.constructor;return"function"==typeof t&&t.prototype===e||"function"!=typeof e&&o(e)?s(e):l(e)?v(e):[]}:s;t.exports=y},{"lodash._getnative":453,"lodash.isarguments":455,"lodash.isarray":456}],458:[function(e,t,n){var r=e("./_getNative"),o=e("./_root"),a=r(o,"DataView");t.exports=a},{"./_getNative":611,"./_root":666}],459:[function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=e("./_hashClear"),a=e("./_hashDelete"),i=e("./_hashGet"),s=e("./_hashHas"),l=e("./_hashSet");r.prototype.clear=o,r.prototype.delete=a,r.prototype.get=i,r.prototype.has=s,r.prototype.set=l,t.exports=r},{"./_hashClear":621,"./_hashDelete":622,"./_hashGet":623,"./_hashHas":624,"./_hashSet":625}],460:[function(e,t,n){function r(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=i,this.__views__=[]}var o=e("./_baseCreate"),a=e("./_baseLodash"),i=4294967295;r.prototype=o(a.prototype),r.prototype.constructor=r,t.exports=r},{"./_baseCreate":497,"./_baseLodash":529}],461:[function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=e("./_listCacheClear"),a=e("./_listCacheDelete"),i=e("./_listCacheGet"),s=e("./_listCacheHas"),l=e("./_listCacheSet");r.prototype.clear=o,r.prototype.delete=a,r.prototype.get=i,r.prototype.has=s,r.prototype.set=l,t.exports=r},{"./_listCacheClear":640,"./_listCacheDelete":641,"./_listCacheGet":642,"./_listCacheHas":643,"./_listCacheSet":644}],462:[function(e,t,n){function r(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}var o=e("./_baseCreate"),a=e("./_baseLodash");r.prototype=o(a.prototype),r.prototype.constructor=r,t.exports=r},{"./_baseCreate":497,"./_baseLodash":529}],463:[function(e,t,n){var r=e("./_getNative"),o=e("./_root"),a=r(o,"Map");t.exports=a},{"./_getNative":611,"./_root":666}],464:[function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}var o=e("./_mapCacheClear"),a=e("./_mapCacheDelete"),i=e("./_mapCacheGet"),s=e("./_mapCacheHas"),l=e("./_mapCacheSet");r.prototype.clear=o,r.prototype.delete=a,r.prototype.get=i,r.prototype.has=s,r.prototype.set=l,t.exports=r},{"./_mapCacheClear":645,"./_mapCacheDelete":646,"./_mapCacheGet":647,"./_mapCacheHas":648,"./_mapCacheSet":649}],465:[function(e,t,n){var r=e("./_getNative"),o=e("./_root"),a=r(o,"Promise");t.exports=a},{"./_getNative":611,"./_root":666}],466:[function(e,t,n){var r=e("./_getNative"),o=e("./_root"),a=r(o,"Set");t.exports=a},{"./_getNative":611,"./_root":666}],467:[function(e,t,n){function r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t<n;)this.add(e[t])}var o=e("./_MapCache"),a=e("./_setCacheAdd"),i=e("./_setCacheHas");r.prototype.add=r.prototype.push=a,r.prototype.has=i,t.exports=r},{"./_MapCache":464,"./_setCacheAdd":667,"./_setCacheHas":668}],468:[function(e,t,n){function r(e){var t=this.__data__=new o(e);this.size=t.size}var o=e("./_ListCache"),a=e("./_stackClear"),i=e("./_stackDelete"),s=e("./_stackGet"),l=e("./_stackHas"),u=e("./_stackSet");r.prototype.clear=a,r.prototype.delete=i,r.prototype.get=s,r.prototype.has=l,r.prototype.set=u,t.exports=r},{"./_ListCache":461,"./_stackClear":674,"./_stackDelete":675,"./_stackGet":676,"./_stackHas":677,"./_stackSet":678}],469:[function(e,t,n){var r=e("./_root"),o=r.Symbol;t.exports=o},{"./_root":666}],470:[function(e,t,n){var r=e("./_root"),o=r.Uint8Array;t.exports=o},{"./_root":666}],471:[function(e,t,n){var r=e("./_getNative"),o=e("./_root"),a=r(o,"WeakMap");t.exports=a},{"./_getNative":611,"./_root":666}],472:[function(e,t,n){function r(e,t){return e.set(t[0],t[1]),e}t.exports=r},{}],473:[function(e,t,n){function r(e,t){return e.add(t),e}t.exports=r},{}],474:[function(e,t,n){function r(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}t.exports=r},{}],475:[function(e,t,n){function r(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(r,i,n(i),e)}return r}t.exports=r},{}],476:[function(e,t,n){function r(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}t.exports=r},{}],477:[function(e,t,n){function r(e,t){for(var n=null==e?0:e.length;n--&&t(e[n],n,e)!==!1;);return e}t.exports=r},{}],478:[function(e,t,n){function r(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}t.exports=r},{}],479:[function(e,t,n){function r(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}t.exports=r},{}],480:[function(e,t,n){function r(e,t){var n=null==e?0:e.length;return!!n&&o(e,t,0)>-1}var o=e("./_baseIndexOf");t.exports=r},{"./_baseIndexOf":517}],481:[function(e,t,n){function r(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}t.exports=r},{}],482:[function(e,t,n){function r(e,t){var n=i(e),r=!n&&a(e),c=!n&&!r&&s(e),f=!n&&!r&&!c&&u(e),p=n||r||c||f,h=p?o(e.length,String):[],m=h.length;for(var v in e)!t&&!d.call(e,v)||p&&("length"==v||c&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||l(v,m))||h.push(v);return h}var o=e("./_baseTimes"),a=e("./isArguments"),i=e("./isArray"),s=e("./isBuffer"),l=e("./_isIndex"),u=e("./isTypedArray"),c=Object.prototype,d=c.hasOwnProperty;t.exports=r},{"./_baseTimes":550,"./_isIndex":631,"./isArguments":730,"./isArray":731,"./isBuffer":734,"./isTypedArray":746}],483:[function(e,t,n){function r(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}t.exports=r},{}],484:[function(e,t,n){arguments[4][390][0].apply(n,arguments)},{dup:390}],485:[function(e,t,n){function r(e,t,n,r){var o=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}t.exports=r},{}],486:[function(e,t,n){function r(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}t.exports=r},{}],487:[function(e,t,n){var r=e("./_baseProperty"),o=r("length");t.exports=o},{"./_baseProperty":536}],488:[function(e,t,n){function r(e){return e.split("")}t.exports=r},{}],489:[function(e,t,n){function r(e,t,n){var r=e[t];s.call(e,t)&&a(r,n)&&(void 0!==n||t in e)||o(e,t,n)}var o=e("./_baseAssignValue"),a=e("./eq"),i=Object.prototype,s=i.hasOwnProperty;t.exports=r},{"./_baseAssignValue":494,"./eq":706}],490:[function(e,t,n){function r(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}var o=e("./eq");t.exports=r},{"./eq":706}],491:[function(e,t,n){function r(e,t,n,r){return o(e,function(e,o,a){t(r,e,n(e),a)}),r}var o=e("./_baseEach");t.exports=r},{"./_baseEach":500}],492:[function(e,t,n){function r(e,t){return e&&o(t,a(t),e)}var o=e("./_copyObject"),a=e("./keys");t.exports=r},{"./_copyObject":577,"./keys":750}],493:[function(e,t,n){function r(e,t){return e&&o(t,a(t),e)}var o=e("./_copyObject"),a=e("./keysIn");t.exports=r},{"./_copyObject":577,"./keysIn":751}],494:[function(e,t,n){function r(e,t,n){"__proto__"==t&&o?o(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var o=e("./_defineProperty");t.exports=r},{"./_defineProperty":598}],495:[function(e,t,n){function r(e,t,n){return e===e&&(void 0!==n&&(e=e<=n?e:n),void 0!==t&&(e=e>=t?e:t)),e}t.exports=r},{}],496:[function(e,t,n){function r(e,t,n,T,A,P){var N,z=t&S,R=t&C,L=t&x;if(n&&(N=A?n(e,T,A,P):n(e)),void 0!==N)return N;if(!M(e))return e;var D=y(e);if(D){if(N=v(e),!z)return c(e,N)}else{var I=m(e),B=I==O||I==E;if(_(e))return u(e,z);if(I==j||I==k||B&&!A){if(N=R||B?{}:g(e),!z)return R?f(e,l(N,e)):d(e,s(N,e))}else{if(!J[I])return A?e:{};N=b(e,I,r,z)}}P||(P=new o);var V=P.get(e);if(V)return V;P.set(e,N);var q=L?R?h:p:R?keysIn:w,F=D?void 0:q(e);return a(F||e,function(o,a){F&&(a=o,o=e[a]),i(N,a,r(o,t,n,a,e,P))}),N}var o=e("./_Stack"),a=e("./_arrayEach"),i=e("./_assignValue"),s=e("./_baseAssign"),l=e("./_baseAssignIn"),u=e("./_cloneBuffer"),c=e("./_copyArray"),d=e("./_copySymbols"),f=e("./_copySymbolsIn"),p=e("./_getAllKeys"),h=e("./_getAllKeysIn"),m=e("./_getTag"),v=e("./_initCloneArray"),b=e("./_initCloneByTag"),g=e("./_initCloneObject"),y=e("./isArray"),_=e("./isBuffer"),M=e("./isObject"),w=e("./keys"),S=1,C=2,x=4,k="[object Arguments]",T="[object Array]",A="[object Boolean]",P="[object Date]",N="[object Error]",O="[object Function]",E="[object GeneratorFunction]",z="[object Map]",R="[object Number]",j="[object Object]",L="[object RegExp]",D="[object Set]",I="[object String]",B="[object Symbol]",V="[object WeakMap]",q="[object ArrayBuffer]",F="[object DataView]",U="[object Float32Array]",W="[object Float64Array]",H="[object Int8Array]",X="[object Int16Array]",K="[object Int32Array]",G="[object Uint8Array]",Y="[object Uint8ClampedArray]",$="[object Uint16Array]",Q="[object Uint32Array]",J={};J[k]=J[T]=J[q]=J[F]=J[A]=J[P]=J[U]=J[W]=J[H]=J[X]=J[K]=J[z]=J[R]=J[j]=J[L]=J[D]=J[I]=J[B]=J[G]=J[Y]=J[$]=J[Q]=!0,J[N]=J[O]=J[V]=!1,t.exports=r},{"./_Stack":468,"./_arrayEach":476,"./_assignValue":489,"./_baseAssign":492,"./_baseAssignIn":493,"./_cloneBuffer":565,"./_copyArray":576,"./_copySymbols":578,"./_copySymbolsIn":579,"./_getAllKeys":604,"./_getAllKeysIn":605,"./_getTag":616,"./_initCloneArray":626,"./_initCloneByTag":627,"./_initCloneObject":628,"./isArray":731,"./isBuffer":734,"./isObject":741,"./keys":750}],497:[function(e,t,n){var r=e("./isObject"),o=Object.create,a=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();t.exports=a},{"./isObject":741}],498:[function(e,t,n){function r(e,t,n){if("function"!=typeof e)throw new TypeError(o);return setTimeout(function(){e.apply(void 0,n)},t)}var o="Expected a function";t.exports=r},{}],499:[function(e,t,n){function r(e,t,n,r){var d=-1,f=a,p=!0,h=e.length,m=[],v=t.length;if(!h)return m;n&&(t=s(t,l(n))),r?(f=i,p=!1):t.length>=c&&(f=u,p=!1,t=new o(t));e:for(;++d<h;){var b=e[d],g=null==n?b:n(b);if(b=r||0!==b?b:0,p&&g===g){for(var y=v;y--;)if(t[y]===g)continue e;m.push(b)}else f(t,g,r)||m.push(b)}return m}var o=e("./_SetCache"),a=e("./_arrayIncludes"),i=e("./_arrayIncludesWith"),s=e("./_arrayMap"),l=e("./_baseUnary"),u=e("./_cacheHas"),c=200;t.exports=r},{"./_SetCache":467,"./_arrayIncludes":480,"./_arrayIncludesWith":481,"./_arrayMap":483,"./_baseUnary":552,"./_cacheHas":557}],500:[function(e,t,n){var r=e("./_baseForOwn"),o=e("./_createBaseEach"),a=o(r);t.exports=a},{"./_baseForOwn":509,"./_createBaseEach":584}],501:[function(e,t,n){var r=e("./_baseForOwnRight"),o=e("./_createBaseEach"),a=o(r,!0);t.exports=a},{"./_baseForOwnRight":510,"./_createBaseEach":584}],502:[function(e,t,n){function r(e,t){var n=!0;return o(e,function(e,r,o){return n=!!t(e,r,o)}),n}var o=e("./_baseEach");t.exports=r},{"./_baseEach":500}],503:[function(e,t,n){function r(e,t,n){for(var r=-1,a=e.length;++r<a;){var i=e[r],s=t(i);if(null!=s&&(void 0===l?s===s&&!o(s):n(s,l)))var l=s,u=i}return u;
|
21 | }var o=e("./isSymbol");t.exports=r},{"./isSymbol":745}],504:[function(e,t,n){function r(e,t){var n=[];return o(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}var o=e("./_baseEach");t.exports=r},{"./_baseEach":500}],505:[function(e,t,n){function r(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}t.exports=r},{}],506:[function(e,t,n){function r(e,t,n){var r;return n(e,function(e,n,o){if(t(e,n,o))return r=n,!1}),r}t.exports=r},{}],507:[function(e,t,n){function r(e,t,n,i,s){var l=-1,u=e.length;for(n||(n=a),s||(s=[]);++l<u;){var c=e[l];t>0&&n(c)?t>1?r(c,t-1,n,i,s):o(s,c):i||(s[s.length]=c)}return s}var o=e("./_arrayPush"),a=e("./_isFlattenable");t.exports=r},{"./_arrayPush":484,"./_isFlattenable":630}],508:[function(e,t,n){var r=e("./_createBaseFor"),o=r();t.exports=o},{"./_createBaseFor":585}],509:[function(e,t,n){function r(e,t){return e&&o(e,t,a)}var o=e("./_baseFor"),a=e("./keys");t.exports=r},{"./_baseFor":508,"./keys":750}],510:[function(e,t,n){function r(e,t){return e&&o(e,t,a)}var o=e("./_baseForRight"),a=e("./keys");t.exports=r},{"./_baseForRight":511,"./keys":750}],511:[function(e,t,n){var r=e("./_createBaseFor"),o=r(!0);t.exports=o},{"./_createBaseFor":585}],512:[function(e,t,n){function r(e,t){t=o(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[a(t[n++])];return n&&n==r?e:void 0}var o=e("./_castPath"),a=e("./_toKey");t.exports=r},{"./_castPath":560,"./_toKey":683}],513:[function(e,t,n){function r(e,t,n){var r=t(e);return a(e)?r:o(r,n(e))}var o=e("./_arrayPush"),a=e("./isArray");t.exports=r},{"./_arrayPush":484,"./isArray":731}],514:[function(e,t,n){function r(e){return null==e?void 0===e?l:s:u&&u in Object(e)?a(e):i(e)}var o=e("./_Symbol"),a=e("./_getRawTag"),i=e("./_objectToString"),s="[object Null]",l="[object Undefined]",u=o?o.toStringTag:void 0;t.exports=r},{"./_Symbol":469,"./_getRawTag":613,"./_objectToString":659}],515:[function(e,t,n){function r(e,t){return e>t}t.exports=r},{}],516:[function(e,t,n){function r(e,t){return null!=e&&t in Object(e)}t.exports=r},{}],517:[function(e,t,n){function r(e,t,n){return t===t?i(e,t,n):o(e,a,n)}var o=e("./_baseFindIndex"),a=e("./_baseIsNaN"),i=e("./_strictIndexOf");t.exports=r},{"./_baseFindIndex":505,"./_baseIsNaN":523,"./_strictIndexOf":679}],518:[function(e,t,n){function r(e,t,n){for(var r=n?i:a,d=e[0].length,f=e.length,p=f,h=Array(f),m=1/0,v=[];p--;){var b=e[p];p&&t&&(b=s(b,l(t))),m=c(b.length,m),h[p]=!n&&(t||d>=120&&b.length>=120)?new o(p&&b):void 0}b=e[0];var g=-1,y=h[0];e:for(;++g<d&&v.length<m;){var _=b[g],M=t?t(_):_;if(_=n||0!==_?_:0,!(y?u(y,M):r(v,M,n))){for(p=f;--p;){var w=h[p];if(!(w?u(w,M):r(e[p],M,n)))continue e}y&&y.push(M),v.push(_)}}return v}var o=e("./_SetCache"),a=e("./_arrayIncludes"),i=e("./_arrayIncludesWith"),s=e("./_arrayMap"),l=e("./_baseUnary"),u=e("./_cacheHas"),c=Math.min;t.exports=r},{"./_SetCache":467,"./_arrayIncludes":480,"./_arrayIncludesWith":481,"./_arrayMap":483,"./_baseUnary":552,"./_cacheHas":557}],519:[function(e,t,n){function r(e){return a(e)&&o(e)==i}var o=e("./_baseGetTag"),a=e("./isObjectLike"),i="[object Arguments]";t.exports=r},{"./_baseGetTag":514,"./isObjectLike":742}],520:[function(e,t,n){function r(e,t,n,i,s){return e===t||(null==e||null==t||!a(e)&&!a(t)?e!==e&&t!==t:o(e,t,n,i,r,s))}var o=e("./_baseIsEqualDeep"),a=e("./isObjectLike");t.exports=r},{"./_baseIsEqualDeep":521,"./isObjectLike":742}],521:[function(e,t,n){function r(e,t,n,r,v,g){var y=u(e),_=u(t),M=y?h:l(e),w=_?h:l(t);M=M==p?m:M,w=w==p?m:w;var S=M==m,C=w==m,x=M==w;if(x&&c(e)){if(!c(t))return!1;y=!0,S=!1}if(x&&!S)return g||(g=new o),y||d(e)?a(e,t,n,r,v,g):i(e,t,M,n,r,v,g);if(!(n&f)){var k=S&&b.call(e,"__wrapped__"),T=C&&b.call(t,"__wrapped__");if(k||T){var A=k?e.value():e,P=T?t.value():t;return g||(g=new o),v(A,P,n,r,g)}}return!!x&&(g||(g=new o),s(e,t,n,r,v,g))}var o=e("./_Stack"),a=e("./_equalArrays"),i=e("./_equalByTag"),s=e("./_equalObjects"),l=e("./_getTag"),u=e("./isArray"),c=e("./isBuffer"),d=e("./isTypedArray"),f=1,p="[object Arguments]",h="[object Array]",m="[object Object]",v=Object.prototype,b=v.hasOwnProperty;t.exports=r},{"./_Stack":468,"./_equalArrays":599,"./_equalByTag":600,"./_equalObjects":601,"./_getTag":616,"./isArray":731,"./isBuffer":734,"./isTypedArray":746}],522:[function(e,t,n){function r(e,t,n,r){var l=n.length,u=l,c=!r;if(null==e)return!u;for(e=Object(e);l--;){var d=n[l];if(c&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++l<u;){d=n[l];var f=d[0],p=e[f],h=d[1];if(c&&d[2]){if(void 0===p&&!(f in e))return!1}else{var m=new o;if(r)var v=r(p,h,f,e,t,m);if(!(void 0===v?a(h,p,i|s,r,m):v))return!1}}return!0}var o=e("./_Stack"),a=e("./_baseIsEqual"),i=1,s=2;t.exports=r},{"./_Stack":468,"./_baseIsEqual":520}],523:[function(e,t,n){function r(e){return e!==e}t.exports=r},{}],524:[function(e,t,n){function r(e){if(!i(e)||a(e))return!1;var t=o(e)?h:u;return t.test(s(e))}var o=e("./isFunction"),a=e("./_isMasked"),i=e("./isObject"),s=e("./_toSource"),l=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,c=Function.prototype,d=Object.prototype,f=c.toString,p=d.hasOwnProperty,h=RegExp("^"+f.call(p).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=r},{"./_isMasked":636,"./_toSource":684,"./isFunction":737,"./isObject":741}],525:[function(e,t,n){function r(e){return i(e)&&a(e.length)&&!!O[o(e)]}var o=e("./_baseGetTag"),a=e("./isLength"),i=e("./isObjectLike"),s="[object Arguments]",l="[object Array]",u="[object Boolean]",c="[object Date]",d="[object Error]",f="[object Function]",p="[object Map]",h="[object Number]",m="[object Object]",v="[object RegExp]",b="[object Set]",g="[object String]",y="[object WeakMap]",_="[object ArrayBuffer]",M="[object DataView]",w="[object Float32Array]",S="[object Float64Array]",C="[object Int8Array]",x="[object Int16Array]",k="[object Int32Array]",T="[object Uint8Array]",A="[object Uint8ClampedArray]",P="[object Uint16Array]",N="[object Uint32Array]",O={};O[w]=O[S]=O[C]=O[x]=O[k]=O[T]=O[A]=O[P]=O[N]=!0,O[s]=O[l]=O[_]=O[u]=O[M]=O[c]=O[d]=O[f]=O[p]=O[h]=O[m]=O[v]=O[b]=O[g]=O[y]=!1,t.exports=r},{"./_baseGetTag":514,"./isLength":739,"./isObjectLike":742}],526:[function(e,t,n){function r(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?s(e)?a(e[0],e[1]):o(e):l(e)}var o=e("./_baseMatches"),a=e("./_baseMatchesProperty"),i=e("./identity"),s=e("./isArray"),l=e("./property");t.exports=r},{"./_baseMatches":531,"./_baseMatchesProperty":532,"./identity":727,"./isArray":731,"./property":766}],527:[function(e,t,n){function r(e){if(!o(e))return a(e);var t=[];for(var n in Object(e))s.call(e,n)&&"constructor"!=n&&t.push(n);return t}var o=e("./_isPrototype"),a=e("./_nativeKeys"),i=Object.prototype,s=i.hasOwnProperty;t.exports=r},{"./_isPrototype":637,"./_nativeKeys":656}],528:[function(e,t,n){function r(e){if(!o(e))return i(e);var t=a(e),n=[];for(var r in e)("constructor"!=r||!t&&l.call(e,r))&&n.push(r);return n}var o=e("./isObject"),a=e("./_isPrototype"),i=e("./_nativeKeysIn"),s=Object.prototype,l=s.hasOwnProperty;t.exports=r},{"./_isPrototype":637,"./_nativeKeysIn":657,"./isObject":741}],529:[function(e,t,n){function r(){}t.exports=r},{}],530:[function(e,t,n){function r(e,t){var n=-1,r=a(e)?Array(e.length):[];return o(e,function(e,o,a){r[++n]=t(e,o,a)}),r}var o=e("./_baseEach"),a=e("./isArrayLike");t.exports=r},{"./_baseEach":500,"./isArrayLike":732}],531:[function(e,t,n){function r(e){var t=a(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(n){return n===e||o(n,e,t)}}var o=e("./_baseIsMatch"),a=e("./_getMatchData"),i=e("./_matchesStrictComparable");t.exports=r},{"./_baseIsMatch":522,"./_getMatchData":610,"./_matchesStrictComparable":651}],532:[function(e,t,n){function r(e,t){return s(e)&&l(t)?u(c(e),t):function(n){var r=a(n,e);return void 0===r&&r===t?i(n,e):o(t,r,d|f)}}var o=e("./_baseIsEqual"),a=e("./get"),i=e("./hasIn"),s=e("./_isKey"),l=e("./_isStrictComparable"),u=e("./_matchesStrictComparable"),c=e("./_toKey"),d=1,f=2;t.exports=r},{"./_baseIsEqual":520,"./_isKey":633,"./_isStrictComparable":638,"./_matchesStrictComparable":651,"./_toKey":683,"./get":724,"./hasIn":726}],533:[function(e,t,n){function r(e,t,n){var r=-1;t=o(t.length?t:[c],l(a));var d=i(e,function(e,n,a){var i=o(t,function(t){return t(e)});return{criteria:i,index:++r,value:e}});return s(d,function(e,t){return u(e,t,n)})}var o=e("./_arrayMap"),a=e("./_baseIteratee"),i=e("./_baseMap"),s=e("./_baseSortBy"),l=e("./_baseUnary"),u=e("./_compareMultiple"),c=e("./identity");t.exports=r},{"./_arrayMap":483,"./_baseIteratee":526,"./_baseMap":530,"./_baseSortBy":546,"./_baseUnary":552,"./_compareMultiple":573,"./identity":727}],534:[function(e,t,n){function r(e,t){return o(e,t,function(t,n){return a(e,n)})}var o=e("./_basePickBy"),a=e("./hasIn");t.exports=r},{"./_basePickBy":535,"./hasIn":726}],535:[function(e,t,n){function r(e,t,n){for(var r=-1,s=t.length,l={};++r<s;){var u=t[r],c=o(e,u);n(c,u)&&a(l,i(u,e),c)}return l}var o=e("./_baseGet"),a=e("./_baseSet"),i=e("./_castPath");t.exports=r},{"./_baseGet":512,"./_baseSet":541,"./_castPath":560}],536:[function(e,t,n){function r(e){return function(t){return null==t?void 0:t[e]}}t.exports=r},{}],537:[function(e,t,n){function r(e){return function(t){return o(t,e)}}var o=e("./_baseGet");t.exports=r},{"./_baseGet":512}],538:[function(e,t,n){function r(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==l){var l=i;a(i)?s.call(e,i,1):o(e,i)}}return e}var o=e("./_baseUnset"),a=e("./_isIndex"),i=Array.prototype,s=i.splice;t.exports=r},{"./_baseUnset":554,"./_isIndex":631}],539:[function(e,t,n){function r(e,t,n,r,o){return o(e,function(e,o,a){n=r?(r=!1,e):t(n,e,o,a)}),n}t.exports=r},{}],540:[function(e,t,n){function r(e,t){return i(a(e,t,o),e+"")}var o=e("./identity"),a=e("./_overRest"),i=e("./_setToString");t.exports=r},{"./_overRest":661,"./_setToString":671,"./identity":727}],541:[function(e,t,n){function r(e,t,n,r){if(!s(e))return e;t=a(t,e);for(var u=-1,c=t.length,d=c-1,f=e;null!=f&&++u<c;){var p=l(t[u]),h=n;if(u!=d){var m=f[p];h=r?r(m,p,f):void 0,void 0===h&&(h=s(m)?m:i(t[u+1])?[]:{})}o(f,p,h),f=f[p]}return e}var o=e("./_assignValue"),a=e("./_castPath"),i=e("./_isIndex"),s=e("./isObject"),l=e("./_toKey");t.exports=r},{"./_assignValue":489,"./_castPath":560,"./_isIndex":631,"./_toKey":683,"./isObject":741}],542:[function(e,t,n){var r=e("./identity"),o=e("./_metaMap"),a=o?function(e,t){return o.set(e,t),e}:r;t.exports=a},{"./_metaMap":654,"./identity":727}],543:[function(e,t,n){var r=e("./constant"),o=e("./_defineProperty"),a=e("./identity"),i=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:a;t.exports=i},{"./_defineProperty":598,"./constant":698,"./identity":727}],544:[function(e,t,n){function r(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r<o;)a[r]=e[r+t];return a}t.exports=r},{}],545:[function(e,t,n){function r(e,t){var n;return o(e,function(e,r,o){return n=t(e,r,o),!n}),!!n}var o=e("./_baseEach");t.exports=r},{"./_baseEach":500}],546:[function(e,t,n){function r(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}t.exports=r},{}],547:[function(e,t,n){function r(e,t,n){var r=0,s=null==e?r:e.length;if("number"==typeof t&&t===t&&s<=l){for(;r<s;){var u=r+s>>>1,c=e[u];null!==c&&!i(c)&&(n?c<=t:c<t)?r=u+1:s=u}return s}return o(e,t,a,n)}var o=e("./_baseSortedIndexBy"),a=e("./identity"),i=e("./isSymbol"),s=4294967295,l=s>>>1;t.exports=r},{"./_baseSortedIndexBy":548,"./identity":727,"./isSymbol":745}],548:[function(e,t,n){function r(e,t,n,r){t=n(t);for(var a=0,u=null==e?0:e.length,c=t!==t,d=null===t,f=o(t),p=void 0===t;a<u;){var h=s((a+u)/2),m=n(e[h]),v=void 0!==m,b=null===m,g=m===m,y=o(m);if(c)var _=r||g;else _=p?g&&(r||v):d?g&&v&&(r||!b):f?g&&v&&!b&&(r||!y):!b&&!y&&(r?m<=t:m<t);_?a=h+1:u=h}return l(u,i)}var o=e("./isSymbol"),a=4294967295,i=a-1,s=Math.floor,l=Math.min;t.exports=r},{"./isSymbol":745}],549:[function(e,t,n){function r(e,t){for(var n,r=-1,o=e.length;++r<o;){var a=t(e[r]);void 0!==a&&(n=void 0===n?a:n+a)}return n}t.exports=r},{}],550:[function(e,t,n){function r(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}t.exports=r},{}],551:[function(e,t,n){function r(e){if("string"==typeof e)return e;if(i(e))return a(e,r)+"";if(s(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-l?"-0":t}var o=e("./_Symbol"),a=e("./_arrayMap"),i=e("./isArray"),s=e("./isSymbol"),l=1/0,u=o?o.prototype:void 0,c=u?u.toString:void 0;t.exports=r},{"./_Symbol":469,"./_arrayMap":483,"./isArray":731,"./isSymbol":745}],552:[function(e,t,n){function r(e){return function(t){return e(t)}}t.exports=r},{}],553:[function(e,t,n){function r(e,t,n){var r=-1,d=a,f=e.length,p=!0,h=[],m=h;if(n)p=!1,d=i;else if(f>=c){var v=t?null:l(e);if(v)return u(v);p=!1,d=s,m=new o}else m=t?[]:h;e:for(;++r<f;){var b=e[r],g=t?t(b):b;if(b=n||0!==b?b:0,p&&g===g){for(var y=m.length;y--;)if(m[y]===g)continue e;t&&m.push(g),h.push(b)}else d(m,g,n)||(m!==h&&m.push(g),h.push(b))}return h}var o=e("./_SetCache"),a=e("./_arrayIncludes"),i=e("./_arrayIncludesWith"),s=e("./_cacheHas"),l=e("./_createSet"),u=e("./_setToArray"),c=200;t.exports=r},{"./_SetCache":467,"./_arrayIncludes":480,"./_arrayIncludesWith":481,"./_cacheHas":557,"./_createSet":594,"./_setToArray":670}],554:[function(e,t,n){function r(e,t){return t=o(t,e),e=i(e,t),null==e||delete e[s(a(t))]}var o=e("./_castPath"),a=e("./last"),i=e("./_parent"),s=e("./_toKey");t.exports=r},{"./_castPath":560,"./_parent":662,"./_toKey":683,"./last":752}],555:[function(e,t,n){function r(e,t){return o(t,function(t){return e[t]})}var o=e("./_arrayMap");t.exports=r},{"./_arrayMap":483}],556:[function(e,t,n){function r(e,t,n){var r=e.length;if(r<2)return r?i(e[0]):[];for(var s=-1,l=Array(r);++s<r;)for(var u=e[s],c=-1;++c<r;)c!=s&&(l[s]=o(l[s]||u,e[c],t,n));return i(a(l,1),t,n)}var o=e("./_baseDifference"),a=e("./_baseFlatten"),i=e("./_baseUniq");t.exports=r},{"./_baseDifference":499,"./_baseFlatten":507,"./_baseUniq":553}],557:[function(e,t,n){function r(e,t){return e.has(t)}t.exports=r},{}],558:[function(e,t,n){function r(e){return o(e)?e:[]}var o=e("./isArrayLikeObject");t.exports=r},{"./isArrayLikeObject":733}],559:[function(e,t,n){function r(e){return"function"==typeof e?e:o}var o=e("./identity");t.exports=r},{"./identity":727}],560:[function(e,t,n){function r(e,t){return o(e)?e:a(e,t)?[e]:i(s(e))}var o=e("./isArray"),a=e("./_isKey"),i=e("./_stringToPath"),s=e("./toString");t.exports=r},{"./_isKey":633,"./_stringToPath":682,"./isArray":731,"./toString":789}],561:[function(e,t,n){function r(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:o(e,t,n)}var o=e("./_baseSlice");t.exports=r},{"./_baseSlice":544}],562:[function(e,t,n){function r(e,t){for(var n=e.length;n--&&o(t,e[n],0)>-1;);return n}var o=e("./_baseIndexOf");t.exports=r},{"./_baseIndexOf":517}],563:[function(e,t,n){function r(e,t){for(var n=-1,r=e.length;++n<r&&o(t,e[n],0)>-1;);return n}var o=e("./_baseIndexOf");t.exports=r},{"./_baseIndexOf":517}],564:[function(e,t,n){function r(e){var t=new e.constructor(e.byteLength);return new o(t).set(new o(e)),t}var o=e("./_Uint8Array");t.exports=r},{"./_Uint8Array":470}],565:[function(e,t,n){function r(e,t){if(t)return e.slice();var n=e.length,r=u?u(n):new e.constructor(n);return e.copy(r),r}var o=e("./_root"),a="object"==typeof n&&n&&!n.nodeType&&n,i=a&&"object"==typeof t&&t&&!t.nodeType&&t,s=i&&i.exports===a,l=s?o.Buffer:void 0,u=l?l.allocUnsafe:void 0;t.exports=r},{"./_root":666}],566:[function(e,t,n){function r(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var o=e("./_cloneArrayBuffer");t.exports=r},{"./_cloneArrayBuffer":564}],567:[function(e,t,n){function r(e,t,n){var r=t?n(i(e),s):i(e);return a(r,o,new e.constructor)}var o=e("./_addMapEntry"),a=e("./_arrayReduce"),i=e("./_mapToArray"),s=1;t.exports=r},{"./_addMapEntry":472,"./_arrayReduce":485,"./_mapToArray":650}],568:[function(e,t,n){function r(e){var t=new e.constructor(e.source,o.exec(e));return t.lastIndex=e.lastIndex,t}var o=/\w*$/;t.exports=r},{}],569:[function(e,t,n){function r(e,t,n){var r=t?n(i(e),s):i(e);return a(r,o,new e.constructor)}var o=e("./_addSetEntry"),a=e("./_arrayReduce"),i=e("./_setToArray"),s=1;t.exports=r},{"./_addSetEntry":473,"./_arrayReduce":485,"./_setToArray":670}],570:[function(e,t,n){function r(e){return i?Object(i.call(e)):{}}var o=e("./_Symbol"),a=o?o.prototype:void 0,i=a?a.valueOf:void 0;t.exports=r},{"./_Symbol":469}],571:[function(e,t,n){function r(e,t){var n=t?o(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var o=e("./_cloneArrayBuffer");t.exports=r},{"./_cloneArrayBuffer":564}],572:[function(e,t,n){function r(e,t){if(e!==t){var n=void 0!==e,r=null===e,a=e===e,i=o(e),s=void 0!==t,l=null===t,u=t===t,c=o(t);if(!l&&!c&&!i&&e>t||i&&s&&u&&!l&&!c||r&&s&&u||!n&&u||!a)return 1;if(!r&&!i&&!c&&e<t||c&&n&&a&&!r&&!i||l&&n&&a||!s&&a||!u)return-1}return 0}var o=e("./isSymbol");t.exports=r},{"./isSymbol":745}],573:[function(e,t,n){function r(e,t,n){for(var r=-1,a=e.criteria,i=t.criteria,s=a.length,l=n.length;++r<s;){var u=o(a[r],i[r]);if(u){if(r>=l)return u;var c=n[r];return u*("desc"==c?-1:1)}}return e.index-t.index}var o=e("./_compareAscending");t.exports=r},{"./_compareAscending":572}],574:[function(e,t,n){function r(e,t,n,r){for(var a=-1,i=e.length,s=n.length,l=-1,u=t.length,c=o(i-s,0),d=Array(u+c),f=!r;++l<u;)d[l]=t[l];for(;++a<s;)(f||a<i)&&(d[n[a]]=e[a]);for(;c--;)d[l++]=e[a++];return d}var o=Math.max;t.exports=r},{}],575:[function(e,t,n){function r(e,t,n,r){for(var a=-1,i=e.length,s=-1,l=n.length,u=-1,c=t.length,d=o(i-l,0),f=Array(d+c),p=!r;++a<d;)f[a]=e[a];for(var h=a;++u<c;)f[h+u]=t[u];for(;++s<l;)(p||a<i)&&(f[h+n[s]]=e[a++]);return f}var o=Math.max;t.exports=r},{}],576:[function(e,t,n){function r(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}t.exports=r},{}],577:[function(e,t,n){function r(e,t,n,r){var i=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var u=t[s],c=r?r(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),i?a(n,u,c):o(n,u,c)}return n}var o=e("./_assignValue"),a=e("./_baseAssignValue");t.exports=r},{"./_assignValue":489,"./_baseAssignValue":494}],578:[function(e,t,n){function r(e,t){return o(e,a(e),t)}var o=e("./_copyObject"),a=e("./_getSymbols");t.exports=r},{"./_copyObject":577,"./_getSymbols":614}],579:[function(e,t,n){function r(e,t){return o(e,a(e),t)}var o=e("./_copyObject"),a=e("./_getSymbolsIn");t.exports=r},{"./_copyObject":577,"./_getSymbolsIn":615}],580:[function(e,t,n){var r=e("./_root"),o=r["__core-js_shared__"];t.exports=o},{"./_root":666}],581:[function(e,t,n){function r(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}t.exports=r},{}],582:[function(e,t,n){function r(e,t){return function(n,r){var l=s(n)?o:a,u=t?t():{};return l(n,e,i(r,2),u)}}var o=e("./_arrayAggregator"),a=e("./_baseAggregator"),i=e("./_baseIteratee"),s=e("./isArray");t.exports=r},{"./_arrayAggregator":475,"./_baseAggregator":491,"./_baseIteratee":526,"./isArray":731}],583:[function(e,t,n){function r(e){return o(function(t,n){var r=-1,o=n.length,i=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(i=e.length>3&&"function"==typeof i?(o--,i):void 0,s&&a(n[0],n[1],s)&&(i=o<3?void 0:i,o=1),t=Object(t);++r<o;){var l=n[r];l&&e(t,l,r,i)}return t})}var o=e("./_baseRest"),a=e("./_isIterateeCall");t.exports=r},{"./_baseRest":540,"./_isIterateeCall":632}],584:[function(e,t,n){function r(e,t){return function(n,r){if(null==n)return n;if(!o(n))return e(n,r);for(var a=n.length,i=t?a:-1,s=Object(n);(t?i--:++i<a)&&r(s[i],i,s)!==!1;);return n}}var o=e("./isArrayLike");t.exports=r},{"./isArrayLike":732}],585:[function(e,t,n){function r(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),s=i.length;s--;){var l=i[e?s:++o];if(n(a[l],l,a)===!1)break}return t}}t.exports=r},{}],586:[function(e,t,n){function r(e,t,n){function r(){var t=this&&this!==a&&this instanceof r?l:e;return t.apply(s?n:this,arguments)}var s=t&i,l=o(e);return r}var o=e("./_createCtor"),a=e("./_root"),i=1;t.exports=r},{"./_createCtor":587,"./_root":666}],587:[function(e,t,n){function r(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=o(e.prototype),r=e.apply(n,t);return a(r)?r:n}}var o=e("./_baseCreate"),a=e("./isObject");t.exports=r},{"./_baseCreate":497,"./isObject":741}],588:[function(e,t,n){function r(e,t,n){function r(){for(var a=arguments.length,f=Array(a),p=a,h=l(r);p--;)f[p]=arguments[p];var m=a<3&&f[0]!==h&&f[a-1]!==h?[]:u(f,h);if(a-=m.length,a<n)return s(e,t,i,r.placeholder,void 0,f,m,void 0,void 0,n-a);var v=this&&this!==c&&this instanceof r?d:e;return o(v,this,f)}var d=a(e);return r}var o=e("./_apply"),a=e("./_createCtor"),i=e("./_createHybrid"),s=e("./_createRecurry"),l=e("./_getHolder"),u=e("./_replaceHolders"),c=e("./_root");t.exports=r},{"./_apply":474,"./_createCtor":587,"./_createHybrid":590,"./_createRecurry":592,"./_getHolder":608,"./_replaceHolders":665,"./_root":666}],589:[function(e,t,n){function r(e){return function(t,n,r){var s=Object(t);if(!a(t)){var l=o(n,3);t=i(t),n=function(e){return l(s[e],e,s)}}var u=e(t,n,r);return u>-1?s[l?t[u]:u]:void 0}}var o=e("./_baseIteratee"),a=e("./isArrayLike"),i=e("./keys");t.exports=r},{"./_baseIteratee":526,"./isArrayLike":732,"./keys":750}],590:[function(e,t,n){function r(e,t,n,y,_,M,w,S,C,x){function k(){for(var p=arguments.length,h=Array(p),m=p;m--;)h[m]=arguments[m];if(N)var v=u(k),b=i(h,v);if(y&&(h=o(h,y,_,N)),M&&(h=a(h,M,w,N)),p-=b,N&&p<x){var g=d(h,v);return l(e,t,r,k.placeholder,n,h,g,S,C,x-p)}var z=A?n:this,R=P?z[e]:e;return p=h.length,S?h=c(h,S):O&&p>1&&h.reverse(),T&&C<p&&(h.length=C),this&&this!==f&&this instanceof k&&(R=E||s(R)),R.apply(z,h)}var T=t&b,A=t&p,P=t&h,N=t&(m|v),O=t&g,E=P?void 0:s(e);return k}var o=e("./_composeArgs"),a=e("./_composeArgsRight"),i=e("./_countHolders"),s=e("./_createCtor"),l=e("./_createRecurry"),u=e("./_getHolder"),c=e("./_reorder"),d=e("./_replaceHolders"),f=e("./_root"),p=1,h=2,m=8,v=16,b=128,g=512;t.exports=r},{"./_composeArgs":574,"./_composeArgsRight":575,"./_countHolders":581,"./_createCtor":587,"./_createRecurry":592,"./_getHolder":608,"./_reorder":664,"./_replaceHolders":665,"./_root":666}],591:[function(e,t,n){function r(e,t,n,r){function l(){for(var t=-1,a=arguments.length,s=-1,d=r.length,f=Array(d+a),p=this&&this!==i&&this instanceof l?c:e;++s<d;)f[s]=r[s];for(;a--;)f[s++]=arguments[++t];return o(p,u?n:this,f)}var u=t&s,c=a(e);return l}var o=e("./_apply"),a=e("./_createCtor"),i=e("./_root"),s=1;t.exports=r},{"./_apply":474,"./_createCtor":587,"./_root":666}],592:[function(e,t,n){function r(e,t,n,r,p,h,m,v,b,g){var y=t&c,_=y?m:void 0,M=y?void 0:m,w=y?h:void 0,S=y?void 0:h;t|=y?d:f,t&=~(y?f:d),t&u||(t&=~(s|l));var C=[e,t,p,w,_,S,M,v,b,g],x=n.apply(void 0,C);return o(e)&&a(x,C),x.placeholder=r,i(x,e,t)}var o=e("./_isLaziable"),a=e("./_setData"),i=e("./_setWrapToString"),s=1,l=2,u=4,c=8,d=32,f=64;t.exports=r},{"./_isLaziable":635,"./_setData":669,"./_setWrapToString":672}],593:[function(e,t,n){function r(e){var t=Math[e];return function(e,n){if(e=a(e),n=null==n?0:s(o(n),292)){var r=(i(e)+"e").split("e"),l=t(r[0]+"e"+(+r[1]+n));return r=(i(l)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}var o=e("./toInteger"),a=e("./toNumber"),i=e("./toString"),s=Math.min;t.exports=r},{"./toInteger":786,"./toNumber":787,"./toString":789}],594:[function(e,t,n){var r=e("./_Set"),o=e("./noop"),a=e("./_setToArray"),i=1/0,s=r&&1/a(new r([,-0]))[1]==i?function(e){return new r(e)}:o;t.exports=s},{"./_Set":466,"./_setToArray":670,"./noop":759}],595:[function(e,t,n){function r(e,t,n,r,w,S,C,x){var k=t&v;if(!k&&"function"!=typeof e)throw new TypeError(h);var T=r?r.length:0;if(T||(t&=~(y|_),r=w=void 0),C=void 0===C?C:M(p(C),0),x=void 0===x?x:p(x),T-=w?w.length:0,t&_){var A=r,P=w;r=w=void 0}var N=k?void 0:u(e),O=[e,t,n,r,w,A,P,S,C,x];if(N&&c(O,N),e=O[0],t=O[1],n=O[2],r=O[3],w=O[4],x=O[9]=void 0===O[9]?k?0:e.length:M(O[9]-T,0),!x&&t&(b|g)&&(t&=~(b|g)),t&&t!=m)E=t==b||t==g?i(e,t,x):t!=y&&t!=(m|y)||w.length?s.apply(void 0,O):l(e,t,n,r);else var E=a(e,t,n);var z=N?o:d;return f(z(E,O),e,t)}var o=e("./_baseSetData"),a=e("./_createBind"),i=e("./_createCurry"),s=e("./_createHybrid"),l=e("./_createPartial"),u=e("./_getData"),c=e("./_mergeData"),d=e("./_setData"),f=e("./_setWrapToString"),p=e("./toInteger"),h="Expected a function",m=1,v=2,b=8,g=16,y=32,_=64,M=Math.max;t.exports=r},{"./_baseSetData":542,"./_createBind":586,"./_createCurry":588,"./_createHybrid":590,"./_createPartial":591,"./_getData":606,"./_mergeData":653,"./_setData":669,"./_setWrapToString":672,"./toInteger":786}],596:[function(e,t,n){function r(e,t,n,r){return void 0===e||o(e,a[n])&&!i.call(r,n)?t:e}var o=e("./eq"),a=Object.prototype,i=a.hasOwnProperty;t.exports=r},{"./eq":706}],597:[function(e,t,n){function r(e){return o(e)?void 0:e}var o=e("./isPlainObject");t.exports=r},{"./isPlainObject":743}],598:[function(e,t,n){var r=e("./_getNative"),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();t.exports=o},{"./_getNative":611}],599:[function(e,t,n){function r(e,t,n,r,u,c){var d=n&s,f=e.length,p=t.length;if(f!=p&&!(d&&p>f))return!1;var h=c.get(e);if(h&&c.get(t))return h==t;var m=-1,v=!0,b=n&l?new o:void 0;for(c.set(e,t),c.set(t,e);++m<f;){var g=e[m],y=t[m];if(r)var _=d?r(y,g,m,t,e,c):r(g,y,m,e,t,c);if(void 0!==_){if(_)continue;v=!1;break}if(b){if(!a(t,function(e,t){if(!i(b,t)&&(g===e||u(g,e,n,r,c)))return b.push(t)})){v=!1;break}}else if(g!==y&&!u(g,y,n,r,c)){v=!1;break}}return c.delete(e),c.delete(t),v}var o=e("./_SetCache"),a=e("./_arraySome"),i=e("./_cacheHas"),s=1,l=2;t.exports=r},{"./_SetCache":467,"./_arraySome":486,"./_cacheHas":557}],600:[function(e,t,n){function r(e,t,n,r,o,S,x){switch(n){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case M:return!(e.byteLength!=t.byteLength||!S(new a(e),new a(t)));case f:case p:case v:return i(+e,+t);case h:return e.name==t.name&&e.message==t.message;case b:case y:return e==t+"";case m:var k=l;case g:var T=r&c;if(k||(k=u),e.size!=t.size&&!T)return!1;var A=x.get(e);if(A)return A==t;r|=d,x.set(e,t);var P=s(k(e),k(t),r,o,S,x);return x.delete(e),P;case _:if(C)return C.call(e)==C.call(t)}return!1}var o=e("./_Symbol"),a=e("./_Uint8Array"),i=e("./eq"),s=e("./_equalArrays"),l=e("./_mapToArray"),u=e("./_setToArray"),c=1,d=2,f="[object Boolean]",p="[object Date]",h="[object Error]",m="[object Map]",v="[object Number]",b="[object RegExp]",g="[object Set]",y="[object String]",_="[object Symbol]",M="[object ArrayBuffer]",w="[object DataView]",S=o?o.prototype:void 0,C=S?S.valueOf:void 0;t.exports=r},{"./_Symbol":469,"./_Uint8Array":470,"./_equalArrays":599,"./_mapToArray":650,"./_setToArray":670,"./eq":706}],601:[function(e,t,n){function r(e,t,n,r,i,l){var u=n&a,c=o(e),d=c.length,f=o(t),p=f.length;if(d!=p&&!u)return!1;for(var h=d;h--;){var m=c[h];if(!(u?m in t:s.call(t,m)))return!1}var v=l.get(e);if(v&&l.get(t))return v==t;var b=!0;l.set(e,t),l.set(t,e);for(var g=u;++h<d;){m=c[h];var y=e[m],_=t[m];if(r)var M=u?r(_,y,m,t,e,l):r(y,_,m,e,t,l);if(!(void 0===M?y===_||i(y,_,n,r,l):M)){b=!1;break}g||(g="constructor"==m)}if(b&&!g){var w=e.constructor,S=t.constructor;w!=S&&"constructor"in e&&"constructor"in t&&!("function"==typeof w&&w instanceof w&&"function"==typeof S&&S instanceof S)&&(b=!1)}return l.delete(e),l.delete(t),b}var o=e("./_getAllKeys"),a=1,i=Object.prototype,s=i.hasOwnProperty;t.exports=r},{"./_getAllKeys":604}],602:[function(e,t,n){function r(e){return i(a(e,void 0,o),e+"")}var o=e("./flatten"),a=e("./_overRest"),i=e("./_setToString");t.exports=r},{"./_overRest":661,"./_setToString":671,"./flatten":714}],603:[function(e,t,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],604:[function(e,t,n){function r(e){return o(e,i,a)}var o=e("./_baseGetAllKeys"),a=e("./_getSymbols"),i=e("./keys");t.exports=r},{"./_baseGetAllKeys":513,"./_getSymbols":614,"./keys":750}],605:[function(e,t,n){function r(e){return o(e,i,a)}var o=e("./_baseGetAllKeys"),a=e("./_getSymbolsIn"),i=e("./keysIn");t.exports=r},{"./_baseGetAllKeys":513,"./_getSymbolsIn":615,"./keysIn":751}],606:[function(e,t,n){var r=e("./_metaMap"),o=e("./noop"),a=r?function(e){return r.get(e)}:o;t.exports=a},{"./_metaMap":654,"./noop":759}],607:[function(e,t,n){function r(e){for(var t=e.name+"",n=o[t],r=i.call(o,t)?n.length:0;r--;){var a=n[r],s=a.func;if(null==s||s==e)return a.name}return t}var o=e("./_realNames"),a=Object.prototype,i=a.hasOwnProperty;t.exports=r},{"./_realNames":663}],608:[function(e,t,n){function r(e){var t=e;return t.placeholder}t.exports=r},{}],609:[function(e,t,n){function r(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}var o=e("./_isKeyable");t.exports=r},{"./_isKeyable":634}],610:[function(e,t,n){function r(e){for(var t=a(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,o(i)]}return t}var o=e("./_isStrictComparable"),a=e("./keys");t.exports=r},{"./_isStrictComparable":638,"./keys":750}],611:[function(e,t,n){function r(e,t){var n=a(e,t);return o(n)?n:void 0}var o=e("./_baseIsNative"),a=e("./_getValue");t.exports=r},{"./_baseIsNative":524,"./_getValue":617}],612:[function(e,t,n){var r=e("./_overArg"),o=r(Object.getPrototypeOf,Object);t.exports=o},{"./_overArg":660}],613:[function(e,t,n){function r(e){var t=i.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=s.call(e);return r&&(t?e[l]=n:delete e[l]),o}var o=e("./_Symbol"),a=Object.prototype,i=a.hasOwnProperty,s=a.toString,l=o?o.toStringTag:void 0;t.exports=r},{"./_Symbol":469}],614:[function(e,t,n){var r=e("./_arrayFilter"),o=e("./stubArray"),a=Object.prototype,i=a.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(e){return null==e?[]:(e=Object(e),r(s(e),function(t){return i.call(e,t)}))}:o;t.exports=l},{"./_arrayFilter":479,"./stubArray":778}],615:[function(e,t,n){var r=e("./_arrayPush"),o=e("./_getPrototype"),a=e("./_getSymbols"),i=e("./stubArray"),s=Object.getOwnPropertySymbols,l=s?function(e){for(var t=[];e;)r(t,a(e)),e=o(e);return t}:i;t.exports=l},{"./_arrayPush":484,"./_getPrototype":612,"./_getSymbols":614,"./stubArray":778}],616:[function(e,t,n){var r=e("./_DataView"),o=e("./_Map"),a=e("./_Promise"),i=e("./_Set"),s=e("./_WeakMap"),l=e("./_baseGetTag"),u=e("./_toSource"),c="[object Map]",d="[object Object]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",m="[object DataView]",v=u(r),b=u(o),g=u(a),y=u(i),_=u(s),M=l;(r&&M(new r(new ArrayBuffer(1)))!=m||o&&M(new o)!=c||a&&M(a.resolve())!=f||i&&M(new i)!=p||s&&M(new s)!=h)&&(M=function(e){var t=l(e),n=t==d?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case v:return m;case b:return c;case g:return f;case y:return p;case _:return h}return t}),t.exports=M},{"./_DataView":458,"./_Map":463,"./_Promise":465,"./_Set":466,"./_WeakMap":471,"./_baseGetTag":514,"./_toSource":684}],617:[function(e,t,n){function r(e,t){return null==e?void 0:e[t]}t.exports=r},{}],618:[function(e,t,n){function r(e){var t=e.match(o);return t?t[1].split(a):[]}var o=/\{\n\/\* \[wrapped with (.+)\] \*/,a=/,? & /;t.exports=r},{}],619:[function(e,t,n){function r(e,t,n){t=o(t,e);for(var r=-1,c=t.length,d=!1;++r<c;){var f=u(t[r]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++r!=c?d:(c=null==e?0:e.length,!!c&&l(c)&&s(f,c)&&(i(e)||a(e)))}var o=e("./_castPath"),a=e("./isArguments"),i=e("./isArray"),s=e("./_isIndex"),l=e("./isLength"),u=e("./_toKey");t.exports=r},{"./_castPath":560,"./_isIndex":631,"./_toKey":683,"./isArguments":730,"./isArray":731,"./isLength":739}],620:[function(e,t,n){function r(e){return d.test(e)}var o="\\ud800-\\udfff",a="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",s="\\u20d0-\\u20ff",l=a+i+s,u="\\ufe0e\\ufe0f",c="\\u200d",d=RegExp("["+c+o+l+u+"]");
|
22 | t.exports=r},{}],621:[function(e,t,n){function r(){this.__data__=o?o(null):{},this.size=0}var o=e("./_nativeCreate");t.exports=r},{"./_nativeCreate":655}],622:[function(e,t,n){function r(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}t.exports=r},{}],623:[function(e,t,n){function r(e){var t=this.__data__;if(o){var n=t[e];return n===a?void 0:n}return s.call(t,e)?t[e]:void 0}var o=e("./_nativeCreate"),a="__lodash_hash_undefined__",i=Object.prototype,s=i.hasOwnProperty;t.exports=r},{"./_nativeCreate":655}],624:[function(e,t,n){function r(e){var t=this.__data__;return o?void 0!==t[e]:i.call(t,e)}var o=e("./_nativeCreate"),a=Object.prototype,i=a.hasOwnProperty;t.exports=r},{"./_nativeCreate":655}],625:[function(e,t,n){function r(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?a:t,this}var o=e("./_nativeCreate"),a="__lodash_hash_undefined__";t.exports=r},{"./_nativeCreate":655}],626:[function(e,t,n){function r(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&a.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var o=Object.prototype,a=o.hasOwnProperty;t.exports=r},{}],627:[function(e,t,n){function r(e,t,n,r){var N=e.constructor;switch(t){case y:return o(e);case d:case f:return new N((+e));case _:return a(e,r);case M:case w:case S:case C:case x:case k:case T:case A:case P:return c(e,r);case p:return i(e,r,n);case h:case b:return new N(e);case m:return s(e);case v:return l(e,r,n);case g:return u(e)}}var o=e("./_cloneArrayBuffer"),a=e("./_cloneDataView"),i=e("./_cloneMap"),s=e("./_cloneRegExp"),l=e("./_cloneSet"),u=e("./_cloneSymbol"),c=e("./_cloneTypedArray"),d="[object Boolean]",f="[object Date]",p="[object Map]",h="[object Number]",m="[object RegExp]",v="[object Set]",b="[object String]",g="[object Symbol]",y="[object ArrayBuffer]",_="[object DataView]",M="[object Float32Array]",w="[object Float64Array]",S="[object Int8Array]",C="[object Int16Array]",x="[object Int32Array]",k="[object Uint8Array]",T="[object Uint8ClampedArray]",A="[object Uint16Array]",P="[object Uint32Array]";t.exports=r},{"./_cloneArrayBuffer":564,"./_cloneDataView":566,"./_cloneMap":567,"./_cloneRegExp":568,"./_cloneSet":569,"./_cloneSymbol":570,"./_cloneTypedArray":571}],628:[function(e,t,n){function r(e){return"function"!=typeof e.constructor||i(e)?{}:o(a(e))}var o=e("./_baseCreate"),a=e("./_getPrototype"),i=e("./_isPrototype");t.exports=r},{"./_baseCreate":497,"./_getPrototype":612,"./_isPrototype":637}],629:[function(e,t,n){function r(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(o,"{\n/* [wrapped with "+t+"] */\n")}var o=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;t.exports=r},{}],630:[function(e,t,n){function r(e){return i(e)||a(e)||!!(s&&e&&e[s])}var o=e("./_Symbol"),a=e("./isArguments"),i=e("./isArray"),s=o?o.isConcatSpreadable:void 0;t.exports=r},{"./_Symbol":469,"./isArguments":730,"./isArray":731}],631:[function(e,t,n){function r(e,t){return t=null==t?o:t,!!t&&("number"==typeof e||a.test(e))&&e>-1&&e%1==0&&e<t}var o=9007199254740991,a=/^(?:0|[1-9]\d*)$/;t.exports=r},{}],632:[function(e,t,n){function r(e,t,n){if(!s(n))return!1;var r=typeof t;return!!("number"==r?a(n)&&i(t,n.length):"string"==r&&t in n)&&o(n[t],e)}var o=e("./eq"),a=e("./isArrayLike"),i=e("./_isIndex"),s=e("./isObject");t.exports=r},{"./_isIndex":631,"./eq":706,"./isArrayLike":732,"./isObject":741}],633:[function(e,t,n){function r(e,t){if(o(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!a(e))||(s.test(e)||!i.test(e)||null!=t&&e in Object(t))}var o=e("./isArray"),a=e("./isSymbol"),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/;t.exports=r},{"./isArray":731,"./isSymbol":745}],634:[function(e,t,n){function r(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}t.exports=r},{}],635:[function(e,t,n){function r(e){var t=i(e),n=s[t];if("function"!=typeof n||!(t in o.prototype))return!1;if(e===n)return!0;var r=a(n);return!!r&&e===r[0]}var o=e("./_LazyWrapper"),a=e("./_getData"),i=e("./_getFuncName"),s=e("./wrapperLodash");t.exports=r},{"./_LazyWrapper":460,"./_getData":606,"./_getFuncName":607,"./wrapperLodash":796}],636:[function(e,t,n){function r(e){return!!a&&a in e}var o=e("./_coreJsData"),a=function(){var e=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();t.exports=r},{"./_coreJsData":580}],637:[function(e,t,n){function r(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||o;return e===n}var o=Object.prototype;t.exports=r},{}],638:[function(e,t,n){function r(e){return e===e&&!o(e)}var o=e("./isObject");t.exports=r},{"./isObject":741}],639:[function(e,t,n){function r(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}t.exports=r},{}],640:[function(e,t,n){function r(){this.__data__=[],this.size=0}t.exports=r},{}],641:[function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():i.call(t,n,1),--this.size,!0}var o=e("./_assocIndexOf"),a=Array.prototype,i=a.splice;t.exports=r},{"./_assocIndexOf":490}],642:[function(e,t,n){function r(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}var o=e("./_assocIndexOf");t.exports=r},{"./_assocIndexOf":490}],643:[function(e,t,n){function r(e){return o(this.__data__,e)>-1}var o=e("./_assocIndexOf");t.exports=r},{"./_assocIndexOf":490}],644:[function(e,t,n){function r(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var o=e("./_assocIndexOf");t.exports=r},{"./_assocIndexOf":490}],645:[function(e,t,n){function r(){this.size=0,this.__data__={hash:new o,map:new(i||a),string:new o}}var o=e("./_Hash"),a=e("./_ListCache"),i=e("./_Map");t.exports=r},{"./_Hash":459,"./_ListCache":461,"./_Map":463}],646:[function(e,t,n){function r(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}var o=e("./_getMapData");t.exports=r},{"./_getMapData":609}],647:[function(e,t,n){function r(e){return o(this,e).get(e)}var o=e("./_getMapData");t.exports=r},{"./_getMapData":609}],648:[function(e,t,n){function r(e){return o(this,e).has(e)}var o=e("./_getMapData");t.exports=r},{"./_getMapData":609}],649:[function(e,t,n){function r(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var o=e("./_getMapData");t.exports=r},{"./_getMapData":609}],650:[function(e,t,n){function r(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}t.exports=r},{}],651:[function(e,t,n){function r(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}t.exports=r},{}],652:[function(e,t,n){function r(e){var t=o(e,function(e){return n.size===a&&n.clear(),e}),n=t.cache;return t}var o=e("./memoize"),a=500;t.exports=r},{"./memoize":758}],653:[function(e,t,n){function r(e,t){var n=e[1],r=t[1],m=n|r,v=m<(l|u|f),b=r==f&&n==d||r==f&&n==p&&e[7].length<=t[8]||r==(f|p)&&t[7].length<=t[8]&&n==d;if(!v&&!b)return e;r&l&&(e[2]=t[2],m|=n&l?0:c);var g=t[3];if(g){var y=e[3];e[3]=y?o(y,g,t[4]):g,e[4]=y?i(e[3],s):t[4]}return g=t[5],g&&(y=e[5],e[5]=y?a(y,g,t[6]):g,e[6]=y?i(e[5],s):t[6]),g=t[7],g&&(e[7]=g),r&f&&(e[8]=null==e[8]?t[8]:h(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=m,e}var o=e("./_composeArgs"),a=e("./_composeArgsRight"),i=e("./_replaceHolders"),s="__lodash_placeholder__",l=1,u=2,c=4,d=8,f=128,p=256,h=Math.min;t.exports=r},{"./_composeArgs":574,"./_composeArgsRight":575,"./_replaceHolders":665}],654:[function(e,t,n){var r=e("./_WeakMap"),o=r&&new r;t.exports=o},{"./_WeakMap":471}],655:[function(e,t,n){var r=e("./_getNative"),o=r(Object,"create");t.exports=o},{"./_getNative":611}],656:[function(e,t,n){var r=e("./_overArg"),o=r(Object.keys,Object);t.exports=o},{"./_overArg":660}],657:[function(e,t,n){function r(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}t.exports=r},{}],658:[function(e,t,n){var r=e("./_freeGlobal"),o="object"==typeof n&&n&&!n.nodeType&&n,a=o&&"object"==typeof t&&t&&!t.nodeType&&t,i=a&&a.exports===o,s=i&&r.process,l=function(){try{return s&&s.binding&&s.binding("util")}catch(e){}}();t.exports=l},{"./_freeGlobal":603}],659:[function(e,t,n){function r(e){return a.call(e)}var o=Object.prototype,a=o.toString;t.exports=r},{}],660:[function(e,t,n){function r(e,t){return function(n){return e(t(n))}}t.exports=r},{}],661:[function(e,t,n){function r(e,t,n){return t=a(void 0===t?e.length-1:t,0),function(){for(var r=arguments,i=-1,s=a(r.length-t,0),l=Array(s);++i<s;)l[i]=r[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=r[i];return u[t]=n(l),o(e,this,u)}}var o=e("./_apply"),a=Math.max;t.exports=r},{"./_apply":474}],662:[function(e,t,n){function r(e,t){return t.length<2?e:o(e,a(t,0,-1))}var o=e("./_baseGet"),a=e("./_baseSlice");t.exports=r},{"./_baseGet":512,"./_baseSlice":544}],663:[function(e,t,n){var r={};t.exports=r},{}],664:[function(e,t,n){function r(e,t){for(var n=e.length,r=i(t.length,n),s=o(e);r--;){var l=t[r];e[r]=a(l,n)?s[l]:void 0}return e}var o=e("./_copyArray"),a=e("./_isIndex"),i=Math.min;t.exports=r},{"./_copyArray":576,"./_isIndex":631}],665:[function(e,t,n){function r(e,t){for(var n=-1,r=e.length,a=0,i=[];++n<r;){var s=e[n];s!==t&&s!==o||(e[n]=o,i[a++]=n)}return i}var o="__lodash_placeholder__";t.exports=r},{}],666:[function(e,t,n){var r=e("./_freeGlobal"),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();t.exports=a},{"./_freeGlobal":603}],667:[function(e,t,n){function r(e){return this.__data__.set(e,o),this}var o="__lodash_hash_undefined__";t.exports=r},{}],668:[function(e,t,n){function r(e){return this.__data__.has(e)}t.exports=r},{}],669:[function(e,t,n){var r=e("./_baseSetData"),o=e("./_shortOut"),a=o(r);t.exports=a},{"./_baseSetData":542,"./_shortOut":673}],670:[function(e,t,n){function r(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}t.exports=r},{}],671:[function(e,t,n){var r=e("./_baseSetToString"),o=e("./_shortOut"),a=o(r);t.exports=a},{"./_baseSetToString":543,"./_shortOut":673}],672:[function(e,t,n){function r(e,t,n){var r=t+"";return i(e,a(r,s(o(r),n)))}var o=e("./_getWrapDetails"),a=e("./_insertWrapDetails"),i=e("./_setToString"),s=e("./_updateWrapDetails");t.exports=r},{"./_getWrapDetails":618,"./_insertWrapDetails":629,"./_setToString":671,"./_updateWrapDetails":687}],673:[function(e,t,n){function r(e){var t=0,n=0;return function(){var r=i(),s=a-(r-n);if(n=r,s>0){if(++t>=o)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var o=800,a=16,i=Date.now;t.exports=r},{}],674:[function(e,t,n){function r(){this.__data__=new o,this.size=0}var o=e("./_ListCache");t.exports=r},{"./_ListCache":461}],675:[function(e,t,n){function r(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}t.exports=r},{}],676:[function(e,t,n){function r(e){return this.__data__.get(e)}t.exports=r},{}],677:[function(e,t,n){function r(e){return this.__data__.has(e)}t.exports=r},{}],678:[function(e,t,n){function r(e,t){var n=this.__data__;if(n instanceof o){var r=n.__data__;if(!a||r.length<s-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(r)}return n.set(e,t),this.size=n.size,this}var o=e("./_ListCache"),a=e("./_Map"),i=e("./_MapCache"),s=200;t.exports=r},{"./_ListCache":461,"./_Map":463,"./_MapCache":464}],679:[function(e,t,n){function r(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}t.exports=r},{}],680:[function(e,t,n){function r(e){return a(e)?i(e):o(e)}var o=e("./_asciiSize"),a=e("./_hasUnicode"),i=e("./_unicodeSize");t.exports=r},{"./_asciiSize":487,"./_hasUnicode":620,"./_unicodeSize":685}],681:[function(e,t,n){function r(e){return a(e)?i(e):o(e)}var o=e("./_asciiToArray"),a=e("./_hasUnicode"),i=e("./_unicodeToArray");t.exports=r},{"./_asciiToArray":488,"./_hasUnicode":620,"./_unicodeToArray":686}],682:[function(e,t,n){var r=e("./_memoizeCapped"),o=/^\./,a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,s=r(function(e){var t=[];return o.test(e)&&t.push(""),e.replace(a,function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)}),t});t.exports=s},{"./_memoizeCapped":652}],683:[function(e,t,n){function r(e){if("string"==typeof e||o(e))return e;var t=e+"";return"0"==t&&1/e==-a?"-0":t}var o=e("./isSymbol"),a=1/0;t.exports=r},{"./isSymbol":745}],684:[function(e,t,n){function r(e){if(null!=e){try{return a.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var o=Function.prototype,a=o.toString;t.exports=r},{}],685:[function(e,t,n){function r(e){for(var t=S.lastIndex=0;S.test(e);)++t;return t}var o="\\ud800-\\udfff",a="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",s="\\u20d0-\\u20ff",l=a+i+s,u="\\ufe0e\\ufe0f",c="["+o+"]",d="["+l+"]",f="\\ud83c[\\udffb-\\udfff]",p="(?:"+d+"|"+f+")",h="[^"+o+"]",m="(?:\\ud83c[\\udde6-\\uddff]){2}",v="[\\ud800-\\udbff][\\udc00-\\udfff]",b="\\u200d",g=p+"?",y="["+u+"]?",_="(?:"+b+"(?:"+[h,m,v].join("|")+")"+y+g+")*",M=y+g+_,w="(?:"+[h+d+"?",d,m,v,c].join("|")+")",S=RegExp(f+"(?="+f+")|"+w+M,"g");t.exports=r},{}],686:[function(e,t,n){function r(e){return e.match(S)||[]}var o="\\ud800-\\udfff",a="\\u0300-\\u036f",i="\\ufe20-\\ufe2f",s="\\u20d0-\\u20ff",l=a+i+s,u="\\ufe0e\\ufe0f",c="["+o+"]",d="["+l+"]",f="\\ud83c[\\udffb-\\udfff]",p="(?:"+d+"|"+f+")",h="[^"+o+"]",m="(?:\\ud83c[\\udde6-\\uddff]){2}",v="[\\ud800-\\udbff][\\udc00-\\udfff]",b="\\u200d",g=p+"?",y="["+u+"]?",_="(?:"+b+"(?:"+[h,m,v].join("|")+")"+y+g+")*",M=y+g+_,w="(?:"+[h+d+"?",d,m,v,c].join("|")+")",S=RegExp(f+"(?="+f+")|"+w+M,"g");t.exports=r},{}],687:[function(e,t,n){function r(e,t){return o(m,function(n){var r="_."+n[0];t&n[1]&&!a(e,r)&&e.push(r)}),e.sort()}var o=e("./_arrayEach"),a=e("./_arrayIncludes"),i=1,s=2,l=8,u=16,c=32,d=64,f=128,p=256,h=512,m=[["ary",f],["bind",i],["bindKey",s],["curry",l],["curryRight",u],["flip",h],["partial",c],["partialRight",d],["rearg",p]];t.exports=r},{"./_arrayEach":476,"./_arrayIncludes":480}],688:[function(e,t,n){function r(e){if(e instanceof o)return e.clone();var t=new a(e.__wrapped__,e.__chain__);return t.__actions__=i(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var o=e("./_LazyWrapper"),a=e("./_LodashWrapper"),i=e("./_copyArray");t.exports=r},{"./_LazyWrapper":460,"./_LodashWrapper":462,"./_copyArray":576}],689:[function(e,t,n){function r(e,t,n){return t=n?void 0:t,t=e&&null==t?e.length:t,o(e,a,void 0,void 0,void 0,void 0,t)}var o=e("./_createWrap"),a=128;t.exports=r},{"./_createWrap":595}],690:[function(e,t,n){var r=e("./_assignValue"),o=e("./_copyObject"),a=e("./_createAssigner"),i=e("./isArrayLike"),s=e("./_isPrototype"),l=e("./keys"),u=Object.prototype,c=u.hasOwnProperty,d=a(function(e,t){if(s(t)||i(t))return void o(t,l(t),e);for(var n in t)c.call(t,n)&&r(e,n,t[n])});t.exports=d},{"./_assignValue":489,"./_copyObject":577,"./_createAssigner":583,"./_isPrototype":637,"./isArrayLike":732,"./keys":750}],691:[function(e,t,n){var r=e("./_copyObject"),o=e("./_createAssigner"),a=e("./keysIn"),i=o(function(e,t,n,o){r(t,a(t),e,o)});t.exports=i},{"./_copyObject":577,"./_createAssigner":583,"./keysIn":751}],692:[function(e,t,n){function r(e,t){var n;if("function"!=typeof t)throw new TypeError(a);return e=o(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}var o=e("./toInteger"),a="Expected a function";t.exports=r},{"./toInteger":786}],693:[function(e,t,n){var r=e("./_createRound"),o=r("ceil");t.exports=o},{"./_createRound":593}],694:[function(e,t,n){function r(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=a(n),n=n===n?n:0),void 0!==t&&(t=a(t),t=t===t?t:0),o(a(e),t,n)}var o=e("./_baseClamp"),a=e("./toNumber");t.exports=r},{"./_baseClamp":495,"./toNumber":787}],695:[function(e,t,n){function r(e){return o(e,a)}var o=e("./_baseClone"),a=4;t.exports=r},{"./_baseClone":496}],696:[function(e,t,n){function r(e){return o(e,a|i)}var o=e("./_baseClone"),a=1,i=4;t.exports=r},{"./_baseClone":496}],697:[function(e,t,n){function r(){var e=arguments.length;if(!e)return[];for(var t=Array(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return o(s(n)?i(n):[n],a(t,1))}var o=e("./_arrayPush"),a=e("./_baseFlatten"),i=e("./_copyArray"),s=e("./isArray");t.exports=r},{"./_arrayPush":484,"./_baseFlatten":507,"./_copyArray":576,"./isArray":731}],698:[function(e,t,n){function r(e){return function(){return e}}t.exports=r},{}],699:[function(e,t,n){function r(e,t){var n=a(e);return null==t?n:o(n,t)}var o=e("./_baseAssign"),a=e("./_baseCreate");t.exports=r},{"./_baseAssign":492,"./_baseCreate":497}],700:[function(e,t,n){function r(e,t,n){t=n?void 0:t;var i=o(e,a,void 0,void 0,void 0,void 0,void 0,t);return i.placeholder=r.placeholder,i}var o=e("./_createWrap"),a=8;r.placeholder={},t.exports=r},{"./_createWrap":595}],701:[function(e,t,n){function r(e,t,n){function r(t){var n=g,r=y;return g=y=void 0,C=t,M=e.apply(r,n)}function c(e){return C=e,w=setTimeout(p,t),x?r(e):M}function d(e){var n=e-S,r=e-C,o=t-n;return k?u(o,_-r):o}function f(e){var n=e-S,r=e-C;return void 0===S||n>=t||n<0||k&&r>=_}function p(){var e=a();return f(e)?h(e):void(w=setTimeout(p,d(e)))}function h(e){return w=void 0,T&&g?r(e):(g=y=void 0,M)}function m(){void 0!==w&&clearTimeout(w),C=0,g=S=y=w=void 0}function v(){return void 0===w?M:h(a())}function b(){var e=a(),n=f(e);if(g=arguments,y=this,S=e,n){if(void 0===w)return c(S);if(k)return w=setTimeout(p,t),r(S)}return void 0===w&&(w=setTimeout(p,t)),M}var g,y,_,M,w,S,C=0,x=!1,k=!1,T=!0;if("function"!=typeof e)throw new TypeError(s);return t=i(t)||0,o(n)&&(x=!!n.leading,k="maxWait"in n,_=k?l(i(n.maxWait)||0,t):_,T="trailing"in n?!!n.trailing:T),b.cancel=m,b.flush=v,b}var o=e("./isObject"),a=e("./now"),i=e("./toNumber"),s="Expected a function",l=Math.max,u=Math.min;t.exports=r},{"./isObject":741,"./now":760,"./toNumber":787}],702:[function(e,t,n){var r=e("./_apply"),o=e("./assignInWith"),a=e("./_baseRest"),i=e("./_customDefaultsAssignIn"),s=a(function(e){return e.push(void 0,i),r(o,void 0,e)});t.exports=s},{"./_apply":474,"./_baseRest":540,"./_customDefaultsAssignIn":596,"./assignInWith":691}],703:[function(e,t,n){var r=e("./_baseDelay"),o=e("./_baseRest"),a=e("./toNumber"),i=o(function(e,t,n){return r(e,a(t)||0,n)});t.exports=i},{"./_baseDelay":498,"./_baseRest":540,"./toNumber":787}],704:[function(e,t,n){var r=e("./_baseDifference"),o=e("./_baseFlatten"),a=e("./_baseIteratee"),i=e("./_baseRest"),s=e("./isArrayLikeObject"),l=e("./last"),u=i(function(e,t){var n=l(t);return s(n)&&(n=void 0),s(e)?r(e,o(t,1,s,!0),a(n,2)):[]});t.exports=u},{"./_baseDifference":499,"./_baseFlatten":507,"./_baseIteratee":526,"./_baseRest":540,"./isArrayLikeObject":733,"./last":752}],705:[function(e,t,n){function r(e,t,n){e=s(e),t=a(t);var r=e.length;n=void 0===n?r:o(i(n),0,r);var l=n;return n-=t.length,n>=0&&e.slice(n,l)==t}var o=e("./_baseClamp"),a=e("./_baseToString"),i=e("./toInteger"),s=e("./toString");t.exports=r},{"./_baseClamp":495,"./_baseToString":551,"./toInteger":786,"./toString":789}],706:[function(e,t,n){function r(e,t){return e===t||e!==e&&t!==t}t.exports=r},{}],707:[function(e,t,n){function r(e){return e=o(e),e&&i.test(e)?e.replace(a,"\\$&"):e}var o=e("./toString"),a=/[\\^$.*+?()[\]{}|]/g,i=RegExp(a.source);t.exports=r},{"./toString":789}],708:[function(e,t,n){function r(e,t,n){var r=s(e)?o:a;return n&&l(e,t,n)&&(t=void 0),r(e,i(t,3))}var o=e("./_arrayEvery"),a=e("./_baseEvery"),i=e("./_baseIteratee"),s=e("./isArray"),l=e("./_isIterateeCall");t.exports=r},{"./_arrayEvery":478,"./_baseEvery":502,"./_baseIteratee":526,"./_isIterateeCall":632,"./isArray":731}],709:[function(e,t,n){function r(e,t){var n=s(e)?o:a;return n(e,i(t,3))}var o=e("./_arrayFilter"),a=e("./_baseFilter"),i=e("./_baseIteratee"),s=e("./isArray");t.exports=r},{"./_arrayFilter":479,"./_baseFilter":504,"./_baseIteratee":526,"./isArray":731}],710:[function(e,t,n){var r=e("./_createFind"),o=e("./findIndex"),a=r(o);t.exports=a},{"./_createFind":589,"./findIndex":711}],711:[function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var l=null==n?0:i(n);return l<0&&(l=s(r+l,0)),o(e,a(t,3),l)}var o=e("./_baseFindIndex"),a=e("./_baseIteratee"),i=e("./toInteger"),s=Math.max;t.exports=r},{"./_baseFindIndex":505,"./_baseIteratee":526,"./toInteger":786}],712:[function(e,t,n){function r(e,t){return o(e,i(t,3),a)}var o=e("./_baseFindKey"),a=e("./_baseForOwn"),i=e("./_baseIteratee");t.exports=r},{"./_baseFindKey":506,"./_baseForOwn":509,"./_baseIteratee":526}],713:[function(e,t,n){function r(e,t){return o(a(e,t),1)}var o=e("./_baseFlatten"),a=e("./map");t.exports=r},{"./_baseFlatten":507,"./map":754}],714:[function(e,t,n){function r(e){var t=null==e?0:e.length;return t?o(e,1):[]}var o=e("./_baseFlatten");t.exports=r},{"./_baseFlatten":507}],715:[function(e,t,n){var r=e("./_createRound"),o=r("floor");t.exports=o},{"./_createRound":593}],716:[function(e,t,n){function r(e,t){var n=s(e)?o:a;return n(e,i(t))}var o=e("./_arrayEach"),a=e("./_baseEach"),i=e("./_castFunction"),s=e("./isArray");t.exports=r},{"./_arrayEach":476,"./_baseEach":500,"./_castFunction":559,"./isArray":731}],717:[function(e,t,n){function r(e,t){var n=s(e)?o:a;return n(e,i(t))}var o=e("./_arrayEachRight"),a=e("./_baseEachRight"),i=e("./_castFunction"),s=e("./isArray");t.exports=r},{"./_arrayEachRight":477,"./_baseEachRight":501,"./_castFunction":559,"./isArray":731}],718:[function(e,t,n){function r(e,t){return 2==t?function(t,n){return e.apply(void 0,arguments)}:function(t){return e.apply(void 0,arguments)}}function o(e,t){return 2==t?function(t,n){return e(t,n)}:function(t){return e(t)}}function a(e){for(var t=e?e.length:0,n=Array(t);t--;)n[t]=e[t];return n}function i(e){return function(t){return e({},t)}}function s(e,t){return function(){for(var n=arguments.length,r=n-1,o=Array(n);n--;)o[n]=arguments[n];var a=o[t],i=o.slice(0,t);return a&&f.apply(i,a),t!=r&&f.apply(i,o.slice(t+1)),e.apply(this,i)}}function l(e,t){return function(){var n=arguments.length;if(n){for(var r=Array(n);n--;)r[n]=arguments[n];var o=r[0]=t.apply(void 0,r);return e.apply(void 0,r),o}}}function u(e,t,n,f){function p(e,t){if(T.cap){var n=c.iterateeRearg[e];if(n)return M(t,n);var r=!x&&c.iterateeAry[e];if(r)return _(t,r)}return t}function h(e,t,n){return A||T.curry&&n>1?D(t,n):t}function m(e,t,n){if(T.fixed&&(P||!c.skipFixed[e])){var r=c.methodSpread[e],o=r&&r.start;return void 0===o?R(t,n):s(t,o)}return t}function v(e,t,n){return T.rearg&&n>1&&(N||!c.skipRearg[e])?F(t,c.methodRearg[e]||c.aryRearg[n]):t}function b(e,t){t=W(t);for(var n=-1,r=t.length,o=r-1,a=L(Object(e)),i=a;null!=i&&++n<r;){var s=t[n],l=i[s];null!=l&&(i[t[n]]=L(n==o?l:Object(l))),i=i[s]}return a}function g(e){return K.runInContext.convert(e)(void 0)}function y(e,t){var n=c.aliasToReal[e]||e,r=c.remap[n]||n,o=f;return function(e){var a=x?E:z,i=x?E[r]:t,s=j(j({},o),e);return u(a,n,i,s)}}function _(e,t){return w(e,function(e){return"function"==typeof e?o(e,t):e})}function M(e,t){return w(e,function(e){var n=t.length;return r(F(o(e,n),t),n)})}function w(e,t){return function(){var n=arguments.length;if(!n)return e();for(var r=Array(n);n--;)r[n]=arguments[n];var o=T.rearg?0:n-1;return r[o]=t(r[o]),e.apply(void 0,r)}}function S(e,t){var n,r=c.aliasToReal[e]||e,o=t,s=X[r];return s?o=s(t):T.immutable&&(c.mutate.array[r]?o=l(t,a):c.mutate.object[r]?o=l(t,i(t)):c.mutate.set[r]&&(o=l(t,b))),I(H,function(e){return I(c.aryMethod[e],function(t){if(r==t){var a=c.methodSpread[r],i=a&&a.afterRearg;return n=i?m(r,v(r,o,e),e):v(r,m(r,o,e),e),n=p(r,n),n=h(r,n,e),!1}}),!n}),n||(n=o),n==t&&(n=A?D(n,1):function(){return t.apply(this,arguments)}),n.convert=y(r,t),c.placeholder[r]&&(C=!0,n.placeholder=t.placeholder=O),n}var C,x="function"==typeof t,k=t===Object(t);if(k&&(f=n,n=t,t=void 0),null==n)throw new TypeError;f||(f={});var T={cap:!("cap"in f)||f.cap,curry:!("curry"in f)||f.curry,fixed:!("fixed"in f)||f.fixed,immutable:!("immutable"in f)||f.immutable,rearg:!("rearg"in f)||f.rearg},A="curry"in f&&f.curry,P="fixed"in f&&f.fixed,N="rearg"in f&&f.rearg,O=x?n:d,E=x?n.runInContext():void 0,z=x?n:{ary:e.ary,assign:e.assign,clone:e.clone,curry:e.curry,forEach:e.forEach,isArray:e.isArray,isFunction:e.isFunction,iteratee:e.iteratee,keys:e.keys,rearg:e.rearg,toInteger:e.toInteger,toPath:e.toPath},R=z.ary,j=z.assign,L=z.clone,D=z.curry,I=z.forEach,B=z.isArray,V=z.isFunction,q=z.keys,F=z.rearg,U=z.toInteger,W=z.toPath,H=q(c.aryMethod),X={castArray:function(e){return function(){var t=arguments[0];return B(t)?e(a(t)):e.apply(void 0,arguments)}},iteratee:function(e){return function(){var t=arguments[0],n=arguments[1],r=e(t,n),a=r.length;return T.cap&&"number"==typeof n?(n=n>2?n-2:1,a&&a<=n?r:o(r,n)):r}},mixin:function(e){return function(t){var n=this;if(!V(n))return e(n,Object(t));var r=[];return I(q(t),function(e){V(t[e])&&r.push([e,n.prototype[e]])}),e(n,Object(t)),I(r,function(e){var t=e[1];V(t)?n.prototype[e[0]]=t:delete n.prototype[e[0]]}),n}},nthArg:function(e){return function(t){var n=t<0?1:U(t)+1;return D(e(t),n)}},rearg:function(e){return function(t,n){var r=n?n.length:0;return D(e(t,n),r)}},runInContext:function(t){return function(n){return u(e,t(n),f)}}};if(!k)return S(t,n);var K=n,G=[];return I(H,function(e){I(c.aryMethod[e],function(e){var t=K[c.remap[e]||e];t&&G.push([e,S(e,t)])})}),I(q(K),function(e){var t=K[e];if("function"==typeof t){for(var n=G.length;n--;)if(G[n][0]==e)return;t.convert=y(e,t),G.push([e,t])}}),I(G,function(e){K[e[0]]=e[1]}),K.convert=g,C&&(K.placeholder=O),I(q(K),function(e){I(c.realToAlias[e]||[],function(t){K[t]=K[e]})}),K}var c=e("./_mapping"),d=e("./placeholder"),f=Array.prototype.push;t.exports=u},{"./_mapping":719,"./placeholder":722}],719:[function(e,t,n){n.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},n.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},n.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},n.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},n.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},n.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},n.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},n.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},n.placeholder={bind:!0,bindKey:!0,curry:!0,curryRight:!0,partial:!0,partialRight:!0},n.realToAlias=function(){var e=Object.prototype.hasOwnProperty,t=n.aliasToReal,r={};for(var o in t){var a=t[o];e.call(r,a)?r[a].push(o):r[a]=[o]}return r}(),n.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",
|
23 | zipAll:"zip"},n.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},n.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},{}],720:[function(e,t,n){t.exports={ary:e("../ary"),assign:e("../_baseAssign"),clone:e("../clone"),curry:e("../curry"),forEach:e("../_arrayEach"),isArray:e("../isArray"),isFunction:e("../isFunction"),iteratee:e("../iteratee"),keys:e("../_baseKeys"),rearg:e("../rearg"),toInteger:e("../toInteger"),toPath:e("../toPath")}},{"../_arrayEach":476,"../_baseAssign":492,"../_baseKeys":527,"../ary":689,"../clone":695,"../curry":700,"../isArray":731,"../isFunction":737,"../iteratee":747,"../rearg":767,"../toInteger":786,"../toPath":788}],721:[function(e,t,n){function r(e,t,n){return o(a,e,t,n)}var o=e("./_baseConvert"),a=e("./_util");t.exports=r},{"./_baseConvert":718,"./_util":720}],722:[function(e,t,n){t.exports={}},{}],723:[function(e,t,n){var r=e("./convert"),o=r("sortBy",e("../sortBy"));o.placeholder=e("./placeholder"),t.exports=o},{"../sortBy":775,"./convert":721,"./placeholder":722}],724:[function(e,t,n){function r(e,t,n){var r=null==e?void 0:o(e,t);return void 0===r?n:r}var o=e("./_baseGet");t.exports=r},{"./_baseGet":512}],725:[function(e,t,n){var r=e("./_baseAssignValue"),o=e("./_createAggregator"),a=Object.prototype,i=a.hasOwnProperty,s=o(function(e,t,n){i.call(e,n)?e[n].push(t):r(e,n,[t])});t.exports=s},{"./_baseAssignValue":494,"./_createAggregator":582}],726:[function(e,t,n){function r(e,t){return null!=e&&a(e,t,o)}var o=e("./_baseHasIn"),a=e("./_hasPath");t.exports=r},{"./_baseHasIn":516,"./_hasPath":619}],727:[function(e,t,n){function r(e){return e}t.exports=r},{}],728:[function(e,t,n){function r(e,t,n,r){e=a(e)?e:l(e),n=n&&!r?s(n):0;var c=e.length;return n<0&&(n=u(c+n,0)),i(e)?n<=c&&e.indexOf(t,n)>-1:!!c&&o(e,t,n)>-1}var o=e("./_baseIndexOf"),a=e("./isArrayLike"),i=e("./isString"),s=e("./toInteger"),l=e("./values"),u=Math.max;t.exports=r},{"./_baseIndexOf":517,"./isArrayLike":732,"./isString":744,"./toInteger":786,"./values":794}],729:[function(e,t,n){var r=e("./_arrayMap"),o=e("./_baseIntersection"),a=e("./_baseRest"),i=e("./_castArrayLikeObject"),s=a(function(e){var t=r(e,i);return t.length&&t[0]===e[0]?o(t):[]});t.exports=s},{"./_arrayMap":483,"./_baseIntersection":518,"./_baseRest":540,"./_castArrayLikeObject":558}],730:[function(e,t,n){var r=e("./_baseIsArguments"),o=e("./isObjectLike"),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};t.exports=l},{"./_baseIsArguments":519,"./isObjectLike":742}],731:[function(e,t,n){var r=Array.isArray;t.exports=r},{}],732:[function(e,t,n){function r(e){return null!=e&&a(e.length)&&!o(e)}var o=e("./isFunction"),a=e("./isLength");t.exports=r},{"./isFunction":737,"./isLength":739}],733:[function(e,t,n){function r(e){return a(e)&&o(e)}var o=e("./isArrayLike"),a=e("./isObjectLike");t.exports=r},{"./isArrayLike":732,"./isObjectLike":742}],734:[function(e,t,n){var r=e("./_root"),o=e("./stubFalse"),a="object"==typeof n&&n&&!n.nodeType&&n,i=a&&"object"==typeof t&&t&&!t.nodeType&&t,s=i&&i.exports===a,l=s?r.Buffer:void 0,u=l?l.isBuffer:void 0,c=u||o;t.exports=c},{"./_root":666,"./stubFalse":779}],735:[function(e,t,n){function r(e){if(null==e)return!0;if(l(e)&&(s(e)||"string"==typeof e||"function"==typeof e.splice||u(e)||d(e)||i(e)))return!e.length;var t=a(e);if(t==f||t==p)return!e.size;if(c(e))return!o(e).length;for(var n in e)if(m.call(e,n))return!1;return!0}var o=e("./_baseKeys"),a=e("./_getTag"),i=e("./isArguments"),s=e("./isArray"),l=e("./isArrayLike"),u=e("./isBuffer"),c=e("./_isPrototype"),d=e("./isTypedArray"),f="[object Map]",p="[object Set]",h=Object.prototype,m=h.hasOwnProperty;t.exports=r},{"./_baseKeys":527,"./_getTag":616,"./_isPrototype":637,"./isArguments":730,"./isArray":731,"./isArrayLike":732,"./isBuffer":734,"./isTypedArray":746}],736:[function(e,t,n){function r(e,t){return o(e,t)}var o=e("./_baseIsEqual");t.exports=r},{"./_baseIsEqual":520}],737:[function(e,t,n){function r(e){if(!a(e))return!1;var t=o(e);return t==s||t==l||t==i||t==u}var o=e("./_baseGetTag"),a=e("./isObject"),i="[object AsyncFunction]",s="[object Function]",l="[object GeneratorFunction]",u="[object Proxy]";t.exports=r},{"./_baseGetTag":514,"./isObject":741}],738:[function(e,t,n){function r(e){return"number"==typeof e&&e==o(e)}var o=e("./toInteger");t.exports=r},{"./toInteger":786}],739:[function(e,t,n){function r(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}var o=9007199254740991;t.exports=r},{}],740:[function(e,t,n){function r(e){return"number"==typeof e||a(e)&&o(e)==i}var o=e("./_baseGetTag"),a=e("./isObjectLike"),i="[object Number]";t.exports=r},{"./_baseGetTag":514,"./isObjectLike":742}],741:[function(e,t,n){function r(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}t.exports=r},{}],742:[function(e,t,n){function r(e){return null!=e&&"object"==typeof e}t.exports=r},{}],743:[function(e,t,n){function r(e){if(!i(e)||o(e)!=s)return!1;var t=a(e);if(null===t)return!0;var n=d.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}var o=e("./_baseGetTag"),a=e("./_getPrototype"),i=e("./isObjectLike"),s="[object Object]",l=Function.prototype,u=Object.prototype,c=l.toString,d=u.hasOwnProperty,f=c.call(Object);t.exports=r},{"./_baseGetTag":514,"./_getPrototype":612,"./isObjectLike":742}],744:[function(e,t,n){function r(e){return"string"==typeof e||!a(e)&&i(e)&&o(e)==s}var o=e("./_baseGetTag"),a=e("./isArray"),i=e("./isObjectLike"),s="[object String]";t.exports=r},{"./_baseGetTag":514,"./isArray":731,"./isObjectLike":742}],745:[function(e,t,n){function r(e){return"symbol"==typeof e||a(e)&&o(e)==i}var o=e("./_baseGetTag"),a=e("./isObjectLike"),i="[object Symbol]";t.exports=r},{"./_baseGetTag":514,"./isObjectLike":742}],746:[function(e,t,n){var r=e("./_baseIsTypedArray"),o=e("./_baseUnary"),a=e("./_nodeUtil"),i=a&&a.isTypedArray,s=i?o(i):r;t.exports=s},{"./_baseIsTypedArray":525,"./_baseUnary":552,"./_nodeUtil":658}],747:[function(e,t,n){function r(e){return a("function"==typeof e?e:o(e,i))}var o=e("./_baseClone"),a=e("./_baseIteratee"),i=1;t.exports=r},{"./_baseClone":496,"./_baseIteratee":526}],748:[function(e,t,n){function r(e,t){return null==e?"":a.call(e,t)}var o=Array.prototype,a=o.join;t.exports=r},{}],749:[function(e,t,n){var r=e("./_baseAssignValue"),o=e("./_createAggregator"),a=o(function(e,t,n){r(e,n,t)});t.exports=a},{"./_baseAssignValue":494,"./_createAggregator":582}],750:[function(e,t,n){function r(e){return i(e)?o(e):a(e)}var o=e("./_arrayLikeKeys"),a=e("./_baseKeys"),i=e("./isArrayLike");t.exports=r},{"./_arrayLikeKeys":482,"./_baseKeys":527,"./isArrayLike":732}],751:[function(e,t,n){function r(e){return i(e)?o(e,!0):a(e)}var o=e("./_arrayLikeKeys"),a=e("./_baseKeysIn"),i=e("./isArrayLike");t.exports=r},{"./_arrayLikeKeys":482,"./_baseKeysIn":528,"./isArrayLike":732}],752:[function(e,t,n){function r(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}t.exports=r},{}],753:[function(e,t,n){(function(e){(function(){function r(e,t){return e.set(t[0],t[1]),e}function o(e,t){return e.add(t),e}function a(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function i(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(r,i,n(i),e)}return r}function s(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function l(e,t){for(var n=null==e?0:e.length;n--&&t(e[n],n,e)!==!1;);return e}function u(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function c(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}function d(e,t){var n=null==e?0:e.length;return!!n&&w(e,t,0)>-1}function f(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function p(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function h(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function m(e,t,n,r){var o=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}function v(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function b(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function g(e){return e.split("")}function y(e){return e.match(qt)||[]}function _(e,t,n){var r;return n(e,function(e,n,o){if(t(e,n,o))return r=n,!1}),r}function M(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}function w(e,t,n){return t===t?Y(e,t,n):M(e,C,n)}function S(e,t,n,r){for(var o=n-1,a=e.length;++o<a;)if(r(e[o],t))return o;return-1}function C(e){return e!==e}function x(e,t){var n=null==e?0:e.length;return n?N(e,t)/n:je}function k(e){return function(t){return null==t?ne:t[e]}}function T(e){return function(t){return null==e?ne:e[t]}}function A(e,t,n,r,o){return o(e,function(e,o,a){n=r?(r=!1,e):t(n,e,o,a)}),n}function P(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function N(e,t){for(var n,r=-1,o=e.length;++r<o;){var a=t(e[r]);a!==ne&&(n=n===ne?a:n+a)}return n}function O(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function E(e,t){return p(t,function(t){return[t,e[t]]})}function z(e){return function(t){return e(t)}}function R(e,t){return p(t,function(t){return e[t]})}function j(e,t){return e.has(t)}function L(e,t){for(var n=-1,r=e.length;++n<r&&w(t,e[n],0)>-1;);return n}function D(e,t){for(var n=e.length;n--&&w(t,e[n],0)>-1;);return n}function I(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function B(e){return"\\"+er[e]}function V(e,t){return null==e?ne:e[t]}function q(e){return Hn.test(e)}function F(e){return Xn.test(e)}function U(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function W(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function H(e,t){return function(n){return e(t(n))}}function X(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var i=e[n];i!==t&&i!==ue||(e[n]=ue,a[o++]=n)}return a}function K(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function G(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function Y(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function $(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}function Q(e){return q(e)?Z(e):br(e)}function J(e){return q(e)?ee(e):g(e)}function Z(e){for(var t=Un.lastIndex=0;Un.test(e);)++t;return t}function ee(e){return e.match(Un)||[]}function te(e){return e.match(Wn)||[]}var ne,re="4.17.4",oe=200,ae="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",ie="Expected a function",se="__lodash_hash_undefined__",le=500,ue="__lodash_placeholder__",ce=1,de=2,fe=4,pe=1,he=2,me=1,ve=2,be=4,ge=8,ye=16,_e=32,Me=64,we=128,Se=256,Ce=512,xe=30,ke="...",Te=800,Ae=16,Pe=1,Ne=2,Oe=3,Ee=1/0,ze=9007199254740991,Re=1.7976931348623157e308,je=NaN,Le=4294967295,De=Le-1,Ie=Le>>>1,Be=[["ary",we],["bind",me],["bindKey",ve],["curry",ge],["curryRight",ye],["flip",Ce],["partial",_e],["partialRight",Me],["rearg",Se]],Ve="[object Arguments]",qe="[object Array]",Fe="[object AsyncFunction]",Ue="[object Boolean]",We="[object Date]",He="[object DOMException]",Xe="[object Error]",Ke="[object Function]",Ge="[object GeneratorFunction]",Ye="[object Map]",$e="[object Number]",Qe="[object Null]",Je="[object Object]",Ze="[object Promise]",et="[object Proxy]",tt="[object RegExp]",nt="[object Set]",rt="[object String]",ot="[object Symbol]",at="[object Undefined]",it="[object WeakMap]",st="[object WeakSet]",lt="[object ArrayBuffer]",ut="[object DataView]",ct="[object Float32Array]",dt="[object Float64Array]",ft="[object Int8Array]",pt="[object Int16Array]",ht="[object Int32Array]",mt="[object Uint8Array]",vt="[object Uint8ClampedArray]",bt="[object Uint16Array]",gt="[object Uint32Array]",yt=/\b__p \+= '';/g,_t=/\b(__p \+=) '' \+/g,Mt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,St=/[&<>"']/g,Ct=RegExp(wt.source),xt=RegExp(St.source),kt=/<%-([\s\S]+?)%>/g,Tt=/<%([\s\S]+?)%>/g,At=/<%=([\s\S]+?)%>/g,Pt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nt=/^\w*$/,Ot=/^\./,Et=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zt=/[\\^$.*+?()[\]{}|]/g,Rt=RegExp(zt.source),jt=/^\s+|\s+$/g,Lt=/^\s+/,Dt=/\s+$/,It=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bt=/\{\n\/\* \[wrapped with (.+)\] \*/,Vt=/,? & /,qt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ft=/\\(\\)?/g,Ut=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Wt=/\w*$/,Ht=/^[-+]0x[0-9a-f]+$/i,Xt=/^0b[01]+$/i,Kt=/^\[object .+?Constructor\]$/,Gt=/^0o[0-7]+$/i,Yt=/^(?:0|[1-9]\d*)$/,$t=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Qt=/($^)/,Jt=/['\n\r\u2028\u2029\\]/g,Zt="\\ud800-\\udfff",en="\\u0300-\\u036f",tn="\\ufe20-\\ufe2f",nn="\\u20d0-\\u20ff",rn=en+tn+nn,on="\\u2700-\\u27bf",an="a-z\\xdf-\\xf6\\xf8-\\xff",sn="\\xac\\xb1\\xd7\\xf7",ln="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",un="\\u2000-\\u206f",cn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",dn="A-Z\\xc0-\\xd6\\xd8-\\xde",fn="\\ufe0e\\ufe0f",pn=sn+ln+un+cn,hn="['’]",mn="["+Zt+"]",vn="["+pn+"]",bn="["+rn+"]",gn="\\d+",yn="["+on+"]",_n="["+an+"]",Mn="[^"+Zt+pn+gn+on+an+dn+"]",wn="\\ud83c[\\udffb-\\udfff]",Sn="(?:"+bn+"|"+wn+")",Cn="[^"+Zt+"]",xn="(?:\\ud83c[\\udde6-\\uddff]){2}",kn="[\\ud800-\\udbff][\\udc00-\\udfff]",Tn="["+dn+"]",An="\\u200d",Pn="(?:"+_n+"|"+Mn+")",Nn="(?:"+Tn+"|"+Mn+")",On="(?:"+hn+"(?:d|ll|m|re|s|t|ve))?",En="(?:"+hn+"(?:D|LL|M|RE|S|T|VE))?",zn=Sn+"?",Rn="["+fn+"]?",jn="(?:"+An+"(?:"+[Cn,xn,kn].join("|")+")"+Rn+zn+")*",Ln="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Dn="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",In=Rn+zn+jn,Bn="(?:"+[yn,xn,kn].join("|")+")"+In,Vn="(?:"+[Cn+bn+"?",bn,xn,kn,mn].join("|")+")",qn=RegExp(hn,"g"),Fn=RegExp(bn,"g"),Un=RegExp(wn+"(?="+wn+")|"+Vn+In,"g"),Wn=RegExp([Tn+"?"+_n+"+"+On+"(?="+[vn,Tn,"$"].join("|")+")",Nn+"+"+En+"(?="+[vn,Tn+Pn,"$"].join("|")+")",Tn+"?"+Pn+"+"+On,Tn+"+"+En,Dn,Ln,gn,Bn].join("|"),"g"),Hn=RegExp("["+An+Zt+rn+fn+"]"),Xn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Kn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Gn=-1,Yn={};Yn[ct]=Yn[dt]=Yn[ft]=Yn[pt]=Yn[ht]=Yn[mt]=Yn[vt]=Yn[bt]=Yn[gt]=!0,Yn[Ve]=Yn[qe]=Yn[lt]=Yn[Ue]=Yn[ut]=Yn[We]=Yn[Xe]=Yn[Ke]=Yn[Ye]=Yn[$e]=Yn[Je]=Yn[tt]=Yn[nt]=Yn[rt]=Yn[it]=!1;var $n={};$n[Ve]=$n[qe]=$n[lt]=$n[ut]=$n[Ue]=$n[We]=$n[ct]=$n[dt]=$n[ft]=$n[pt]=$n[ht]=$n[Ye]=$n[$e]=$n[Je]=$n[tt]=$n[nt]=$n[rt]=$n[ot]=$n[mt]=$n[vt]=$n[bt]=$n[gt]=!0,$n[Xe]=$n[Ke]=$n[it]=!1;var Qn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Jn={"&":"&","<":"<",">":">",'"':""","'":"'"},Zn={"&":"&","<":"<",">":">",""":'"',"'":"'"},er={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},tr=parseFloat,nr=parseInt,rr="object"==typeof e&&e&&e.Object===Object&&e,or="object"==typeof self&&self&&self.Object===Object&&self,ar=rr||or||Function("return this")(),ir="object"==typeof n&&n&&!n.nodeType&&n,sr=ir&&"object"==typeof t&&t&&!t.nodeType&&t,lr=sr&&sr.exports===ir,ur=lr&&rr.process,cr=function(){try{return ur&&ur.binding&&ur.binding("util")}catch(e){}}(),dr=cr&&cr.isArrayBuffer,fr=cr&&cr.isDate,pr=cr&&cr.isMap,hr=cr&&cr.isRegExp,mr=cr&&cr.isSet,vr=cr&&cr.isTypedArray,br=k("length"),gr=T(Qn),yr=T(Jn),_r=T(Zn),Mr=function e(t){function n(e){if(ul(e)&&!Mf(e)&&!(e instanceof Y)){if(e instanceof T)return e;if(_c.call(e,"__wrapped__"))return ii(e)}return new T(e)}function g(){}function T(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=ne}function Y(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Le,this.__views__=[]}function Z(){var e=new Y(this.__wrapped__);return e.__actions__=qo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=qo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=qo(this.__views__),e}function ee(){if(this.__filtered__){var e=new Y(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function qt(){var e=this.__wrapped__.value(),t=this.__dir__,n=Mf(e),r=t<0,o=n?e.length:0,a=Na(0,o,this.__views__),i=a.start,s=a.end,l=s-i,u=r?s:i-1,c=this.__iteratees__,d=c.length,f=0,p=$c(l,this.__takeCount__);if(!n||!r&&o==l&&p==l)return wo(e,this.__actions__);var h=[];e:for(;l--&&f<p;){u+=t;for(var m=-1,v=e[u];++m<d;){var b=c[m],g=b.iteratee,y=b.type,_=g(v);if(y==Ne)v=_;else if(!_){if(y==Pe)continue e;break e}}h[f++]=v}return h}function Zt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function en(){this.__data__=id?id(null):{},this.size=0}function tn(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function nn(e){var t=this.__data__;if(id){var n=t[e];return n===se?ne:n}return _c.call(t,e)?t[e]:ne}function rn(e){var t=this.__data__;return id?t[e]!==ne:_c.call(t,e)}function on(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=id&&t===ne?se:t,this}function an(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function sn(){this.__data__=[],this.size=0}function ln(e){var t=this.__data__,n=zn(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Rc.call(t,n,1),--this.size,!0}function un(e){var t=this.__data__,n=zn(t,e);return n<0?ne:t[n][1]}function cn(e){return zn(this.__data__,e)>-1}function dn(e,t){var n=this.__data__,r=zn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function fn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function pn(){this.size=0,this.__data__={hash:new Zt,map:new(nd||an),string:new Zt}}function hn(e){var t=ka(this,e).delete(e);return this.size-=t?1:0,t}function mn(e){return ka(this,e).get(e)}function vn(e){return ka(this,e).has(e)}function bn(e,t){var n=ka(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function gn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new fn;++t<n;)this.add(e[t])}function yn(e){return this.__data__.set(e,se),this}function _n(e){return this.__data__.has(e)}function Mn(e){var t=this.__data__=new an(e);this.size=t.size}function wn(){this.__data__=new an,this.size=0}function Sn(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Cn(e){return this.__data__.get(e)}function xn(e){return this.__data__.has(e)}function kn(e,t){var n=this.__data__;if(n instanceof an){var r=n.__data__;if(!nd||r.length<oe-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new fn(r)}return n.set(e,t),this.size=n.size,this}function Tn(e,t){var n=Mf(e),r=!n&&_f(e),o=!n&&!r&&Sf(e),a=!n&&!r&&!o&&Af(e),i=n||r||o||a,s=i?O(e.length,pc):[],l=s.length;for(var u in e)!t&&!_c.call(e,u)||i&&("length"==u||o&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Ia(u,l))||s.push(u);return s}function An(e){var t=e.length;return t?e[no(0,t-1)]:ne}function Pn(e,t){return ni(qo(e),Bn(t,0,e.length))}function Nn(e){return ni(qo(e))}function On(e,t,n){(n===ne||Ys(e[t],n))&&(n!==ne||t in e)||Dn(e,t,n)}function En(e,t,n){var r=e[t];_c.call(e,t)&&Ys(r,n)&&(n!==ne||t in e)||Dn(e,t,n)}function zn(e,t){for(var n=e.length;n--;)if(Ys(e[n][0],t))return n;return-1}function Rn(e,t,n,r){return gd(e,function(e,o,a){t(r,e,n(e),a)}),r}function jn(e,t){return e&&Fo(t,Wl(t),e)}function Ln(e,t){return e&&Fo(t,Hl(t),e)}function Dn(e,t,n){"__proto__"==t&&Ic?Ic(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function In(e,t){for(var n=-1,r=t.length,o=ic(r),a=null==e;++n<r;)o[n]=a?ne:ql(e,t[n]);return o}function Bn(e,t,n){return e===e&&(n!==ne&&(e=e<=n?e:n),t!==ne&&(e=e>=t?e:t)),e}function Vn(e,t,n,r,o,a){var i,l=t&ce,u=t&de,c=t&fe;if(n&&(i=o?n(e,r,o,a):n(e)),i!==ne)return i;if(!ll(e))return e;var d=Mf(e);if(d){if(i=za(e),!l)return qo(e,i)}else{var f=Nd(e),p=f==Ke||f==Ge;if(Sf(e))return Po(e,l);if(f==Je||f==Ve||p&&!o){if(i=u||p?{}:Ra(e),!l)return u?Wo(e,Ln(i,e)):Uo(e,jn(i,e))}else{if(!$n[f])return o?e:{};i=ja(e,f,Vn,l)}}a||(a=new Mn);var h=a.get(e);if(h)return h;a.set(e,i);var m=c?u?wa:Ma:u?Hl:Wl,v=d?ne:m(e);return s(v||e,function(r,o){v&&(o=r,r=e[o]),En(i,o,Vn(r,t,n,o,e,a))}),i}function Un(e){var t=Wl(e);return function(n){return Wn(n,e,t)}}function Wn(e,t,n){var r=n.length;if(null==e)return!r;for(e=dc(e);r--;){var o=n[r],a=t[o],i=e[o];if(i===ne&&!(o in e)||!a(i))return!1}return!0}function Hn(e,t,n){if("function"!=typeof e)throw new hc(ie);return zd(function(){e.apply(ne,n)},t)}function Xn(e,t,n,r){var o=-1,a=d,i=!0,s=e.length,l=[],u=t.length;if(!s)return l;n&&(t=p(t,z(n))),r?(a=f,i=!1):t.length>=oe&&(a=j,i=!1,t=new gn(t));e:for(;++o<s;){var c=e[o],h=null==n?c:n(c);if(c=r||0!==c?c:0,i&&h===h){for(var m=u;m--;)if(t[m]===h)continue e;l.push(c)}else a(t,h,r)||l.push(c)}return l}function Qn(e,t){var n=!0;return gd(e,function(e,r,o){return n=!!t(e,r,o)}),n}function Jn(e,t,n){for(var r=-1,o=e.length;++r<o;){var a=e[r],i=t(a);if(null!=i&&(s===ne?i===i&&!_l(i):n(i,s)))var s=i,l=a}return l}function Zn(e,t,n,r){var o=e.length;for(n=kl(n),n<0&&(n=-n>o?0:o+n),r=r===ne||r>o?o:kl(r),r<0&&(r+=o),r=n>r?0:Tl(r);n<r;)e[n++]=t;return e}function er(e,t){var n=[];return gd(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}function rr(e,t,n,r,o){var a=-1,i=e.length;for(n||(n=Da),o||(o=[]);++a<i;){var s=e[a];t>0&&n(s)?t>1?rr(s,t-1,n,r,o):h(o,s):r||(o[o.length]=s)}return o}function or(e,t){return e&&_d(e,t,Wl)}function ir(e,t){return e&&Md(e,t,Wl)}function sr(e,t){return c(t,function(t){return al(e[t])})}function ur(e,t){t=To(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[ri(t[n++])];return n&&n==r?e:ne}function cr(e,t,n){var r=t(e);return Mf(e)?r:h(r,n(e))}function br(e){return null==e?e===ne?at:Qe:Dc&&Dc in dc(e)?Pa(e):$a(e)}function Mr(e,t){return e>t}function Sr(e,t){return null!=e&&_c.call(e,t)}function Cr(e,t){return null!=e&&t in dc(e)}function xr(e,t,n){return e>=$c(t,n)&&e<Yc(t,n)}function kr(e,t,n){for(var r=n?f:d,o=e[0].length,a=e.length,i=a,s=ic(a),l=1/0,u=[];i--;){var c=e[i];i&&t&&(c=p(c,z(t))),l=$c(c.length,l),s[i]=!n&&(t||o>=120&&c.length>=120)?new gn(i&&c):ne}c=e[0];var h=-1,m=s[0];e:for(;++h<o&&u.length<l;){var v=c[h],b=t?t(v):v;if(v=n||0!==v?v:0,!(m?j(m,b):r(u,b,n))){for(i=a;--i;){var g=s[i];if(!(g?j(g,b):r(e[i],b,n)))continue e}m&&m.push(b),u.push(v)}}return u}function Tr(e,t,n,r){return or(e,function(e,o,a){t(r,n(e),o,a)}),r}function Ar(e,t,n){t=To(t,e),e=Ja(e,t);var r=null==e?e:e[ri(xi(t))];return null==r?ne:a(r,e,n)}function Pr(e){return ul(e)&&br(e)==Ve}function Nr(e){return ul(e)&&br(e)==lt}function Or(e){return ul(e)&&br(e)==We}function Er(e,t,n,r,o){return e===t||(null==e||null==t||!ul(e)&&!ul(t)?e!==e&&t!==t:zr(e,t,n,r,Er,o))}function zr(e,t,n,r,o,a){var i=Mf(e),s=Mf(t),l=i?qe:Nd(e),u=s?qe:Nd(t);l=l==Ve?Je:l,u=u==Ve?Je:u;var c=l==Je,d=u==Je,f=l==u;if(f&&Sf(e)){if(!Sf(t))return!1;i=!0,c=!1}if(f&&!c)return a||(a=new Mn),i||Af(e)?ba(e,t,n,r,o,a):ga(e,t,l,n,r,o,a);if(!(n&pe)){var p=c&&_c.call(e,"__wrapped__"),h=d&&_c.call(t,"__wrapped__");if(p||h){var m=p?e.value():e,v=h?t.value():t;return a||(a=new Mn),o(m,v,n,r,a)}}return!!f&&(a||(a=new Mn),ya(e,t,n,r,o,a))}function Rr(e){return ul(e)&&Nd(e)==Ye}function jr(e,t,n,r){var o=n.length,a=o,i=!r;if(null==e)return!a;for(e=dc(e);o--;){var s=n[o];if(i&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<a;){s=n[o];var l=s[0],u=e[l],c=s[1];if(i&&s[2]){if(u===ne&&!(l in e))return!1}else{var d=new Mn;if(r)var f=r(u,c,l,e,t,d);if(!(f===ne?Er(c,u,pe|he,r,d):f))return!1}}return!0}function Lr(e){if(!ll(e)||Ua(e))return!1;var t=al(e)?kc:Kt;return t.test(oi(e))}function Dr(e){return ul(e)&&br(e)==tt}function Ir(e){return ul(e)&&Nd(e)==nt}function Br(e){return ul(e)&&sl(e.length)&&!!Yn[br(e)]}function Vr(e){return"function"==typeof e?e:null==e?Ru:"object"==typeof e?Mf(e)?Xr(e[0],e[1]):Hr(e):Fu(e)}function qr(e){if(!Wa(e))return Gc(e);var t=[];for(var n in dc(e))_c.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Fr(e){if(!ll(e))return Ya(e);var t=Wa(e),n=[];for(var r in e)("constructor"!=r||!t&&_c.call(e,r))&&n.push(r);return n}function Ur(e,t){return e<t}function Wr(e,t){var n=-1,r=$s(e)?ic(e.length):[];return gd(e,function(e,o,a){r[++n]=t(e,o,a)}),r}function Hr(e){var t=Ta(e);return 1==t.length&&t[0][2]?Xa(t[0][0],t[0][1]):function(n){return n===e||jr(n,e,t)}}function Xr(e,t){return Va(e)&&Ha(t)?Xa(ri(e),t):function(n){var r=ql(n,e);return r===ne&&r===t?Ul(n,e):Er(t,r,pe|he)}}function Kr(e,t,n,r,o){e!==t&&_d(t,function(a,i){if(ll(a))o||(o=new Mn),Gr(e,t,i,n,Kr,r,o);else{var s=r?r(e[i],a,i+"",e,t,o):ne;s===ne&&(s=a),On(e,i,s)}},Hl)}function Gr(e,t,n,r,o,a,i){var s=e[n],l=t[n],u=i.get(l);if(u)return void On(e,n,u);var c=a?a(s,l,n+"",e,t,i):ne,d=c===ne;if(d){var f=Mf(l),p=!f&&Sf(l),h=!f&&!p&&Af(l);c=l,f||p||h?Mf(s)?c=s:Qs(s)?c=qo(s):p?(d=!1,c=Po(l,!0)):h?(d=!1,c=Lo(l,!0)):c=[]:bl(l)||_f(l)?(c=s,_f(s)?c=Pl(s):(!ll(s)||r&&al(s))&&(c=Ra(l))):d=!1}d&&(i.set(l,c),o(c,l,r,a,i),i.delete(l)),On(e,n,c)}function Yr(e,t){var n=e.length;if(n)return t+=t<0?n:0,Ia(t,n)?e[t]:ne}function $r(e,t,n){var r=-1;t=p(t.length?t:[Ru],z(xa()));var o=Wr(e,function(e,n,o){var a=p(t,function(t){return t(e)});return{criteria:a,index:++r,value:e}});return P(o,function(e,t){return Io(e,t,n)})}function Qr(e,t){return Jr(e,t,function(t,n){return Ul(e,n)})}function Jr(e,t,n){for(var r=-1,o=t.length,a={};++r<o;){var i=t[r],s=ur(e,i);n(s,i)&&lo(a,To(i,e),s)}return a}function Zr(e){return function(t){return ur(t,e)}}function eo(e,t,n,r){var o=r?S:w,a=-1,i=t.length,s=e;for(e===t&&(t=qo(t)),n&&(s=p(e,z(n)));++a<i;)for(var l=0,u=t[a],c=n?n(u):u;(l=o(s,c,l,r))>-1;)s!==e&&Rc.call(s,l,1),Rc.call(e,l,1);return e}function to(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==a){var a=o;Ia(o)?Rc.call(e,o,1):yo(e,o)}}return e}function no(e,t){return e+Uc(Zc()*(t-e+1))}function ro(e,t,n,r){for(var o=-1,a=Yc(Fc((t-e)/(n||1)),0),i=ic(a);a--;)i[r?a:++o]=e,e+=n;return i}function oo(e,t){var n="";if(!e||t<1||t>ze)return n;do t%2&&(n+=e),t=Uc(t/2),t&&(e+=e);while(t);return n}function ao(e,t){return Rd(Qa(e,t,Ru),e+"")}function io(e){return An(ru(e))}function so(e,t){var n=ru(e);return ni(n,Bn(t,0,n.length))}function lo(e,t,n,r){if(!ll(e))return e;t=To(t,e);for(var o=-1,a=t.length,i=a-1,s=e;null!=s&&++o<a;){var l=ri(t[o]),u=n;if(o!=i){var c=s[l];u=r?r(c,l,s):ne,u===ne&&(u=ll(c)?c:Ia(t[o+1])?[]:{})}En(s,l,u),s=s[l]}return e}function uo(e){return ni(ru(e))}function co(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=ic(o);++r<o;)a[r]=e[r+t];return a}function fo(e,t){var n;return gd(e,function(e,r,o){return n=t(e,r,o),!n}),!!n}function po(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t===t&&o<=Ie){for(;r<o;){var a=r+o>>>1,i=e[a];null!==i&&!_l(i)&&(n?i<=t:i<t)?r=a+1:o=a}return o}return ho(e,t,Ru,n)}function ho(e,t,n,r){t=n(t);for(var o=0,a=null==e?0:e.length,i=t!==t,s=null===t,l=_l(t),u=t===ne;o<a;){var c=Uc((o+a)/2),d=n(e[c]),f=d!==ne,p=null===d,h=d===d,m=_l(d);if(i)var v=r||h;else v=u?h&&(r||f):s?h&&f&&(r||!p):l?h&&f&&!p&&(r||!m):!p&&!m&&(r?d<=t:d<t);v?o=c+1:a=c}return $c(a,De)}function mo(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var i=e[n],s=t?t(i):i;if(!n||!Ys(s,l)){var l=s;a[o++]=0===i?0:i}}return a}function vo(e){return"number"==typeof e?e:_l(e)?je:+e}function bo(e){if("string"==typeof e)return e;if(Mf(e))return p(e,bo)+"";if(_l(e))return vd?vd.call(e):"";var t=e+"";return"0"==t&&1/e==-Ee?"-0":t}function go(e,t,n){var r=-1,o=d,a=e.length,i=!0,s=[],l=s;if(n)i=!1,o=f;else if(a>=oe){var u=t?null:kd(e);if(u)return K(u);i=!1,o=j,l=new gn}else l=t?[]:s;e:for(;++r<a;){var c=e[r],p=t?t(c):c;if(c=n||0!==c?c:0,i&&p===p){for(var h=l.length;h--;)if(l[h]===p)continue e;t&&l.push(p),s.push(c)}else o(l,p,n)||(l!==s&&l.push(p),s.push(c))}return s}function yo(e,t){return t=To(t,e),e=Ja(e,t),null==e||delete e[ri(xi(t))]}function _o(e,t,n,r){return lo(e,t,n(ur(e,t)),r)}function Mo(e,t,n,r){for(var o=e.length,a=r?o:-1;(r?a--:++a<o)&&t(e[a],a,e););return n?co(e,r?0:a,r?a+1:o):co(e,r?a+1:0,r?o:a)}function wo(e,t){var n=e;return n instanceof Y&&(n=n.value()),m(t,function(e,t){return t.func.apply(t.thisArg,h([e],t.args))},n)}function So(e,t,n){var r=e.length;if(r<2)return r?go(e[0]):[];for(var o=-1,a=ic(r);++o<r;)for(var i=e[o],s=-1;++s<r;)s!=o&&(a[o]=Xn(a[o]||i,e[s],t,n));return go(rr(a,1),t,n)}function Co(e,t,n){for(var r=-1,o=e.length,a=t.length,i={};++r<o;){var s=r<a?t[r]:ne;n(i,e[r],s)}return i}function xo(e){return Qs(e)?e:[]}function ko(e){return"function"==typeof e?e:Ru}function To(e,t){return Mf(e)?e:Va(e,t)?[e]:jd(Ol(e))}function Ao(e,t,n){var r=e.length;return n=n===ne?r:n,!t&&n>=r?e:co(e,t,n)}function Po(e,t){if(t)return e.slice();var n=e.length,r=Nc?Nc(n):new e.constructor(n);return e.copy(r),r}function No(e){var t=new e.constructor(e.byteLength);return new Pc(t).set(new Pc(e)),t}function Oo(e,t){var n=t?No(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Eo(e,t,n){var o=t?n(W(e),ce):W(e);return m(o,r,new e.constructor)}function zo(e){var t=new e.constructor(e.source,Wt.exec(e));return t.lastIndex=e.lastIndex,t}function Ro(e,t,n){var r=t?n(K(e),ce):K(e);return m(r,o,new e.constructor)}function jo(e){return md?dc(md.call(e)):{}}function Lo(e,t){var n=t?No(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Do(e,t){if(e!==t){var n=e!==ne,r=null===e,o=e===e,a=_l(e),i=t!==ne,s=null===t,l=t===t,u=_l(t);if(!s&&!u&&!a&&e>t||a&&i&&l&&!s&&!u||r&&i&&l||!n&&l||!o)return 1;if(!r&&!a&&!u&&e<t||u&&n&&o&&!r&&!a||s&&n&&o||!i&&o||!l)return-1}return 0}function Io(e,t,n){for(var r=-1,o=e.criteria,a=t.criteria,i=o.length,s=n.length;++r<i;){var l=Do(o[r],a[r]);if(l){
|
24 | if(r>=s)return l;var u=n[r];return l*("desc"==u?-1:1)}}return e.index-t.index}function Bo(e,t,n,r){for(var o=-1,a=e.length,i=n.length,s=-1,l=t.length,u=Yc(a-i,0),c=ic(l+u),d=!r;++s<l;)c[s]=t[s];for(;++o<i;)(d||o<a)&&(c[n[o]]=e[o]);for(;u--;)c[s++]=e[o++];return c}function Vo(e,t,n,r){for(var o=-1,a=e.length,i=-1,s=n.length,l=-1,u=t.length,c=Yc(a-s,0),d=ic(c+u),f=!r;++o<c;)d[o]=e[o];for(var p=o;++l<u;)d[p+l]=t[l];for(;++i<s;)(f||o<a)&&(d[p+n[i]]=e[o++]);return d}function qo(e,t){var n=-1,r=e.length;for(t||(t=ic(r));++n<r;)t[n]=e[n];return t}function Fo(e,t,n,r){var o=!n;n||(n={});for(var a=-1,i=t.length;++a<i;){var s=t[a],l=r?r(n[s],e[s],s,n,e):ne;l===ne&&(l=e[s]),o?Dn(n,s,l):En(n,s,l)}return n}function Uo(e,t){return Fo(e,Ad(e),t)}function Wo(e,t){return Fo(e,Pd(e),t)}function Ho(e,t){return function(n,r){var o=Mf(n)?i:Rn,a=t?t():{};return o(n,e,xa(r,2),a)}}function Xo(e){return ao(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:ne,i=o>2?n[2]:ne;for(a=e.length>3&&"function"==typeof a?(o--,a):ne,i&&Ba(n[0],n[1],i)&&(a=o<3?ne:a,o=1),t=dc(t);++r<o;){var s=n[r];s&&e(t,s,r,a)}return t})}function Ko(e,t){return function(n,r){if(null==n)return n;if(!$s(n))return e(n,r);for(var o=n.length,a=t?o:-1,i=dc(n);(t?a--:++a<o)&&r(i[a],a,i)!==!1;);return n}}function Go(e){return function(t,n,r){for(var o=-1,a=dc(t),i=r(t),s=i.length;s--;){var l=i[e?s:++o];if(n(a[l],l,a)===!1)break}return t}}function Yo(e,t,n){function r(){var t=this&&this!==ar&&this instanceof r?a:e;return t.apply(o?n:this,arguments)}var o=t&me,a=Jo(e);return r}function $o(e){return function(t){t=Ol(t);var n=q(t)?J(t):ne,r=n?n[0]:t.charAt(0),o=n?Ao(n,1).join(""):t.slice(1);return r[e]()+o}}function Qo(e){return function(t){return m(Pu(uu(t).replace(qn,"")),e,"")}}function Jo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=bd(e.prototype),r=e.apply(n,t);return ll(r)?r:n}}function Zo(e,t,n){function r(){for(var i=arguments.length,s=ic(i),l=i,u=Ca(r);l--;)s[l]=arguments[l];var c=i<3&&s[0]!==u&&s[i-1]!==u?[]:X(s,u);if(i-=c.length,i<n)return ca(e,t,na,r.placeholder,ne,s,c,ne,ne,n-i);var d=this&&this!==ar&&this instanceof r?o:e;return a(d,this,s)}var o=Jo(e);return r}function ea(e){return function(t,n,r){var o=dc(t);if(!$s(t)){var a=xa(n,3);t=Wl(t),n=function(e){return a(o[e],e,o)}}var i=e(t,n,r);return i>-1?o[a?t[i]:i]:ne}}function ta(e){return _a(function(t){var n=t.length,r=n,o=T.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new hc(ie);if(o&&!i&&"wrapper"==Sa(a))var i=new T([],(!0))}for(r=i?r:n;++r<n;){a=t[r];var s=Sa(a),l="wrapper"==s?Td(a):ne;i=l&&Fa(l[0])&&l[1]==(we|ge|_e|Se)&&!l[4].length&&1==l[9]?i[Sa(l[0])].apply(i,l[3]):1==a.length&&Fa(a)?i[s]():i.thru(a)}return function(){var e=arguments,r=e[0];if(i&&1==e.length&&Mf(r))return i.plant(r).value();for(var o=0,a=n?t[o].apply(this,e):r;++o<n;)a=t[o].call(this,a);return a}})}function na(e,t,n,r,o,a,i,s,l,u){function c(){for(var b=arguments.length,g=ic(b),y=b;y--;)g[y]=arguments[y];if(h)var _=Ca(c),M=I(g,_);if(r&&(g=Bo(g,r,o,h)),a&&(g=Vo(g,a,i,h)),b-=M,h&&b<u){var w=X(g,_);return ca(e,t,na,c.placeholder,n,g,w,s,l,u-b)}var S=f?n:this,C=p?S[e]:e;return b=g.length,s?g=Za(g,s):m&&b>1&&g.reverse(),d&&l<b&&(g.length=l),this&&this!==ar&&this instanceof c&&(C=v||Jo(C)),C.apply(S,g)}var d=t&we,f=t&me,p=t&ve,h=t&(ge|ye),m=t&Ce,v=p?ne:Jo(e);return c}function ra(e,t){return function(n,r){return Tr(n,e,t(r),{})}}function oa(e,t){return function(n,r){var o;if(n===ne&&r===ne)return t;if(n!==ne&&(o=n),r!==ne){if(o===ne)return r;"string"==typeof n||"string"==typeof r?(n=bo(n),r=bo(r)):(n=vo(n),r=vo(r)),o=e(n,r)}return o}}function aa(e){return _a(function(t){return t=p(t,z(xa())),ao(function(n){var r=this;return e(t,function(e){return a(e,r,n)})})})}function ia(e,t){t=t===ne?" ":bo(t);var n=t.length;if(n<2)return n?oo(t,e):t;var r=oo(t,Fc(e/Q(t)));return q(t)?Ao(J(r),0,e).join(""):r.slice(0,e)}function sa(e,t,n,r){function o(){for(var t=-1,l=arguments.length,u=-1,c=r.length,d=ic(c+l),f=this&&this!==ar&&this instanceof o?s:e;++u<c;)d[u]=r[u];for(;l--;)d[u++]=arguments[++t];return a(f,i?n:this,d)}var i=t&me,s=Jo(e);return o}function la(e){return function(t,n,r){return r&&"number"!=typeof r&&Ba(t,n,r)&&(n=r=ne),t=xl(t),n===ne?(n=t,t=0):n=xl(n),r=r===ne?t<n?1:-1:xl(r),ro(t,n,r,e)}}function ua(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=Al(t),n=Al(n)),e(t,n)}}function ca(e,t,n,r,o,a,i,s,l,u){var c=t&ge,d=c?i:ne,f=c?ne:i,p=c?a:ne,h=c?ne:a;t|=c?_e:Me,t&=~(c?Me:_e),t&be||(t&=~(me|ve));var m=[e,t,o,p,d,h,f,s,l,u],v=n.apply(ne,m);return Fa(e)&&Ed(v,m),v.placeholder=r,ei(v,e,t)}function da(e){var t=cc[e];return function(e,n){if(e=Al(e),n=null==n?0:$c(kl(n),292)){var r=(Ol(e)+"e").split("e"),o=t(r[0]+"e"+(+r[1]+n));return r=(Ol(o)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}function fa(e){return function(t){var n=Nd(t);return n==Ye?W(t):n==nt?G(t):E(t,e(t))}}function pa(e,t,n,r,o,a,i,s){var l=t&ve;if(!l&&"function"!=typeof e)throw new hc(ie);var u=r?r.length:0;if(u||(t&=~(_e|Me),r=o=ne),i=i===ne?i:Yc(kl(i),0),s=s===ne?s:kl(s),u-=o?o.length:0,t&Me){var c=r,d=o;r=o=ne}var f=l?ne:Td(e),p=[e,t,n,r,o,c,d,a,i,s];if(f&&Ga(p,f),e=p[0],t=p[1],n=p[2],r=p[3],o=p[4],s=p[9]=p[9]===ne?l?0:e.length:Yc(p[9]-u,0),!s&&t&(ge|ye)&&(t&=~(ge|ye)),t&&t!=me)h=t==ge||t==ye?Zo(e,t,s):t!=_e&&t!=(me|_e)||o.length?na.apply(ne,p):sa(e,t,n,r);else var h=Yo(e,t,n);var m=f?wd:Ed;return ei(m(h,p),e,t)}function ha(e,t,n,r){return e===ne||Ys(e,bc[n])&&!_c.call(r,n)?t:e}function ma(e,t,n,r,o,a){return ll(e)&&ll(t)&&(a.set(t,e),Kr(e,t,ne,ma,a),a.delete(t)),e}function va(e){return bl(e)?ne:e}function ba(e,t,n,r,o,a){var i=n&pe,s=e.length,l=t.length;if(s!=l&&!(i&&l>s))return!1;var u=a.get(e);if(u&&a.get(t))return u==t;var c=-1,d=!0,f=n&he?new gn:ne;for(a.set(e,t),a.set(t,e);++c<s;){var p=e[c],h=t[c];if(r)var m=i?r(h,p,c,t,e,a):r(p,h,c,e,t,a);if(m!==ne){if(m)continue;d=!1;break}if(f){if(!b(t,function(e,t){if(!j(f,t)&&(p===e||o(p,e,n,r,a)))return f.push(t)})){d=!1;break}}else if(p!==h&&!o(p,h,n,r,a)){d=!1;break}}return a.delete(e),a.delete(t),d}function ga(e,t,n,r,o,a,i){switch(n){case ut:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case lt:return!(e.byteLength!=t.byteLength||!a(new Pc(e),new Pc(t)));case Ue:case We:case $e:return Ys(+e,+t);case Xe:return e.name==t.name&&e.message==t.message;case tt:case rt:return e==t+"";case Ye:var s=W;case nt:var l=r&pe;if(s||(s=K),e.size!=t.size&&!l)return!1;var u=i.get(e);if(u)return u==t;r|=he,i.set(e,t);var c=ba(s(e),s(t),r,o,a,i);return i.delete(e),c;case ot:if(md)return md.call(e)==md.call(t)}return!1}function ya(e,t,n,r,o,a){var i=n&pe,s=Ma(e),l=s.length,u=Ma(t),c=u.length;if(l!=c&&!i)return!1;for(var d=l;d--;){var f=s[d];if(!(i?f in t:_c.call(t,f)))return!1}var p=a.get(e);if(p&&a.get(t))return p==t;var h=!0;a.set(e,t),a.set(t,e);for(var m=i;++d<l;){f=s[d];var v=e[f],b=t[f];if(r)var g=i?r(b,v,f,t,e,a):r(v,b,f,e,t,a);if(!(g===ne?v===b||o(v,b,n,r,a):g)){h=!1;break}m||(m="constructor"==f)}if(h&&!m){var y=e.constructor,_=t.constructor;y!=_&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof _&&_ instanceof _)&&(h=!1)}return a.delete(e),a.delete(t),h}function _a(e){return Rd(Qa(e,ne,bi),e+"")}function Ma(e){return cr(e,Wl,Ad)}function wa(e){return cr(e,Hl,Pd)}function Sa(e){for(var t=e.name+"",n=ld[t],r=_c.call(ld,t)?n.length:0;r--;){var o=n[r],a=o.func;if(null==a||a==e)return o.name}return t}function Ca(e){var t=_c.call(n,"placeholder")?n:e;return t.placeholder}function xa(){var e=n.iteratee||ju;return e=e===ju?Vr:e,arguments.length?e(arguments[0],arguments[1]):e}function ka(e,t){var n=e.__data__;return qa(t)?n["string"==typeof t?"string":"hash"]:n.map}function Ta(e){for(var t=Wl(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ha(o)]}return t}function Aa(e,t){var n=V(e,t);return Lr(n)?n:ne}function Pa(e){var t=_c.call(e,Dc),n=e[Dc];try{e[Dc]=ne;var r=!0}catch(e){}var o=Sc.call(e);return r&&(t?e[Dc]=n:delete e[Dc]),o}function Na(e,t,n){for(var r=-1,o=n.length;++r<o;){var a=n[r],i=a.size;switch(a.type){case"drop":e+=i;break;case"dropRight":t-=i;break;case"take":t=$c(t,e+i);break;case"takeRight":e=Yc(e,t-i)}}return{start:e,end:t}}function Oa(e){var t=e.match(Bt);return t?t[1].split(Vt):[]}function Ea(e,t,n){t=To(t,e);for(var r=-1,o=t.length,a=!1;++r<o;){var i=ri(t[r]);if(!(a=null!=e&&n(e,i)))break;e=e[i]}return a||++r!=o?a:(o=null==e?0:e.length,!!o&&sl(o)&&Ia(i,o)&&(Mf(e)||_f(e)))}function za(e){var t=e.length,n=e.constructor(t);return t&&"string"==typeof e[0]&&_c.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function Ra(e){return"function"!=typeof e.constructor||Wa(e)?{}:bd(Oc(e))}function ja(e,t,n,r){var o=e.constructor;switch(t){case lt:return No(e);case Ue:case We:return new o((+e));case ut:return Oo(e,r);case ct:case dt:case ft:case pt:case ht:case mt:case vt:case bt:case gt:return Lo(e,r);case Ye:return Eo(e,r,n);case $e:case rt:return new o(e);case tt:return zo(e);case nt:return Ro(e,r,n);case ot:return jo(e)}}function La(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(It,"{\n/* [wrapped with "+t+"] */\n")}function Da(e){return Mf(e)||_f(e)||!!(jc&&e&&e[jc])}function Ia(e,t){return t=null==t?ze:t,!!t&&("number"==typeof e||Yt.test(e))&&e>-1&&e%1==0&&e<t}function Ba(e,t,n){if(!ll(n))return!1;var r=typeof t;return!!("number"==r?$s(n)&&Ia(t,n.length):"string"==r&&t in n)&&Ys(n[t],e)}function Va(e,t){if(Mf(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!_l(e))||(Nt.test(e)||!Pt.test(e)||null!=t&&e in dc(t))}function qa(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function Fa(e){var t=Sa(e),r=n[t];if("function"!=typeof r||!(t in Y.prototype))return!1;if(e===r)return!0;var o=Td(r);return!!o&&e===o[0]}function Ua(e){return!!wc&&wc in e}function Wa(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||bc;return e===n}function Ha(e){return e===e&&!ll(e)}function Xa(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==ne||e in dc(n)))}}function Ka(e){var t=js(e,function(e){return n.size===le&&n.clear(),e}),n=t.cache;return t}function Ga(e,t){var n=e[1],r=t[1],o=n|r,a=o<(me|ve|we),i=r==we&&n==ge||r==we&&n==Se&&e[7].length<=t[8]||r==(we|Se)&&t[7].length<=t[8]&&n==ge;if(!a&&!i)return e;r&me&&(e[2]=t[2],o|=n&me?0:be);var s=t[3];if(s){var l=e[3];e[3]=l?Bo(l,s,t[4]):s,e[4]=l?X(e[3],ue):t[4]}return s=t[5],s&&(l=e[5],e[5]=l?Vo(l,s,t[6]):s,e[6]=l?X(e[5],ue):t[6]),s=t[7],s&&(e[7]=s),r&we&&(e[8]=null==e[8]?t[8]:$c(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o,e}function Ya(e){var t=[];if(null!=e)for(var n in dc(e))t.push(n);return t}function $a(e){return Sc.call(e)}function Qa(e,t,n){return t=Yc(t===ne?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=Yc(r.length-t,0),s=ic(i);++o<i;)s[o]=r[t+o];o=-1;for(var l=ic(t+1);++o<t;)l[o]=r[o];return l[t]=n(s),a(e,this,l)}}function Ja(e,t){return t.length<2?e:ur(e,co(t,0,-1))}function Za(e,t){for(var n=e.length,r=$c(t.length,n),o=qo(e);r--;){var a=t[r];e[r]=Ia(a,n)?o[a]:ne}return e}function ei(e,t,n){var r=t+"";return Rd(e,La(r,ai(Oa(r),n)))}function ti(e){var t=0,n=0;return function(){var r=Qc(),o=Ae-(r-n);if(n=r,o>0){if(++t>=Te)return arguments[0]}else t=0;return e.apply(ne,arguments)}}function ni(e,t){var n=-1,r=e.length,o=r-1;for(t=t===ne?r:t;++n<t;){var a=no(n,o),i=e[a];e[a]=e[n],e[n]=i}return e.length=t,e}function ri(e){if("string"==typeof e||_l(e))return e;var t=e+"";return"0"==t&&1/e==-Ee?"-0":t}function oi(e){if(null!=e){try{return yc.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ai(e,t){return s(Be,function(n){var r="_."+n[0];t&n[1]&&!d(e,r)&&e.push(r)}),e.sort()}function ii(e){if(e instanceof Y)return e.clone();var t=new T(e.__wrapped__,e.__chain__);return t.__actions__=qo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function si(e,t,n){t=(n?Ba(e,t,n):t===ne)?1:Yc(kl(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var o=0,a=0,i=ic(Fc(r/t));o<r;)i[a++]=co(e,o,o+=t);return i}function li(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var a=e[t];a&&(o[r++]=a)}return o}function ui(){var e=arguments.length;if(!e)return[];for(var t=ic(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return h(Mf(n)?qo(n):[n],rr(t,1))}function ci(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===ne?1:kl(t),co(e,t<0?0:t,r)):[]}function di(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===ne?1:kl(t),t=r-t,co(e,0,t<0?0:t)):[]}function fi(e,t){return e&&e.length?Mo(e,xa(t,3),!0,!0):[]}function pi(e,t){return e&&e.length?Mo(e,xa(t,3),!0):[]}function hi(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&Ba(e,t,n)&&(n=0,r=o),Zn(e,t,n,r)):[]}function mi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:kl(n);return o<0&&(o=Yc(r+o,0)),M(e,xa(t,3),o)}function vi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==ne&&(o=kl(n),o=n<0?Yc(r+o,0):$c(o,r-1)),M(e,xa(t,3),o,!0)}function bi(e){var t=null==e?0:e.length;return t?rr(e,1):[]}function gi(e){var t=null==e?0:e.length;return t?rr(e,Ee):[]}function yi(e,t){var n=null==e?0:e.length;return n?(t=t===ne?1:kl(t),rr(e,t)):[]}function _i(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r}function Mi(e){return e&&e.length?e[0]:ne}function wi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:kl(n);return o<0&&(o=Yc(r+o,0)),w(e,t,o)}function Si(e){var t=null==e?0:e.length;return t?co(e,0,-1):[]}function Ci(e,t){return null==e?"":Kc.call(e,t)}function xi(e){var t=null==e?0:e.length;return t?e[t-1]:ne}function ki(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==ne&&(o=kl(n),o=o<0?Yc(r+o,0):$c(o,r-1)),t===t?$(e,t,o):M(e,C,o,!0)}function Ti(e,t){return e&&e.length?Yr(e,kl(t)):ne}function Ai(e,t){return e&&e.length&&t&&t.length?eo(e,t):e}function Pi(e,t,n){return e&&e.length&&t&&t.length?eo(e,t,xa(n,2)):e}function Ni(e,t,n){return e&&e.length&&t&&t.length?eo(e,t,ne,n):e}function Oi(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],a=e.length;for(t=xa(t,3);++r<a;){var i=e[r];t(i,r,e)&&(n.push(i),o.push(r))}return to(e,o),n}function Ei(e){return null==e?e:ed.call(e)}function zi(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Ba(e,t,n)?(t=0,n=r):(t=null==t?0:kl(t),n=n===ne?r:kl(n)),co(e,t,n)):[]}function Ri(e,t){return po(e,t)}function ji(e,t,n){return ho(e,t,xa(n,2))}function Li(e,t){var n=null==e?0:e.length;if(n){var r=po(e,t);if(r<n&&Ys(e[r],t))return r}return-1}function Di(e,t){return po(e,t,!0)}function Ii(e,t,n){return ho(e,t,xa(n,2),!0)}function Bi(e,t){var n=null==e?0:e.length;if(n){var r=po(e,t,!0)-1;if(Ys(e[r],t))return r}return-1}function Vi(e){return e&&e.length?mo(e):[]}function qi(e,t){return e&&e.length?mo(e,xa(t,2)):[]}function Fi(e){var t=null==e?0:e.length;return t?co(e,1,t):[]}function Ui(e,t,n){return e&&e.length?(t=n||t===ne?1:kl(t),co(e,0,t<0?0:t)):[]}function Wi(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===ne?1:kl(t),t=r-t,co(e,t<0?0:t,r)):[]}function Hi(e,t){return e&&e.length?Mo(e,xa(t,3),!1,!0):[]}function Xi(e,t){return e&&e.length?Mo(e,xa(t,3)):[]}function Ki(e){return e&&e.length?go(e):[]}function Gi(e,t){return e&&e.length?go(e,xa(t,2)):[]}function Yi(e,t){return t="function"==typeof t?t:ne,e&&e.length?go(e,ne,t):[]}function $i(e){if(!e||!e.length)return[];var t=0;return e=c(e,function(e){if(Qs(e))return t=Yc(e.length,t),!0}),O(t,function(t){return p(e,k(t))})}function Qi(e,t){if(!e||!e.length)return[];var n=$i(e);return null==t?n:p(n,function(e){return a(t,ne,e)})}function Ji(e,t){return Co(e||[],t||[],En)}function Zi(e,t){return Co(e||[],t||[],lo)}function es(e){var t=n(e);return t.__chain__=!0,t}function ts(e,t){return t(e),e}function ns(e,t){return t(e)}function rs(){return es(this)}function os(){return new T(this.value(),this.__chain__)}function as(){this.__values__===ne&&(this.__values__=Cl(this.value()));var e=this.__index__>=this.__values__.length,t=e?ne:this.__values__[this.__index__++];return{done:e,value:t}}function is(){return this}function ss(e){for(var t,n=this;n instanceof g;){var r=ii(n);r.__index__=0,r.__values__=ne,t?o.__wrapped__=r:t=r;var o=r;n=n.__wrapped__}return o.__wrapped__=e,t}function ls(){var e=this.__wrapped__;if(e instanceof Y){var t=e;return this.__actions__.length&&(t=new Y(this)),t=t.reverse(),t.__actions__.push({func:ns,args:[Ei],thisArg:ne}),new T(t,this.__chain__)}return this.thru(Ei)}function us(){return wo(this.__wrapped__,this.__actions__)}function cs(e,t,n){var r=Mf(e)?u:Qn;return n&&Ba(e,t,n)&&(t=ne),r(e,xa(t,3))}function ds(e,t){var n=Mf(e)?c:er;return n(e,xa(t,3))}function fs(e,t){return rr(gs(e,t),1)}function ps(e,t){return rr(gs(e,t),Ee)}function hs(e,t,n){return n=n===ne?1:kl(n),rr(gs(e,t),n)}function ms(e,t){var n=Mf(e)?s:gd;return n(e,xa(t,3))}function vs(e,t){var n=Mf(e)?l:yd;return n(e,xa(t,3))}function bs(e,t,n,r){e=$s(e)?e:ru(e),n=n&&!r?kl(n):0;var o=e.length;return n<0&&(n=Yc(o+n,0)),yl(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&w(e,t,n)>-1}function gs(e,t){var n=Mf(e)?p:Wr;return n(e,xa(t,3))}function ys(e,t,n,r){return null==e?[]:(Mf(t)||(t=null==t?[]:[t]),n=r?ne:n,Mf(n)||(n=null==n?[]:[n]),$r(e,t,n))}function _s(e,t,n){var r=Mf(e)?m:A,o=arguments.length<3;return r(e,xa(t,4),n,o,gd)}function Ms(e,t,n){var r=Mf(e)?v:A,o=arguments.length<3;return r(e,xa(t,4),n,o,yd)}function ws(e,t){var n=Mf(e)?c:er;return n(e,Ls(xa(t,3)))}function Ss(e){var t=Mf(e)?An:io;return t(e)}function Cs(e,t,n){t=(n?Ba(e,t,n):t===ne)?1:kl(t);var r=Mf(e)?Pn:so;return r(e,t)}function xs(e){var t=Mf(e)?Nn:uo;return t(e)}function ks(e){if(null==e)return 0;if($s(e))return yl(e)?Q(e):e.length;var t=Nd(e);return t==Ye||t==nt?e.size:qr(e).length}function Ts(e,t,n){var r=Mf(e)?b:fo;return n&&Ba(e,t,n)&&(t=ne),r(e,xa(t,3))}function As(e,t){if("function"!=typeof t)throw new hc(ie);return e=kl(e),function(){if(--e<1)return t.apply(this,arguments)}}function Ps(e,t,n){return t=n?ne:t,t=e&&null==t?e.length:t,pa(e,we,ne,ne,ne,ne,t)}function Ns(e,t){var n;if("function"!=typeof t)throw new hc(ie);return e=kl(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=ne),n}}function Os(e,t,n){t=n?ne:t;var r=pa(e,ge,ne,ne,ne,ne,ne,t);return r.placeholder=Os.placeholder,r}function Es(e,t,n){t=n?ne:t;var r=pa(e,ye,ne,ne,ne,ne,ne,t);return r.placeholder=Es.placeholder,r}function zs(e,t,n){function r(t){var n=f,r=p;return f=p=ne,g=t,m=e.apply(r,n)}function o(e){return g=e,v=zd(s,t),y?r(e):m}function a(e){var n=e-b,r=e-g,o=t-n;return _?$c(o,h-r):o}function i(e){var n=e-b,r=e-g;return b===ne||n>=t||n<0||_&&r>=h}function s(){var e=uf();return i(e)?l(e):void(v=zd(s,a(e)))}function l(e){return v=ne,M&&f?r(e):(f=p=ne,m)}function u(){v!==ne&&xd(v),g=0,f=b=p=v=ne}function c(){return v===ne?m:l(uf())}function d(){var e=uf(),n=i(e);if(f=arguments,p=this,b=e,n){if(v===ne)return o(b);if(_)return v=zd(s,t),r(b)}return v===ne&&(v=zd(s,t)),m}var f,p,h,m,v,b,g=0,y=!1,_=!1,M=!0;if("function"!=typeof e)throw new hc(ie);return t=Al(t)||0,ll(n)&&(y=!!n.leading,_="maxWait"in n,h=_?Yc(Al(n.maxWait)||0,t):h,M="trailing"in n?!!n.trailing:M),d.cancel=u,d.flush=c,d}function Rs(e){return pa(e,Ce)}function js(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new hc(ie);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(js.Cache||fn),n}function Ls(e){if("function"!=typeof e)throw new hc(ie);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Ds(e){return Ns(2,e)}function Is(e,t){if("function"!=typeof e)throw new hc(ie);return t=t===ne?t:kl(t),ao(e,t)}function Bs(e,t){if("function"!=typeof e)throw new hc(ie);return t=null==t?0:Yc(kl(t),0),ao(function(n){var r=n[t],o=Ao(n,0,t);return r&&h(o,r),a(e,this,o)})}function Vs(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new hc(ie);return ll(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),zs(e,t,{leading:r,maxWait:t,trailing:o})}function qs(e){return Ps(e,1)}function Fs(e,t){return mf(ko(t),e)}function Us(){if(!arguments.length)return[];var e=arguments[0];return Mf(e)?e:[e]}function Ws(e){return Vn(e,fe)}function Hs(e,t){return t="function"==typeof t?t:ne,Vn(e,fe,t)}function Xs(e){return Vn(e,ce|fe)}function Ks(e,t){return t="function"==typeof t?t:ne,Vn(e,ce|fe,t)}function Gs(e,t){return null==t||Wn(e,t,Wl(t))}function Ys(e,t){return e===t||e!==e&&t!==t}function $s(e){return null!=e&&sl(e.length)&&!al(e)}function Qs(e){return ul(e)&&$s(e)}function Js(e){return e===!0||e===!1||ul(e)&&br(e)==Ue}function Zs(e){return ul(e)&&1===e.nodeType&&!bl(e)}function el(e){if(null==e)return!0;if($s(e)&&(Mf(e)||"string"==typeof e||"function"==typeof e.splice||Sf(e)||Af(e)||_f(e)))return!e.length;var t=Nd(e);if(t==Ye||t==nt)return!e.size;if(Wa(e))return!qr(e).length;for(var n in e)if(_c.call(e,n))return!1;return!0}function tl(e,t){return Er(e,t)}function nl(e,t,n){n="function"==typeof n?n:ne;var r=n?n(e,t):ne;return r===ne?Er(e,t,ne,n):!!r}function rl(e){if(!ul(e))return!1;var t=br(e);return t==Xe||t==He||"string"==typeof e.message&&"string"==typeof e.name&&!bl(e)}function ol(e){return"number"==typeof e&&Xc(e)}function al(e){if(!ll(e))return!1;var t=br(e);return t==Ke||t==Ge||t==Fe||t==et}function il(e){return"number"==typeof e&&e==kl(e)}function sl(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=ze}function ll(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ul(e){return null!=e&&"object"==typeof e}function cl(e,t){return e===t||jr(e,t,Ta(t))}function dl(e,t,n){return n="function"==typeof n?n:ne,jr(e,t,Ta(t),n)}function fl(e){return vl(e)&&e!=+e}function pl(e){if(Od(e))throw new lc(ae);return Lr(e)}function hl(e){return null===e}function ml(e){return null==e}function vl(e){return"number"==typeof e||ul(e)&&br(e)==$e}function bl(e){if(!ul(e)||br(e)!=Je)return!1;var t=Oc(e);if(null===t)return!0;var n=_c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&yc.call(n)==Cc}function gl(e){return il(e)&&e>=-ze&&e<=ze}function yl(e){return"string"==typeof e||!Mf(e)&&ul(e)&&br(e)==rt}function _l(e){return"symbol"==typeof e||ul(e)&&br(e)==ot}function Ml(e){return e===ne}function wl(e){return ul(e)&&Nd(e)==it}function Sl(e){return ul(e)&&br(e)==st}function Cl(e){if(!e)return[];if($s(e))return yl(e)?J(e):qo(e);if(Lc&&e[Lc])return U(e[Lc]());var t=Nd(e),n=t==Ye?W:t==nt?K:ru;return n(e)}function xl(e){if(!e)return 0===e?e:0;if(e=Al(e),e===Ee||e===-Ee){var t=e<0?-1:1;return t*Re}return e===e?e:0}function kl(e){var t=xl(e),n=t%1;return t===t?n?t-n:t:0}function Tl(e){return e?Bn(kl(e),0,Le):0}function Al(e){if("number"==typeof e)return e;if(_l(e))return je;if(ll(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ll(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(jt,"");var n=Xt.test(e);return n||Gt.test(e)?nr(e.slice(2),n?2:8):Ht.test(e)?je:+e}function Pl(e){return Fo(e,Hl(e))}function Nl(e){return e?Bn(kl(e),-ze,ze):0===e?e:0}function Ol(e){return null==e?"":bo(e)}function El(e,t){var n=bd(e);return null==t?n:jn(n,t)}function zl(e,t){return _(e,xa(t,3),or)}function Rl(e,t){return _(e,xa(t,3),ir)}function jl(e,t){return null==e?e:_d(e,xa(t,3),Hl)}function Ll(e,t){return null==e?e:Md(e,xa(t,3),Hl)}function Dl(e,t){return e&&or(e,xa(t,3))}function Il(e,t){return e&&ir(e,xa(t,3))}function Bl(e){return null==e?[]:sr(e,Wl(e))}function Vl(e){return null==e?[]:sr(e,Hl(e))}function ql(e,t,n){var r=null==e?ne:ur(e,t);return r===ne?n:r}function Fl(e,t){return null!=e&&Ea(e,t,Sr)}function Ul(e,t){return null!=e&&Ea(e,t,Cr)}function Wl(e){return $s(e)?Tn(e):qr(e)}function Hl(e){return $s(e)?Tn(e,!0):Fr(e)}function Xl(e,t){var n={};return t=xa(t,3),or(e,function(e,r,o){Dn(n,t(e,r,o),e)}),n}function Kl(e,t){var n={};return t=xa(t,3),or(e,function(e,r,o){Dn(n,r,t(e,r,o))}),n}function Gl(e,t){return Yl(e,Ls(xa(t)))}function Yl(e,t){if(null==e)return{};var n=p(wa(e),function(e){return[e]});return t=xa(t),Jr(e,n,function(e,n){return t(e,n[0])})}function $l(e,t,n){t=To(t,e);var r=-1,o=t.length;for(o||(o=1,e=ne);++r<o;){var a=null==e?ne:e[ri(t[r])];a===ne&&(r=o,a=n),e=al(a)?a.call(e):a}return e}function Ql(e,t,n){return null==e?e:lo(e,t,n)}function Jl(e,t,n,r){return r="function"==typeof r?r:ne,null==e?e:lo(e,t,n,r)}function Zl(e,t,n){var r=Mf(e),o=r||Sf(e)||Af(e);if(t=xa(t,4),null==n){var a=e&&e.constructor;n=o?r?new a:[]:ll(e)&&al(a)?bd(Oc(e)):{}}return(o?s:or)(e,function(e,r,o){return t(n,e,r,o)}),n}function eu(e,t){return null==e||yo(e,t)}function tu(e,t,n){return null==e?e:_o(e,t,ko(n))}function nu(e,t,n,r){return r="function"==typeof r?r:ne,null==e?e:_o(e,t,ko(n),r)}function ru(e){return null==e?[]:R(e,Wl(e))}function ou(e){return null==e?[]:R(e,Hl(e))}function au(e,t,n){return n===ne&&(n=t,t=ne),n!==ne&&(n=Al(n),n=n===n?n:0),t!==ne&&(t=Al(t),t=t===t?t:0),Bn(Al(e),t,n)}function iu(e,t,n){return t=xl(t),n===ne?(n=t,t=0):n=xl(n),e=Al(e),xr(e,t,n)}function su(e,t,n){if(n&&"boolean"!=typeof n&&Ba(e,t,n)&&(t=n=ne),n===ne&&("boolean"==typeof t?(n=t,t=ne):"boolean"==typeof e&&(n=e,e=ne)),e===ne&&t===ne?(e=0,t=1):(e=xl(e),t===ne?(t=e,e=0):t=xl(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Zc();return $c(e+o*(t-e+tr("1e-"+((o+"").length-1))),t)}return no(e,t)}function lu(e){return ep(Ol(e).toLowerCase())}function uu(e){return e=Ol(e),e&&e.replace($t,gr).replace(Fn,"")}function cu(e,t,n){e=Ol(e),t=bo(t);var r=e.length;n=n===ne?r:Bn(kl(n),0,r);var o=n;return n-=t.length,n>=0&&e.slice(n,o)==t}function du(e){return e=Ol(e),e&&xt.test(e)?e.replace(St,yr):e}function fu(e){return e=Ol(e),e&&Rt.test(e)?e.replace(zt,"\\$&"):e}function pu(e,t,n){e=Ol(e),t=kl(t);var r=t?Q(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return ia(Uc(o),n)+e+ia(Fc(o),n)}function hu(e,t,n){e=Ol(e),t=kl(t);var r=t?Q(e):0;return t&&r<t?e+ia(t-r,n):e}function mu(e,t,n){e=Ol(e),t=kl(t);var r=t?Q(e):0;return t&&r<t?ia(t-r,n)+e:e}function vu(e,t,n){return n||null==t?t=0:t&&(t=+t),Jc(Ol(e).replace(Lt,""),t||0)}function bu(e,t,n){return t=(n?Ba(e,t,n):t===ne)?1:kl(t),oo(Ol(e),t)}function gu(){var e=arguments,t=Ol(e[0]);return e.length<3?t:t.replace(e[1],e[2])}function yu(e,t,n){return n&&"number"!=typeof n&&Ba(e,t,n)&&(t=n=ne),(n=n===ne?Le:n>>>0)?(e=Ol(e),e&&("string"==typeof t||null!=t&&!kf(t))&&(t=bo(t),!t&&q(e))?Ao(J(e),0,n):e.split(t,n)):[]}function _u(e,t,n){return e=Ol(e),n=null==n?0:Bn(kl(n),0,e.length),t=bo(t),e.slice(n,n+t.length)==t}function Mu(e,t,r){var o=n.templateSettings;r&&Ba(e,t,r)&&(t=ne),e=Ol(e),t=zf({},t,o,ha);var a,i,s=zf({},t.imports,o.imports,ha),l=Wl(s),u=R(s,l),c=0,d=t.interpolate||Qt,f="__p += '",p=fc((t.escape||Qt).source+"|"+d.source+"|"+(d===At?Ut:Qt).source+"|"+(t.evaluate||Qt).source+"|$","g"),h="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++Gn+"]")+"\n";e.replace(p,function(t,n,r,o,s,l){return r||(r=o),f+=e.slice(c,l).replace(Jt,B),n&&(a=!0,f+="' +\n__e("+n+") +\n'"),s&&(i=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=l+t.length,t}),f+="';\n";var m=t.variable;m||(f="with (obj) {\n"+f+"\n}\n"),f=(i?f.replace(yt,""):f).replace(_t,"$1").replace(Mt,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var v=tp(function(){return uc(l,h+"return "+f).apply(ne,u)});if(v.source=f,rl(v))throw v;return v}function wu(e){return Ol(e).toLowerCase()}function Su(e){return Ol(e).toUpperCase()}function Cu(e,t,n){if(e=Ol(e),e&&(n||t===ne))return e.replace(jt,"");if(!e||!(t=bo(t)))return e;var r=J(e),o=J(t),a=L(r,o),i=D(r,o)+1;return Ao(r,a,i).join("")}function xu(e,t,n){if(e=Ol(e),e&&(n||t===ne))return e.replace(Dt,"");if(!e||!(t=bo(t)))return e;var r=J(e),o=D(r,J(t))+1;return Ao(r,0,o).join("")}function ku(e,t,n){if(e=Ol(e),e&&(n||t===ne))return e.replace(Lt,"");if(!e||!(t=bo(t)))return e;var r=J(e),o=L(r,J(t));return Ao(r,o).join("")}function Tu(e,t){var n=xe,r=ke;if(ll(t)){var o="separator"in t?t.separator:o;n="length"in t?kl(t.length):n,r="omission"in t?bo(t.omission):r}e=Ol(e);var a=e.length;if(q(e)){var i=J(e);a=i.length}if(n>=a)return e;var s=n-Q(r);if(s<1)return r;var l=i?Ao(i,0,s).join(""):e.slice(0,s);if(o===ne)return l+r;if(i&&(s+=l.length-s),kf(o)){if(e.slice(s).search(o)){var u,c=l;for(o.global||(o=fc(o.source,Ol(Wt.exec(o))+"g")),o.lastIndex=0;u=o.exec(c);)var d=u.index;l=l.slice(0,d===ne?s:d)}}else if(e.indexOf(bo(o),s)!=s){var f=l.lastIndexOf(o);f>-1&&(l=l.slice(0,f))}return l+r}function Au(e){return e=Ol(e),e&&Ct.test(e)?e.replace(wt,_r):e}function Pu(e,t,n){return e=Ol(e),t=n?ne:t,t===ne?F(e)?te(e):y(e):e.match(t)||[]}function Nu(e){var t=null==e?0:e.length,n=xa();return e=t?p(e,function(e){if("function"!=typeof e[1])throw new hc(ie);return[n(e[0]),e[1]]}):[],ao(function(n){for(var r=-1;++r<t;){var o=e[r];if(a(o[0],this,n))return a(o[1],this,n)}})}function Ou(e){return Un(Vn(e,ce))}function Eu(e){return function(){return e}}function zu(e,t){return null==e||e!==e?t:e}function Ru(e){return e}function ju(e){return Vr("function"==typeof e?e:Vn(e,ce))}function Lu(e){return Hr(Vn(e,ce))}function Du(e,t){return Xr(e,Vn(t,ce))}function Iu(e,t,n){var r=Wl(t),o=sr(t,r);null!=n||ll(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=sr(t,Wl(t)));var a=!(ll(n)&&"chain"in n&&!n.chain),i=al(e);return s(o,function(n){var r=t[n];e[n]=r,i&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__),o=n.__actions__=qo(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,h([this.value()],arguments))})}),e}function Bu(){return ar._===this&&(ar._=xc),this}function Vu(){}function qu(e){return e=kl(e),ao(function(t){return Yr(t,e)})}function Fu(e){return Va(e)?k(ri(e)):Zr(e)}function Uu(e){return function(t){return null==e?ne:ur(e,t)}}function Wu(){return[]}function Hu(){return!1}function Xu(){return{}}function Ku(){return""}function Gu(){return!0}function Yu(e,t){if(e=kl(e),e<1||e>ze)return[];var n=Le,r=$c(e,Le);t=xa(t),e-=Le;for(var o=O(r,t);++n<e;)t(n);return o}function $u(e){return Mf(e)?p(e,ri):_l(e)?[e]:qo(jd(Ol(e)))}function Qu(e){var t=++Mc;return Ol(e)+t}function Ju(e){return e&&e.length?Jn(e,Ru,Mr):ne}function Zu(e,t){return e&&e.length?Jn(e,xa(t,2),Mr):ne}function ec(e){return x(e,Ru)}function tc(e,t){return x(e,xa(t,2))}function nc(e){return e&&e.length?Jn(e,Ru,Ur):ne}function rc(e,t){return e&&e.length?Jn(e,xa(t,2),Ur):ne}function oc(e){return e&&e.length?N(e,Ru):0}function ac(e,t){return e&&e.length?N(e,xa(t,2)):0}t=null==t?ar:wr.defaults(ar.Object(),t,wr.pick(ar,Kn));var ic=t.Array,sc=t.Date,lc=t.Error,uc=t.Function,cc=t.Math,dc=t.Object,fc=t.RegExp,pc=t.String,hc=t.TypeError,mc=ic.prototype,vc=uc.prototype,bc=dc.prototype,gc=t["__core-js_shared__"],yc=vc.toString,_c=bc.hasOwnProperty,Mc=0,wc=function(){var e=/[^.]+$/.exec(gc&&gc.keys&&gc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Sc=bc.toString,Cc=yc.call(dc),xc=ar._,kc=fc("^"+yc.call(_c).replace(zt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Tc=lr?t.Buffer:ne,Ac=t.Symbol,Pc=t.Uint8Array,Nc=Tc?Tc.allocUnsafe:ne,Oc=H(dc.getPrototypeOf,dc),Ec=dc.create,zc=bc.propertyIsEnumerable,Rc=mc.splice,jc=Ac?Ac.isConcatSpreadable:ne,Lc=Ac?Ac.iterator:ne,Dc=Ac?Ac.toStringTag:ne,Ic=function(){try{var e=Aa(dc,"defineProperty");return e({},"",{}),e}catch(e){}}(),Bc=t.clearTimeout!==ar.clearTimeout&&t.clearTimeout,Vc=sc&&sc.now!==ar.Date.now&&sc.now,qc=t.setTimeout!==ar.setTimeout&&t.setTimeout,Fc=cc.ceil,Uc=cc.floor,Wc=dc.getOwnPropertySymbols,Hc=Tc?Tc.isBuffer:ne,Xc=t.isFinite,Kc=mc.join,Gc=H(dc.keys,dc),Yc=cc.max,$c=cc.min,Qc=sc.now,Jc=t.parseInt,Zc=cc.random,ed=mc.reverse,td=Aa(t,"DataView"),nd=Aa(t,"Map"),rd=Aa(t,"Promise"),od=Aa(t,"Set"),ad=Aa(t,"WeakMap"),id=Aa(dc,"create"),sd=ad&&new ad,ld={},ud=oi(td),cd=oi(nd),dd=oi(rd),fd=oi(od),pd=oi(ad),hd=Ac?Ac.prototype:ne,md=hd?hd.valueOf:ne,vd=hd?hd.toString:ne,bd=function(){
|
25 | function e(){}return function(t){if(!ll(t))return{};if(Ec)return Ec(t);e.prototype=t;var n=new e;return e.prototype=ne,n}}();n.templateSettings={escape:kt,evaluate:Tt,interpolate:At,variable:"",imports:{_:n}},n.prototype=g.prototype,n.prototype.constructor=n,T.prototype=bd(g.prototype),T.prototype.constructor=T,Y.prototype=bd(g.prototype),Y.prototype.constructor=Y,Zt.prototype.clear=en,Zt.prototype.delete=tn,Zt.prototype.get=nn,Zt.prototype.has=rn,Zt.prototype.set=on,an.prototype.clear=sn,an.prototype.delete=ln,an.prototype.get=un,an.prototype.has=cn,an.prototype.set=dn,fn.prototype.clear=pn,fn.prototype.delete=hn,fn.prototype.get=mn,fn.prototype.has=vn,fn.prototype.set=bn,gn.prototype.add=gn.prototype.push=yn,gn.prototype.has=_n,Mn.prototype.clear=wn,Mn.prototype.delete=Sn,Mn.prototype.get=Cn,Mn.prototype.has=xn,Mn.prototype.set=kn;var gd=Ko(or),yd=Ko(ir,!0),_d=Go(),Md=Go(!0),wd=sd?function(e,t){return sd.set(e,t),e}:Ru,Sd=Ic?function(e,t){return Ic(e,"toString",{configurable:!0,enumerable:!1,value:Eu(t),writable:!0})}:Ru,Cd=ao,xd=Bc||function(e){return ar.clearTimeout(e)},kd=od&&1/K(new od([,-0]))[1]==Ee?function(e){return new od(e)}:Vu,Td=sd?function(e){return sd.get(e)}:Vu,Ad=Wc?function(e){return null==e?[]:(e=dc(e),c(Wc(e),function(t){return zc.call(e,t)}))}:Wu,Pd=Wc?function(e){for(var t=[];e;)h(t,Ad(e)),e=Oc(e);return t}:Wu,Nd=br;(td&&Nd(new td(new ArrayBuffer(1)))!=ut||nd&&Nd(new nd)!=Ye||rd&&Nd(rd.resolve())!=Ze||od&&Nd(new od)!=nt||ad&&Nd(new ad)!=it)&&(Nd=function(e){var t=br(e),n=t==Je?e.constructor:ne,r=n?oi(n):"";if(r)switch(r){case ud:return ut;case cd:return Ye;case dd:return Ze;case fd:return nt;case pd:return it}return t});var Od=gc?al:Hu,Ed=ti(wd),zd=qc||function(e,t){return ar.setTimeout(e,t)},Rd=ti(Sd),jd=Ka(function(e){var t=[];return Ot.test(e)&&t.push(""),e.replace(Et,function(e,n,r,o){t.push(r?o.replace(Ft,"$1"):n||e)}),t}),Ld=ao(function(e,t){return Qs(e)?Xn(e,rr(t,1,Qs,!0)):[]}),Dd=ao(function(e,t){var n=xi(t);return Qs(n)&&(n=ne),Qs(e)?Xn(e,rr(t,1,Qs,!0),xa(n,2)):[]}),Id=ao(function(e,t){var n=xi(t);return Qs(n)&&(n=ne),Qs(e)?Xn(e,rr(t,1,Qs,!0),ne,n):[]}),Bd=ao(function(e){var t=p(e,xo);return t.length&&t[0]===e[0]?kr(t):[]}),Vd=ao(function(e){var t=xi(e),n=p(e,xo);return t===xi(n)?t=ne:n.pop(),n.length&&n[0]===e[0]?kr(n,xa(t,2)):[]}),qd=ao(function(e){var t=xi(e),n=p(e,xo);return t="function"==typeof t?t:ne,t&&n.pop(),n.length&&n[0]===e[0]?kr(n,ne,t):[]}),Fd=ao(Ai),Ud=_a(function(e,t){var n=null==e?0:e.length,r=In(e,t);return to(e,p(t,function(e){return Ia(e,n)?+e:e}).sort(Do)),r}),Wd=ao(function(e){return go(rr(e,1,Qs,!0))}),Hd=ao(function(e){var t=xi(e);return Qs(t)&&(t=ne),go(rr(e,1,Qs,!0),xa(t,2))}),Xd=ao(function(e){var t=xi(e);return t="function"==typeof t?t:ne,go(rr(e,1,Qs,!0),ne,t)}),Kd=ao(function(e,t){return Qs(e)?Xn(e,t):[]}),Gd=ao(function(e){return So(c(e,Qs))}),Yd=ao(function(e){var t=xi(e);return Qs(t)&&(t=ne),So(c(e,Qs),xa(t,2))}),$d=ao(function(e){var t=xi(e);return t="function"==typeof t?t:ne,So(c(e,Qs),ne,t)}),Qd=ao($i),Jd=ao(function(e){var t=e.length,n=t>1?e[t-1]:ne;return n="function"==typeof n?(e.pop(),n):ne,Qi(e,n)}),Zd=_a(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,o=function(t){return In(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Y&&Ia(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:ns,args:[o],thisArg:ne}),new T(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(ne),e})):this.thru(o)}),ef=Ho(function(e,t,n){_c.call(e,n)?++e[n]:Dn(e,n,1)}),tf=ea(mi),nf=ea(vi),rf=Ho(function(e,t,n){_c.call(e,n)?e[n].push(t):Dn(e,n,[t])}),of=ao(function(e,t,n){var r=-1,o="function"==typeof t,i=$s(e)?ic(e.length):[];return gd(e,function(e){i[++r]=o?a(t,e,n):Ar(e,t,n)}),i}),af=Ho(function(e,t,n){Dn(e,n,t)}),sf=Ho(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),lf=ao(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ba(e,t[0],t[1])?t=[]:n>2&&Ba(t[0],t[1],t[2])&&(t=[t[0]]),$r(e,rr(t,1),[])}),uf=Vc||function(){return ar.Date.now()},cf=ao(function(e,t,n){var r=me;if(n.length){var o=X(n,Ca(cf));r|=_e}return pa(e,r,t,n,o)}),df=ao(function(e,t,n){var r=me|ve;if(n.length){var o=X(n,Ca(df));r|=_e}return pa(t,r,e,n,o)}),ff=ao(function(e,t){return Hn(e,1,t)}),pf=ao(function(e,t,n){return Hn(e,Al(t)||0,n)});js.Cache=fn;var hf=Cd(function(e,t){t=1==t.length&&Mf(t[0])?p(t[0],z(xa())):p(rr(t,1),z(xa()));var n=t.length;return ao(function(r){for(var o=-1,i=$c(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return a(e,this,r)})}),mf=ao(function(e,t){var n=X(t,Ca(mf));return pa(e,_e,ne,t,n)}),vf=ao(function(e,t){var n=X(t,Ca(vf));return pa(e,Me,ne,t,n)}),bf=_a(function(e,t){return pa(e,Se,ne,ne,ne,t)}),gf=ua(Mr),yf=ua(function(e,t){return e>=t}),_f=Pr(function(){return arguments}())?Pr:function(e){return ul(e)&&_c.call(e,"callee")&&!zc.call(e,"callee")},Mf=ic.isArray,wf=dr?z(dr):Nr,Sf=Hc||Hu,Cf=fr?z(fr):Or,xf=pr?z(pr):Rr,kf=hr?z(hr):Dr,Tf=mr?z(mr):Ir,Af=vr?z(vr):Br,Pf=ua(Ur),Nf=ua(function(e,t){return e<=t}),Of=Xo(function(e,t){if(Wa(t)||$s(t))return void Fo(t,Wl(t),e);for(var n in t)_c.call(t,n)&&En(e,n,t[n])}),Ef=Xo(function(e,t){Fo(t,Hl(t),e)}),zf=Xo(function(e,t,n,r){Fo(t,Hl(t),e,r)}),Rf=Xo(function(e,t,n,r){Fo(t,Wl(t),e,r)}),jf=_a(In),Lf=ao(function(e){return e.push(ne,ha),a(zf,ne,e)}),Df=ao(function(e){return e.push(ne,ma),a(Ff,ne,e)}),If=ra(function(e,t,n){e[t]=n},Eu(Ru)),Bf=ra(function(e,t,n){_c.call(e,t)?e[t].push(n):e[t]=[n]},xa),Vf=ao(Ar),qf=Xo(function(e,t,n){Kr(e,t,n)}),Ff=Xo(function(e,t,n,r){Kr(e,t,n,r)}),Uf=_a(function(e,t){var n={};if(null==e)return n;var r=!1;t=p(t,function(t){return t=To(t,e),r||(r=t.length>1),t}),Fo(e,wa(e),n),r&&(n=Vn(n,ce|de|fe,va));for(var o=t.length;o--;)yo(n,t[o]);return n}),Wf=_a(function(e,t){return null==e?{}:Qr(e,t)}),Hf=fa(Wl),Xf=fa(Hl),Kf=Qo(function(e,t,n){return t=t.toLowerCase(),e+(n?lu(t):t)}),Gf=Qo(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Yf=Qo(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),$f=$o("toLowerCase"),Qf=Qo(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Jf=Qo(function(e,t,n){return e+(n?" ":"")+ep(t)}),Zf=Qo(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),ep=$o("toUpperCase"),tp=ao(function(e,t){try{return a(e,ne,t)}catch(e){return rl(e)?e:new lc(e)}}),np=_a(function(e,t){return s(t,function(t){t=ri(t),Dn(e,t,cf(e[t],e))}),e}),rp=ta(),op=ta(!0),ap=ao(function(e,t){return function(n){return Ar(n,e,t)}}),ip=ao(function(e,t){return function(n){return Ar(e,n,t)}}),sp=aa(p),lp=aa(u),up=aa(b),cp=la(),dp=la(!0),fp=oa(function(e,t){return e+t},0),pp=da("ceil"),hp=oa(function(e,t){return e/t},1),mp=da("floor"),vp=oa(function(e,t){return e*t},1),bp=da("round"),gp=oa(function(e,t){return e-t},0);return n.after=As,n.ary=Ps,n.assign=Of,n.assignIn=Ef,n.assignInWith=zf,n.assignWith=Rf,n.at=jf,n.before=Ns,n.bind=cf,n.bindAll=np,n.bindKey=df,n.castArray=Us,n.chain=es,n.chunk=si,n.compact=li,n.concat=ui,n.cond=Nu,n.conforms=Ou,n.constant=Eu,n.countBy=ef,n.create=El,n.curry=Os,n.curryRight=Es,n.debounce=zs,n.defaults=Lf,n.defaultsDeep=Df,n.defer=ff,n.delay=pf,n.difference=Ld,n.differenceBy=Dd,n.differenceWith=Id,n.drop=ci,n.dropRight=di,n.dropRightWhile=fi,n.dropWhile=pi,n.fill=hi,n.filter=ds,n.flatMap=fs,n.flatMapDeep=ps,n.flatMapDepth=hs,n.flatten=bi,n.flattenDeep=gi,n.flattenDepth=yi,n.flip=Rs,n.flow=rp,n.flowRight=op,n.fromPairs=_i,n.functions=Bl,n.functionsIn=Vl,n.groupBy=rf,n.initial=Si,n.intersection=Bd,n.intersectionBy=Vd,n.intersectionWith=qd,n.invert=If,n.invertBy=Bf,n.invokeMap=of,n.iteratee=ju,n.keyBy=af,n.keys=Wl,n.keysIn=Hl,n.map=gs,n.mapKeys=Xl,n.mapValues=Kl,n.matches=Lu,n.matchesProperty=Du,n.memoize=js,n.merge=qf,n.mergeWith=Ff,n.method=ap,n.methodOf=ip,n.mixin=Iu,n.negate=Ls,n.nthArg=qu,n.omit=Uf,n.omitBy=Gl,n.once=Ds,n.orderBy=ys,n.over=sp,n.overArgs=hf,n.overEvery=lp,n.overSome=up,n.partial=mf,n.partialRight=vf,n.partition=sf,n.pick=Wf,n.pickBy=Yl,n.property=Fu,n.propertyOf=Uu,n.pull=Fd,n.pullAll=Ai,n.pullAllBy=Pi,n.pullAllWith=Ni,n.pullAt=Ud,n.range=cp,n.rangeRight=dp,n.rearg=bf,n.reject=ws,n.remove=Oi,n.rest=Is,n.reverse=Ei,n.sampleSize=Cs,n.set=Ql,n.setWith=Jl,n.shuffle=xs,n.slice=zi,n.sortBy=lf,n.sortedUniq=Vi,n.sortedUniqBy=qi,n.split=yu,n.spread=Bs,n.tail=Fi,n.take=Ui,n.takeRight=Wi,n.takeRightWhile=Hi,n.takeWhile=Xi,n.tap=ts,n.throttle=Vs,n.thru=ns,n.toArray=Cl,n.toPairs=Hf,n.toPairsIn=Xf,n.toPath=$u,n.toPlainObject=Pl,n.transform=Zl,n.unary=qs,n.union=Wd,n.unionBy=Hd,n.unionWith=Xd,n.uniq=Ki,n.uniqBy=Gi,n.uniqWith=Yi,n.unset=eu,n.unzip=$i,n.unzipWith=Qi,n.update=tu,n.updateWith=nu,n.values=ru,n.valuesIn=ou,n.without=Kd,n.words=Pu,n.wrap=Fs,n.xor=Gd,n.xorBy=Yd,n.xorWith=$d,n.zip=Qd,n.zipObject=Ji,n.zipObjectDeep=Zi,n.zipWith=Jd,n.entries=Hf,n.entriesIn=Xf,n.extend=Ef,n.extendWith=zf,Iu(n,n),n.add=fp,n.attempt=tp,n.camelCase=Kf,n.capitalize=lu,n.ceil=pp,n.clamp=au,n.clone=Ws,n.cloneDeep=Xs,n.cloneDeepWith=Ks,n.cloneWith=Hs,n.conformsTo=Gs,n.deburr=uu,n.defaultTo=zu,n.divide=hp,n.endsWith=cu,n.eq=Ys,n.escape=du,n.escapeRegExp=fu,n.every=cs,n.find=tf,n.findIndex=mi,n.findKey=zl,n.findLast=nf,n.findLastIndex=vi,n.findLastKey=Rl,n.floor=mp,n.forEach=ms,n.forEachRight=vs,n.forIn=jl,n.forInRight=Ll,n.forOwn=Dl,n.forOwnRight=Il,n.get=ql,n.gt=gf,n.gte=yf,n.has=Fl,n.hasIn=Ul,n.head=Mi,n.identity=Ru,n.includes=bs,n.indexOf=wi,n.inRange=iu,n.invoke=Vf,n.isArguments=_f,n.isArray=Mf,n.isArrayBuffer=wf,n.isArrayLike=$s,n.isArrayLikeObject=Qs,n.isBoolean=Js,n.isBuffer=Sf,n.isDate=Cf,n.isElement=Zs,n.isEmpty=el,n.isEqual=tl,n.isEqualWith=nl,n.isError=rl,n.isFinite=ol,n.isFunction=al,n.isInteger=il,n.isLength=sl,n.isMap=xf,n.isMatch=cl,n.isMatchWith=dl,n.isNaN=fl,n.isNative=pl,n.isNil=ml,n.isNull=hl,n.isNumber=vl,n.isObject=ll,n.isObjectLike=ul,n.isPlainObject=bl,n.isRegExp=kf,n.isSafeInteger=gl,n.isSet=Tf,n.isString=yl,n.isSymbol=_l,n.isTypedArray=Af,n.isUndefined=Ml,n.isWeakMap=wl,n.isWeakSet=Sl,n.join=Ci,n.kebabCase=Gf,n.last=xi,n.lastIndexOf=ki,n.lowerCase=Yf,n.lowerFirst=$f,n.lt=Pf,n.lte=Nf,n.max=Ju,n.maxBy=Zu,n.mean=ec,n.meanBy=tc,n.min=nc,n.minBy=rc,n.stubArray=Wu,n.stubFalse=Hu,n.stubObject=Xu,n.stubString=Ku,n.stubTrue=Gu,n.multiply=vp,n.nth=Ti,n.noConflict=Bu,n.noop=Vu,n.now=uf,n.pad=pu,n.padEnd=hu,n.padStart=mu,n.parseInt=vu,n.random=su,n.reduce=_s,n.reduceRight=Ms,n.repeat=bu,n.replace=gu,n.result=$l,n.round=bp,n.runInContext=e,n.sample=Ss,n.size=ks,n.snakeCase=Qf,n.some=Ts,n.sortedIndex=Ri,n.sortedIndexBy=ji,n.sortedIndexOf=Li,n.sortedLastIndex=Di,n.sortedLastIndexBy=Ii,n.sortedLastIndexOf=Bi,n.startCase=Jf,n.startsWith=_u,n.subtract=gp,n.sum=oc,n.sumBy=ac,n.template=Mu,n.times=Yu,n.toFinite=xl,n.toInteger=kl,n.toLength=Tl,n.toLower=wu,n.toNumber=Al,n.toSafeInteger=Nl,n.toString=Ol,n.toUpper=Su,n.trim=Cu,n.trimEnd=xu,n.trimStart=ku,n.truncate=Tu,n.unescape=Au,n.uniqueId=Qu,n.upperCase=Zf,n.upperFirst=ep,n.each=ms,n.eachRight=vs,n.first=Mi,Iu(n,function(){var e={};return or(n,function(t,r){_c.call(n.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),n.VERSION=re,s(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){n[e].placeholder=n}),s(["drop","take"],function(e,t){Y.prototype[e]=function(n){n=n===ne?1:Yc(kl(n),0);var r=this.__filtered__&&!t?new Y(this):this.clone();return r.__filtered__?r.__takeCount__=$c(n,r.__takeCount__):r.__views__.push({size:$c(n,Le),type:e+(r.__dir__<0?"Right":"")}),r},Y.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),s(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==Pe||n==Oe;Y.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:xa(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),s(["head","last"],function(e,t){var n="take"+(t?"Right":"");Y.prototype[e]=function(){return this[n](1).value()[0]}}),s(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");Y.prototype[e]=function(){return this.__filtered__?new Y(this):this[n](1)}}),Y.prototype.compact=function(){return this.filter(Ru)},Y.prototype.find=function(e){return this.filter(e).head()},Y.prototype.findLast=function(e){return this.reverse().find(e)},Y.prototype.invokeMap=ao(function(e,t){return"function"==typeof e?new Y(this):this.map(function(n){return Ar(n,e,t)})}),Y.prototype.reject=function(e){return this.filter(Ls(xa(e)))},Y.prototype.slice=function(e,t){e=kl(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Y(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==ne&&(t=kl(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},Y.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Y.prototype.toArray=function(){return this.take(Le)},or(Y.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),a=n[o?"take"+("last"==t?"Right":""):t],i=o||/^find/.test(t);a&&(n.prototype[t]=function(){var t=this.__wrapped__,s=o?[1]:arguments,l=t instanceof Y,u=s[0],c=l||Mf(t),d=function(e){var t=a.apply(n,h([e],s));return o&&f?t[0]:t};c&&r&&"function"==typeof u&&1!=u.length&&(l=c=!1);var f=this.__chain__,p=!!this.__actions__.length,m=i&&!f,v=l&&!p;if(!i&&c){t=v?t:new Y(this);var b=e.apply(t,s);return b.__actions__.push({func:ns,args:[d],thisArg:ne}),new T(b,f)}return m&&v?e.apply(this,s):(b=this.thru(d),m?o?b.value()[0]:b.value():b)})}),s(["pop","push","shift","sort","splice","unshift"],function(e){var t=mc[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);n.prototype[e]=function(){var e=arguments;if(o&&!this.__chain__){var n=this.value();return t.apply(Mf(n)?n:[],e)}return this[r](function(n){return t.apply(Mf(n)?n:[],e)})}}),or(Y.prototype,function(e,t){var r=n[t];if(r){var o=r.name+"",a=ld[o]||(ld[o]=[]);a.push({name:t,func:r})}}),ld[na(ne,ve).name]=[{name:"wrapper",func:ne}],Y.prototype.clone=Z,Y.prototype.reverse=ee,Y.prototype.value=qt,n.prototype.at=Zd,n.prototype.chain=rs,n.prototype.commit=os,n.prototype.next=as,n.prototype.plant=ss,n.prototype.reverse=ls,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=us,n.prototype.first=n.prototype.head,Lc&&(n.prototype[Lc]=is),n},wr=Mr();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(ar._=wr,define(function(){return wr})):sr?((sr.exports=wr)._=wr,ir._=wr):ar._=wr}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],754:[function(e,t,n){function r(e,t){var n=s(e)?o:i;return n(e,a(t,3))}var o=e("./_arrayMap"),a=e("./_baseIteratee"),i=e("./_baseMap"),s=e("./isArray");t.exports=r},{"./_arrayMap":483,"./_baseIteratee":526,"./_baseMap":530,"./isArray":731}],755:[function(e,t,n){function r(e,t){var n={};return t=i(t,3),a(e,function(e,r,a){o(n,t(e,r,a),e)}),n}var o=e("./_baseAssignValue"),a=e("./_baseForOwn"),i=e("./_baseIteratee");t.exports=r},{"./_baseAssignValue":494,"./_baseForOwn":509,"./_baseIteratee":526}],756:[function(e,t,n){function r(e,t){var n={};return t=i(t,3),a(e,function(e,r,a){o(n,r,t(e,r,a))}),n}var o=e("./_baseAssignValue"),a=e("./_baseForOwn"),i=e("./_baseIteratee");t.exports=r},{"./_baseAssignValue":494,"./_baseForOwn":509,"./_baseIteratee":526}],757:[function(e,t,n){function r(e){return e&&e.length?o(e,i,a):void 0}var o=e("./_baseExtremum"),a=e("./_baseGt"),i=e("./identity");t.exports=r},{"./_baseExtremum":503,"./_baseGt":515,"./identity":727}],758:[function(e,t,n){function r(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(a);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(r.Cache||o),n}var o=e("./_MapCache"),a="Expected a function";r.Cache=o,t.exports=r},{"./_MapCache":464}],759:[function(e,t,n){function r(){}t.exports=r},{}],760:[function(e,t,n){var r=e("./_root"),o=function(){return r.Date.now()};t.exports=o},{"./_root":666}],761:[function(e,t,n){var r=e("./_arrayMap"),o=e("./_baseClone"),a=e("./_baseUnset"),i=e("./_castPath"),s=e("./_copyObject"),l=e("./_customOmitClone"),u=e("./_flatRest"),c=e("./_getAllKeysIn"),d=1,f=2,p=4,h=u(function(e,t){var n={};if(null==e)return n;var u=!1;t=r(t,function(t){return t=i(t,e),u||(u=t.length>1),t}),s(e,c(e),n),u&&(n=o(n,d|f|p,l));for(var h=t.length;h--;)a(n,t[h]);return n});t.exports=h},{"./_arrayMap":483,"./_baseClone":496,"./_baseUnset":554,"./_castPath":560,"./_copyObject":577,"./_customOmitClone":597,"./_flatRest":602,"./_getAllKeysIn":605}],762:[function(e,t,n){function r(e){return o(2,e)}var o=e("./before");t.exports=r},{"./before":692}],763:[function(e,t,n){function r(e,t,n,r){return null==e?[]:(a(t)||(t=null==t?[]:[t]),n=r?void 0:n,a(n)||(n=null==n?[]:[n]),o(e,t,n))}var o=e("./_baseOrderBy"),a=e("./isArray");t.exports=r},{"./_baseOrderBy":533,"./isArray":731}],764:[function(e,t,n){var r=e("./_basePick"),o=e("./_flatRest"),a=o(function(e,t){return null==e?{}:r(e,t)});t.exports=a},{"./_basePick":534,"./_flatRest":602}],765:[function(e,t,n){function r(e,t){if(null==e)return{};var n=o(s(e),function(e){return[e]});return t=a(t),i(e,n,function(e,n){return t(e,n[0])})}var o=e("./_arrayMap"),a=e("./_baseIteratee"),i=e("./_basePickBy"),s=e("./_getAllKeysIn");t.exports=r},{"./_arrayMap":483,"./_baseIteratee":526,"./_basePickBy":535,"./_getAllKeysIn":605}],766:[function(e,t,n){function r(e){return i(e)?o(s(e)):a(e)}var o=e("./_baseProperty"),a=e("./_basePropertyDeep"),i=e("./_isKey"),s=e("./_toKey");t.exports=r},{"./_baseProperty":536,"./_basePropertyDeep":537,"./_isKey":633,"./_toKey":683}],767:[function(e,t,n){var r=e("./_createWrap"),o=e("./_flatRest"),a=256,i=o(function(e,t){return r(e,a,void 0,void 0,void 0,t)});t.exports=i},{"./_createWrap":595,"./_flatRest":602}],768:[function(e,t,n){function r(e,t,n){var r=l(e)?o:s,u=arguments.length<3;return r(e,i(t,4),n,u,a)}var o=e("./_arrayReduce"),a=e("./_baseEach"),i=e("./_baseIteratee"),s=e("./_baseReduce"),l=e("./isArray");t.exports=r},{"./_arrayReduce":485,"./_baseEach":500,"./_baseIteratee":526,"./_baseReduce":539,"./isArray":731}],769:[function(e,t,n){function r(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],s=e.length;for(t=o(t,3);++r<s;){var l=e[r];t(l,r,e)&&(n.push(l),i.push(r))}return a(e,i),n}var o=e("./_baseIteratee"),a=e("./_basePullAt");t.exports=r},{"./_baseIteratee":526,"./_basePullAt":538}],770:[function(e,t,n){function r(){var e=arguments,t=o(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var o=e("./toString");t.exports=r},{"./toString":789}],771:[function(e,t,n){var r=e("./_createRound"),o=r("round");t.exports=o},{"./_createRound":593}],772:[function(e,t,n){function r(e){if(null==e)return 0;if(i(e))return s(e)?l(e):e.length;var t=a(e);return t==u||t==c?e.size:o(e).length}var o=e("./_baseKeys"),a=e("./_getTag"),i=e("./isArrayLike"),s=e("./isString"),l=e("./_stringSize"),u="[object Map]",c="[object Set]";t.exports=r},{"./_baseKeys":527,"./_getTag":616,"./_stringSize":680,"./isArrayLike":732,"./isString":744}],773:[function(e,t,n){function r(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&a(e,t,n)?(t=0,n=r):(t=null==t?0:i(t),n=void 0===n?r:i(n)),o(e,t,n)):[]}var o=e("./_baseSlice"),a=e("./_isIterateeCall"),i=e("./toInteger");t.exports=r},{"./_baseSlice":544,"./_isIterateeCall":632,"./toInteger":786}],774:[function(e,t,n){function r(e,t,n){var r=s(e)?o:i;return n&&l(e,t,n)&&(t=void 0),r(e,a(t,3))}var o=e("./_arraySome"),a=e("./_baseIteratee"),i=e("./_baseSome"),s=e("./isArray"),l=e("./_isIterateeCall");t.exports=r},{"./_arraySome":486,"./_baseIteratee":526,"./_baseSome":545,"./_isIterateeCall":632,"./isArray":731}],775:[function(e,t,n){var r=e("./_baseFlatten"),o=e("./_baseOrderBy"),a=e("./_baseRest"),i=e("./_isIterateeCall"),s=a(function(e,t){if(null==e)return[];var n=t.length;return n>1&&i(e,t[0],t[1])?t=[]:n>2&&i(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])});t.exports=s},{"./_baseFlatten":507,"./_baseOrderBy":533,"./_baseRest":540,"./_isIterateeCall":632}],776:[function(e,t,n){function r(e,t){return o(e,t)}var o=e("./_baseSortedIndex");t.exports=r},{"./_baseSortedIndex":547}],777:[function(e,t,n){function r(e,t,n){return e=s(e),n=null==n?0:o(i(n),0,e.length),t=a(t),e.slice(n,n+t.length)==t}var o=e("./_baseClamp"),a=e("./_baseToString"),i=e("./toInteger"),s=e("./toString");t.exports=r},{"./_baseClamp":495,"./_baseToString":551,"./toInteger":786,"./toString":789}],778:[function(e,t,n){function r(){return[]}t.exports=r},{}],779:[function(e,t,n){function r(){return!1}t.exports=r},{}],780:[function(e,t,n){function r(e){return e&&e.length?o(e,a):0}var o=e("./_baseSum"),a=e("./identity");t.exports=r},{"./_baseSum":549,"./identity":727}],781:[function(e,t,n){function r(e,t){return e&&e.length?a(e,o(t,2)):0}var o=e("./_baseIteratee"),a=e("./_baseSum");t.exports=r},{"./_baseIteratee":526,"./_baseSum":549}],782:[function(e,t,n){function r(e,t,n){var r=!0,s=!0;if("function"!=typeof e)throw new TypeError(i);return a(n)&&(r="leading"in n?!!n.leading:r,s="trailing"in n?!!n.trailing:s),o(e,t,{leading:r,maxWait:t,trailing:s})}var o=e("./debounce"),a=e("./isObject"),i="Expected a function";t.exports=r},{"./debounce":701,"./isObject":741}],783:[function(e,t,n){function r(e,t){if(e=i(e),e<1||e>s)return[];var n=l,r=u(e,l);t=a(t),e-=l;for(var c=o(r,t);++n<e;)t(n);return c}var o=e("./_baseTimes"),a=e("./_castFunction"),i=e("./toInteger"),s=9007199254740991,l=4294967295,u=Math.min;t.exports=r},{"./_baseTimes":550,"./_castFunction":559,"./toInteger":786}],784:[function(e,t,n){function r(e){if(!e)return[];if(s(e))return l(e)?f(e):a(e);if(v&&e[v])return u(e[v]());var t=i(e),n=t==h?c:t==m?d:p;return n(e)}var o=e("./_Symbol"),a=e("./_copyArray"),i=e("./_getTag"),s=e("./isArrayLike"),l=e("./isString"),u=e("./_iteratorToArray"),c=e("./_mapToArray"),d=e("./_setToArray"),f=e("./_stringToArray"),p=e("./values"),h="[object Map]",m="[object Set]",v=o?o.iterator:void 0;t.exports=r},{"./_Symbol":469,"./_copyArray":576,"./_getTag":616,"./_iteratorToArray":639,"./_mapToArray":650,"./_setToArray":670,"./_stringToArray":681,"./isArrayLike":732,"./isString":744,"./values":794}],785:[function(e,t,n){function r(e){if(!e)return 0===e?e:0;if(e=o(e),e===a||e===-a){var t=e<0?-1:1;return t*i}return e===e?e:0}var o=e("./toNumber"),a=1/0,i=1.7976931348623157e308;t.exports=r},{"./toNumber":787}],786:[function(e,t,n){function r(e){var t=o(e),n=t%1;return t===t?n?t-n:t:0}var o=e("./toFinite");t.exports=r},{"./toFinite":785}],787:[function(e,t,n){function r(e){if("number"==typeof e)return e;if(a(e))return i;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var n=u.test(e);return n||c.test(e)?d(e.slice(2),n?2:8):l.test(e)?i:+e}var o=e("./isObject"),a=e("./isSymbol"),i=NaN,s=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,c=/^0o[0-7]+$/i,d=parseInt;t.exports=r},{"./isObject":741,"./isSymbol":745}],788:[function(e,t,n){function r(e){return i(e)?o(e,u):s(e)?[e]:a(l(c(e)))}var o=e("./_arrayMap"),a=e("./_copyArray"),i=e("./isArray"),s=e("./isSymbol"),l=e("./_stringToPath"),u=e("./_toKey"),c=e("./toString");t.exports=r},{"./_arrayMap":483,"./_copyArray":576,"./_stringToPath":682,"./_toKey":683,"./isArray":731,"./isSymbol":745,"./toString":789}],789:[function(e,t,n){function r(e){return null==e?"":o(e)}var o=e("./_baseToString");t.exports=r},{"./_baseToString":551}],790:[function(e,t,n){function r(e,t,n){if(e=u(e),e&&(n||void 0===t))return e.replace(c,"");if(!e||!(t=o(t)))return e;var r=l(e),d=l(t),f=s(r,d),p=i(r,d)+1;return a(r,f,p).join("")}var o=e("./_baseToString"),a=e("./_castSlice"),i=e("./_charsEndIndex"),s=e("./_charsStartIndex"),l=e("./_stringToArray"),u=e("./toString"),c=/^\s+|\s+$/g;t.exports=r},{"./_baseToString":551,"./_castSlice":561,"./_charsEndIndex":562,"./_charsStartIndex":563,"./_stringToArray":681,"./toString":789}],791:[function(e,t,n){function r(e,t,n){if(e=l(e),e&&(n||void 0===t))return e.replace(u,"");if(!e||!(t=o(t)))return e;var r=s(e),c=i(r,s(t));return a(r,c).join("")}var o=e("./_baseToString"),a=e("./_castSlice"),i=e("./_charsStartIndex"),s=e("./_stringToArray"),l=e("./toString"),u=/^\s+/;t.exports=r},{"./_baseToString":551,"./_castSlice":561,"./_charsStartIndex":563,"./_stringToArray":681,"./toString":789}],792:[function(e,t,n){var r=e("./_baseFlatten"),o=e("./_baseRest"),a=e("./_baseUniq"),i=e("./isArrayLikeObject"),s=o(function(e){return a(r(e,1,i,!0))});t.exports=s},{"./_baseFlatten":507,"./_baseRest":540,"./_baseUniq":553,"./isArrayLikeObject":733}],793:[function(e,t,n){function r(e){return e&&e.length?o(e):[]}var o=e("./_baseUniq");t.exports=r},{"./_baseUniq":553}],794:[function(e,t,n){function r(e){return null==e?[]:o(e,a(e))}var o=e("./_baseValues"),a=e("./keys");t.exports=r},{"./_baseValues":555,"./keys":750}],795:[function(e,t,n){var r=e("./_baseDifference"),o=e("./_baseRest"),a=e("./isArrayLikeObject"),i=o(function(e,t){return a(e)?r(e,t):[]});t.exports=i},{"./_baseDifference":499,"./_baseRest":540,"./isArrayLikeObject":733}],796:[function(e,t,n){function r(e){if(l(e)&&!s(e)&&!(e instanceof o)){if(e instanceof a)return e;if(d.call(e,"__wrapped__"))return u(e)}return new a(e)}var o=e("./_LazyWrapper"),a=e("./_LodashWrapper"),i=e("./_baseLodash"),s=e("./isArray"),l=e("./isObjectLike"),u=e("./_wrapperClone"),c=Object.prototype,d=c.hasOwnProperty;r.prototype=i.prototype,r.prototype.constructor=r,t.exports=r},{"./_LazyWrapper":460,"./_LodashWrapper":462,"./_baseLodash":529,"./_wrapperClone":688,"./isArray":731,"./isObjectLike":742}],797:[function(e,t,n){var r=e("./_arrayFilter"),o=e("./_baseRest"),a=e("./_baseXor"),i=e("./isArrayLikeObject"),s=o(function(e){return a(r(e,i))});t.exports=s},{"./_arrayFilter":479,"./_baseRest":540,"./_baseXor":556,"./isArrayLikeObject":733}],798:[function(e,t,n){"use strict";function r(e){e&&a(this,"message",{configurable:!0,value:e,writable:!0});var t=this.constructor.name;t&&t!==this.name&&a(this,"name",{configurable:!0,value:t,writable:!0}),i(this,this.constructor)}function o(e,t){if(null==t||t===Error)t=r;else if("function"!=typeof t)throw new TypeError("super_ should be a function");var n;if("string"==typeof e)n=e,e=function(){t.apply(this,arguments)},s&&(s(e,n),n=null);else if("function"!=typeof e)throw new TypeError("constructor should be either a string or a function");e.super_=e.super=t;var o={constructor:{configurable:!0,value:e,writable:!0}};return null!=n&&(o.name={configurable:!0,value:n,writable:!0}),e.prototype=Object.create(t.prototype,o),e}var a=Object.defineProperty,i=Error.captureStackTrace;i||(i=function(e){var t=new Error;a(e,"stack",{configurable:!0,get:function(){var e=t.stack;return a(this,"stack",{value:e}),e},set:function(t){a(e,"stack",{configurable:!0,value:t,writable:!0})}})}),r.prototype=Object.create(Error.prototype,{constructor:{configurable:!0,value:r,writable:!0}});var s=function(){function e(e,t){return a(e,"name",{configurable:!0,value:t})}try{var t=function(){};if(e(t,"foo"),"foo"===t.name)return e}catch(e){}}();n=t.exports=o,n.BaseError=r},{}],799:[function(e,t,n){(function(e){(function(){function e(e){this.tokens=[],this.tokens.links={},this.options=e||d.defaults,this.rules=f.normal,this.options.gfm&&(this.options.tables?this.rules=f.tables:this.rules=f.gfm)}function r(e,t){if(this.options=t||d.defaults,this.links=e,this.rules=p.normal,this.renderer=this.options.renderer||new o,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=p.breaks:this.rules=p.gfm:this.options.pedantic&&(this.rules=p.pedantic)}function o(e){this.options=e||{}}function a(e){this.tokens=[],this.token=null,this.options=e||d.defaults,this.options.renderer=this.options.renderer||new o,this.renderer=this.options.renderer,this.renderer.options=this.options}function i(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function s(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/g,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function l(e,t){return e=e.source,t=t||"",function n(r,o){return r?(o=o.source||o,o=o.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(r,o),n):new RegExp(e,t)}}function u(){}function c(e){for(var t,n,r=1;r<arguments.length;r++){t=arguments[r];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}function d(t,n,r){if(r||"function"==typeof n){r||(r=n,n=null),n=c({},d.defaults,n||{});var o,s,l=n.highlight,u=0;try{o=e.lex(t,n)}catch(e){return r(e)}s=o.length;var f=function(e){if(e)return n.highlight=l,r(e);var t;try{t=a.parse(o,n)}catch(t){e=t}return n.highlight=l,e?r(e):r(null,t)};if(!l||l.length<3)return f();if(delete n.highlight,!s)return f();for(;u<o.length;u++)!function(e){return"code"!==e.type?--s||f():l(e.text,e.lang,function(t,n){return t?f(t):null==n||n===e.text?--s||f():(e.text=n,e.escaped=!0,void(--s||f()))})}(o[u])}else try{return n&&(n=c({},d.defaults,n)),a.parse(e.lex(t,n),n)}catch(e){if(e.message+="\nPlease report this to https://github.com/chjj/marked.",(n||d.defaults).silent)return"<p>An error occured:</p><pre>"+i(e.message+"",!0)+"</pre>";throw e}}var f={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:u,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:u,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,blockquote:/^( *>[^\n]+(\n(?!def)[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:u,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/,text:/^[^\n]+/};f.bullet=/(?:[*+-]|\d+\.)/,f.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,f.item=l(f.item,"gm")(/bull/g,f.bullet)(),f.list=l(f.list)(/bull/g,f.bullet)("hr","\\n+(?=\\1?(?:[-*_] *){3,}(?:\\n+|$))")("def","\\n+(?="+f.def.source+")")(),f.blockquote=l(f.blockquote)("def",f.def)(),f._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|[^\\w\\s@]*@)\\b",f.html=l(f.html)("comment",/<!--[\s\S]*?-->/)("closed",/<(tag)[\s\S]+?<\/\1>/)("closing",/<tag(?:"[^"]*"|'[^']*'|[^'">])*?>/)(/tag/g,f._tag)(),f.paragraph=l(f.paragraph)("hr",f.hr)("heading",f.heading)("lheading",f.lheading)("blockquote",f.blockquote)("tag","<"+f._tag)("def",f.def)(),f.normal=c({},f),f.gfm=c({},f.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\s*\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),f.gfm.paragraph=l(f.paragraph)("(?!","(?!"+f.gfm.fences.source.replace("\\1","\\2")+"|"+f.list.source.replace("\\1","\\3")+"|")(),f.tables=c({},f.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),e.rules=f,e.lex=function(t,n){var r=new e(n);return r.lex(t)},e.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},e.prototype.token=function(e,t,n){for(var r,o,a,i,s,l,u,c,d,e=e.replace(/^ +$/gm,"");e;)if((a=this.rules.newline.exec(e))&&(e=e.substring(a[0].length),a[0].length>1&&this.tokens.push({type:"space"})),a=this.rules.code.exec(e))e=e.substring(a[0].length),a=a[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?a:a.replace(/\n+$/,"")});else if(a=this.rules.fences.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"code",lang:a[2],text:a[3]||""});else if(a=this.rules.heading.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"heading",depth:a[1].length,text:a[2]});else if(t&&(a=this.rules.nptable.exec(e))){for(e=e.substring(a[0].length),l={type:"table",header:a[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3].replace(/\n$/,"").split("\n")},c=0;c<l.align.length;c++)/^ *-+: *$/.test(l.align[c])?l.align[c]="right":/^ *:-+: *$/.test(l.align[c])?l.align[c]="center":/^ *:-+ *$/.test(l.align[c])?l.align[c]="left":l.align[c]=null;
|
26 | for(c=0;c<l.cells.length;c++)l.cells[c]=l.cells[c].split(/ *\| */);this.tokens.push(l)}else if(a=this.rules.lheading.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"heading",depth:"="===a[2]?1:2,text:a[1]});else if(a=this.rules.hr.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"hr"});else if(a=this.rules.blockquote.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"blockquote_start"}),a=a[0].replace(/^ *> ?/gm,""),this.token(a,t,!0),this.tokens.push({type:"blockquote_end"});else if(a=this.rules.list.exec(e)){for(e=e.substring(a[0].length),i=a[2],this.tokens.push({type:"list_start",ordered:i.length>1}),a=a[0].match(this.rules.item),r=!1,d=a.length,c=0;c<d;c++)l=a[c],u=l.length,l=l.replace(/^ *([*+-]|\d+\.) +/,""),~l.indexOf("\n ")&&(u-=l.length,l=this.options.pedantic?l.replace(/^ {1,4}/gm,""):l.replace(new RegExp("^ {1,"+u+"}","gm"),"")),this.options.smartLists&&c!==d-1&&(s=f.bullet.exec(a[c+1])[0],i===s||i.length>1&&s.length>1||(e=a.slice(c+1).join("\n")+e,c=d-1)),o=r||/\n\n(?!\s*$)/.test(l),c!==d-1&&(r="\n"===l.charAt(l.length-1),o||(o=r)),this.tokens.push({type:o?"loose_item_start":"list_item_start"}),this.token(l,!1,n),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(a=this.rules.html.exec(e))e=e.substring(a[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===a[1]||"script"===a[1]||"style"===a[1]),text:a[0]});else if(!n&&t&&(a=this.rules.def.exec(e)))e=e.substring(a[0].length),this.tokens.links[a[1].toLowerCase()]={href:a[2],title:a[3]};else if(t&&(a=this.rules.table.exec(e))){for(e=e.substring(a[0].length),l={type:"table",header:a[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:a[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:a[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c<l.align.length;c++)/^ *-+: *$/.test(l.align[c])?l.align[c]="right":/^ *:-+: *$/.test(l.align[c])?l.align[c]="center":/^ *:-+ *$/.test(l.align[c])?l.align[c]="left":l.align[c]=null;for(c=0;c<l.cells.length;c++)l.cells[c]=l.cells[c].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */);this.tokens.push(l)}else if(t&&(a=this.rules.paragraph.exec(e)))e=e.substring(a[0].length),this.tokens.push({type:"paragraph",text:"\n"===a[1].charAt(a[1].length-1)?a[1].slice(0,-1):a[1]});else if(a=this.rules.text.exec(e))e=e.substring(a[0].length),this.tokens.push({type:"text",text:a[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var p={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:u,tag:/^<!--[\s\S]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:[^_]|__)+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:u,text:/^[\s\S]+?(?=[\\<!\[_*`]| {2,}\n|$)/};p._inside=/(?:\[[^\]]*\]|[^\[\]]|\](?=[^\[]*\]))*/,p._href=/\s*<?([\s\S]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*/,p.link=l(p.link)("inside",p._inside)("href",p._href)(),p.reflink=l(p.reflink)("inside",p._inside)(),p.normal=c({},p),p.pedantic=c({},p.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),p.gfm=c({},p.normal,{escape:l(p.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:l(p.text)("]|","~]|")("|","|https?://|")()}),p.breaks=c({},p.gfm,{br:l(p.br)("{2,}","*")(),text:l(p.gfm.text)("{2,}","*")()}),r.rules=p,r.output=function(e,t,n){var o=new r(t,n);return o.output(e)},r.prototype.output=function(e){for(var t,n,r,o,a="";e;)if(o=this.rules.escape.exec(e))e=e.substring(o[0].length),a+=o[1];else if(o=this.rules.autolink.exec(e))e=e.substring(o[0].length),"@"===o[2]?(n=":"===o[1].charAt(6)?this.mangle(o[1].substring(7)):this.mangle(o[1]),r=this.mangle("mailto:")+n):(n=i(o[1]),r=n),a+=this.renderer.link(r,null,n);else if(this.inLink||!(o=this.rules.url.exec(e))){if(o=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(o[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(o[0])&&(this.inLink=!1),e=e.substring(o[0].length),a+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):i(o[0]):o[0];else if(o=this.rules.link.exec(e))e=e.substring(o[0].length),this.inLink=!0,a+=this.outputLink(o,{href:o[2],title:o[3]}),this.inLink=!1;else if((o=this.rules.reflink.exec(e))||(o=this.rules.nolink.exec(e))){if(e=e.substring(o[0].length),t=(o[2]||o[1]).replace(/\s+/g," "),t=this.links[t.toLowerCase()],!t||!t.href){a+=o[0].charAt(0),e=o[0].substring(1)+e;continue}this.inLink=!0,a+=this.outputLink(o,t),this.inLink=!1}else if(o=this.rules.strong.exec(e))e=e.substring(o[0].length),a+=this.renderer.strong(this.output(o[2]||o[1]));else if(o=this.rules.em.exec(e))e=e.substring(o[0].length),a+=this.renderer.em(this.output(o[2]||o[1]));else if(o=this.rules.code.exec(e))e=e.substring(o[0].length),a+=this.renderer.codespan(i(o[2],!0));else if(o=this.rules.br.exec(e))e=e.substring(o[0].length),a+=this.renderer.br();else if(o=this.rules.del.exec(e))e=e.substring(o[0].length),a+=this.renderer.del(this.output(o[1]));else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),a+=this.renderer.text(i(this.smartypants(o[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else e=e.substring(o[0].length),n=i(o[1]),r=n,a+=this.renderer.link(r,null,n);return a},r.prototype.outputLink=function(e,t){var n=i(t.href),r=t.title?i(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,i(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,o=0;o<r;o++)t=e.charCodeAt(o),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},o.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'<pre><code class="'+this.options.langPrefix+i(t,!0)+'">'+(n?e:i(e,!0))+"\n</code></pre>\n":"<pre><code>"+(n?e:i(e,!0))+"\n</code></pre>"},o.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},o.prototype.html=function(e){return e},o.prototype.heading=function(e,t,n){return"<h"+t+' id="'+this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-")+'">'+e+"</h"+t+">\n"},o.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},o.prototype.list=function(e,t){var n=t?"ol":"ul";return"<"+n+">\n"+e+"</"+n+">\n"},o.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},o.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},o.prototype.table=function(e,t){return"<table>\n<thead>\n"+e+"</thead>\n<tbody>\n"+t+"</tbody>\n</table>\n"},o.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},o.prototype.tablecell=function(e,t){var n=t.header?"th":"td",r=t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">";return r+e+"</"+n+">\n"},o.prototype.strong=function(e){return"<strong>"+e+"</strong>"},o.prototype.em=function(e){return"<em>"+e+"</em>"},o.prototype.codespan=function(e){return"<code>"+e+"</code>"},o.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},o.prototype.del=function(e){return"<del>"+e+"</del>"},o.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(s(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return""}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:"))return""}var o='<a href="'+e+'"';return t&&(o+=' title="'+t+'"'),o+=">"+n+"</a>"},o.prototype.image=function(e,t,n){var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"},o.prototype.text=function(e){return e},a.parse=function(e,t,n){var r=new a(t,n);return r.parse(e)},a.prototype.parse=function(e){this.inline=new r(e.links,this.options,this.renderer),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},a.prototype.next=function(){return this.token=this.tokens.pop()},a.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},a.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},a.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,this.token.text);case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,o,a="",i="";for(n="",e=0;e<this.token.header.length;e++)r={header:!0,align:this.token.align[e]},n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(a+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",o=0;o<t.length;o++)n+=this.renderer.tablecell(this.inline.output(t[o]),{header:!1,align:this.token.align[o]});i+=this.renderer.tablerow(n)}return this.renderer.table(a,i);case"blockquote_start":for(var i="";"blockquote_end"!==this.next().type;)i+=this.tok();return this.renderer.blockquote(i);case"list_start":for(var i="",s=this.token.ordered;"list_end"!==this.next().type;)i+=this.tok();return this.renderer.list(i,s);case"list_item_start":for(var i="";"list_item_end"!==this.next().type;)i+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(i);case"loose_item_start":for(var i="";"list_item_end"!==this.next().type;)i+=this.tok();return this.renderer.listitem(i);case"html":var l=this.token.pre||this.options.pedantic?this.token.text:this.inline.output(this.token.text);return this.renderer.html(l);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}},u.exec=u,d.options=d.setOptions=function(e){return c(d.defaults,e),d},d.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new o,xhtml:!1},d.Parser=a,d.parser=a.parse,d.Renderer=o,d.Lexer=e,d.lexer=e.lex,d.InlineLexer=r,d.inlineLexer=r.output,d.parse=d,"undefined"!=typeof t&&"object"==typeof n?t.exports=d:"function"==typeof define&&define.amd?define(function(){return d}):this.marked=d}).call(function(){return this||("undefined"!=typeof window?window:e)}())}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],800:[function(e,t,n){t.exports={version:"2016j",zones:["Africa/Abidjan|LMT GMT|g.8 0|01|-2ldXH.Q|48e5","Africa/Accra|LMT GMT GHST|.Q 0 -k|012121212121212121212121212121212121212121212121|-26BbX.8 6tzX.8 MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE 1BAk MnE 1C0k MnE 1BAk MnE 1BAk MnE|41e5","Africa/Nairobi|LMT EAT BEAT BEAUT|-2r.g -30 -2u -2J|01231|-1F3Cr.g 3Dzr.g okMu MFXJ|47e5","Africa/Algiers|PMT WET WEST CET CEST|-9.l 0 -10 -10 -20|0121212121212121343431312123431213|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 DA0 Imo0 rd0 De0 9Xz0 1fb0 1ap0 16K0 2yo0 mEp0 hwL0 jxA0 11A0 dDd0 17b0 11B0 1cN0 2Dy0 1cN0 1fB0 1cL0|26e5","Africa/Lagos|LMT WAT|-d.A -10|01|-22y0d.A|17e6","Africa/Bissau|LMT WAT GMT|12.k 10 0|012|-2ldWV.E 2xonV.E|39e4","Africa/Maputo|LMT CAT|-2a.k -20|01|-2GJea.k|26e5","Africa/Cairo|EET EEST|-20 -30|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1bIO0 vb0 1ip0 11z0 1iN0 1nz0 12p0 1pz0 10N0 1pz0 16p0 1jz0 s3d0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1WL0 rd0 1Rz0 wp0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1qL0 Xd0 1oL0 11d0 1oL0 11d0 1pb0 11d0 1oL0 11d0 1oL0 11d0 1ny0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 WL0 1qN0 Rb0 1wp0 On0 1zd0 Lz0 1EN0 Fb0 c10 8n0 8Nd0 gL0 e10 mn0|15e6","Africa/Casablanca|LMT WET WEST CET|u.k 0 -10 -10|0121212121212121213121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2gMnt.E 130Lt.E rb0 Dd0 dVb0 b6p0 TX0 EoB0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4mn0 SyN0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 Rc0 11A0 e00 e00 U00 11A0 8o0 e00 11A0 11A0 5A0 e00 17c0 1fA0 1a00 1a00 1fA0 17c0 1io0 14o0 1lc0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1lc0 14o0 1fA0|32e5","Africa/Ceuta|WET WEST CET CEST|0 -10 -10 -20|010101010101010101010232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-25KN0 11z0 drd0 18o0 3I00 17c0 1fA0 1a00 1io0 1a00 1y7p0 LL0 gnd0 rz0 43d0 AL0 1Nd0 XX0 1Cp0 pz0 dEp0 4VB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|85e3","Africa/El_Aaiun|LMT WAT WET WEST|Q.M 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1rDz7.c 1GVA7.c 6L0 AL0 1Nd0 XX0 1Cp0 pz0 1cBB0 AL0 1Nd0 wn0 1FB0 Db0 1zd0 Lz0 1Nf0 wM0 co0 go0 1o00 s00 dA0 vc0 11A0 A00 e00 y00 11A0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00 Rc0 11A0 e00 e00 U00 11A0 8o0 e00 11A0 11A0 5A0 e00 17c0 1fA0 1a00 1a00 1fA0 17c0 1io0 14o0 1lc0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1lc0 14o0 1fA0|20e4","Africa/Johannesburg|SAST SAST SAST|-1u -20 -30|012121|-2GJdu 1Ajdu 1cL0 1cN0 1cL0|84e5","Africa/Khartoum|LMT CAT CAST EAT|-2a.8 -20 -30 -30|01212121212121212121212121212121213|-1yW2a.8 1zK0a.8 16L0 1iN0 17b0 1jd0 17b0 1ip0 17z0 1i10 17X0 1hB0 18n0 1hd0 19b0 1gp0 19z0 1iN0 17b0 1ip0 17z0 1i10 18n0 1hd0 18L0 1gN0 19b0 1gp0 19z0 1iN0 17z0 1i10 17X0 yGd0|51e5","Africa/Monrovia|MMT LRT GMT|H.8 I.u 0|012|-23Lzg.Q 29s01.m|11e5","Africa/Ndjamena|LMT WAT WAST|-10.c -10 -20|0121|-2le10.c 2J3c0.c Wn0|13e5","Africa/Tripoli|LMT CET CEST EET|-Q.I -10 -20 -20|012121213121212121212121213123123|-21JcQ.I 1hnBQ.I vx0 4iP0 xx0 4eN0 Bb0 7ip0 U0n0 A10 1db0 1cN0 1db0 1dd0 1db0 1eN0 1bb0 1e10 1cL0 1c10 1db0 1dd0 1db0 1cN0 1db0 1q10 fAn0 1ep0 1db0 AKq0 TA0 1o00|11e5","Africa/Tunis|PMT CET CEST|-9.l -10 -20|0121212121212121212121212121212121|-2nco9.l 18pa9.l 1qM0 DA0 3Tc0 11B0 1ze0 WM0 7z0 3d0 14L0 1cN0 1f90 1ar0 16J0 1gXB0 WM0 1rA0 11c0 nwo0 Ko0 1cM0 1cM0 1rA0 10M0 zuM0 10N0 1aN0 1qM0 WM0 1qM0 11A0 1o00|20e5","Africa/Windhoek|SWAT SAST SAST CAT WAT WAST|-1u -20 -30 -20 -10 -20|012134545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2GJdu 1Ajdu 1cL0 1SqL0 9NA0 11D0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0|32e4","America/Adak|NST NWT NPT BST BDT AHST HST HDT|b0 a0 a0 b0 a0 a0 a0 90|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|CAT CAWT CAPT AHST AHDT YST AKST AKDT|a0 90 90 a0 90 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T00 8wX0 iA0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cm0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Port_of_Spain|LMT AST|46.4 40|01|-2kNvR.U|43e3","America/Araguaina|LMT BRT BRST|3c.M 30 20|0121212121212121212121212121212121212121212121212121|-2glwL.c HdKL.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 ny10 Lz0|14e4","America/Argentina/Buenos_Aires|CMT ART ARST ART ARST|4g.M 40 30 30 20|0121212121212121212121212121212121212121213434343434343234343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 g0p0 10M0 j3c0 uL0 1qN0 WL0","America/Argentina/Catamarca|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|0121212121212121212121212121212121212121213434343454343235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 g0p0 10M0 ako0 7B0 8zb0 uL0","America/Argentina/Cordoba|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|0121212121212121212121212121212121212121213434343454343234343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 g0p0 10M0 j3c0 uL0 1qN0 WL0","America/Argentina/Jujuy|CMT ART ARST ART ARST WART WARST|4g.M 40 30 30 20 40 30|01212121212121212121212121212121212121212134343456543432343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1ze0 TX0 1ld0 WK0 1wp0 TX0 g0p0 10M0 j3c0 uL0","America/Argentina/La_Rioja|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|01212121212121212121212121212121212121212134343434534343235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 g0p0 10M0 ako0 7B0 8zb0 uL0","America/Argentina/Mendoza|CMT ART ARST ART ARST WART WARST|4g.M 40 30 30 20 40 30|0121212121212121212121212121212121212121213434345656543235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1u20 SL0 1vd0 Tb0 1wp0 TW0 g0p0 10M0 agM0 Op0 7TX0 uL0","America/Argentina/Rio_Gallegos|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|0121212121212121212121212121212121212121213434343434343235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 g0p0 10M0 ako0 7B0 8zb0 uL0","America/Argentina/Salta|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|01212121212121212121212121212121212121212134343434543432343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 g0p0 10M0 j3c0 uL0","America/Argentina/San_Juan|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|01212121212121212121212121212121212121212134343434534343235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Qn0 qO0 16n0 Rb0 1wp0 TX0 g0p0 10M0 ak00 m10 8lb0 uL0","America/Argentina/San_Luis|CMT ART ARST ART ARST WART WARST|4g.M 40 30 30 20 40 30|01212121212121212121212121212121212121212134343456536353465653|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 XX0 1q20 SL0 AN0 kin0 10M0 ak00 m10 8lb0 8L0 jd0 1qN0 WL0 1qN0","America/Argentina/Tucuman|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|012121212121212121212121212121212121212121343434345434323534343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wq0 Ra0 1wp0 TX0 g0p0 10M0 ako0 4N0 8BX0 uL0 1qN0 WL0","America/Argentina/Ushuaia|CMT ART ARST ART ARST WART|4g.M 40 30 30 20 40|0121212121212121212121212121212121212121213434343434343235343|-20UHH.c pKnH.c Mn0 1iN0 Tb0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 1C10 LX0 1C10 LX0 1C10 LX0 1C10 Mn0 MN0 2jz0 MN0 4lX0 u10 5Lb0 1pB0 Fnz0 u10 uL0 1vd0 SL0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 zvd0 Bz0 1tB0 TX0 1wp0 Rb0 1wp0 Rb0 1wp0 TX0 g0p0 10M0 ajA0 8p0 8zb0 uL0","America/Curacao|LMT ANT AST|4z.L 4u 40|012|-2kV7o.d 28KLS.d|15e4","America/Asuncion|AMT PYT PYT PYST|3O.E 40 30 30|012131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|-1x589.k 1DKM9.k 3CL0 3Dd0 10L0 1pB0 10n0 1pB0 10n0 1pB0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1dd0 1cL0 1dd0 1cL0 1dd0 1db0 1dd0 1cL0 1lB0 14n0 1dd0 1cL0 1fd0 WL0 1rd0 1aL0 1dB0 Xz0 1qp0 Xb0 1qN0 10L0 1rB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 WN0 1qL0 11B0 1nX0 1ip0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 TX0 1tB0 19X0 1a10 1fz0 1a10 1fz0 1cN0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0|28e5","America/Atikokan|CST CDT CWT CPT EST|60 50 50 50 50|0101234|-25TQ0 1in0 Rnb0 3je0 8x30 iw0|28e2","America/Bahia|LMT BRT BRST|2y.4 30 20|01212121212121212121212121212121212121212121212121212121212121|-2glxp.U HdLp.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 l5B0 Rb0|27e5","America/Bahia_Banderas|LMT MST CST PST MDT CDT|71 70 60 80 60 50|0121212131414141414141414141414141414152525252525252525252525252525252525252525252525252525252|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nW0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|84e3","America/Barbados|LMT BMT AST ADT|3W.t 3W.t 40 30|01232323232|-1Q0I1.v jsM0 1ODC1.v IL0 1ip0 17b0 1ip0 17b0 1ld0 13b0|28e4","America/Belem|LMT BRT BRST|3d.U 30 20|012121212121212121212121212121|-2glwK.4 HdKK.4 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|20e5","America/Belize|LMT CST CHDT CDT|5Q.M 60 5u 50|01212121212121212121212121212121212121212121212121213131|-2kBu7.c fPA7.c Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1wou Rbu 1zcu Onu 1zcu Onu 1zcu Rbu 1wou Rbu 1f0Mu qn0 lxB0 mn0|57e3","America/Blanc-Sablon|AST ADT AWT APT|40 30 30 30|010230|-25TS0 1in0 UGp0 8x50 iu0|11e2","America/Boa_Vista|LMT AMT AMST|42.E 40 30|0121212121212121212121212121212121|-2glvV.k HdKV.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 smp0 WL0 1tB0 2L0|62e2","America/Bogota|BMT COT COST|4U.g 50 40|0121|-2eb73.I 38yo3.I 2en0|90e5","America/Boise|PST PDT MST MWT MPT MDT|80 70 70 60 60 60|0101023425252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-261q0 1nX0 11B0 1nX0 8C10 JCL0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 Dd0 1Kn0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e4","America/Cambridge_Bay|-00 MST MWT MPT MDDT MDT CST CDT EST|0 70 60 60 50 60 60 50 50|0123141515151515151515151515151515151515151515678651515151515151515151515151515151515151515151515151515151515151515151515151|-21Jc0 RO90 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11A0 1nX0 2K0 WQ0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e2","America/Campo_Grande|LMT AMT AMST|3C.s 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2glwl.w HdLl.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0|77e4","America/Cancun|LMT CST EST EDT CDT|5L.4 60 50 40 50|0123232341414141414141414141414141414141412|-1UQG0 2q2o0 yLB0 1lb0 14p0 1lb0 14p0 Lz0 xB0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 Dd0|63e4","America/Caracas|CMT VET VET|4r.E 4u 40|01212|-2kV7w.k 28KM2.k 1IwOu kqo0|29e5","America/Cayenne|LMT GFT GFT|3t.k 40 30|012|-2mrwu.E 2gWou.E|58e3","America/Panama|CMT EST|5j.A 50|01|-2uduE.o|15e5","America/Chicago|CST CDT EST CWT CPT|60 50 50 50 50|01010101010101010101010101010101010102010101010103401010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 1wp0 TX0 WN0 1qL0 1cN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 11B0 1Hz0 14p0 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|LMT MST CST CDT MDT|74.k 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Costa_Rica|SJMT CST CDT|5A.d 60 50|0121212121|-1Xd6n.L 2lu0n.L Db0 1Kp0 Db0 pRB0 15b0 1kp0 mL0|12e5","America/Creston|MST PST|70 80|010|-29DR0 43B0|53e2","America/Cuiaba|LMT AMT AMST|3I.k 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2glwf.E HdLf.E 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 4a10 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0|54e4","America/Danmarkshavn|LMT WGT WGST GMT|1e.E 30 20 0|01212121212121212121212121212121213|-2a5WJ.k 2z5fJ.k 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 DC0|8","America/Dawson|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 jrA0 fNd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|13e2","America/Dawson_Creek|PST PDT PWT PPT MST|80 70 70 70 70|0102301010101010101010101010101010101010101010101010101014|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 ML0|12e3","America/Denver|MST MDT MWT MPT|70 60 60 60|01010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 11B0 1qL0 WN0 mn0 Ord0 8x20 ix0 LCN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Detroit|LMT CST EST EWT EPT EDT|5w.b 60 50 40 40 40|01234252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2Cgir.N peqr.N 156L0 8x40 iv0 6fd0 11z0 Jy10 SL0 dnB0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e5","America/Edmonton|LMT MST MDT MWT MPT|7x.Q 70 60 60 60|01212121212121341212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2yd4q.8 shdq.8 1in0 17d0 hz0 2dB0 1fz0 1a10 11z0 1qN0 WL0 1qN0 11z0 IGN0 8x20 ix0 3NB0 11z0 LFB0 1cL0 3Cp0 1cL0 66N0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|10e5","America/Eirunepe|LMT ACT ACST AMT|4D.s 50 40 40|0121212121212121212121212121212131|-2glvk.w HdLk.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0 yTd0 d5X0|31e3","America/El_Salvador|LMT CST CDT|5U.M 60 50|012121|-1XiG3.c 2Fvc3.c WL0 1qN0 WL0|11e5","America/Tijuana|LMT MST PST PDT PWT PPT|7M.4 70 80 70 70 70|012123245232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQE0 4PX0 8mM0 8lc0 SN0 1cL0 pHB0 83r0 zI0 5O10 1Rz0 cOO0 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 BUp0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|20e5","America/Fort_Nelson|PST PDT PWT PPT MST|80 70 70 70 70|01023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010104|-25TO0 1in0 UGp0 8x10 iy0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0|39e2","America/Fort_Wayne|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010101023010101010101010101040454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 QI10 Db0 RB0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 5Tz0 1o10 qLb0 1cL0 1cN0 1cL0 1qhd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Fortaleza|LMT BRT BRST|2y 30 20|0121212121212121212121212121212121212121|-2glxq HdLq 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 5z0 2mN0 On0|34e5","America/Glace_Bay|LMT AST ADT AWT APT|3X.M 40 30 30 30|012134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsI0.c CwO0.c 1in0 UGp0 8x50 iu0 iq10 11z0 Jg10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","America/Godthab|LMT WGT WGST|3q.U 30 20|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5Ux.4 2z5dx.4 19U0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Goose_Bay|NST NDT NST NDT NWT NPT AST ADT ADDT|3u.Q 2u.Q 3u 2u 2u 2u 40 30 20|010232323232323245232323232323232323232323232323232323232326767676767676767676767676767676767676767676768676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-25TSt.8 1in0 DXb0 2HbX.8 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 S10 g0u 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|76e2","America/Grand_Turk|KMT EST EDT AST|57.b 50 40 40|0121212121212121212121212121212121212121212121212121212121212121212121212123|-2l1uQ.N 2HHBQ.N 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Guatemala|LMT CST CDT|62.4 60 50|0121212121|-24KhV.U 2efXV.U An0 mtd0 Nz0 ifB0 17b0 zDB0 11z0|13e5","America/Guayaquil|QMT ECT|5e 50|01|-1yVSK|27e5","America/Guyana|LMT GBGT GYT GYT GYT|3Q.E 3J 3J 30 40|01234|-2dvU7.k 24JzQ.k mlc0 Bxbf|80e4","America/Halifax|LMT AST ADT AWT APT|4e.o 40 30 30 30|0121212121212121212121212121212121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsHJ.A xzzJ.A 1db0 3I30 1in0 3HX0 IL0 1E10 ML0 1yN0 Pb0 1Bd0 Mn0 1Bd0 Rz0 1w10 Xb0 1w10 LX0 1w10 Xb0 1w10 Lz0 1C10 Jz0 1E10 OL0 1yN0 Un0 1qp0 Xb0 1qp0 11X0 1w10 Lz0 1HB0 LX0 1C10 FX0 1w10 Xb0 1qp0 Xb0 1BB0 LX0 1td0 Xb0 1qp0 Xb0 Rf0 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 3Qp0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 6i10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Havana|HMT CST CDT|5t.A 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Meuu.o 72zu.o ML0 sld0 An0 1Nd0 Db0 1Nd0 An0 6Ep0 An0 1Nd0 An0 JDd0 Mn0 1Ap0 On0 1fd0 11X0 1qN0 WL0 1wp0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 14n0 1ld0 14L0 1kN0 15b0 1kp0 1cL0 1cN0 1fz0 1a10 1fz0 1fB0 11z0 14p0 1nX0 11B0 1nX0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 1a10 1in0 1a10 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 17c0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 11A0 6i00 Rc0 1wo0 U00 1tA0 Rc0 1wo0 U00 1wo0 U00 1zc0 U00 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Hermosillo|LMT MST CST PST MDT|7n.Q 70 60 80 60|0121212131414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0|64e4","America/Indiana/Knox|CST CDT CWT CPT EST|60 50 50 50 50|0101023010101010101010101010101010101040101010101010101010101010101010101010101010101010141010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 3NB0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 3Cn0 8wp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 z8o0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Marengo|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010104545454545414545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 dyN0 11z0 6fd0 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1e6p0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Petersburg|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010104010101010101010101010141014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 njX0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 3Fb0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 19co0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Tell_City|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Vevay|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|010102304545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 kPB0 Awn0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1lnd0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Vincennes|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010454541014545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 g0p0 11z0 1o10 11z0 1qL0 WN0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 caL0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Indiana/Winamac|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|01010230101010101010101010101010101010454541054545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 jrz0 1cL0 1cN0 1cL0 1qhd0 1o00 Rd0 1za0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Inuvik|-00 PST PDDT MST MDT|0 80 60 70 60|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-FnA0 tWU0 1fA0 wPe0 2pz0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|35e2","America/Iqaluit|-00 EWT EPT EST EDDT EDT CST CDT|0 40 40 50 30 40 60 50|01234353535353535353535353535353535353535353567353535353535353535353535353535353535353535353535353535353535353535353535353|-16K00 7nX0 iv0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|67e2","America/Jamaica|KMT EST EDT|57.b 50 40|0121212121212121212121|-2l1uQ.N 2uM1Q.N 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0|94e4","America/Juneau|PST PWT PPT PDT YDT YST AKST AKDT|80 70 70 70 80 90 90 80|01203030303030303030303030403030356767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cM0 1cM0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|33e3","America/Kentucky/Louisville|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101010102301010101010101010101010101454545454545414545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 3Fd0 Nb0 LPd0 11z0 RB0 8x30 iw0 Bb0 10N0 2bB0 8in0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 xz0 gso0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1VA0 LA0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Kentucky/Monticello|CST CDT CWT CPT EST EDT|60 50 50 50 50 40|0101023010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454545454|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 SWp0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/La_Paz|CMT BOST BOT|4w.A 3w.A 40|012|-1x37r.o 13b0|19e5","America/Lima|LMT PET PEST|58.A 50 40|0121212121212121|-2tyGP.o 1bDzP.o zX0 1aN0 1cL0 1cN0 1cL0 1PrB0 zX0 1O10 zX0 6Gp0 zX0 98p0 zX0|11e6","America/Los_Angeles|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 5Wp1 1VaX 3dA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/Maceio|LMT BRT BRST|2m.Q 30 20|012121212121212121212121212121212121212121|-2glxB.8 HdLB.8 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 dMN0 Lz0 8Q10 WL0 1tB0 5z0 2mN0 On0|93e4","America/Managua|MMT CST EST CDT|5J.c 60 50 50|0121313121213131|-1quie.M 1yAMe.M 4mn0 9Up0 Dz0 1K10 Dz0 s3F0 1KH0 DB0 9In0 k8p0 19X0 1o30 11y0|22e5","America/Manaus|LMT AMT AMST|40.4 40 30|01212121212121212121212121212121|-2glvX.U HdKX.U 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 dPB0 On0|19e5","America/Martinique|FFMT AST ADT|44.k 40 30|0121|-2mPTT.E 2LPbT.E 19X0|39e4","America/Matamoros|LMT CST CDT|6E 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|45e4","America/Mazatlan|LMT MST CST PST MDT|75.E 70 60 80 60|0121212131414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 otX0 gmN0 P2N0 13Vd0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|44e4","America/Menominee|CST CDT CWT CPT EST|60 50 50 50 50|01010230101041010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 1o10 11z0 LCN0 1fz0 6410 9Jb0 1cM0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|85e2","America/Merida|LMT CST EST CDT|5W.s 60 50 50|0121313131313131313131313131313131313131313131313131313131313131313131313131313131313131|-1UQG0 2q2o0 2hz0 wu30 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|11e5","America/Metlakatla|PST PWT PPT PDT AKST AKDT|80 70 70 70 90 80|0120303030303030303030303030303030454545454545454545454545454545454545454545454|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1hU10 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Mexico_City|LMT MST CST CDT CWT|6A.A 70 60 50 50|012121232324232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 gEn0 TX0 3xd0 Jb0 6zB0 SL0 e5d0 17b0 1Pff0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Miquelon|LMT AST PMST PMDT|3I.E 40 30 20|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2mKkf.k 2LTAf.k gQ10 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Moncton|EST AST ADT AWT APT|50 40 30 30 30|012121212121212121212134121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2IsH0 CwN0 1in0 zAo0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1Nd0 An0 1K10 Lz0 1zB0 NX0 1u10 Wn0 S20 8x50 iu0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14n1 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 ReX 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|64e3","America/Monterrey|LMT CST CDT|6F.g 60 50|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1UQG0 2FjC0 1nX0 i6p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|41e5","America/Montevideo|MMT UYT UYHST UYST UYT UYHST|3I.I 3u 30 20 30 2u|012121212121212121212121213434343434345454543453434343434343434343434343434343434343434|-20UIf.g 8jzJ.g 1cLu 1dcu 1cLu 1dcu 1cLu ircu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu WLu 1qMu WLu 1qMu 11zu 1o0u 11zu NAu 11bu 2iMu zWu Dq10 19X0 pd0 jz0 cm10 19X0 1fB0 1on0 11d0 1oL0 1nB0 1fzu 1aou 1fzu 1aou 1fzu 3nAu Jb0 3MN0 1SLu 4jzu 2PB0 Lb0 3Dd0 1pb0 ixd0 An0 1MN0 An0 1wp0 On0 1wp0 Rb0 1zd0 On0 1wp0 Rb0 s8p0 1fB0 1ip0 11z0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 14n0 1ld0 14n0 1ld0 14n0 1o10 11z0 1o10 11z0 1o10 11z0|17e5","America/Toronto|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101012301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 11Wu 1nzu 1fD0 WJ0 1wr0 Nb0 1Ap0 On0 1zd0 On0 1wp0 TX0 1tB0 TX0 1tB0 TX0 1tB0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 4kM0 8x40 iv0 1o10 11z0 1nX0 11z0 1o10 11z0 1o10 1qL0 11D0 1nX0 11B0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e5","America/Nassau|LMT EST EDT|59.u 50 40|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2kNuO.u 26XdO.u 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|24e4","America/New_York|EST EDT EWT EPT|50 40 40 40|01010101010101010101010101010101010101010101010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 11B0 1qL0 1a10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 RB0 8x40 iv0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Nipigon|EST EDT EWT EPT|50 40 40 40|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TR0 1in0 Rnb0 3je0 8x40 iv0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|16e2","America/Nome|NST NWT NPT BST BDT YST AKST AKDT|b0 a0 a0 b0 a0 90 90 80|012034343434343434343434343434343456767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676767676|-17SX0 8wW0 iB0 Qlb0 52O0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cl0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|38e2","America/Noronha|LMT FNT FNST|29.E 20 10|0121212121212121212121212121212121212121|-2glxO.k HdKO.k 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|30e2","America/North_Dakota/Beulah|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Oo0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/North_Dakota/Center|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101014545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/North_Dakota/New_Salem|MST MDT MWT MPT CST CDT|70 60 60 60 60 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101454545454545454545454545454545454545454545454545454545454545454545454|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14o0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","America/Ojinaga|LMT MST CST CDT MDT|6V.E 70 60 50 60|0121212323241414141414141414141414141414141414141414141414141414141414141414141414141414141|-1UQF0 deL0 8lc0 17c0 10M0 1dd0 2zQN0 1lb0 14p0 1lb0 14q0 1lb0 14p0 1nX0 11B0 1nX0 1fB0 WL0 1fB0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 U10 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Pangnirtung|-00 AST AWT APT ADDT ADT EDT EST CST CDT|0 40 30 30 20 30 40 50 60 50|012314151515151515151515151515151515167676767689767676767676767676767676767676767676767676767676767676767676767676767676767|-1XiM0 PnG0 8x50 iu0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1o00 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11C0 1nX0 11A0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Paramaribo|LMT PMT PMT NEGT SRT SRT|3E.E 3E.Q 3E.A 3u 3u 30|012345|-2nDUj.k Wqo0.c qanX.I 1dmLN.o lzc0|24e4","America/Phoenix|MST MDT MWT|70 60 60|01010202010|-261r0 1nX0 11B0 1nX0 SgN0 4Al1 Ap0 1db0 SWqX 1cL0|42e5","America/Port-au-Prince|PPMT EST EDT|4N 50 40|01212121212121212121212121212121212121212121|-28RHb 2FnMb 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14q0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 i6n0 1nX0 11B0 1nX0 d430 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Rio_Branco|LMT ACT ACST AMT|4v.c 50 40 40|01212121212121212121212121212131|-2glvs.M HdLs.M 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0 d5X0|31e4","America/Porto_Velho|LMT AMT AMST|4f.A 40 30|012121212121212121212121212121|-2glvI.o HdKI.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0|37e4","America/Puerto_Rico|AST AWT APT|40 30 30|0120|-17lU0 7XT0 iu0|24e5","America/Rainy_River|CST CDT CWT CPT|60 50 50 50|010123010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TQ0 1in0 Rnb0 3je0 8x30 iw0 19yN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|842","America/Rankin_Inlet|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313131313131313131313131313131313131313131313131313131313131313131|-vDc0 keu0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e2","America/Recife|LMT BRT BRST|2j.A 30 20|0121212121212121212121212121212121212121|-2glxE.o HdLE.o 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 nsp0 WL0 1tB0 2L0 2pB0 On0|33e5","America/Regina|LMT MST MDT MWT MPT CST|6W.A 70 60 60 60 60|012121212121212121212121341212121212121212121212121215|-2AD51.o uHe1.o 1in0 s2L0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 66N0 1cL0 1cN0 19X0 1fB0 1cL0 1fB0 1cL0 1cN0 1cL0 M30 8x20 ix0 1ip0 1cL0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 3NB0 1cL0 1cN0|19e4","America/Resolute|-00 CST CDDT CDT EST|0 60 40 50 50|012131313131313131313131313131313131313131313431313131313431313131313131313131313131313131313131313131313131313131313131|-SnA0 GWS0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|229","America/Santarem|LMT AMT AMST BRT|3C.M 40 30 30|0121212121212121212121212121213|-2glwl.c HdLl.c 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 qe10 xb0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 NBd0|21e4","America/Santiago|SMT CLT CLT CLST CLST|4G.K 50 40 40 30|010203131313131212421242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424|-2q2jh.e fJAh.e 5knG.K 1Vzh.e jRAG.K 1pbh.e 11d0 1oL0 11d0 1oL0 11d0 1oL0 11d0 1pb0 11d0 nHX0 op0 9Bz0 jb0 1oN0 ko0 Qeo0 WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0|62e5","America/Santo_Domingo|SDMT EST EDT EHDT AST|4E 50 40 4u 40|01213131313131414|-1ttjk 1lJMk Mn0 6sp0 Lbu 1Cou yLu 1RAu wLu 1QMu xzu 1Q0u xXu 1PAu 13jB0 e00|29e5","America/Sao_Paulo|LMT BRT BRST|36.s 30 20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-2glwR.w HdKR.w 1cc0 1e10 1bX0 Ezd0 So0 1vA0 Mn0 1BB0 ML0 1BB0 zX0 pTd0 PX0 2ep0 nz0 1C10 zX0 1C10 LX0 1C10 Mn0 H210 Rb0 1tB0 IL0 1Fd0 FX0 1EN0 FX0 1HB0 Lz0 1EN0 Lz0 1C10 IL0 1HB0 Db0 1HB0 On0 1zd0 On0 1zd0 Lz0 1zd0 Rb0 1wN0 Wn0 1tB0 Rb0 1tB0 WL0 1tB0 Rb0 1zd0 On0 1HB0 FX0 1C10 Lz0 1Ip0 HX0 1zd0 On0 1HB0 IL0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1zd0 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0 On0 1zd0 On0 1zd0 On0 1C10 Lz0 1C10 Lz0 1C10 Lz0 1C10 On0 1zd0 Rb0 1wp0 On0 1C10 Lz0 1C10 On0 1zd0|20e6","America/Scoresbysund|LMT CGT CGST EGST EGT|1r.Q 20 10 0 10|0121343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2a5Ww.8 2z5ew.8 1a00 1cK0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|452","America/Sitka|PST PWT PPT PDT YST AKST AKDT|80 70 70 70 90 90 80|01203030303030303030303030303030345656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-17T20 8x10 iy0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 co0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|90e2","America/St_Johns|NST NDT NST NDT NWT NPT NDDT|3u.Q 2u.Q 3u 2u 2u 2u 1u|01010101010101010101010101010101010102323232323232324523232323232323232323232323232323232323232323232323232323232323232323232323232323232326232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-28oit.8 14L0 1nB0 1in0 1gm0 Dz0 1JB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1fB0 1cL0 1fB0 19X0 1fB0 19X0 10O0 eKX.8 19X0 1iq0 WL0 1qN0 WL0 1qN0 WL0 1tB0 TX0 1tB0 WL0 1qN0 WL0 1qN0 7UHu itu 1tB0 WL0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1tB0 WL0 1ld0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14n1 1lb0 14p0 1nW0 11C0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zcX Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Swift_Current|LMT MST MDT MWT MPT CST|7b.k 70 60 60 60 60|012134121212121212121215|-2AD4M.E uHdM.E 1in0 UGp0 8x20 ix0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 isN0 1cL0 3Cp0 1cL0 1cN0 11z0 1qN0 WL0 pMp0|16e3","America/Tegucigalpa|LMT CST CDT|5M.Q 60 50|01212121|-1WGGb.8 2ETcb.8 WL0 1qN0 WL0 GRd0 AL0|11e5","America/Thule|LMT AST ADT|4z.8 40 30|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a5To.Q 31NBo.Q 1cL0 1cN0 1cL0 1fB0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|656","America/Thunder_Bay|CST EST EWT EPT EDT|60 50 40 40 40|0123141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141414141|-2q5S0 1iaN0 8x40 iv0 XNB0 1cL0 1cN0 1fz0 1cN0 1cL0 3Cp0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","America/Vancouver|PST PDT PWT PPT|80 70 70 70|0102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-25TO0 1in0 UGp0 8x10 iy0 1o10 17b0 1ip0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","America/Whitehorse|YST YDT YWT YPT YDDT PST PDT|90 80 80 80 70 80 70|0101023040565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565|-25TN0 1in0 1o10 13V0 Ser0 8x00 iz0 LCL0 1fA0 3NA0 vrd0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e3","America/Winnipeg|CST CDT CWT CPT|60 50 50 50|010101023010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aIi0 WL0 3ND0 1in0 Jap0 Rb0 aCN0 8x30 iw0 1tB0 11z0 1ip0 11z0 1o10 11z0 1o10 11z0 1rd0 10L0 1op0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 1cL0 1cN0 11z0 6i10 WL0 6i10 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1o00 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1o00 11A0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|66e4","America/Yakutat|YST YWT YPT YDT AKST AKDT|90 80 80 80 90 80|01203030303030303030303030303030304545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-17T10 8x00 iz0 Vo10 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 cn0 10q0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|642","America/Yellowknife|-00 MST MWT MPT MDDT MDT|0 70 60 60 50 60|012314151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151515151|-1pdA0 hix0 8x20 ix0 LCL0 1fA0 zgO0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|19e3","Antarctica/Casey|-00 +08 +11|0 -80 -b0|0121212|-2q00 1DjS0 T90 40P0 KL0 blz0|10","Antarctica/Davis|-00 +07 +05|0 -70 -50|01012121|-vyo0 iXt0 alj0 1D7v0 VB0 3Wn0 KN0|70","Antarctica/DumontDUrville|-00 +10|0 -a0|0101|-U0o0 cfq0 bFm0|80","Antarctica/Macquarie|AEST AEDT -00 MIST|-a0 -b0 0 -b0|0102010101010101010101010101010101010101010101010101010101010101010101010101010101010101013|-29E80 19X0 4SL0 1ayy0 Lvs0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0|1","Antarctica/Mawson|-00 +06 +05|0 -60 -50|012|-CEo0 2fyk0|60","Pacific/Auckland|NZMT NZST NZST NZDT|-bu -cu -c0 -d0|01020202020202020202020202023232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323|-1GCVu Lz0 1tB0 11zu 1o0u 11zu 1o0u 11zu 1o0u 14nu 1lcu 14nu 1lcu 1lbu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1nXu 11Au 1qLu WMu 1qLu 11Au 1n1bu IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|14e5","Antarctica/Palmer|-00 ARST ART ART ARST CLT CLST|0 30 40 30 20 40 30|0121212121234356565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656565656|-cao0 nD0 1vd0 SL0 1vd0 17z0 1cN0 1fz0 1cN0 1cL0 1cN0 asn0 Db0 jsN0 14N0 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0|40","Antarctica/Rothera|-00 -03|0 30|01|gOo0|130","Antarctica/Syowa|-00 +03|0 -30|01|-vs00|20","Antarctica/Troll|-00 +00 +02|0 0 -20|01212121212121212121212121212121212121212121212121212121212121212121|1puo0 hd0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Antarctica/Vostok|-00 +06|0 -60|01|-tjA0|25","Europe/Oslo|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2awM0 Qm0 W6o0 5pf0 WM0 1fA0 1cM0 1cM0 1cM0 1cM0 wJc0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1qM0 WM0 zpc0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e4","Asia/Riyadh|LMT AST|-36.Q -30|01|-TvD6.Q|57e5","Asia/Almaty|LMT +05 +06 +07|-57.M -50 -60 -70|012323232323232323232321232323232323232323232323232|-1Pc57.M eUo7.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|15e5","Asia/Amman|LMT EET EEST|-2n.I -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1yW2n.I 1HiMn.I KL0 1oN0 11b0 1oN0 11b0 1pd0 1dz0 1cp0 11b0 1op0 11b0 fO10 1db0 1e10 1cL0 1cN0 1cL0 1cN0 1fz0 1pd0 10n0 1ld0 14n0 1hB0 15b0 1ip0 19X0 1cN0 1cL0 1cN0 17b0 1ld0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1So0 y00 1fc0 1dc0 1co0 1dc0 1cM0 1cM0 1cM0 1o00 11A0 1lc0 17c0 1cM0 1cM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 4bX0 Dd0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|25e5","Asia/Anadyr|LMT +12 +13 +14 +11|-bN.U -c0 -d0 -e0 -b0|01232121212121212121214121212121212121212121212121212121212141|-1PcbN.U eUnN.U 23CL0 1db0 2q10 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|13e3","Asia/Aqtau|LMT +04 +05 +06|-3l.4 -40 -50 -60|012323232323232323232123232312121212121212121212|-1Pc3l.4 eUnl.4 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|15e4","Asia/Aqtobe|LMT +04 +05 +06|-3M.E -40 -50 -60|0123232323232323232321232323232323232323232323232|-1Pc3M.E eUnM.E 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0|27e4","Asia/Ashgabat|LMT +04 +05 +06|-3R.w -40 -50 -60|0123232323232323232323212|-1Pc3R.w eUnR.w 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0|41e4","Asia/Atyrau|LMT +04 +05 +06|-3r.I -40 -50 -60|01232323232323232323212323232323232321212121212|-1Pc3r.I eUnr.I 24PX0 2pX0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 2sp0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0","Asia/Baghdad|BMT AST ADT|-2V.A -30 -40|012121212121212121212121212121212121212121212121212121|-26BeV.A 2ACnV.A 11b0 1cp0 1dz0 1dd0 1db0 1cN0 1cp0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1de0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0 1dc0 1dc0 1cM0 1dc0 1cM0 1dc0 1cM0 1dc0|66e5","Asia/Qatar|LMT GST AST|-3q.8 -40 -30|012|-21Jfq.8 27BXq.8|96e4","Asia/Baku|LMT +03 +04 +05|-3j.o -30 -40 -50|01232323232323232323232123232323232323232323232323232323232323232|-1Pc3j.o 1jUoj.o WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 9Je0 1o00 11z0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00|27e5","Asia/Bangkok|BMT ICT|-6G.4 -70|01|-218SG.4|15e6","Asia/Barnaul|LMT +06 +07 +08|-5z -60 -70 -80|0123232323232323232323212323232321212121212121212121212121212121212|-21S5z pCnz 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 p90 LE0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0","Asia/Beirut|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-21aq0 1on0 1410 1db0 19B0 1in0 1ip0 WL0 1lQp0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 q6N0 En0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1op0 11b0 dA10 17b0 1iN0 17b0 1iN0 17b0 1iN0 17b0 1vB0 SL0 1mp0 13z0 1iN0 17b0 1iN0 17b0 1jd0 12n0 1a10 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Bishkek|LMT +05 +06 +07|-4W.o -50 -60 -70|012323232323232323232321212121212121212121212121212|-1Pc4W.o eUnW.o 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2e00 1tX0 17b0 1ip0 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1cPu 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0|87e4","Asia/Brunei|LMT BNT BNT|-7D.E -7u -80|012|-1KITD.E gDc9.E|42e4","Asia/Kolkata|HMT BURT IST IST|-5R.k -6u -5u -6u|01232|-18LFR.k 1unn.k HB0 7zX0|15e6","Asia/Chita|LMT +08 +09 +10|-7x.Q -80 -90 -a0|012323232323232323232321232323232323232323232323232323232323232312|-21Q7x.Q pAnx.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3re0|33e4","Asia/Choibalsan|LMT ULAT ULAT CHOST CHOT CHOT CHOST|-7C -70 -80 -a0 -90 -80 -90|0123434343434343434343434343434343434343434343456565656565656565656565656565656565656565656565|-2APHC 2UkoC cKn0 1da0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 3Db0 h1f0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0|38e3","Asia/Shanghai|CST CDT|-80 -90|01010101010101010|-1c1I0 LX0 16p0 1jz0 1Myp0 Rb0 1o10 11z0 1o10 11z0 1qN0 11z0 1o10 11z0 1o10 11z0|23e6","Asia/Colombo|MMT +0530 +06 +0630|-5j.w -5u -60 -6u|01231321|-2zOtj.w 1rFbN.w 1zzu 7Apu 23dz0 11zu n3cu|22e5","Asia/Dhaka|HMT BURT IST DACT BDT BDST|-5R.k -6u -5u -60 -60 -70|01213454|-18LFR.k 1unn.k HB0 m6n0 LqMu 1x6n0 1i00|16e6","Asia/Damascus|LMT EET EEST|-2p.c -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-21Jep.c Hep.c 17b0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1xRB0 11X0 1oN0 10L0 1pB0 11b0 1oN0 10L0 1mp0 13X0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 1pd0 11b0 1oN0 Nb0 1AN0 Nb0 bcp0 19X0 1gp0 19X0 3ld0 1xX0 Vd0 1Bz0 Sp0 1vX0 10p0 1dz0 1cN0 1cL0 1db0 1db0 1g10 1an0 1ap0 1db0 1fd0 1db0 1cN0 1db0 1dd0 1db0 1cp0 1dz0 1c10 1dX0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1db0 1cN0 1db0 1cN0 19z0 1fB0 1qL0 11B0 1on0 Wp0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0|26e5","Asia/Dili|LMT TLT JST TLT WITA|-8m.k -80 -90 -90 -80|012343|-2le8m.k 1dnXm.k 8HA0 1ew00 Xld0|19e4","Asia/Dubai|LMT GST|-3F.c -40|01|-21JfF.c|39e5","Asia/Dushanbe|LMT +05 +06 +07|-4z.c -50 -60 -70|012323232323232323232321|-1Pc4z.c eUnz.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2hB0|76e4","Asia/Famagusta|LMT EET EEST +03|-2f.M -20 -30 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212123|-1Vc2f.M 2a3cf.M 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 15U0","Asia/Gaza|EET EEST IST IDT|-20 -30 -20 -30|010101010101010101010101010101012323232323232323232323232320101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 npB0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 11z0 1o10 14o0 1lA1 SKX 1xd1 MKX 1AN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0|18e5","Asia/Hebron|EET EEST IST IDT|-20 -30 -20 -30|01010101010101010101010101010101232323232323232323232323232010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-1c2q0 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 pBd0 Vz0 1oN0 11b0 1oO0 10N0 1pz0 10N0 1pb0 10N0 1pb0 10N0 1pb0 10N0 1pz0 10N0 1pb0 10N0 1pb0 11d0 1oL0 dW0 hfB0 Db0 1fB0 Rb0 npB0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 M10 C00 17c0 1io0 17c0 1io0 17c0 1o00 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 17c0 1io0 18N0 1bz0 19z0 1gp0 1610 1iL0 12L0 1mN0 14o0 1lc0 Tb0 1xd1 MKX bB0 cn0 1cN0 1a00 1fA0 1cL0 1cN0 1nX0 1210 1nz0 1220 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0|25e4","Asia/Ho_Chi_Minh|LMT PLMT ICT IDT JST|-76.E -76.u -70 -80 -90|0123423232|-2yC76.E bK00.a 1h7b6.u 5lz0 18o0 3Oq0 k5b0 aW00 BAM0|90e5","Asia/Hong_Kong|LMT HKT HKST JST|-7A.G -80 -90 -90|0121312121212121212121212121212121212121212121212121212121212121212121|-2CFHA.G 1sEP6.G 1cL0 ylu 93X0 1qQu 1tX0 Rd0 1In0 NB0 1cL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1kL0 14N0 1nX0 U10 1tz0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 Rd0 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 17d0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 s10 1Vz0 1cN0 1cL0 1cN0 1cL0 6fd0 14n0|73e5","Asia/Hovd|LMT HOVT HOVT HOVST|-66.A -60 -70 -80|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2APG6.A 2Uko6.A cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0|81e3","Asia/Irkutsk|IMT +07 +08 +09|-6V.5 -70 -80 -90|01232323232323232323232123232323232323232323232323232323232323232|-21zGV.5 pjXV.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Europe/Istanbul|IMT EET EEST +04 +03|-1U.U -20 -30 -40 -30|012121212121212121212121212121212121212121212121212121234343434342121212121212121212121212121212121212121212121212121212121212124|-2ogNU.U dzzU.U 11b0 8tB0 1on0 1410 1db0 19B0 1in0 3Rd0 Un0 1oN0 11b0 zSp0 CL0 mN0 1Vz0 1gN0 1pz0 5Rd0 1fz0 1yp0 ML0 1kp0 17b0 1ip0 17b0 1fB0 19X0 1jB0 18L0 1ip0 17z0 qdd0 xX0 3S10 Tz0 dA10 11z0 1o10 11z0 1qN0 11z0 1ze0 11B0 WM0 1qO0 WI0 1nX0 1rB0 10L0 11B0 1in0 17d0 1in0 2pX0 19E0 1fU0 16Q0 1iI0 16Q0 1iI0 1Vd0 pb0 3Kp0 14o0 1de0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1a00 1fA0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WO0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 Xc0 1qo0 WM0 1qM0 11A0 1o00 1200 1nA0 11A0 1tA0 U00 15w0|13e6","Asia/Jakarta|BMT JAVT WIB JST WIB WIB|-77.c -7k -7u -90 -80 -70|01232425|-1Q0Tk luM0 mPzO 8vWu 6kpu 4PXu xhcu|31e6","Asia/Jayapura|LMT WIT ACST|-9m.M -90 -9u|0121|-1uu9m.M sMMm.M L4nu|26e4","Asia/Jerusalem|JMT IST IDT IDDT|-2k.E -20 -30 -40|01212121212132121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-26Bek.E SyMk.E 5Rb0 10r0 1px0 10N0 1pz0 16p0 1jB0 16p0 1jx0 3LB0 Em0 or0 1cn0 1dB0 16n0 10O0 1ja0 1tC0 14o0 1cM0 1a00 11A0 1Na0 An0 1MP0 AJ0 1Kp0 LC0 1oo0 Wl0 EQN0 Db0 1fB0 Rb0 npB0 11z0 1C10 IL0 1s10 10n0 1o10 WL0 1zd0 On0 1ld0 11z0 1o10 14n0 1o10 14n0 1nd0 12n0 1nd0 Xz0 1q10 12n0 1hB0 1dX0 1ep0 1aL0 1eN0 17X0 1nf0 11z0 1tB0 19W0 1e10 17b0 1ep0 1gL0 18N0 1fz0 1eN0 17b0 1gq0 1gn0 19d0 1dz0 1c10 17X0 1hB0 1gn0 19d0 1dz0 1c10 17X0 1kp0 1dz0 1c10 1aL0 1eN0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|AFT AFT|-40 -4u|01|-10Qs0|46e5","Asia/Kamchatka|LMT +11 +12 +13|-ay.A -b0 -c0 -d0|012323232323232323232321232323232323232323232323232323232323212|-1SLKy.A ivXy.A 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|18e4","Asia/Karachi|LMT IST IST KART PKT PKST|-4s.c -5u -6u -50 -50 -60|012134545454|-2xoss.c 1qOKW.c 7zX0 eup0 LqMu 1fy00 1cL0 dK10 11b0 1610 1jX0|24e6","Asia/Urumqi|LMT XJT|-5O.k -60|01|-1GgtO.k|32e5","Asia/Kathmandu|LMT IST NPT|-5F.g -5u -5J|012|-21JhF.g 2EGMb.g|12e5","Asia/Khandyga|LMT +08 +09 +10 +11|-92.d -80 -90 -a0 -b0|0123232323232323232323212323232323232323232323232343434343434343432|-21Q92.d pAp2.d 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 qK0 yN0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|66e2","Asia/Krasnoyarsk|LMT +06 +07 +08|-6b.q -60 -70 -80|01232323232323232323232123232323232323232323232323232323232323232|-21Hib.q prAb.q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Asia/Kuala_Lumpur|SMT MALT MALST MALT MALT JST MYT|-6T.p -70 -7k -7k -7u -90 -80|01234546|-2Bg6T.p 17anT.p 7hXE dM00 17bO 8Fyu 1so1u|71e5","Asia/Kuching|LMT BORT BORT BORTST JST MYT|-7l.k -7u -80 -8k -90 -80|01232323232323232425|-1KITl.k gDbP.k 6ynu AnE 1O0k AnE 1NAk AnE 1NAk AnE 1NAk AnE 1O0k AnE 1NAk AnE pAk 8Fz0 1so10|13e4","Asia/Macau|LMT MOT MOST CST|-7y.k -80 -90 -80|0121212121212121212121212121212121212121213|-2le7y.k 1XO34.k 1wn0 Rd0 1wn0 R9u 1wqu U10 1tz0 TVu 1tz0 17gu 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cJu 1cL0 1cN0 1fz0 1cN0 1cOu 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cJu 1cL0 1cN0 1fz0 1cN0 1cL0 KEp0|57e4","Asia/Magadan|LMT +10 +11 +12|-a3.c -a0 -b0 -c0|012323232323232323232321232323232323232323232323232323232323232312|-1Pca3.c eUo3.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Cq0|95e3","Asia/Makassar|LMT MMT WITA JST|-7V.A -7V.A -80 -90|01232|-21JjV.A vfc0 myLV.A 8ML0|15e5","Asia/Manila|PHT PHST JST|-80 -90 -90|010201010|-1kJI0 AL0 cK10 65X0 mXB0 vX0 VK10 1db0|24e6","Asia/Nicosia|LMT EET EEST|-2d.s -20 -30|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1Vc2d.s 2a3cd.s 1cL0 1qp0 Xz0 19B0 19X0 1fB0 1db0 1cp0 1cL0 1fB0 19X0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1o30 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|32e4","Asia/Novokuznetsk|LMT +06 +07 +08|-5M.M -60 -70 -80|012323232323232323232321232323232323232323232323232323232323212|-1PctM.M eULM.M 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|55e4","Asia/Novosibirsk|LMT +06 +07 +08|-5v.E -60 -70 -80|0123232323232323232323212323212121212121212121212121212121212121212|-21Qnv.E pAFv.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 ml0 Os0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 4eN0|15e5","Asia/Omsk|LMT +05 +06 +07|-4R.u -50 -60 -70|01232323232323232323232123232323232323232323232323232323232323232|-224sR.u pMLR.u 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|12e5","Asia/Oral|LMT +04 +05 +06|-3p.o -40 -50 -60|01232323232323232121212121212121212121212121212|-1Pc3p.o eUnp.o 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 1cM0 IM0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|27e4","Asia/Pontianak|LMT PMT WIB JST WIB WITA WIB|-7h.k -7h.k -7u -90 -80 -80 -70|012324256|-2ua7h.k XE00 munL.k 8Rau 6kpu 4PXu xhcu Wqnu|23e4","Asia/Pyongyang|LMT KST JCST JST KST|-8n -8u -90 -90 -90|012341|-2um8n 97XR 12FXu jdA0 2Onc0|29e5","Asia/Qyzylorda|LMT +04 +05 +06|-4l.Q -40 -50 -60|0123232323232323232323232323232323232323232323|-1Pc4l.Q eUol.Q 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 3ao0 1EM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0|73e4","Asia/Rangoon|RMT BURT JST MMT|-6o.E -6u -90 -6u|0123|-21Jio.E SmnS.E 7j9u|48e5","Asia/Sakhalin|LMT +09 +11 +12 +10|-9u.M -90 -b0 -c0 -a0|01232323232323232323232423232323232424242424242424242424242424242|-2AGVu.M 1BoMu.M 1qFa0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 2pB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0|58e4","Asia/Samarkand|LMT +04 +05 +06|-4r.R -40 -50 -60|01232323232323232323232|-1Pc4r.R eUor.R 23CL0 3Db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0|36e4","Asia/Seoul|LMT KST JCST JST KST KDT KDT|-8r.Q -8u -90 -90 -90 -9u -a0|01234151515151515146464|-2um8r.Q 97XV.Q 12FXu jjA0 kKo0 2I0u OL0 1FB0 Rb0 1qN0 TX0 1tB0 TX0 1tB0 TX0 1tB0 TX0 2ap0 12FBu 11A0 1o00 11A0|23e6","Asia/Singapore|SMT MALT MALST MALT MALT JST SGT SGT|-6T.p -70 -7k -7k -7u -90 -7u -80|012345467|-2Bg6T.p 17anT.p 7hXE dM00 17bO 8Fyu Mspu DTA0|56e5","Asia/Srednekolymsk|LMT +10 +11 +12|-ae.Q -a0 -b0 -c0|01232323232323232323232123232323232323232323232323232323232323232|-1Pcae.Q eUoe.Q 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|35e2","Asia/Taipei|JWST JST CST CDT|-80 -90 -80 -90|01232323232323232323232323232323232323232|-1iw80 joM0 1yo0 Tz0 1ip0 1jX0 1cN0 11b0 1oN0 11b0 1oN0 11b0 1oN0 11b0 10N0 1BX0 10p0 1pz0 10p0 1pz0 10p0 1db0 1dd0 1db0 1cN0 1db0 1cN0 1db0 1cN0 1db0 1BB0 ML0 1Bd0 ML0 uq10 1db0 1cN0 1db0 97B0 AL0|74e5","Asia/Tashkent|LMT +05 +06 +07|-4B.b -50 -60 -70|012323232323232323232321|-1Pc4B.b eUnB.b 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0|23e5","Asia/Tbilisi|TBMT +03 +04 +05|-2X.b -30 -40 -50|0123232323232323232323212121232323232323232323212|-1Pc2X.b 1jUnX.b WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cK0 1cL0 1cN0 1cL0 1cN0 2pz0 1cL0 1fB0 3Nz0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 An0 Os0 WM0|11e5","Asia/Tehran|LMT TMT IRST IRST IRDT IRDT|-3p.I -3p.I -3u -40 -50 -4u|01234325252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252|-2btDp.I 1d3c0 1huLT.I TXu 1pz0 sN0 vAu 1cL0 1dB0 1en0 pNB0 UL0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 64p0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0|14e6","Asia/Thimphu|LMT IST BTT|-5W.A -5u -60|012|-Su5W.A 1BGMs.A|79e3","Asia/Tokyo|JCST JST JDT|-90 -90 -a0|0121212121|-1iw90 pKq0 QL0 1lB0 13X0 1zB0 NX0 1zB0 NX0|38e6","Asia/Tomsk|LMT +06 +07 +08|-5D.P -60 -70 -80|0123232323232323232323212323232323232323232323212121212121212121212|-21NhD.P pxzD.P 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 co0 1bB0 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3Qp0|10e5","Asia/Ulaanbaatar|LMT ULAT ULAT ULAST|-77.w -70 -80 -90|012323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-2APH7.w 2Uko7.w cKn0 1db0 1dd0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 6hD0 11z0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 kEp0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1fx0 1cP0 1cJ0 1cP0 1cJ0 1cP0 1cJ0|12e5","Asia/Ust-Nera|LMT +08 +09 +12 +11 +10|-9w.S -80 -90 -c0 -b0 -a0|012343434343434343434345434343434343434343434343434343434343434345|-21Q9w.S pApw.S 23CL0 1d90 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 17V0 7zD0|65e2","Asia/Vladivostok|LMT +09 +10 +11|-8L.v -90 -a0 -b0|01232323232323232323232123232323232323232323232323232323232323232|-1SJIL.v itXL.v 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|60e4","Asia/Yakutsk|LMT +08 +09 +10|-8C.W -80 -90 -a0|01232323232323232323232123232323232323232323232323232323232323232|-21Q8C.W pAoC.W 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|28e4","Asia/Yekaterinburg|LMT PMT +04 +05 +06|-42.x -3J.5 -40 -50 -60|012343434343434343434343234343434343434343434343434343434343434343|-2ag42.x 7mQh.s qBvJ.5 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|14e5","Asia/Yerevan|LMT +03 +04 +05|-2W -30 -40 -50|0123232323232323232323212121212323232323232323232323232323232|-1Pc2W 1jUnW WCL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 2pB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 4RX0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0|13e5","Atlantic/Azores|HMT AZOT AZOST AZOMT AZOT AZOST WET|1S.w 20 10 0 10 0 0|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545456545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldW5.s aPX5.s Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cL0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","Atlantic/Bermuda|LMT AST ADT|4j.i 40 30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1BnRE.G 1LTbE.G 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|65e3","Atlantic/Canary|LMT CANT WET WEST|11.A 10 0 -10|01232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-1UtaW.o XPAW.o 1lAK0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Atlantic/Cape_Verde|LMT CVT CVST CVT|1y.4 20 10 10|01213|-2xomp.U 1qOMp.U 7zX0 1djf0|50e4","Atlantic/Faroe|LMT WET WEST|r.4 0 -10|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2uSnw.U 2Wgow.U 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|49e3","Atlantic/Madeira|FMT MADT MADST MADMT WET WEST|17.A 10 0 -10 0 -10|01212121212121212121212121212121212121212121232123212321232121212121212121212121212121212121212121454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2ldWQ.o aPWQ.o Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 qIl0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e4","Atlantic/Reykjavik|LMT IST ISST GMT|1s 10 0 0|012121212121212121212121212121212121212121212121212121212121212121213|-2uWmw mfaw 1Bd0 ML0 1LB0 Cn0 1LB0 3fX0 C10 HrX0 1cO0 LB0 1EL0 LA0 1C00 Oo0 1wo0 Rc0 1wo0 Rc0 1wo0 Rc0 1zc0 Oo0 1zc0 14o0 1lc0 14o0 1lc0 14o0 1o00 11A0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1lc0 14o0 1o00 14o0|12e4","Atlantic/South_Georgia|GST|20|0||30","Atlantic/Stanley|SMT FKT FKST FKT FKST|3P.o 40 30 30 20|0121212121212134343212121212121212121212121212121212121212121212121212|-2kJw8.A 12bA8.A 19X0 1fB0 19X0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 Cn0 1Cc10 WL0 1qL0 U10 1tz0 U10 1qM0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 U10 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1tz0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qN0 U10 1wn0 Rd0 1wn0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1tz0 U10 1wn0 U10 1tz0 U10 1tz0 U10|21e2","Australia/Sydney|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 WM0 1qM0 Rc0 1zc0 U00 1tA0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST AEDT|-a0 -b0|01010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0|20e5","Australia/Broken_Hill|ACST ACDT|-9u -au|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 14o0 1o00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1tA0 WM0 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|18e3","Australia/Currie|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|746","Australia/Darwin|ACST ACDT|-9u -au|010101010|-293lt xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0|12e4","Australia/Eucla|ACWST ACWDT|-8J -9J|0101010101010101010|-293kI xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|368","Australia/Hobart|AEST AEDT|-a0 -b0|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-29E80 19X0 10jd0 yL0 1cN0 1cL0 1fB0 19X0 VfB0 1cM0 1o00 Rc0 1wo0 Rc0 1wo0 U00 1wo0 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 11A0 1qM0 WM0 1qM0 Oo0 1zc0 Oo0 1zc0 Oo0 1wo0 WM0 1tA0 WM0 1tA0 U00 1tA0 U00 1tA0 11A0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 11A0 1o00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|21e4","Australia/Lord_Howe|AEST LHST LHDT LHDT|-a0 -au -bu -b0|0121212121313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313131313|raC0 1zdu Rb0 1zd0 On0 1zd0 On0 1zd0 On0 1zd0 TXu 1qMu WLu 1tAu WLu 1tAu TXu 1tAu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu 11zu 1o0u 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 11Au 1nXu 1qMu 11zu 1o0u 11zu 1o0u 11zu 1qMu WLu 1qMu 11zu 1o0u WLu 1qMu 14nu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu|347","Australia/Lindeman|AEST AEDT|-a0 -b0|010101010101010101010|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 H1A0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0|10","Australia/Melbourne|AEST AEDT|-a0 -b0|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101|-293lX xcX 10jd0 yL0 1cN0 1cL0 1fB0 19X0 17c10 LA0 1C00 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 U00 1qM0 WM0 1qM0 11A0 1tA0 U00 1tA0 U00 1tA0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 11A0 1o00 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 14o0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0|39e5","Australia/Perth|AWST AWDT|-80 -90|0101010101010101010|-293jX xcX 10jd0 yL0 1cN0 1cL0 1gSp0 Oo0 l5A0 Oo0 iJA0 G00 zU00 IM0 1qM0 11A0 1o00 11A0|18e5","CET|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","CST6CDT|CST CDT CWT CPT|60 50 50 50|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261s0 1nX0 11B0 1nX0 SgN0 8x30 iw0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Pacific/Easter|EMT EAST EASST EAST EASST|7h.s 70 60 60 50|0121212121212121212121212121234343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-1uSgG.w 1s4IG.w WL0 1zd0 On0 1ip0 11z0 1o10 11z0 1qN0 WL0 1ld0 14n0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 WL0 1qN0 1cL0 1cN0 11z0 1o10 11z0 1qN0 WL0 1fB0 19X0 1qN0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1ip0 1fz0 1fB0 11z0 1qN0 WL0 1qN0 WL0 1qN0 WL0 1qN0 11z0 1o10 11z0 1o10 11z0 1qN0 WL0 1qN0 17b0 1ip0 11z0 1o10 19X0 1fB0 1nX0 G10 1EL0 Op0 1zb0 Rd0 1wn0 Rd0 46n0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Dd0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1Nb0 Ap0|30e2","EET|EET EEST|-20 -30|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","EST|EST|50|0|","EST5EDT|EST EDT EWT EPT|50 40 40 40|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261t0 1nX0 11B0 1nX0 SgN0 8x40 iv0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Europe/Dublin|DMT IST GMT BST IST|p.l -y.D 0 -10 -10|01232323232324242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242424242|-2ax9y.D Rc0 1fzy.D 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 g5X0 14p0 1wn0 17d0 1io0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Etc/GMT+0|GMT|0|0|","Etc/GMT+1|-01|10|0|","Etc/GMT+10|-10|a0|0|","Etc/GMT+11|-11|b0|0|","Etc/GMT+12|-12|c0|0|","Etc/GMT+2|-02|20|0|","Etc/GMT+3|-03|30|0|","Etc/GMT+4|-04|40|0|","Etc/GMT+5|-05|50|0|","Etc/GMT+6|-06|60|0|","Etc/GMT+7|-07|70|0|","Etc/GMT+8|-08|80|0|","Etc/GMT+9|-09|90|0|","Etc/GMT-1|+01|-10|0|","Etc/GMT-10|+10|-a0|0|","Etc/GMT-11|+11|-b0|0|","Etc/GMT-12|+12|-c0|0|","Etc/GMT-13|+13|-d0|0|","Etc/GMT-14|+14|-e0|0|","Etc/GMT-2|+02|-20|0|","Etc/GMT-3|+03|-30|0|","Etc/GMT-4|+04|-40|0|","Etc/GMT-5|+05|-50|0|","Etc/GMT-6|+06|-60|0|","Etc/GMT-7|+07|-70|0|","Etc/GMT-8|+08|-80|0|","Etc/GMT-9|+09|-90|0|","Etc/UCT|UCT|0|0|","Etc/UTC|UTC|0|0|","Europe/Amsterdam|AMT NST NEST NET CEST CET|-j.w -1j.w -1k -k -20 -10|010101010101010101010101010101010101010101012323234545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545|-2aFcj.w 11b0 1iP0 11A0 1io0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1co0 1io0 1yo0 Pc0 1a00 1fA0 1Bc0 Mo0 1tc0 Uo0 1tA0 U00 1uo0 W00 1s00 VA0 1so0 Vc0 1sM0 UM0 1wo0 Rc0 1u00 Wo0 1rA0 W00 1s00 VA0 1sM0 UM0 1w00 fV0 BCX.w 1tA0 U00 1u00 Wo0 1sm0 601k WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|16e5","Europe/Andorra|WET CET CEST|0 -10 -20|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-UBA0 1xIN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|79e3","Europe/Astrakhan|LMT +03 +04 +05|-3c.c -30 -40 -50|012323232323232323212121212121212121212121212121212121212121212|-1Pcrc.c eUMc.c 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0","Europe/Athens|AMT EET EEST CEST CET|-1y.Q -20 -30 -20 -10|012123434121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2a61x.Q CNbx.Q mn0 kU10 9b0 3Es0 Xa0 1fb0 1dd0 k3X0 Nz0 SCp0 1vc0 SO0 1cM0 1a00 1ao0 1fc0 1a10 1fG0 1cg0 1dX0 1bX0 1cQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Europe/London|GMT BST BDST|0 -10 -20|0101010101010101010101010101010101010101010101010121212121210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1a00 1qM0 WM0 1qM0 11A0 1o00 WM0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1tA0 IM0 90o0 U00 1tA0 U00 1tA0 U00 1tA0 U00 1tA0 WM0 1qM0 WM0 1qM0 WM0 1tA0 U00 1tA0 U00 1tA0 11z0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 14o0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Belgrade|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19RC0 3IP0 WM0 1fA0 1cM0 1cM0 1rc0 Qo0 1vmo0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Berlin|CET CEST CEMT|-10 -20 -30|01010101010101210101210101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 kL0 Nc0 m10 WM0 1ao0 1cp0 dX0 jz0 Dd0 1io0 17c0 1fA0 1a00 1ehA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e5","Europe/Prague|CET CEST|-10 -20|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 16M0 1lc0 1tA0 17A0 11c0 1io0 17c0 1io0 17c0 1fc0 1ao0 1bNc0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|13e5","Europe/Brussels|WET CET CEST WEST|0 -10 -20 -10|0121212103030303030303030303030303030303030303030303212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ehc0 3zX0 11c0 1iO0 11A0 1o00 11A0 my0 Ic0 1qM0 Rc0 1EM0 UM0 1u00 10o0 1io0 1io0 17c0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a30 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 y00 5Wn0 WM0 1fA0 1cM0 16M0 1iM0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|21e5","Europe/Bucharest|BMT EET EEST|-1I.o -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1xApI.o 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Axc0 On0 1fA0 1a10 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|19e5","Europe/Budapest|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1ip0 17b0 1op0 1tb0 Q2m0 3Ne0 WM0 1fA0 1cM0 1cM0 1oJ0 1dc0 1030 1fA0 1cM0 1cM0 1cM0 1cM0 1fA0 1a00 1iM0 1fA0 8Ha0 Rb0 1wN0 Rb0 1BB0 Lz0 1C20 LB0 SNX0 1a10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zurich|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-19Lc0 11A0 1o00 11A0 1xG10 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e4","Europe/Chisinau|CMT BMT EET EEST CEST CET MSK MSD|-1T -1I.o -20 -30 -20 -10 -30 -40|012323232323232323234545467676767676767676767323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232|-26jdT wGMa.A 20LI.o RA0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 27A0 2en0 39g0 WM0 1fA0 1cM0 V90 1t7z0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 gL0 WO0 1cM0 1cM0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11D0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Copenhagen|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 Tz0 VuO0 60q0 WM0 1fA0 1cM0 1cM0 1cM0 S00 1HA0 Nc0 1C00 Dc0 1Nc0 Ao0 1h5A0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Gibraltar|GMT BST BDST CET CEST|0 -10 -20 -10 -20|010101010101010101010101010101010101010101010101012121212121010121010101010101010101034343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-2axa0 Rc0 1fA0 14M0 1fc0 1g00 1co0 1dc0 1co0 1oo0 1400 1dc0 19A0 1io0 1io0 WM0 1o00 14o0 1o00 17c0 1io0 17c0 1fA0 1a00 1lc0 17c0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1cM0 1io0 17c0 1fA0 1a00 1io0 17c0 1io0 17c0 1fA0 1a00 1io0 1qM0 Dc0 2Rz0 Dc0 1zc0 Oo0 1zc0 Rc0 1wo0 17c0 1iM0 FA0 xB0 1fA0 1a00 14o0 bb0 LA0 xB0 Rc0 1wo0 11A0 1o00 17c0 1fA0 1a00 1fA0 1cM0 1fA0 1a00 17c0 1fA0 1a00 1io0 17c0 1lc0 17c0 1fA0 10Jz0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|30e3","Europe/Helsinki|HMT EET EEST|-1D.N -20 -30|0121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-1WuND.N OULD.N 1dA0 1xGq0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Kaliningrad|CET CEST CET CEST MSK MSD EEST EET +03|-10 -20 -20 -30 -30 -40 -30 -20 -30|0101010101010232454545454545454546767676767676767676767676767676767676767676787|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 Am0 Lb0 1en0 op0 1pNz0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|44e4","Europe/Kiev|KMT EET MSK CEST CET MSD EEST|-22.4 -20 -30 -20 -10 -40 -30|0123434252525252525252525256161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc22.4 eUo2.4 rnz0 2Hg0 WM0 1fA0 da0 1v4m0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 Db0 3220 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|34e5","Europe/Kirov|LMT +03 +04 +05|-3i.M -30 -40 -50|01232323232323232321212121212121212121212121212121212121212121|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|48e4","Europe/Lisbon|LMT WET WEST WEMT CET CEST|A.J 0 -10 -20 -10 -20|012121212121212121212121212121212121212121212321232123212321212121212121212121212121212121212121214121212121212121212121212121212124545454212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ldXn.f aPWn.f Sp0 LX0 1vc0 Tc0 1uM0 SM0 1vc0 Tc0 1vc0 SM0 1vc0 6600 1co0 3E00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 3I00 17c0 1cM0 1cM0 3Fc0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 1tA0 1cM0 1dc0 1400 gL0 IM0 s10 U00 dX0 Rc0 pd0 Rc0 gL0 Oo0 pd0 Rc0 gL0 Oo0 pd0 14o0 1cM0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 3Co0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 pvy0 1cM0 1cM0 1fA0 1cM0 1cM0 1cN0 1cL0 1cN0 1cM0 1cM0 1cM0 1cM0 1cN0 1cL0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Europe/Luxembourg|LMT CET CEST WET WEST WEST WET|-o.A -10 -20 0 -10 -20 -10|0121212134343434343434343434343434343434343434343434565651212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2DG0o.A t6mo.A TB0 1nX0 Up0 1o20 11A0 rW0 CM0 1qP0 R90 1EO0 UK0 1u20 10m0 1ip0 1in0 17e0 19W0 1fB0 1db0 1cp0 1in0 17d0 1fz0 1a10 1in0 1a10 1in0 17f0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Dc0 vA0 60L0 WM0 1fA0 1cM0 17c0 1io0 16M0 1C00 Uo0 1eeo0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Madrid|WET WEST WEMT CET CEST|0 -10 -20 -10 -20|01010101010101010101010121212121234343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343|-28dd0 11A0 1go0 19A0 1co0 1dA0 b1A0 18o0 3I00 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 iyo0 Rc0 18o0 1hc0 1io0 1a00 14o0 5aL0 MM0 1vc0 17A0 1i00 1bc0 1eo0 17d0 1in0 17A0 6hA0 10N0 XIL0 1a10 1in0 17d0 19X0 1cN0 1fz0 1a10 1fX0 1cp0 1cO0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|62e5","Europe/Malta|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1co0 17c0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1co0 1cM0 1lA0 Xc0 1qq0 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1o10 11z0 1iN0 19z0 1fB0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Minsk|MMT EET MSK CEST CET MSD EEST +03|-1O -20 -30 -20 -10 -40 -30 -30|01234343252525252525252525261616161616161616161616161616161616161617|-1Pc1O eUnO qNX0 3gQ0 WM0 1fA0 1cM0 Al0 1tsn0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 3Fc0 1cN0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0|19e5","Europe/Monaco|PMT WET WEST WEMT CET CEST|-9.l 0 -10 -20 -10 -20|01212121212121212121212121212121212121212121212121232323232345454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-2nco9.l cNb9.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 2RV0 11z0 11B0 1ze0 WM0 1fA0 1cM0 1fa0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|38e3","Europe/Moscow|MMT MMT MST MDST MSD MSK +05 EET EEST MSK|-2u.h -2v.j -3v.j -4v.j -40 -30 -50 -20 -30 -40|012132345464575454545454545454545458754545454545454545454545454545454545454595|-2ag2u.h 2pyW.W 1bA0 11X0 GN0 1Hb0 c4v.j ik0 3DA0 dz0 15A0 c10 2q10 iM10 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|16e6","Europe/Paris|PMT WET WEST CEST CET WEMT|-9.l 0 -10 -20 -10 -20|0121212121212121212121212121212121212121212121212123434352543434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434343434|-2nco8.l cNb8.l HA0 19A0 1iM0 11c0 1oo0 Wo0 1rc0 QM0 1EM0 UM0 1u00 10o0 1io0 1wo0 Rc0 1a00 1fA0 1cM0 1cM0 1io0 17c0 1fA0 1a00 1io0 1a00 1io0 17c0 1fA0 1a00 1io0 17c0 1cM0 1cM0 1a00 1io0 1cM0 1cM0 1a00 1fA0 1io0 17c0 1cM0 1cM0 1a00 1fA0 1io0 1qM0 Df0 Ik0 5M30 WM0 1fA0 1cM0 Vx0 hB0 1aq0 16M0 1ekn0 1cL0 1fC0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Europe/Riga|RMT LST EET MSK CEST CET MSD EEST|-1A.y -2A.y -20 -30 -20 -10 -40 -30|010102345454536363636363636363727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272727272|-25TzA.y 11A0 1iM0 ko0 gWm0 yDXA.y 2bX0 3fE0 WM0 1fA0 1cM0 1cM0 4m0 1sLy0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cN0 1o00 11A0 1o00 11A0 1qM0 3oo0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|64e4","Europe/Rome|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2arB0 Lz0 1cN0 1db0 1410 1on0 Wp0 1qL0 17d0 1cL0 M3B0 5M20 WM0 1fA0 1cM0 16M0 1iM0 16m0 1de0 1lc0 14m0 1lc0 WO0 1qM0 GTW0 On0 1C10 LA0 1C00 LA0 1EM0 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1C00 LA0 1zc0 Oo0 1C00 LA0 1C00 LA0 1zc0 Oo0 1C00 Oo0 1zc0 Oo0 1fC0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|39e5","Europe/Samara|LMT +03 +04 +05|-3k.k -30 -40 -50|0123232323232323232121232323232323232323232323232323232323212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2y10 14m0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 2sp0 WM0|12e5","Europe/Saratov|LMT +03 +04 +05|-34.i -30 -40 -50|012323232323232321212121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 5810","Europe/Simferopol|SMT EET MSK CEST CET MSD EEST MSK|-2g -20 -30 -20 -10 -40 -30 -40|012343432525252525252525252161616525252616161616161616161616161616161616172|-1Pc2g eUog rEn0 2qs0 WM0 1fA0 1cM0 3V0 1u0L0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 4eL0 1cL0 1cN0 1cL0 1cN0 dX0 WL0 1cN0 1cL0 1fB0 1o30 11B0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11z0 1nW0|33e4","Europe/Sofia|EET CET CEST EEST|-20 -10 -20 -30|01212103030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030|-168L0 WM0 1fA0 1cM0 1cM0 1cN0 1mKH0 1dd0 1fb0 1ap0 1fb0 1a20 1fy0 1a30 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cK0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 1nX0 11E0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Europe/Stockholm|CET CEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2azC0 TB0 2yDe0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|15e5","Europe/Tallinn|TMT CET CEST EET MSK MSD EEST|-1D -10 -20 -20 -30 -40 -30|012103421212454545454545454546363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363|-26oND teD 11A0 1Ta0 4rXl KSLD 2FX0 2Jg0 WM0 1fA0 1cM0 18J0 1sTX0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o10 11A0 1qM0 5QM0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|41e4","Europe/Tirane|LMT CET CEST|-1j.k -10 -20|01212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2glBj.k 14pcj.k 5LC0 WM0 4M0 1fCK0 10n0 1op0 11z0 1pd0 11z0 1qN0 WL0 1qp0 Xb0 1qp0 Xb0 1qp0 11z0 1lB0 11z0 1qN0 11z0 1iN0 16n0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|42e4","Europe/Ulyanovsk|LMT +03 +04 +05 +02|-3d.A -30 -40 -50 -20|01232323232323232321214121212121212121212121212121212121212121212|-22WM0 qH90 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1fA0 2pB0 IM0 rX0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0 3rd0","Europe/Uzhgorod|CET CEST MSK MSD EET EEST|-10 -20 -30 -40 -20 -30|010101023232323232323232320454545454545454545454545454545454545454545454545454545454545454545454545454545454545454545454|-1cqL0 6i00 WM0 1fA0 1cM0 1ml0 1Cp0 1r3W0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1Q00 1Nf0 2pw0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e4","Europe/Vienna|CET CEST|-10 -20|0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 3KM0 14o0 LA00 6i00 WM0 1fA0 1cM0 1cM0 1cM0 400 2qM0 1a00 1cM0 1cM0 1io0 17c0 1gHa0 19X0 1cP0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|18e5","Europe/Vilnius|WMT KMT CET EET MSK CEST MSD EEST|-1o -1z.A -10 -20 -30 -20 -40 -30|012324525254646464646464646473737373737373737352537373737373737373737373737373737373737373737373737373737373737373737373|-293do 6ILM.o 1Ooz.A zz0 Mfd0 29W0 3is0 WM0 1fA0 1cM0 LV0 1tgL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11B0 1o00 11A0 1qM0 8io0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|54e4","Europe/Volgograd|LMT +03 +04 +05|-2V.E -30 -40 -50|01232323232323232121212121212121212121212121212121212121212121|-21IqV.E psLV.E 23CL0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 2pB0 1cM0 1cM0 1cM0 1fA0 1cM0 3Co0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 8Hz0|10e5","Europe/Warsaw|WMT CET CEST EET EEST|-1o -10 -20 -20 -30|012121234312121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121|-2ctdo 1LXo 11d0 1iO0 11A0 1o00 11A0 1on0 11A0 6zy0 HWP0 5IM0 WM0 1fA0 1cM0 1dz0 1mL0 1en0 15B0 1aq0 1nA0 11A0 1io0 17c0 1fA0 1a00 iDX0 LA0 1cM0 1cM0 1C00 Oo0 1cM0 1cM0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1C00 LA0 uso0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cN0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e5","Europe/Zaporozhye|CUT EET MSK CEST CET MSD EEST|-2k -20 -30 -20 -10 -40 -30|01234342525252525252525252526161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161|-1Pc2k eUok rdb0 2RE0 WM0 1fA0 8m0 1v9a0 1db0 1cN0 1db0 1cN0 1db0 1dd0 1cO0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cK0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cQ0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|77e4","HST|HST|a0|0|","Indian/Chagos|LMT IOT IOT|-4N.E -50 -60|012|-2xosN.E 3AGLN.E|30e2","Indian/Christmas|CXT|-70|0||21e2","Indian/Cocos|CCT|-6u|0||596","Indian/Kerguelen|-00 +05|0 -50|01|-MG00|130","Indian/Mahe|LMT SCT|-3F.M -40|01|-2yO3F.M|79e3","Indian/Maldives|MMT MVT|-4S -50|01|-olgS|35e4","Indian/Mauritius|LMT MUT MUST|-3O -40 -50|012121|-2xorO 34unO 14L0 12kr0 11z0|15e4","Indian/Reunion|LMT RET|-3F.Q -40|01|-2mDDF.Q|84e4","Pacific/Kwajalein|MHT KWAT MHT|-b0 c0 -c0|012|-AX0 W9X0|14e3","MET|MET MEST|-10 -20|01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-2aFe0 11d0 1iO0 11A0 1o00 11A0 Qrc0 6i00 WM0 1fA0 1cM0 1cM0 1cM0 16M0 1gMM0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00","MST|MST|70|0|","MST7MDT|MST MDT MWT MPT|70 60 60 60|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261r0 1nX0 11B0 1nX0 SgN0 8x20 ix0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Pacific/Chatham|CHAST CHAST CHADT|-cf -cJ -dJ|012121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212121212|-WqAf 1adef IM0 1C00 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1qM0 14o0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1lc0 14o0 1lc0 14o0 1lc0 17c0 1io0 17c0 1io0 17c0 1io0 17c0 1io0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|600","PST8PDT|PST PDT PWT PPT|80 70 70 70|010102301010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|-261q0 1nX0 11B0 1nX0 SgN0 8x10 iy0 QwN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1cN0 1cL0 1cN0 1cL0 s10 1Vz0 LB0 1BX0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1fz0 1a10 1fz0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0","Pacific/Apia|LMT WSST SST SDT WSDT WSST|bq.U bu b0 a0 -e0 -d0|01232345454545454545454545454545454545454545454545454545454|-2nDMx.4 1yW03.4 2rRbu 1ff0 1a00 CI0 AQ0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00|37e3","Pacific/Bougainville|PGT JST BST|-a0 -90 -b0|0102|-16Wy0 7CN0 2MQp0|18e4","Pacific/Chuuk|CHUT|-a0|0||49e3","Pacific/Efate|LMT VUT VUST|-bd.g -b0 -c0|0121212121212121212121|-2l9nd.g 2Szcd.g 1cL0 1oN0 10L0 1fB0 19X0 1fB0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1cN0 1cL0 1fB0 Lz0 1Nd0 An0|66e3","Pacific/Enderbury|PHOT PHOT PHOT|c0 b0 -d0|012|nIc0 B8n0|1","Pacific/Fakaofo|TKT TKT|b0 -d0|01|1Gfn0|483","Pacific/Fiji|LMT FJT FJST|-bT.I -c0 -d0|0121212121212121212121212121212121212121212121212121212121212121|-2bUzT.I 3m8NT.I LA0 1EM0 IM0 nJc0 LA0 1o00 Rc0 1wo0 Ao0 1Nc0 Ao0 1Q00 xz0 1SN0 uM0 1SM0 uM0 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0|88e4","Pacific/Funafuti|TVT|-c0|0||45e2","Pacific/Galapagos|LMT ECT GALT|5W.o 50 60|012|-1yVS1.A 2dTz1.A|25e3","Pacific/Gambier|LMT GAMT|8X.M 90|01|-2jof0.c|125","Pacific/Guadalcanal|LMT SBT|-aD.M -b0|01|-2joyD.M|11e4","Pacific/Guam|GST ChST|-a0 -a0|01|1fpq0|17e4","Pacific/Honolulu|HST HDT HST|au 9u a0|010102|-1thLu 8x0 lef0 8Pz0 46p0|37e4","Pacific/Kiritimati|LINT LINT LINT|aE a0 -e0|012|nIaE B8nk|51e2","Pacific/Kosrae|KOST KOST|-b0 -c0|010|-AX0 1bdz0|66e2","Pacific/Majuro|MHT MHT|-b0 -c0|01|-AX0|28e3","Pacific/Marquesas|LMT MART|9i 9u|01|-2joeG|86e2","Pacific/Pago_Pago|LMT NST BST SST|bm.M b0 b0 b0|0123|-2nDMB.c 2gVzB.c EyM0|37e2","Pacific/Nauru|LMT NRT JST NRT|-b7.E -bu -90 -c0|01213|-1Xdn7.E PvzB.E 5RCu 1ouJu|10e3","Pacific/Niue|NUT NUT NUT|bk bu b0|012|-KfME 17y0a|12e2","Pacific/Norfolk|NMT NFT NFST NFT|-bc -bu -cu -b0|01213|-Kgbc W01G On0 1COp0|25e4","Pacific/Noumea|LMT NCT NCST|-b5.M -b0 -c0|01212121|-2l9n5.M 2EqM5.M xX0 1PB0 yn0 HeP0 Ao0|98e3","Pacific/Palau|PWT|-90|0||21e3","Pacific/Pitcairn|PNT PST|8u 80|01|18Vku|56","Pacific/Pohnpei|PONT|-b0|0||34e3","Pacific/Port_Moresby|PGT|-a0|0||25e4","Pacific/Rarotonga|CKT CKHST CKT|au 9u a0|012121212121212121212121212|lyWu IL0 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Onu 1zcu Rbu 1zcu Onu 1zcu Onu 1zcu Onu|13e3","Pacific/Tahiti|LMT TAHT|9W.g a0|01|-2joe1.I|18e4","Pacific/Tarawa|GILT|-c0|0||29e3","Pacific/Tongatapu|+1220 +13 +14|-ck -d0 -e0|0121212121212121212121212121212121212121212121212121|-1aB0k 2n5dk 15A0 1wo0 xz0 1Q10 xz0 zWN0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1SM0 uM0 1SM0 uM0|75e3","Pacific/Wake|WAKT|-c0|0||16e3","Pacific/Wallis|WFT|-c0|0||94","WET|WET WEST|0 -10|010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010|hDB0 1a00 1fA0 1cM0 1cM0 1cM0 1fA0 1a00 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00"],
|
27 | links:["Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Sao_Tome","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|Atlantic/St_Helena","Africa/Cairo|Egypt","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Khartoum|Africa/Juba","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","Africa/Tripoli|Libya","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|US/Alaska","America/Argentina/Buenos_Aires|America/Buenos_Aires","America/Argentina/Catamarca|America/Argentina/ComodRivadavia","America/Argentina/Catamarca|America/Catamarca","America/Argentina/Cordoba|America/Cordoba","America/Argentina/Cordoba|America/Rosario","America/Argentina/Jujuy|America/Jujuy","America/Argentina/Mendoza|America/Mendoza","America/Atikokan|America/Coral_Harbour","America/Chicago|US/Central","America/Curacao|America/Aruba","America/Curacao|America/Kralendijk","America/Curacao|America/Lower_Princes","America/Denver|America/Shiprock","America/Denver|Navajo","America/Denver|US/Mountain","America/Detroit|US/Michigan","America/Edmonton|Canada/Mountain","America/Fort_Wayne|America/Indiana/Indianapolis","America/Fort_Wayne|America/Indianapolis","America/Fort_Wayne|US/East-Indiana","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/Indiana/Knox|America/Knox_IN","America/Indiana/Knox|US/Indiana-Starke","America/Jamaica|Jamaica","America/Kentucky/Louisville|America/Louisville","America/Los_Angeles|US/Pacific","America/Los_Angeles|US/Pacific-New","America/Manaus|Brazil/West","America/Mazatlan|Mexico/BajaSur","America/Mexico_City|Mexico/General","America/New_York|US/Eastern","America/Noronha|Brazil/DeNoronha","America/Panama|America/Cayman","America/Phoenix|US/Arizona","America/Port_of_Spain|America/Anguilla","America/Port_of_Spain|America/Antigua","America/Port_of_Spain|America/Dominica","America/Port_of_Spain|America/Grenada","America/Port_of_Spain|America/Guadeloupe","America/Port_of_Spain|America/Marigot","America/Port_of_Spain|America/Montserrat","America/Port_of_Spain|America/St_Barthelemy","America/Port_of_Spain|America/St_Kitts","America/Port_of_Spain|America/St_Lucia","America/Port_of_Spain|America/St_Thomas","America/Port_of_Spain|America/St_Vincent","America/Port_of_Spain|America/Tortola","America/Port_of_Spain|America/Virgin","America/Regina|Canada/East-Saskatchewan","America/Regina|Canada/Saskatchewan","America/Rio_Branco|America/Porto_Acre","America/Rio_Branco|Brazil/Acre","America/Santiago|Chile/Continental","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","America/Tijuana|America/Ensenada","America/Tijuana|America/Santa_Isabel","America/Tijuana|Mexico/BajaNorte","America/Toronto|America/Montreal","America/Toronto|Canada/Eastern","America/Vancouver|Canada/Pacific","America/Whitehorse|Canada/Yukon","America/Winnipeg|Canada/Central","Asia/Ashgabat|Asia/Ashkhabad","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Vientiane","Asia/Dhaka|Asia/Dacca","Asia/Dubai|Asia/Muscat","Asia/Ho_Chi_Minh|Asia/Saigon","Asia/Hong_Kong|Hongkong","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Macau|Asia/Macao","Asia/Makassar|Asia/Ujung_Pandang","Asia/Nicosia|Europe/Nicosia","Asia/Qatar|Asia/Bahrain","Asia/Rangoon|Asia/Yangon","Asia/Riyadh|Asia/Aden","Asia/Riyadh|Asia/Kuwait","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|PRC","Asia/Singapore|Singapore","Asia/Taipei|ROC","Asia/Tehran|Iran","Asia/Thimphu|Asia/Thimbu","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Urumqi|Asia/Kashgar","Atlantic/Faroe|Atlantic/Faeroe","Atlantic/Reykjavik|Iceland","Australia/Adelaide|Australia/South","Australia/Brisbane|Australia/Queensland","Australia/Broken_Hill|Australia/Yancowinna","Australia/Darwin|Australia/North","Australia/Hobart|Australia/Tasmania","Australia/Lord_Howe|Australia/LHI","Australia/Melbourne|Australia/Victoria","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/NSW","Etc/GMT+0|Etc/GMT","Etc/GMT+0|Etc/GMT-0","Etc/GMT+0|Etc/GMT0","Etc/GMT+0|Etc/Greenwich","Etc/GMT+0|GMT","Etc/GMT+0|GMT+0","Etc/GMT+0|GMT-0","Etc/GMT+0|GMT0","Etc/GMT+0|Greenwich","Etc/UCT|UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Belgrade|Europe/Ljubljana","Europe/Belgrade|Europe/Podgorica","Europe/Belgrade|Europe/Sarajevo","Europe/Belgrade|Europe/Skopje","Europe/Belgrade|Europe/Zagreb","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Helsinki|Europe/Mariehamn","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Portugal","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|W-SU","Europe/Oslo|Arctic/Longyearbyen","Europe/Oslo|Atlantic/Jan_Mayen","Europe/Prague|Europe/Bratislava","Europe/Rome|Europe/San_Marino","Europe/Rome|Europe/Vatican","Europe/Warsaw|Poland","Europe/Zurich|Europe/Busingen","Europe/Zurich|Europe/Vaduz","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Chatham|NZ-CHAT","Pacific/Chuuk|Pacific/Truk","Pacific/Chuuk|Pacific/Yap","Pacific/Easter|Chile/EasterIsland","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kwajalein|Kwajalein","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Pohnpei|Pacific/Ponape"]}},{}],801:[function(e,t,n){var r=t.exports=e("./moment-timezone");r.tz.load(e("./data/packed/latest.json"))},{"./data/packed/latest.json":800,"./moment-timezone":802}],802:[function(e,t,n){!function(n,r){"use strict";"function"==typeof define&&define.amd?define(["moment"],r):"object"==typeof t&&t.exports?t.exports=r(e("moment")):r(n.moment)}(this,function(e){"use strict";function t(e){return e>96?e-87:e>64?e-29:e-48}function n(e){var n,r=0,o=e.split("."),a=o[0],i=o[1]||"",s=1,l=0,u=1;for(45===e.charCodeAt(0)&&(r=1,u=-1),r;r<a.length;r++)n=t(a.charCodeAt(r)),l=60*l+n;for(r=0;r<i.length;r++)s/=60,n=t(i.charCodeAt(r)),l+=n*s;return l*u}function r(e){for(var t=0;t<e.length;t++)e[t]=n(e[t])}function o(e,t){for(var n=0;n<t;n++)e[n]=Math.round((e[n-1]||0)+6e4*e[n]);e[t-1]=1/0}function a(e,t){var n,r=[];for(n=0;n<t.length;n++)r[n]=e[t[n]];return r}function i(e){var t=e.split("|"),n=t[2].split(" "),i=t[3].split(""),s=t[4].split(" ");return r(n),r(i),r(s),o(s,i.length),{name:t[0],abbrs:a(t[1].split(" "),i),offsets:a(n,i),untils:s,population:0|t[5]}}function s(e){e&&this._set(i(e))}function l(e){var t=e.toTimeString(),n=t.match(/\([a-z ]+\)/i);n&&n[0]?(n=n[0].match(/[A-Z]/g),n=n?n.join(""):void 0):(n=t.match(/[A-Z]{3,5}/g),n=n?n[0]:void 0),"GMT"===n&&(n=void 0),this.at=+e,this.abbr=n,this.offset=e.getTimezoneOffset()}function u(e){this.zone=e,this.offsetScore=0,this.abbrScore=0}function c(e,t){for(var n,r;r=6e4*((t.at-e.at)/12e4|0);)n=new l(new Date(e.at+r)),n.offset===e.offset?e=n:t=n;return e}function d(){var e,t,n,r=(new Date).getFullYear()-2,o=new l(new Date(r,0,1)),a=[o];for(n=1;n<48;n++)t=new l(new Date(r,n,1)),t.offset!==o.offset&&(e=c(o,t),a.push(e),a.push(new l(new Date(e.at+6e4)))),o=t;for(n=0;n<4;n++)a.push(new l(new Date(r+n,0,1))),a.push(new l(new Date(r+n,6,1)));return a}function f(e,t){return e.offsetScore!==t.offsetScore?e.offsetScore-t.offsetScore:e.abbrScore!==t.abbrScore?e.abbrScore-t.abbrScore:t.zone.population-e.zone.population}function p(e,t){var n,o;for(r(t),n=0;n<t.length;n++)o=t[n],R[o]=R[o]||{},R[o][e]=!0}function h(e){var t,n,r,o=e.length,a={},i=[];for(t=0;t<o;t++){r=R[e[t].offset]||{};for(n in r)r.hasOwnProperty(n)&&(a[n]=!0)}for(t in a)a.hasOwnProperty(t)&&i.push(z[t]);return i}function m(){try{var e=Intl.DateTimeFormat().resolvedOptions().timeZone;if(e){var t=z[b(e)];if(t)return t;x("Moment Timezone found "+e+" from the Intl api, but did not have that data loaded.")}}catch(e){}var n,r,o,a=d(),i=a.length,s=h(a),l=[];for(r=0;r<s.length;r++){for(n=new u(y(s[r]),i),o=0;o<i;o++)n.scoreOffsetAt(a[o]);l.push(n)}return l.sort(f),l.length>0?l[0].zone.name:void 0}function v(e){return P&&!e||(P=m()),P}function b(e){return(e||"").toLowerCase().replace(/\//g,"_")}function g(e){var t,n,r,o;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)r=e[t].split("|"),n=r[0],o=b(n),O[o]=e[t],z[o]=n,r[5]&&p(o,r[2].split(" "))}function y(e,t){e=b(e);var n,r=O[e];return r instanceof s?r:"string"==typeof r?(r=new s(r),O[e]=r,r):E[e]&&t!==y&&(n=y(E[e],y))?(r=O[e]=new s,r._set(n),r.name=z[e],r):null}function _(){var e,t=[];for(e in z)z.hasOwnProperty(e)&&(O[e]||O[E[e]])&&z[e]&&t.push(z[e]);return t.sort()}function M(e){var t,n,r,o;for("string"==typeof e&&(e=[e]),t=0;t<e.length;t++)n=e[t].split("|"),r=b(n[0]),o=b(n[1]),E[r]=o,z[r]=n[0],E[o]=r,z[o]=n[1]}function w(e){g(e.zones),M(e.links),k.dataVersion=e.version}function S(e){return S.didShowError||(S.didShowError=!0,x("moment.tz.zoneExists('"+e+"') has been deprecated in favor of !moment.tz.zone('"+e+"')")),!!y(e)}function C(e){return!(!e._a||void 0!==e._tzm)}function x(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e)}function k(t){var n=Array.prototype.slice.call(arguments,0,-1),r=arguments[arguments.length-1],o=y(r),a=e.utc.apply(null,n);return o&&!e.isMoment(t)&&C(a)&&a.add(o.parse(a),"minutes"),a.tz(r),a}function T(e){return function(){return this._z?this._z.abbr(this):e.call(this)}}function A(e){return function(){return this._z=null,e.apply(this,arguments)}}var P,N="0.5.11",O={},E={},z={},R={},j=e.version.split("."),L=+j[0],D=+j[1];(L<2||2===L&&D<6)&&x("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+e.version+". See momentjs.com"),s.prototype={_set:function(e){this.name=e.name,this.abbrs=e.abbrs,this.untils=e.untils,this.offsets=e.offsets,this.population=e.population},_index:function(e){var t,n=+e,r=this.untils;for(t=0;t<r.length;t++)if(n<r[t])return t},parse:function(e){var t,n,r,o,a=+e,i=this.offsets,s=this.untils,l=s.length-1;for(o=0;o<l;o++)if(t=i[o],n=i[o+1],r=i[o?o-1:o],t<n&&k.moveAmbiguousForward?t=n:t>r&&k.moveInvalidForward&&(t=r),a<s[o]-6e4*t)return i[o];return i[l]},abbr:function(e){return this.abbrs[this._index(e)]},offset:function(e){return this.offsets[this._index(e)]}},u.prototype.scoreOffsetAt=function(e){this.offsetScore+=Math.abs(this.zone.offset(e.at)-e.offset),this.zone.abbr(e.at).replace(/[^A-Z]/g,"")!==e.abbr&&this.abbrScore++},k.version=N,k.dataVersion="",k._zones=O,k._links=E,k._names=z,k.add=g,k.link=M,k.load=w,k.zone=y,k.zoneExists=S,k.guess=v,k.names=_,k.Zone=s,k.unpack=i,k.unpackBase60=n,k.needsOffset=C,k.moveInvalidForward=!0,k.moveAmbiguousForward=!1;var I=e.fn;e.tz=k,e.defaultZone=null,e.updateOffset=function(t,n){var r,o=e.defaultZone;void 0===t._z&&(o&&C(t)&&!t._isUTC&&(t._d=e.utc(t._a)._d,t.utc().add(o.parse(t),"minutes")),t._z=o),t._z&&(r=t._z.offset(t),Math.abs(r)<16&&(r/=60),void 0!==t.utcOffset?t.utcOffset(-r,n):t.zone(r,n))},I.tz=function(t){return t?(this._z=y(t),this._z?e.updateOffset(this):x("Moment Timezone has no data for "+t+". See http://momentjs.com/timezone/docs/#/data-loading/."),this):this._z?this._z.name:void 0},I.zoneName=T(I.zoneName),I.zoneAbbr=T(I.zoneAbbr),I.utc=A(I.utc),e.tz.setDefault=function(t){return(L<2||2===L&&D<9)&&x("Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js "+e.version+"."),e.defaultZone=t?y(t):null,e};var B=e.momentProperties;return"[object Array]"===Object.prototype.toString.call(B)?(B.push("_z"),B.push("_a")):B&&(B._z=null),e})},{moment:810}],803:[function(e,t,n){!function(r,o){"object"==typeof n&&"undefined"!=typeof t&&"function"==typeof e?o(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],o):o(r.moment)}(this,function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return/-MMM-/.test(r)?n[e.month()]:t[e.month()]},monthsParseExact:!0,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return r})},{"../moment":810}],804:[function(e,t,n){!function(r,o){"object"==typeof n&&"undefined"!=typeof t&&"function"==typeof e?o(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],o):o(r.moment)}(this,function(e){"use strict";var t=e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"Di_Lu_Ma_Me_Je_Ve_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd'hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinalParse:/\d{1,2}(er|)/,ordinal:function(e){return e+(1===e?"er":"")},week:{dow:1,doy:4}});return t})},{"../moment":810}],805:[function(e,t,n){!function(r,o){"object"==typeof n&&"undefined"!=typeof t&&"function"==typeof e?o(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],o):o(r.moment)}(this,function(e){"use strict";var t=e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10===0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,n){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?n?'לפנה"צ':"לפני הצהריים":e<18?n?'אחה"צ':"אחרי הצהריים":"בערב"}});return t})},{"../moment":810}],806:[function(e,t,n){!function(r,o){"object"==typeof n&&"undefined"!=typeof t&&"function"==typeof e?o(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],o):o(r.moment)}(this,function(e){"use strict";function t(e,t,n,r){var o=e;switch(n){case"s":return r||t?"néhány másodperc":"néhány másodperce";case"m":return"egy"+(r||t?" perc":" perce");case"mm":return o+(r||t?" perc":" perce");case"h":return"egy"+(r||t?" óra":" órája");case"hh":return o+(r||t?" óra":" órája");case"d":return"egy"+(r||t?" nap":" napja");case"dd":return o+(r||t?" nap":" napja");case"M":return"egy"+(r||t?" hónap":" hónapja");case"MM":return o+(r||t?" hónap":" hónapja");case"y":return"egy"+(r||t?" év":" éve");case"yy":return o+(r||t?" év":" éve")}return""}function n(e){return(e?"":"[múlt] ")+"["+r[this.day()]+"] LT[-kor]"}var r="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" "),o=e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?n===!0?"de":"DE":n===!0?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return o})},{"../moment":810}],807:[function(e,t,n){!function(r,o){"object"==typeof n&&"undefined"!=typeof t&&"function"==typeof e?o(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],o):o(r.moment)}(this,function(e){"use strict";function t(e){return e%10<5&&e%10>1&&~~(e/10)%10!==1}function n(e,n,r){var o=e+" ";switch(r){case"m":return n?"minuta":"minutę";case"mm":return o+(t(e)?"minuty":"minut");case"h":return n?"godzina":"godzinę";case"hh":return o+(t(e)?"godziny":"godzin");case"MM":return o+(t(e)?"miesiące":"miesięcy");case"yy":return o+(t(e)?"lata":"lat")}}var r="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),o="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),a=e.defineLocale("pl",{months:function(e,t){return""===t?"("+o[e.month()]+"|"+r[e.month()]+")":/D MMMM/.test(t)?o[e.month()]:r[e.month()]},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:"[W] dddd [o] LT",lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",m:n,mm:n,h:n,hh:n,d:"1 dzień",dd:"%d dni",M:"miesiąc",MM:n,y:"rok",yy:n},ordinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a})},{"../moment":810}],808:[function(e,t,n){!function(r,o){"object"==typeof n&&"undefined"!=typeof t&&"function"==typeof e?o(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],o):o(r.moment)}(this,function(e){"use strict";var t=e.defineLocale("pt",{months:"Janeiro_Fevereiro_Março_Abril_Maio_Junho_Julho_Agosto_Setembro_Outubro_Novembro_Dezembro".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingo_Segunda-Feira_Terça-Feira_Quarta-Feira_Quinta-Feira_Sexta-Feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Dom_2ª_3ª_4ª_5ª_6ª_Sáb".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},ordinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return t})},{"../moment":810}],809:[function(e,t,n){!function(r,o){"object"==typeof n&&"undefined"!=typeof t&&"function"==typeof e?o(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],o):o(r.moment)}(this,function(e){"use strict";var t=e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"Ah点mm分",LTS:"Ah点m分s秒",L:"YYYY-MM-DD",LL:"YYYY年MMMD日",LLL:"YYYY年MMMD日Ah点mm分",LLLL:"YYYY年MMMD日ddddAh点mm分",l:"YYYY-MM-DD",ll:"YYYY年MMMD日",lll:"YYYY年MMMD日Ah点mm分",llll:"YYYY年MMMD日ddddAh点mm分"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var r=100*e+t;return r<600?"凌晨":r<900?"早上":r<1130?"上午":r<1230?"中午":r<1800?"下午":"晚上"},calendar:{sameDay:function(){return 0===this.minutes()?"[今天]Ah[点整]":"[今天]LT"},nextDay:function(){return 0===this.minutes()?"[明天]Ah[点整]":"[明天]LT"},lastDay:function(){return 0===this.minutes()?"[昨天]Ah[点整]":"[昨天]LT"},nextWeek:function(){var t,n;return t=e().startOf("week"),n=this.diff(t,"days")>=7?"[下]":"[本]",0===this.minutes()?n+"dddAh点整":n+"dddAh点mm"},lastWeek:function(){var t,n;return t=e().startOf("week"),n=this.unix()<t.unix()?"[上]":"[本]",0===this.minutes()?n+"dddAh点整":n+"dddAh点mm"},sameElse:"LL"},ordinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}});return t})},{"../moment":810}],810:[function(e,t,n){!function(e,r){"object"==typeof n&&"undefined"!=typeof t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return br.apply(null,arguments)}function r(e){br=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e){var t;for(t in e)return!1;return!0}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function c(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)c(t,n)&&(e[n]=t[n]);return c(t,"toString")&&(e.toString=t.toString),c(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return yt(e,t,n,r,!0).utc()}function p(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function h(e){return null==e._pf&&(e._pf=p()),e._pf}function m(e){if(null==e._isValid){var t=h(e),n=yr.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function v(e){var t=f(NaN);return null!=e?d(h(t),e):h(t).userInvalidated=!0,t}function b(e){return void 0===e}function g(e,t){var n,r,o;if(b(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),b(t._i)||(e._i=t._i),b(t._f)||(e._f=t._f),b(t._l)||(e._l=t._l),b(t._strict)||(e._strict=t._strict),b(t._tzm)||(e._tzm=t._tzm),b(t._isUTC)||(e._isUTC=t._isUTC),b(t._offset)||(e._offset=t._offset),b(t._pf)||(e._pf=h(t)),b(t._locale)||(e._locale=t._locale),_r.length>0)for(n in _r)r=_r[n],o=t[r],b(o)||(e[r]=o);return e}function y(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Mr===!1&&(Mr=!0,n.updateOffset(this),Mr=!1)}function _(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function M(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=M(t)),n}function S(e,t,n){var r,o=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),i=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&w(e[r])!==w(t[r]))&&i++;return i+a}function C(e){n.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var r=!0;return d(function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),r){for(var o,a=[],i=0;i<arguments.length;i++){if(o="","object"==typeof arguments[i]){o+="\n["+i+"] ";for(var s in arguments[0])o+=s+": "+arguments[0][s]+", ";o=o.slice(0,-2)}else o=arguments[i];a.push(o)}C(e+"\nArguments: "+Array.prototype.slice.call(a).join("")+"\n"+(new Error).stack),r=!1}return t.apply(this,arguments)},t)}function k(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),wr[e]||(C(t),wr[e]=!0)}function T(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function A(e){var t,n;for(n in e)t=e[n],T(t)?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function P(e,t){var n,r=d({},e);for(n in t)c(t,n)&&(a(e[n])&&a(t[n])?(r[n]={},d(r[n],e[n]),d(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)c(e,n)&&!c(t,n)&&a(e[n])&&(r[n]=d({},r[n]));return r}function N(e){null!=e&&this.set(e)}function O(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return T(r)?r.call(t,n):r}function E(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])}function z(){return this._invalidDate}function R(e){return this._ordinal.replace("%d",e)}function j(e,t,n,r){var o=this._relativeTime[n];return T(o)?o(e,t,n,r):o.replace(/%d/i,e)}function L(e,t){var n=this._relativeTime[e>0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)}function D(e,t){var n=e.toLowerCase();Er[n]=Er[n+"s"]=Er[t]=e}function I(e){return"string"==typeof e?Er[e]||Er[e.toLowerCase()]:void 0}function B(e){var t,n,r={};for(n in e)c(e,n)&&(t=I(n),t&&(r[t]=e[n]));return r}function V(e,t){zr[e]=t}function q(e){var t=[];for(var n in e)t.push({unit:n,priority:zr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function F(e,t){return function(r){return null!=r?(W(this,e,r),n.updateOffset(this,t),this):U(this,e)}}function U(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function W(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function H(e){return e=I(e),T(this[e])?this[e]():this}function X(e,t){if("object"==typeof e){e=B(e);for(var n=q(e),r=0;r<n.length;r++)this[n[r].unit](e[n[r].unit])}else if(e=I(e),T(this[e]))return this[e](t);return this}function K(e,t,n){var r=""+Math.abs(e),o=t-r.length,a=e>=0;return(a?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}function G(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(Dr[e]=o),t&&(Dr[t[0]]=function(){return K(o.apply(this,arguments),t[1],t[2])}),n&&(Dr[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function Y(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function $(e){var t,n,r=e.match(Rr);for(t=0,n=r.length;t<n;t++)Dr[r[t]]?r[t]=Dr[r[t]]:r[t]=Y(r[t]);return function(t){var o,a="";for(o=0;o<n;o++)a+=r[o]instanceof Function?r[o].call(t,e):r[o];return a}}function Q(e,t){return e.isValid()?(t=J(t,e.localeData()),Lr[t]=Lr[t]||$(t),Lr[t](e)):e.localeData().invalidDate()}function J(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(jr.lastIndex=0;r>=0&&jr.test(e);)e=e.replace(jr,n),jr.lastIndex=0,r-=1;return e}function Z(e,t,n){to[e]=T(t)?t:function(e,r){return e&&n?n:t}}function ee(e,t){return c(to,e)?to[e](t._strict,t._locale):new RegExp(te(e))}function te(e){return ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,o){return t||n||r||o}))}function ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function re(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=w(e)}),n=0;n<e.length;n++)no[e[n]]=r}function oe(e,t){re(e,function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)})}function ae(e,t,n){null!=t&&c(no,e)&&no[e](t,n._a,n,e)}function ie(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}function se(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ho).test(t)?"format":"standalone"][e.month()]:this._months}function le(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ho.test(t)?"format":"standalone"][e.month()]:this._monthsShort}function ue(e,t,n){var r,o,a,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?(o=po.call(this._shortMonthsParse,i),o!==-1?o:null):(o=po.call(this._longMonthsParse,i),o!==-1?o:null):"MMM"===t?(o=po.call(this._shortMonthsParse,i),o!==-1?o:(o=po.call(this._longMonthsParse,i),o!==-1?o:null)):(o=po.call(this._longMonthsParse,i),o!==-1?o:(o=po.call(this._shortMonthsParse,i),
|
28 | o!==-1?o:null))}function ce(e,t,n){var r,o,a;if(this._monthsParseExact)return ue.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function de(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(t=e.localeData().monthsParse(t),!s(t))return e;return n=Math.min(e.date(),ie(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function fe(e){return null!=e?(de(this,e),n.updateOffset(this,!0),this):U(this,"Month")}function pe(){return ie(this.year(),this.month())}function he(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ve.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=bo),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function me(e){return this._monthsParseExact?(c(this,"_monthsRegex")||ve.call(this),e?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=go),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ve(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],a=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),a.sort(e),t=0;t<12;t++)r[t]=ne(r[t]),o[t]=ne(o[t]);for(t=0;t<24;t++)a[t]=ne(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function be(e){return ge(e)?366:365}function ge(e){return e%4===0&&e%100!==0||e%400===0}function ye(){return ge(this.year())}function _e(e,t,n,r,o,a,i){var s=new Date(e,t,n,r,o,a,i);return e<100&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function Me(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function we(e,t,n){var r=7+t-n,o=(7+Me(e,0,r).getUTCDay()-t)%7;return-o+r-1}function Se(e,t,n,r,o){var a,i,s=(7+n-r)%7,l=we(e,r,o),u=1+7*(t-1)+s+l;return u<=0?(a=e-1,i=be(a)+u):u>be(e)?(a=e+1,i=u-be(e)):(a=e,i=u),{year:a,dayOfYear:i}}function Ce(e,t,n){var r,o,a=we(e.year(),t,n),i=Math.floor((e.dayOfYear()-a-1)/7)+1;return i<1?(o=e.year()-1,r=i+xe(o,t,n)):i>xe(e.year(),t,n)?(r=i-xe(e.year(),t,n),o=e.year()+1):(o=e.year(),r=i),{week:r,year:o}}function xe(e,t,n){var r=we(e,t,n),o=we(e+1,t,n);return(be(e)-r+o)/7}function ke(e){return Ce(e,this._week.dow,this._week.doy).week}function Te(){return this._week.dow}function Ae(){return this._week.doy}function Pe(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ne(e){var t=Ce(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Oe(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ee(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function ze(e,t){return e?o(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Re(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function je(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Le(e,t,n){var r,o,a,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?(o=po.call(this._weekdaysParse,i),o!==-1?o:null):"ddd"===t?(o=po.call(this._shortWeekdaysParse,i),o!==-1?o:null):(o=po.call(this._minWeekdaysParse,i),o!==-1?o:null):"dddd"===t?(o=po.call(this._weekdaysParse,i),o!==-1?o:(o=po.call(this._shortWeekdaysParse,i),o!==-1?o:(o=po.call(this._minWeekdaysParse,i),o!==-1?o:null))):"ddd"===t?(o=po.call(this._shortWeekdaysParse,i),o!==-1?o:(o=po.call(this._weekdaysParse,i),o!==-1?o:(o=po.call(this._minWeekdaysParse,i),o!==-1?o:null))):(o=po.call(this._minWeekdaysParse,i),o!==-1?o:(o=po.call(this._weekdaysParse,i),o!==-1?o:(o=po.call(this._shortWeekdaysParse,i),o!==-1?o:null)))}function De(e,t,n){var r,o,a;if(this._weekdaysParseExact)return Le.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Ie(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Oe(e,this.localeData()),this.add(e-t,"d")):t}function Be(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Ve(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ee(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function qe(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||We.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Co),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Fe(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||We.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=xo),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ue(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||We.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ko),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function We(){function e(e,t){return t.length-e.length}var t,n,r,o,a,i=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),o=this.weekdaysShort(n,""),a=this.weekdays(n,""),i.push(r),s.push(o),l.push(a),u.push(r),u.push(o),u.push(a);for(i.sort(e),s.sort(e),l.sort(e),u.sort(e),t=0;t<7;t++)s[t]=ne(s[t]),l[t]=ne(l[t]),u[t]=ne(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function He(){return this.hours()%12||12}function Xe(){return this.hours()||24}function Ke(e,t){G(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ge(e,t){return t._meridiemParse}function Ye(e){return"p"===(e+"").toLowerCase().charAt(0)}function $e(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Qe(e){return e?e.toLowerCase().replace("_","-"):e}function Je(e){for(var t,n,r,o,a=0;a<e.length;){for(o=Qe(e[a]).split("-"),t=o.length,n=Qe(e[a+1]),n=n?n.split("-"):null;t>0;){if(r=Ze(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&S(o,n,!0)>=t-1)break;t--}a++}return null}function Ze(n){var r=null;if(!Oo[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=To._abbr,e("./locale/"+n),et(r)}catch(e){}return Oo[n]}function et(e,t){var n;return e&&(n=b(t)?rt(e):tt(e,t),n&&(To=n)),To._abbr}function tt(e,t){if(null!==t){var n=No;if(t.abbr=e,null!=Oo[e])k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Oo[e]._config;else if(null!=t.parentLocale){if(null==Oo[t.parentLocale])return Eo[t.parentLocale]||(Eo[t.parentLocale]=[]),Eo[t.parentLocale].push({name:e,config:t}),null;n=Oo[t.parentLocale]._config}return Oo[e]=new N(P(n,t)),Eo[e]&&Eo[e].forEach(function(e){tt(e.name,e.config)}),et(e),Oo[e]}return delete Oo[e],null}function nt(e,t){if(null!=t){var n,r=No;null!=Oo[e]&&(r=Oo[e]._config),t=P(r,t),n=new N(t),n.parentLocale=Oo[e],Oo[e]=n,et(e)}else null!=Oo[e]&&(null!=Oo[e].parentLocale?Oo[e]=Oo[e].parentLocale:null!=Oo[e]&&delete Oo[e]);return Oo[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return To;if(!o(e)){if(t=Ze(e))return t;e=[e]}return Je(e)}function ot(){return xr(Oo)}function at(e){var t,n=e._a;return n&&h(e).overflow===-2&&(t=n[oo]<0||n[oo]>11?oo:n[ao]<1||n[ao]>ie(n[ro],n[oo])?ao:n[io]<0||n[io]>24||24===n[io]&&(0!==n[so]||0!==n[lo]||0!==n[uo])?io:n[so]<0||n[so]>59?so:n[lo]<0||n[lo]>59?lo:n[uo]<0||n[uo]>999?uo:-1,h(e)._overflowDayOfYear&&(t<ro||t>ao)&&(t=ao),h(e)._overflowWeeks&&t===-1&&(t=co),h(e)._overflowWeekday&&t===-1&&(t=fo),h(e).overflow=t),e}function it(e){var t,n,r,o,a,i,s=e._i,l=zo.exec(s)||Ro.exec(s);if(l){for(h(e).iso=!0,t=0,n=Lo.length;t<n;t++)if(Lo[t][1].exec(l[1])){o=Lo[t][0],r=Lo[t][2]!==!1;break}if(null==o)return void(e._isValid=!1);if(l[3]){for(t=0,n=Do.length;t<n;t++)if(Do[t][1].exec(l[3])){a=(l[2]||" ")+Do[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!jo.exec(l[4]))return void(e._isValid=!1);i="Z"}e._f=o+(a||"")+(i||""),ft(e)}else e._isValid=!1}function st(e){var t=Io.exec(e._i);return null!==t?void(e._d=new Date((+t[1]))):(it(e),void(e._isValid===!1&&(delete e._isValid,n.createFromInputFallback(e))))}function lt(e,t,n){return null!=e?e:null!=t?t:n}function ut(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function ct(e){var t,n,r,o,a=[];if(!e._d){for(r=ut(e),e._w&&null==e._a[ao]&&null==e._a[oo]&&dt(e),e._dayOfYear&&(o=lt(e._a[ro],r[ro]),e._dayOfYear>be(o)&&(h(e)._overflowDayOfYear=!0),n=Me(o,0,e._dayOfYear),e._a[oo]=n.getUTCMonth(),e._a[ao]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[io]&&0===e._a[so]&&0===e._a[lo]&&0===e._a[uo]&&(e._nextDay=!0,e._a[io]=0),e._d=(e._useUTC?Me:_e).apply(null,a),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[io]=24)}}function dt(e){var t,n,r,o,a,i,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)a=1,i=4,n=lt(t.GG,e._a[ro],Ce(_t(),1,4).year),r=lt(t.W,1),o=lt(t.E,1),(o<1||o>7)&&(l=!0);else{a=e._locale._week.dow,i=e._locale._week.doy;var u=Ce(_t(),a,i);n=lt(t.gg,e._a[ro],u.year),r=lt(t.w,u.week),null!=t.d?(o=t.d,(o<0||o>6)&&(l=!0)):null!=t.e?(o=t.e+a,(t.e<0||t.e>6)&&(l=!0)):o=a}r<1||r>xe(n,a,i)?h(e)._overflowWeeks=!0:null!=l?h(e)._overflowWeekday=!0:(s=Se(n,r,o,a,i),e._a[ro]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void it(e);e._a=[],h(e).empty=!0;var t,r,o,a,i,s=""+e._i,l=s.length,u=0;for(o=J(e._f,e._locale).match(Rr)||[],t=0;t<o.length;t++)a=o[t],r=(s.match(ee(a,e))||[])[0],r&&(i=s.substr(0,s.indexOf(r)),i.length>0&&h(e).unusedInput.push(i),s=s.slice(s.indexOf(r)+r.length),u+=r.length),Dr[a]?(r?h(e).empty=!1:h(e).unusedTokens.push(a),ae(a,r,e)):e._strict&&!r&&h(e).unusedTokens.push(a);h(e).charsLeftOver=l-u,s.length>0&&h(e).unusedInput.push(s),e._a[io]<=12&&h(e).bigHour===!0&&e._a[io]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[io]=pt(e._locale,e._a[io],e._meridiem),ct(e),at(e)}function pt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function ht(e){var t,n,r,o,a;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<e._f.length;o++)a=0,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],ft(t),m(t)&&(a+=h(t).charsLeftOver,a+=10*h(t).unusedTokens.length,h(t).score=a,(null==r||a<r)&&(r=a,n=t));d(e,n||t)}function mt(e){if(!e._d){var t=B(e._i);e._a=u([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ct(e)}}function vt(e){var t=new y(at(bt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function bt(e){var t=e._i,n=e._f;return e._locale=e._locale||rt(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),_(t)?new y(at(t)):(l(t)?e._d=t:o(n)?ht(e):n?ft(e):gt(e),m(e)||(e._d=null),e))}function gt(e){var t=e._i;void 0===t?e._d=new Date(n.now()):l(t)?e._d=new Date(t.valueOf()):"string"==typeof t?st(e):o(t)?(e._a=u(t.slice(0),function(e){return parseInt(e,10)}),ct(e)):"object"==typeof t?mt(e):s(t)?e._d=new Date(t):n.createFromInputFallback(e)}function yt(e,t,n,r,s){var l={};return n!==!0&&n!==!1||(r=n,n=void 0),(a(e)&&i(e)||o(e)&&0===e.length)&&(e=void 0),l._isAMomentObject=!0,l._useUTC=l._isUTC=s,l._l=n,l._i=e,l._f=t,l._strict=r,vt(l)}function _t(e,t,n,r){return yt(e,t,n,r,!1)}function Mt(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return _t();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function wt(){var e=[].slice.call(arguments,0);return Mt("isBefore",e)}function St(){var e=[].slice.call(arguments,0);return Mt("isAfter",e)}function Ct(e){var t=B(e),n=t.year||0,r=t.quarter||0,o=t.month||0,a=t.week||0,i=t.day||0,s=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._milliseconds=+c+1e3*u+6e4*l+1e3*s*60*60,this._days=+i+7*a,this._months=+o+3*r+12*n,this._data={},this._locale=rt(),this._bubble()}function xt(e){return e instanceof Ct}function kt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Tt(e,t){G(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+K(~~(e/60),2)+t+K(~~e%60,2)})}function At(e,t){var n=(t||"").match(e);if(null===n)return null;var r=n[n.length-1]||[],o=(r+"").match(Fo)||["-",0,0],a=+(60*o[1])+w(o[2]);return 0===a?0:"+"===o[0]?a:-a}function Pt(e,t){var r,o;return t._isUTC?(r=t.clone(),o=(_(e)||l(e)?e.valueOf():_t(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+o),n.updateOffset(r,!1),r):_t(e).local()}function Nt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ot(e,t){var r,o=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(e=At(Jr,e),null===e)return this}else Math.abs(e)<16&&(e=60*e);return!this._isUTC&&t&&(r=Nt(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),o!==e&&(!t||this._changeInProgress?Kt(this,Ft(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:Nt(this)}function Et(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function zt(e){return this.utcOffset(0,e)}function Rt(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Nt(this),"m")),this}function jt(){if(null!=this._tzm)this.utcOffset(this._tzm);else if("string"==typeof this._i){var e=At(Qr,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Lt(e){return!!this.isValid()&&(e=e?_t(e).utcOffset():0,(this.utcOffset()-e)%60===0)}function Dt(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function It(){if(!b(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),e=bt(e),e._a){var t=e._isUTC?f(e._a):_t(e._a);this._isDSTShifted=this.isValid()&&S(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Bt(){return!!this.isValid()&&!this._isUTC}function Vt(){return!!this.isValid()&&this._isUTC}function qt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ft(e,t){var n,r,o,a=e,i=null;return xt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(a={},t?a[t]=e:a.milliseconds=e):(i=Uo.exec(e))?(n="-"===i[1]?-1:1,a={y:0,d:w(i[ao])*n,h:w(i[io])*n,m:w(i[so])*n,s:w(i[lo])*n,ms:w(kt(1e3*i[uo]))*n}):(i=Wo.exec(e))?(n="-"===i[1]?-1:1,a={y:Ut(i[2],n),M:Ut(i[3],n),w:Ut(i[4],n),d:Ut(i[5],n),h:Ut(i[6],n),m:Ut(i[7],n),s:Ut(i[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(o=Ht(_t(a.from),_t(a.to)),a={},a.ms=o.milliseconds,a.M=o.months),r=new Ct(a),xt(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Ut(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Wt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Ht(e,t){var n;return e.isValid()&&t.isValid()?(t=Pt(t,e),e.isBefore(t)?n=Wt(e,t):(n=Wt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Xt(e,t){return function(n,r){var o,a;return null===r||isNaN(+r)||(k(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),a=n,n=r,r=a),n="string"==typeof n?+n:n,o=Ft(n,r),Kt(this,o,e),this}}function Kt(e,t,r,o){var a=t._milliseconds,i=kt(t._days),s=kt(t._months);e.isValid()&&(o=null==o||o,a&&e._d.setTime(e._d.valueOf()+a*r),i&&W(e,"Date",U(e,"Date")+i*r),s&&de(e,U(e,"Month")+s*r),o&&n.updateOffset(e,i||s))}function Gt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Yt(e,t){var r=e||_t(),o=Pt(r,this).startOf("day"),a=n.calendarFormat(this,o)||"sameElse",i=t&&(T(t[a])?t[a].call(this,r):t[a]);return this.format(i||this.localeData().calendar(a,this,_t(r)))}function $t(){return new y(this)}function Qt(e,t){var n=_(e)?e:_t(e);return!(!this.isValid()||!n.isValid())&&(t=I(b(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Jt(e,t){var n=_(e)?e:_t(e);return!(!this.isValid()||!n.isValid())&&(t=I(b(t)?"millisecond":t),"millisecond"===t?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Zt(e,t,n,r){return r=r||"()",("("===r[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))}function en(e,t){var n,r=_(e)?e:_t(e);return!(!this.isValid()||!r.isValid())&&(t=I(t||"millisecond"),"millisecond"===t?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function tn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function nn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function rn(e,t,n){var r,o,a,i;return this.isValid()?(r=Pt(e,this),r.isValid()?(o=6e4*(r.utcOffset()-this.utcOffset()),t=I(t),"year"===t||"month"===t||"quarter"===t?(i=on(this,r),"quarter"===t?i/=3:"year"===t&&(i/=12)):(a=this-r,i="second"===t?a/1e3:"minute"===t?a/6e4:"hour"===t?a/36e5:"day"===t?(a-o)/864e5:"week"===t?(a-o)/6048e5:a),n?i:M(i)):NaN):NaN}function on(e,t){var n,r,o=12*(t.year()-e.year())+(t.month()-e.month()),a=e.clone().add(o,"months");return t-a<0?(n=e.clone().add(o-1,"months"),r=(t-a)/(a-n)):(n=e.clone().add(o+1,"months"),r=(t-a)/(n-a)),-(o+r)||0}function an(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function sn(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?T(Date.prototype.toISOString)?this.toDate().toISOString():Q(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):Q(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function ln(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o="-MM-DD[T]HH:mm:ss.SSS",a=t+'[")]';return this.format(n+r+o+a)}function un(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=Q(this,e);return this.localeData().postformat(t)}function cn(e,t){return this.isValid()&&(_(e)&&e.isValid()||_t(e).isValid())?Ft({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function dn(e){return this.from(_t(),e)}function fn(e,t){return this.isValid()&&(_(e)&&e.isValid()||_t(e).isValid())?Ft({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function pn(e){return this.to(_t(),e)}function hn(e){var t;return void 0===e?this._locale._abbr:(t=rt(e),null!=t&&(this._locale=t),this)}function mn(){return this._locale}function vn(e){switch(e=I(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function bn(e){return e=I(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function gn(){return this._d.valueOf()-6e4*(this._offset||0)}function yn(){return Math.floor(this.valueOf()/1e3)}function _n(){return new Date(this.valueOf())}function Mn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function wn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Sn(){return this.isValid()?this.toISOString():null}function Cn(){return m(this)}function xn(){return d({},h(this))}function kn(){return h(this).overflow}function Tn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function An(e,t){G(0,[e,e.length],0,t)}function Pn(e){return zn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Nn(e){return zn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function On(){return xe(this.year(),1,4)}function En(){var e=this.localeData()._week;return xe(this.year(),e.dow,e.doy)}function zn(e,t,n,r,o){var a;return null==e?Ce(this,r,o).year:(a=xe(e,r,o),t>a&&(t=a),Rn.call(this,e,t,n,r,o))}function Rn(e,t,n,r,o){var a=Se(e,t,n,r,o),i=Me(a.year,0,a.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function jn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Ln(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Dn(e,t){t[uo]=w(1e3*("0."+e))}function In(){return this._isUTC?"UTC":""}function Bn(){return this._isUTC?"Coordinated Universal Time":""}function Vn(e){return _t(1e3*e)}function qn(){return _t.apply(null,arguments).parseZone()}function Fn(e){return e}function Un(e,t,n,r){var o=rt(),a=f().set(r,t);return o[n](a,e)}function Wn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Un(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=Un(e,r,n,"month");return o}function Hn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var o=rt(),a=e?o._week.dow:0;if(null!=n)return Un(t,(n+a)%7,r,"day");var i,l=[];for(i=0;i<7;i++)l[i]=Un(t,(i+a)%7,r,"day");return l}function Xn(e,t){return Wn(e,t,"months")}function Kn(e,t){return Wn(e,t,"monthsShort")}function Gn(e,t,n){return Hn(e,t,n,"weekdays")}function Yn(e,t,n){return Hn(e,t,n,"weekdaysShort")}function $n(e,t,n){return Hn(e,t,n,"weekdaysMin")}function Qn(){var e=this._data;return this._milliseconds=ta(this._milliseconds),this._days=ta(this._days),this._months=ta(this._months),e.milliseconds=ta(e.milliseconds),e.seconds=ta(e.seconds),e.minutes=ta(e.minutes),e.hours=ta(e.hours),e.months=ta(e.months),e.years=ta(e.years),this}function Jn(e,t,n,r){var o=Ft(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function Zn(e,t){return Jn(this,e,t,1)}function er(e,t){return Jn(this,e,t,-1)}function tr(e){return e<0?Math.floor(e):Math.ceil(e)}function nr(){var e,t,n,r,o,a=this._milliseconds,i=this._days,s=this._months,l=this._data;return a>=0&&i>=0&&s>=0||a<=0&&i<=0&&s<=0||(a+=864e5*tr(or(s)+i),i=0,s=0),l.milliseconds=a%1e3,e=M(a/1e3),l.seconds=e%60,t=M(e/60),l.minutes=t%60,n=M(t/60),l.hours=n%24,i+=M(n/24),o=M(rr(i)),s+=o,i-=tr(or(o)),r=M(s/12),s%=12,l.days=i,l.months=s,l.years=r,this}function rr(e){return 4800*e/146097}function or(e){return 146097*e/4800}function ar(e){var t,n,r=this._milliseconds;if(e=I(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+rr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(or(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function ir(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12)}function sr(e){return function(){return this.as(e)}}function lr(e){return e=I(e),this[e+"s"]()}function ur(e){return function(){return this._data[e]}}function cr(){return M(this.days()/7)}function dr(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function fr(e,t,n){var r=Ft(e).abs(),o=ba(r.as("s")),a=ba(r.as("m")),i=ba(r.as("h")),s=ba(r.as("d")),l=ba(r.as("M")),u=ba(r.as("y")),c=o<ga.s&&["s",o]||a<=1&&["m"]||a<ga.m&&["mm",a]||i<=1&&["h"]||i<ga.h&&["hh",i]||s<=1&&["d"]||s<ga.d&&["dd",s]||l<=1&&["M"]||l<ga.M&&["MM",l]||u<=1&&["y"]||["yy",u];return c[2]=t,c[3]=+e>0,c[4]=n,dr.apply(null,c)}function pr(e){return void 0===e?ba:"function"==typeof e&&(ba=e,!0)}function hr(e,t){return void 0!==ga[e]&&(void 0===t?ga[e]:(ga[e]=t,!0))}function mr(e){var t=this.localeData(),n=fr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function vr(){var e,t,n,r=ya(this._milliseconds)/1e3,o=ya(this._days),a=ya(this._months);e=M(r/60),t=M(e/60),r%=60,e%=60,n=M(a/12),a%=12;var i=n,s=a,l=o,u=t,c=e,d=r,f=this.asSeconds();return f?(f<0?"-":"")+"P"+(i?i+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(u||c||d?"T":"")+(u?u+"H":"")+(c?c+"M":"")+(d?d+"S":""):"P0D"}var br,gr;gr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var yr=gr,_r=n.momentProperties=[],Mr=!1,wr={};n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var Sr;Sr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)c(e,t)&&n.push(t);return n};var Cr,xr=Sr,kr={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Tr={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Ar="Invalid date",Pr="%d",Nr=/\d{1,2}/,Or={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Er={},zr={},Rr=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,jr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Lr={},Dr={},Ir=/\d/,Br=/\d\d/,Vr=/\d{3}/,qr=/\d{4}/,Fr=/[+-]?\d{6}/,Ur=/\d\d?/,Wr=/\d\d\d\d?/,Hr=/\d\d\d\d\d\d?/,Xr=/\d{1,3}/,Kr=/\d{1,4}/,Gr=/[+-]?\d{1,6}/,Yr=/\d+/,$r=/[+-]?\d+/,Qr=/Z|[+-]\d\d:?\d\d/gi,Jr=/Z|[+-]\d\d(?::?\d\d)?/gi,Zr=/[+-]?\d+(\.\d{1,3})?/,eo=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,to={},no={},ro=0,oo=1,ao=2,io=3,so=4,lo=5,uo=6,co=7,fo=8;Cr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1};var po=Cr;G("M",["MM",2],"Mo",function(){return this.month()+1}),G("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),G("MMMM",0,0,function(e){return this.localeData().months(this,e)}),D("month","M"),V("month",8),Z("M",Ur),Z("MM",Ur,Br),Z("MMM",function(e,t){return t.monthsShortRegex(e)}),Z("MMMM",function(e,t){return t.monthsRegex(e)}),re(["M","MM"],function(e,t){t[oo]=w(e)-1}),re(["MMM","MMMM"],function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[oo]=o:h(n).invalidMonth=e});var ho=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,mo="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),vo="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),bo=eo,go=eo;G("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),G(0,["YY",2],0,function(){return this.year()%100}),G(0,["YYYY",4],0,"year"),G(0,["YYYYY",5],0,"year"),G(0,["YYYYYY",6,!0],0,"year"),D("year","y"),V("year",1),Z("Y",$r),Z("YY",Ur,Br),Z("YYYY",Kr,qr),Z("YYYYY",Gr,Fr),Z("YYYYYY",Gr,Fr),re(["YYYYY","YYYYYY"],ro),re("YYYY",function(e,t){t[ro]=2===e.length?n.parseTwoDigitYear(e):w(e)}),re("YY",function(e,t){t[ro]=n.parseTwoDigitYear(e)}),re("Y",function(e,t){t[ro]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return w(e)+(w(e)>68?1900:2e3)};var yo=F("FullYear",!0);G("w",["ww",2],"wo","week"),G("W",["WW",2],"Wo","isoWeek"),D("week","w"),D("isoWeek","W"),V("week",5),V("isoWeek",5),Z("w",Ur),Z("ww",Ur,Br),Z("W",Ur),Z("WW",Ur,Br),oe(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=w(e)});var _o={dow:0,doy:6};G("d",0,"do","day"),G("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),G("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),G("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),G("e",0,0,"weekday"),G("E",0,0,"isoWeekday"),D("day","d"),D("weekday","e"),D("isoWeekday","E"),V("day",11),V("weekday",11),V("isoWeekday",11),Z("d",Ur),Z("e",Ur),Z("E",Ur),Z("dd",function(e,t){return t.weekdaysMinRegex(e)}),Z("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Z("dddd",function(e,t){return t.weekdaysRegex(e)}),oe(["dd","ddd","dddd"],function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:h(n).invalidWeekday=e}),oe(["d","e","E"],function(e,t,n,r){t[r]=w(e)});var Mo="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),wo="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),So="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Co=eo,xo=eo,ko=eo;G("H",["HH",2],0,"hour"),G("h",["hh",2],0,He),G("k",["kk",2],0,Xe),G("hmm",0,0,function(){return""+He.apply(this)+K(this.minutes(),2)}),G("hmmss",0,0,function(){return""+He.apply(this)+K(this.minutes(),2)+K(this.seconds(),2)}),G("Hmm",0,0,function(){return""+this.hours()+K(this.minutes(),2)}),G("Hmmss",0,0,function(){return""+this.hours()+K(this.minutes(),2)+K(this.seconds(),2)}),Ke("a",!0),Ke("A",!1),D("hour","h"),V("hour",13),Z("a",Ge),Z("A",Ge),Z("H",Ur),Z("h",Ur),Z("HH",Ur,Br),Z("hh",Ur,Br),
|
29 | Z("hmm",Wr),Z("hmmss",Hr),Z("Hmm",Wr),Z("Hmmss",Hr),re(["H","HH"],io),re(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),re(["h","hh"],function(e,t,n){t[io]=w(e),h(n).bigHour=!0}),re("hmm",function(e,t,n){var r=e.length-2;t[io]=w(e.substr(0,r)),t[so]=w(e.substr(r)),h(n).bigHour=!0}),re("hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[io]=w(e.substr(0,r)),t[so]=w(e.substr(r,2)),t[lo]=w(e.substr(o)),h(n).bigHour=!0}),re("Hmm",function(e,t,n){var r=e.length-2;t[io]=w(e.substr(0,r)),t[so]=w(e.substr(r))}),re("Hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[io]=w(e.substr(0,r)),t[so]=w(e.substr(r,2)),t[lo]=w(e.substr(o))});var To,Ao=/[ap]\.?m?\.?/i,Po=F("Hours",!0),No={calendar:kr,longDateFormat:Tr,invalidDate:Ar,ordinal:Pr,ordinalParse:Nr,relativeTime:Or,months:mo,monthsShort:vo,week:_o,weekdays:Mo,weekdaysMin:So,weekdaysShort:wo,meridiemParse:Ao},Oo={},Eo={},zo=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ro=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,jo=/Z|[+-]\d\d(?::?\d\d)?/,Lo=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],Do=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Io=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=x("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var Bo=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_t.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()}),Vo=x("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_t.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}),qo=function(){return Date.now?Date.now():+new Date};Tt("Z",":"),Tt("ZZ",""),Z("Z",Jr),Z("ZZ",Jr),re(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=At(Jr,e)});var Fo=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Uo=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Wo=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Ft.fn=Ct.prototype;var Ho=Xt(1,"add"),Xo=Xt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ko=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});G(0,["gg",2],0,function(){return this.weekYear()%100}),G(0,["GG",2],0,function(){return this.isoWeekYear()%100}),An("gggg","weekYear"),An("ggggg","weekYear"),An("GGGG","isoWeekYear"),An("GGGGG","isoWeekYear"),D("weekYear","gg"),D("isoWeekYear","GG"),V("weekYear",1),V("isoWeekYear",1),Z("G",$r),Z("g",$r),Z("GG",Ur,Br),Z("gg",Ur,Br),Z("GGGG",Kr,qr),Z("gggg",Kr,qr),Z("GGGGG",Gr,Fr),Z("ggggg",Gr,Fr),oe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),oe(["gg","GG"],function(e,t,r,o){t[o]=n.parseTwoDigitYear(e)}),G("Q",0,"Qo","quarter"),D("quarter","Q"),V("quarter",7),Z("Q",Ir),re("Q",function(e,t){t[oo]=3*(w(e)-1)}),G("D",["DD",2],"Do","date"),D("date","D"),V("date",9),Z("D",Ur),Z("DD",Ur,Br),Z("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),re(["D","DD"],ao),re("Do",function(e,t){t[ao]=w(e.match(Ur)[0],10)});var Go=F("Date",!0);G("DDD",["DDDD",3],"DDDo","dayOfYear"),D("dayOfYear","DDD"),V("dayOfYear",4),Z("DDD",Xr),Z("DDDD",Vr),re(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),G("m",["mm",2],0,"minute"),D("minute","m"),V("minute",14),Z("m",Ur),Z("mm",Ur,Br),re(["m","mm"],so);var Yo=F("Minutes",!1);G("s",["ss",2],0,"second"),D("second","s"),V("second",15),Z("s",Ur),Z("ss",Ur,Br),re(["s","ss"],lo);var $o=F("Seconds",!1);G("S",0,0,function(){return~~(this.millisecond()/100)}),G(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),G(0,["SSS",3],0,"millisecond"),G(0,["SSSS",4],0,function(){return 10*this.millisecond()}),G(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),G(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),G(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),G(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),G(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),D("millisecond","ms"),V("millisecond",16),Z("S",Xr,Ir),Z("SS",Xr,Br),Z("SSS",Xr,Vr);var Qo;for(Qo="SSSS";Qo.length<=9;Qo+="S")Z(Qo,Yr);for(Qo="S";Qo.length<=9;Qo+="S")re(Qo,Dn);var Jo=F("Milliseconds",!1);G("z",0,0,"zoneAbbr"),G("zz",0,0,"zoneName");var Zo=y.prototype;Zo.add=Ho,Zo.calendar=Yt,Zo.clone=$t,Zo.diff=rn,Zo.endOf=bn,Zo.format=un,Zo.from=cn,Zo.fromNow=dn,Zo.to=fn,Zo.toNow=pn,Zo.get=H,Zo.invalidAt=kn,Zo.isAfter=Qt,Zo.isBefore=Jt,Zo.isBetween=Zt,Zo.isSame=en,Zo.isSameOrAfter=tn,Zo.isSameOrBefore=nn,Zo.isValid=Cn,Zo.lang=Ko,Zo.locale=hn,Zo.localeData=mn,Zo.max=Vo,Zo.min=Bo,Zo.parsingFlags=xn,Zo.set=X,Zo.startOf=vn,Zo.subtract=Xo,Zo.toArray=Mn,Zo.toObject=wn,Zo.toDate=_n,Zo.toISOString=sn,Zo.inspect=ln,Zo.toJSON=Sn,Zo.toString=an,Zo.unix=yn,Zo.valueOf=gn,Zo.creationData=Tn,Zo.year=yo,Zo.isLeapYear=ye,Zo.weekYear=Pn,Zo.isoWeekYear=Nn,Zo.quarter=Zo.quarters=jn,Zo.month=fe,Zo.daysInMonth=pe,Zo.week=Zo.weeks=Pe,Zo.isoWeek=Zo.isoWeeks=Ne,Zo.weeksInYear=En,Zo.isoWeeksInYear=On,Zo.date=Go,Zo.day=Zo.days=Ie,Zo.weekday=Be,Zo.isoWeekday=Ve,Zo.dayOfYear=Ln,Zo.hour=Zo.hours=Po,Zo.minute=Zo.minutes=Yo,Zo.second=Zo.seconds=$o,Zo.millisecond=Zo.milliseconds=Jo,Zo.utcOffset=Ot,Zo.utc=zt,Zo.local=Rt,Zo.parseZone=jt,Zo.hasAlignedHourOffset=Lt,Zo.isDST=Dt,Zo.isLocal=Bt,Zo.isUtcOffset=Vt,Zo.isUtc=qt,Zo.isUTC=qt,Zo.zoneAbbr=In,Zo.zoneName=Bn,Zo.dates=x("dates accessor is deprecated. Use date instead.",Go),Zo.months=x("months accessor is deprecated. Use month instead",fe),Zo.years=x("years accessor is deprecated. Use year instead",yo),Zo.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Et),Zo.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",It);var ea=N.prototype;ea.calendar=O,ea.longDateFormat=E,ea.invalidDate=z,ea.ordinal=R,ea.preparse=Fn,ea.postformat=Fn,ea.relativeTime=j,ea.pastFuture=L,ea.set=A,ea.months=se,ea.monthsShort=le,ea.monthsParse=ce,ea.monthsRegex=me,ea.monthsShortRegex=he,ea.week=ke,ea.firstDayOfYear=Ae,ea.firstDayOfWeek=Te,ea.weekdays=ze,ea.weekdaysMin=je,ea.weekdaysShort=Re,ea.weekdaysParse=De,ea.weekdaysRegex=qe,ea.weekdaysShortRegex=Fe,ea.weekdaysMinRegex=Ue,ea.isPM=Ye,ea.meridiem=$e,et("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=x("moment.lang is deprecated. Use moment.locale instead.",et),n.langData=x("moment.langData is deprecated. Use moment.localeData instead.",rt);var ta=Math.abs,na=sr("ms"),ra=sr("s"),oa=sr("m"),aa=sr("h"),ia=sr("d"),sa=sr("w"),la=sr("M"),ua=sr("y"),ca=ur("milliseconds"),da=ur("seconds"),fa=ur("minutes"),pa=ur("hours"),ha=ur("days"),ma=ur("months"),va=ur("years"),ba=Math.round,ga={s:45,m:45,h:22,d:26,M:11},ya=Math.abs,_a=Ct.prototype;return _a.abs=Qn,_a.add=Zn,_a.subtract=er,_a.as=ar,_a.asMilliseconds=na,_a.asSeconds=ra,_a.asMinutes=oa,_a.asHours=aa,_a.asDays=ia,_a.asWeeks=sa,_a.asMonths=la,_a.asYears=ua,_a.valueOf=ir,_a._bubble=nr,_a.get=lr,_a.milliseconds=ca,_a.seconds=da,_a.minutes=fa,_a.hours=pa,_a.days=ha,_a.weeks=cr,_a.months=ma,_a.years=va,_a.humanize=mr,_a.toISOString=vr,_a.toString=vr,_a.toJSON=vr,_a.locale=hn,_a.localeData=mn,_a.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",vr),_a.lang=Ko,G("X",0,0,"unix"),G("x",0,0,"valueOf"),Z("x",$r),Z("X",Zr),re("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),re("x",function(e,t,n){n._d=new Date(w(e))}),n.version="2.17.1",r(_t),n.fn=Zo,n.min=wt,n.max=St,n.now=qo,n.utc=f,n.unix=Vn,n.months=Xn,n.isDate=l,n.locale=et,n.invalid=v,n.duration=Ft,n.isMoment=_,n.weekdays=Gn,n.parseZone=qn,n.localeData=rt,n.isDuration=xt,n.monthsShort=Kn,n.weekdaysMin=$n,n.defineLocale=tt,n.updateLocale=nt,n.locales=ot,n.weekdaysShort=Yn,n.normalizeUnits=I,n.relativeTimeRounding=pr,n.relativeTimeThreshold=hr,n.calendarFormat=Gt,n.prototype=Zo,n})},{}],811:[function(e,t,n){function r(e){if(e=String(e),!(e.length>1e4)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var n=parseFloat(t[1]),r=(t[2]||"ms").toLowerCase();switch(r){case"years":case"year":case"yrs":case"yr":case"y":return n*d;case"days":case"day":case"d":return n*c;case"hours":case"hour":case"hrs":case"hr":case"h":return n*u;case"minutes":case"minute":case"mins":case"min":case"m":return n*l;case"seconds":case"second":case"secs":case"sec":case"s":return n*s;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}}}function o(e){return e>=c?Math.round(e/c)+"d":e>=u?Math.round(e/u)+"h":e>=l?Math.round(e/l)+"m":e>=s?Math.round(e/s)+"s":e+"ms"}function a(e){return i(e,c,"day")||i(e,u,"hour")||i(e,l,"minute")||i(e,s,"second")||e+" ms"}function i(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}var s=1e3,l=60*s,u=60*l,c=24*u,d=365.25*c;t.exports=function(e,t){t=t||{};var n=typeof e;if("string"===n&&e.length>0)return r(e);if("number"===n&&isNaN(e)===!1)return t.long?a(e):o(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},{}],812:[function(e,t,n){var r=e("./lib/util"),o=e("./lib/keys"),a=e("./lib/kbdutil"),i=e("./lib/input"),s=e("./lib/websock"),l=e("./lib/base64"),u=e("./lib/des"),c=e("./lib/tinf"),d=e("./lib/display"),f=e("./lib/rfb"),p={Util:r,Keys:o,KbdUtil:a,Input:i,Websock:s,Base64:l,DES:u,TINF:c,Display:d,RFB:f};t.exports=p},{"./lib/base64":813,"./lib/des":814,"./lib/display":815,"./lib/input":816,"./lib/kbdutil":817,"./lib/keys":818,"./lib/rfb":819,"./lib/tinf":820,"./lib/util":821,"./lib/websock":822}],813:[function(e,t,n){var r=e("debug")("noVNC:ERROR:Base64");r.log=console.warn.bind(console);var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".split(""),a="=",i=[-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,62,-1,-1,-1,63,52,53,54,55,56,57,58,59,60,61,-1,-1,-1,0,-1,-1,-1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-1,-1,-1,-1,-1,-1,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-1,-1,-1,-1,-1];t.exports={encode:function(e){for(var t="",n=e.length,r=n%3,a=0;a<n-2;a+=3)t+=o[e[a]>>2],t+=o[((3&e[a])<<4)+(e[a+1]>>4)],t+=o[((15&e[a+1])<<2)+(e[a+2]>>6)],t+=o[63&e[a+2]];var i=0;return 2===r?(i=n-r,t+=o[e[i]>>2],t+=o[((3&e[i])<<4)+(e[i+1]>>4)],t+=o[(15&e[i+1])<<2],t+=o[64]):1===r&&(i=n-r,t+=o[e[i]>>2],t+=o[(3&e[i])<<4],t+=o[64],t+=o[64]),t},decode:function(e,t){t="undefined"!=typeof t?t:0;var n,o,s=0,l=0,u=e.indexOf("=")-t;u<0&&(u=e.length-t),o=3*(u>>2)+Math.floor(u%4/1.5),n=new Array(o);for(var c=0,d=t;d<e.length;d++){var f=i[127&e.charCodeAt(d)],p=e.charAt(d)===a;f!==-1?(l=l<<6|f,s+=6,s>=8&&(s-=8,p||(n[c++]=l>>s&255),l&=(1<<s)-1)):r("decode() | illegal character code "+e.charCodeAt(d)+" at position "+d)}if(s){r("decode() | corrupted Base64 string");var h=new Error("Corrupted Base64 string");throw h.name="Base64-Error",h}return n}}},{debug:220}],814:[function(e,t,n){function r(e){var t,n,r,o,a,i,s,l,u,c,d=[],f=[],p=[];for(n=0,r=56;n<56;++n,r-=8)r+=r<-5?65:r<-3?31:r<-1?63:27===r?35:0,o=7&r,d[n]=0!==(e[r>>>3]&1<<o)?1:0;for(t=0;t<16;++t){for(o=t<<1,a=o+1,p[o]=p[a]=0,i=28;i<59;i+=28)for(n=i-28;n<i;++n)r=n+M[t],r<i?f[n]=d[r]:f[n]=d[r-28];for(n=0;n<24;++n)0!==f[_[n]]&&(p[o]|=1<<23-n),0!==f[_[n+24]]&&(p[a]|=1<<23-n)}for(t=0,u=0,c=0;t<16;++t)s=p[u++],l=p[u++],S[c]=(16515072&s)<<6,S[c]|=(4032&s)<<10,S[c]|=(16515072&l)>>>10,S[c]|=(4032&l)>>>6,++c,S[c]=(258048&s)<<12,S[c]|=(63&s)<<16,S[c]|=(258048&l)>>>4,S[c]|=63&l,++c}function o(e){var t,n,r,o,a=0,i=e.slice(),s=0;for(n=i[a++]<<24|i[a++]<<16|i[a++]<<8|i[a++],r=i[a++]<<24|i[a++]<<16|i[a++]<<8|i[a++],o=252645135&(n>>>4^r),r^=o,n^=o<<4,o=65535&(n>>>16^r),r^=o,n^=o<<16,o=858993459&(r>>>2^n),n^=o,r^=o<<2,o=16711935&(r>>>8^n),n^=o,r^=o<<8,r=r<<1|r>>>31&1,o=2863311530&(n^r),n^=o,r^=o,n=n<<1|n>>>31&1,a=0;a<8;++a)o=r<<28|r>>>4,o^=S[s++],t=g[63&o],t|=v[o>>>8&63],t|=h[o>>>16&63],t|=f[o>>>24&63],o=r^S[s++],t|=y[63&o],t|=b[o>>>8&63],t|=m[o>>>16&63],t|=p[o>>>24&63],n^=t,o=n<<28|n>>>4,o^=S[s++],t=g[63&o],t|=v[o>>>8&63],t|=h[o>>>16&63],t|=f[o>>>24&63],o=n^S[s++],t|=y[63&o],t|=b[o>>>8&63],t|=m[o>>>16&63],t|=p[o>>>24&63],r^=t;for(r=r<<31|r>>>1,o=2863311530&(n^r),n^=o,r^=o,n=n<<31|n>>>1,o=16711935&(n>>>8^r),r^=o,n^=o<<8,o=858993459&(n>>>2^r),r^=o,n^=o<<2,o=65535&(r>>>16^n),n^=o,r^=o<<16,o=252645135&(r>>>4^n),n^=o,r^=o<<4,o=[r,n],a=0;a<8;a++)i[a]=(o[a>>>2]>>>8*(3-a%4))%256,i[a]<0&&(i[a]+=256);return i}function a(e){return o(e.slice(0,8)).concat(o(e.slice(8,16)))}var i,s,l,u,c,d,f,p,h,m,v,b,g,y,_=[13,16,10,23,0,4,2,27,14,5,20,9,22,18,11,3,25,7,15,6,26,19,12,1,40,51,30,36,46,54,29,39,50,44,32,47,43,48,38,55,33,52,45,41,49,35,28,31],M=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],w=0,S=[];i=65536,s=1<<24,l=i|s,u=4,c=1024,d=u|c,f=[l|c,w|w,i|w,l|d,l|u,i|d,w|u,i|w,w|c,l|c,l|d,w|c,s|d,l|u,s|w,w|u,w|d,s|c,s|c,i|c,i|c,l|w,l|w,s|d,i|u,s|u,s|u,i|u,w|w,w|d,i|d,s|w,i|w,l|d,w|u,l|w,l|c,s|w,s|w,w|c,l|u,i|w,i|c,s|u,w|c,w|u,s|d,i|d,l|d,i|u,l|w,s|d,s|u,w|d,i|d,l|c,w|d,s|c,s|c,w|w,i|u,i|c,w|w,l|u],i=1<<20,s=1<<31,l=i|s,u=32,c=32768,d=u|c,p=[l|d,s|c,w|c,i|d,i|w,w|u,l|u,s|d,s|u,l|d,l|c,s|w,s|c,i|w,w|u,l|u,i|c,i|u,s|d,w|w,s|w,w|c,i|d,l|w,i|u,s|u,w|w,i|c,w|d,l|c,l|w,w|d,w|w,i|d,l|u,i|w,s|d,l|w,l|c,w|c,l|w,s|c,w|u,l|d,i|d,w|u,w|c,s|w,w|d,l|c,i|w,s|u,i|u,s|d,s|u,i|u,i|c,w|w,s|c,w|d,s|w,l|u,l|d,i|c],i=1<<17,s=1<<27,l=i|s,u=8,c=512,d=u|c,h=[w|d,l|c,w|w,l|u,s|c,w|w,i|d,s|c,i|u,s|u,s|u,i|w,l|d,i|u,l|w,w|d,s|w,w|u,l|c,w|c,i|c,l|w,l|u,i|d,s|d,i|c,i|w,s|d,w|u,l|d,w|c,s|w,l|c,s|w,i|u,w|d,i|w,l|c,s|c,w|w,w|c,i|u,l|d,s|c,s|u,w|c,w|w,l|u,s|d,i|w,s|w,l|d,w|u,i|d,i|c,s|u,l|w,s|d,w|d,l|w,i|d,w|u,l|u,i|c],i=8192,s=1<<23,l=i|s,u=1,c=128,d=u|c,m=[l|u,i|d,i|d,w|c,l|c,s|d,s|u,i|u,w|w,l|w,l|w,l|d,w|d,w|w,s|c,s|u,w|u,i|w,s|w,l|u,w|c,s|w,i|u,i|c,s|d,w|u,i|c,s|c,i|w,l|c,l|d,w|d,s|c,s|u,l|w,l|d,w|d,w|w,w|w,l|w,i|c,s|c,s|d,w|u,l|u,i|d,i|d,w|c,l|d,w|d,w|u,i|w,s|u,i|u,l|c,s|d,i|u,i|c,s|w,l|u,w|c,s|w,i|w,l|c],i=1<<25,s=1<<30,l=i|s,u=256,c=1<<19,d=u|c,v=[w|u,i|d,i|c,l|u,w|c,w|u,s|w,i|c,s|d,w|c,i|u,s|d,l|u,l|c,w|d,s|w,i|w,s|c,s|c,w|w,s|u,l|d,l|d,i|u,l|c,s|u,w|w,l|w,i|d,i|w,l|w,w|d,w|c,l|u,w|u,i|w,s|w,i|c,l|u,s|d,i|u,s|w,l|c,i|d,s|d,w|u,i|w,l|c,l|d,w|d,l|w,l|d,i|c,w|w,s|c,l|w,w|d,i|u,s|u,w|c,w|w,s|c,i|d,s|u],i=1<<22,s=1<<29,l=i|s,u=16,c=16384,d=u|c,b=[s|u,l|w,w|c,l|d,l|w,w|u,l|d,i|w,s|c,i|d,i|w,s|u,i|u,s|c,s|w,w|d,w|w,i|u,s|d,w|c,i|c,s|d,w|u,l|u,l|u,w|w,i|d,l|c,w|d,i|c,l|c,s|w,s|c,w|u,l|u,i|c,l|d,i|w,w|d,s|u,i|w,s|c,s|w,w|d,s|u,l|d,i|c,l|w,i|d,l|c,w|w,l|u,w|u,w|c,l|w,i|d,w|c,i|u,s|d,w|w,l|c,s|w,i|u,s|d],i=1<<21,s=1<<26,l=i|s,u=2,c=2048,d=u|c,g=[i|w,l|u,s|d,w|w,w|c,s|d,i|d,l|c,l|d,i|w,w|w,s|u,w|u,s|w,l|u,w|d,s|c,i|d,i|u,s|c,s|u,l|w,l|c,i|u,l|w,w|c,w|d,l|d,i|c,w|u,s|w,i|c,s|w,i|c,i|w,s|d,s|d,l|u,l|u,w|u,i|u,s|w,s|c,i|w,l|c,w|d,i|d,l|c,w|d,s|u,l|d,l|w,i|c,w|w,w|u,l|d,w|w,i|d,l|w,w|c,s|u,s|c,w|c,i|u],i=1<<18,s=1<<28,l=i|s,u=64,c=4096,d=u|c,y=[s|d,w|c,i|w,l|d,s|w,s|d,w|u,s|w,i|u,l|w,l|d,i|c,l|c,i|d,w|c,w|u,l|w,s|u,s|c,w|d,i|c,i|u,l|u,l|c,w|d,w|w,w|w,l|u,s|u,s|c,i|d,i|w,i|d,i|w,l|c,w|c,w|u,l|u,w|c,i|d,s|c,w|u,s|u,l|w,l|u,s|w,i|w,s|d,w|w,l|d,i|u,s|u,l|w,s|c,s|d,w|w,l|d,i|c,i|c,w|d,w|d,i|u,s|w,l|c],t.exports=function(e){return r(e),{encrypt:a}}},{}],815:[function(e,t,n){function r(e){if(o("new()"),this._drawCtx=null,this._c_forceCanvas=!1,this._renderQ=[],this._fb_width=0,this._fb_height=0,this._maxWidth=0,this._maxHeight=0,this._viewportLoc={x:0,y:0,w:0,h:0},this._cleanRect={x1:0,y1:0,x2:-1,y2:-1},this._prevDrawStyle="",this._tile=null,this._tile16x16=null,this._tile_x=0,this._tile_y=0,s.set_defaults(this,e,{true_color:!0,colourMap:[],scale:1,viewport:!1,render_mode:""}),!this._target)throw new Error("Target must be set");if("string"==typeof this._target)throw new Error("target must be a DOM element");if(!this._target.getContext)throw new Error("no getContext method");if(this._drawCtx||(this._drawCtx=this._target.getContext("2d")),this.clear(),!("createImageData"in this._drawCtx))throw new Error("Canvas does not support createImageData");this._render_mode="canvas rendering",null===this._prefer_js&&(this._prefer_js=!0),(this._cursor_uri||null===this._cursor_uri||void 0===this._cursor_uri)&&(this._cursor_uri=s.browserSupportsCursorURIs())}t.exports=r;var o=e("debug")("noVNC:Display"),a=e("debug")("noVNC:ERROR:Display");a.log=console.warn.bind(console);var i=e("bowser").browser,s=e("./util"),l=e("./base64");r.prototype={viewportChangePos:function(e,t){var n=this._viewportLoc;this._viewport||(e=-n.w,t=-n.h);var r=n.x+n.w-1,a=n.y+n.h-1;if(e<0&&n.x+e<0&&(e=-n.x),r+e>=this._fb_width&&(e-=r+e-this._fb_width+1),n.y+t<0&&(t=-n.y),a+t>=this._fb_height&&(t-=a+t-this._fb_height+1),0!==e||0!==t){o("viewportChangePos() | deltaX: "+e+", deltaY: "+t),n.x+=e,r+=e,n.y+=t,a+=t;var i=this._cleanRect;n.x>i.x1&&(i.x1=n.x),r<i.x2&&(i.x2=r),n.y>i.y1&&(i.y1=n.y),a<i.y2&&(i.y2=a);var s,l;e<0?(s=0,l=-e):(s=n.w-e,l=e);var u,c;t<0?(u=0,c=-t):(u=n.h-t,c=t);var d=this._drawCtx.fillStyle,f=this._target;this._drawCtx.fillStyle="rgb(255,255,255)",0!==e&&(this._drawCtx.drawImage(f,0,0,n.w,n.h,-e,0,n.w,n.h),this._drawCtx.fillRect(s,0,l,n.h)),0!==t&&(this._drawCtx.drawImage(f,0,0,n.w,n.h,0,-t,n.w,n.h),this._drawCtx.fillRect(0,u,n.w,c)),this._drawCtx.fillStyle=d}},viewportChangeSize:function(e,t){"undefined"!=typeof e&&"undefined"!=typeof t||(o("viewportChangeSize() | setting viewport to full display region"),e=this._fb_width,t=this._fb_height);var n=this._viewportLoc;if(n.w!==e||n.h!==t){this._viewport&&(0!==this._maxWidth&&e>this._maxWidth&&(e=this._maxWidth),0!==this._maxHeight&&t>this._maxHeight&&(t=this._maxHeight));var r=this._cleanRect;e<n.w&&r.x2>n.x+e-1&&(r.x2=n.x+e-1),t<n.h&&r.y2>n.y+t-1&&(r.y2=n.y+t-1),n.w=e,n.h=t;var a=this._target;if(a.width!==e||a.height!==t){var i=null;if(n.w>0&&n.h>0&&a.width>0&&a.height>0){var s=a.width<n.w?a.width:n.w,l=a.height<n.h?a.height:n.h;i=this._drawCtx.getImageData(0,0,s,l)}a.width!==e&&(a.width=e,a.style.width=e+"px"),a.height!==t&&(a.height=t,a.style.height=t+"px"),i&&this._drawCtx.putImageData(i,0,0)}}},getCleanDirtyReset:function(){var e=this._viewportLoc,t=this._cleanRect,n={x:t.x1,y:t.y1,w:t.x2-t.x1+1,h:t.y2-t.y1+1},r=[];if(t.x1>=t.x2||t.y1>=t.y2)r.push({x:e.x,y:e.y,w:e.w,h:e.h});else{var o=e.x+e.w-1,a=e.y+e.h-1;e.x<t.x1&&r.push({x:e.x,y:e.y,w:t.x1-e.x+1,h:e.h}),o>t.x2&&r.push({x:t.x2+1,y:e.y,w:o-t.x2,h:e.h}),e.y<t.y1&&r.push({x:t.x1,y:e.y,w:t.x2-t.x1+1,h:t.y1-e.y}),a>t.y2&&r.push({x:t.x1,y:t.y2+1,w:t.x2-t.x1+1,h:a-t.y2})}return this._cleanRect={x1:e.x,y1:e.y,x2:e.x+e.w-1,y2:e.y+e.h-1},{cleanBox:n,dirtyBoxes:r}},absX:function(e){return e+this._viewportLoc.x},absY:function(e){return e+this._viewportLoc.y},resize:function(e,t){this._prevDrawStyle="",this._fb_width=e,this._fb_height=t,this._rescale(this._scale),this.viewportChangeSize()},clear:function(){this._logo?(this.resize(this._logo.width,this._logo.height),this.blitStringImage(this._logo.data,0,0)):(i.msie&&10===parseInt(i.version)&&this._drawCtx.clearRect(0,0,this._viewportLoc.w,this._viewportLoc.h),this.resize(240,20),this._drawCtx.clearRect(0,0,this._viewportLoc.w,this._viewportLoc.h)),this._renderQ=[]},fillRect:function(e,t,n,r,o){this._setFillColor(o),this._drawCtx.fillRect(e-this._viewportLoc.x,t-this._viewportLoc.y,n,r)},copyImage:function(e,t,n,r,o,a){var i=e-this._viewportLoc.x,s=t-this._viewportLoc.y,l=n-this._viewportLoc.x,u=r-this._viewportLoc.y;this._drawCtx.drawImage(this._target,i,s,o,a,l,u,o,a)},startTile:function(e,t,n,r,o){if(this._tile_x=e,this._tile_y=t,16===n&&16===r?this._tile=this._tile16x16:this._tile=this._drawCtx.createImageData(n,r),this._prefer_js){var a;a=this._true_color?o:this._colourMap[o[0]];for(var i=a[2],s=a[1],l=a[0],u=this._tile.data,c=0;c<n*r*4;c+=4)u[c]=i,u[c+1]=s,u[c+2]=l,u[c+3]=255}else this.fillRect(e,t,n,r,o)},subTile:function(e,t,n,r,o){if(this._prefer_js){var a;a=this._true_color?o:this._colourMap[o[0]];for(var i=a[2],s=a[1],l=a[0],u=e+n,c=t+r,d=this._tile.data,f=this._tile.width,p=t;p<c;p++)for(var h=e;h<u;h++){var m=4*(h+p*f);d[m]=i,d[m+1]=s,d[m+2]=l,d[m+3]=255}}else this.fillRect(this._tile_x+e,this._tile_y+t,n,r,o)},finishTile:function(){this._prefer_js&&this._drawCtx.putImageData(this._tile,this._tile_x-this._viewportLoc.x,this._tile_y-this._viewportLoc.y)},blitImage:function(e,t,n,r,o,a){this._true_color?this._bgrxImageData(e,t,this._viewportLoc.x,this._viewportLoc.y,n,r,o,a):this._cmapImageData(e,t,this._viewportLoc.x,this._viewportLoc.y,n,r,o,a)},blitRgbImage:function(e,t,n,r,o,a){this._true_color?this._rgbImageData(e,t,this._viewportLoc.x,this._viewportLoc.y,n,r,o,a):this._cmapImageData(e,t,this._viewportLoc.x,this._viewportLoc.y,n,r,o,a)},blitStringImage:function(e,t,n){var r=new Image;return r.onload=function(){this._drawCtx.drawImage(r,t-this._viewportLoc.x,n-this._viewportLoc.y)}.bind(this),r.src=e,r},drawImage:function(e,t,n){this._drawCtx.drawImage(e,t-this._viewportLoc.x,n-this._viewportLoc.y)},renderQ_push:function(e){this._renderQ.push(e),1===this._renderQ.length&&this._scan_renderQ()},changeCursor:function(e,t,n,o,i,s){return this._cursor_uri===!1?void a("changeCursor() | called but no cursor data URI support"):void(this._true_color?r.changeCursor(this._target,e,t,n,o,i,s):r.changeCursor(this._target,e,t,n,o,i,s,this._colourMap))},defaultCursor:function(){this._target.style.cursor="default"},disableLocalCursor:function(){this._target.style.cursor="none"},clippingDisplay:function(){var e=this._viewportLoc,t=this._fb_width>e.w||this._fb_height>e.h,n=0!==this._maxWidth&&0!==this._maxHeight,r=!1;return n&&(r=e.w>this._maxWidth||e.h>this._maxHeight),t||n&&r},get_context:function(){return this._drawCtx},set_scale:function(e){this._rescale(e)},set_width:function(e){this._fb_width=e},get_width:function(){return this._fb_width},set_height:function(e){this._fb_height=e},get_height:function(){return this._fb_height},autoscale:function(e,t,n){var r,o=e/t,a=this._fb_width/this._fb_height;r=a>=o?e/this._fb_width:t/this._fb_height;var i,s;return r>1&&n?(i=this._fb_width,s=this._fb_height,r=1):a>=o?(i=e,s=Math.round(e/a)):(i=Math.round(t*a),s=t),this._target.style.width=i+"px",this._target.style.height=s+"px",this._scale=r,r},_rescale:function(e){this._scale=e;var t,n;this._viewport&&0!==this._maxWidth&&0!==this._maxHeight?(t=Math.min(this._fb_width,this._maxWidth),n=Math.min(this._fb_height,this._maxHeight)):(t=this._fb_width,n=this._fb_height),this._target.style.width=Math.round(e*t)+"px",this._target.style.height=Math.round(e*n)+"px"},_setFillColor:function(e){var t;t=this._true_color?e:this._colourMap[e[0]];var n="rgb("+t[2]+","+t[1]+","+t[0]+")";n!==this._prevDrawStyle&&(this._drawCtx.fillStyle=n,this._prevDrawStyle=n)},_rgbImageData:function(e,t,n,r,o,a,i,s){for(var l=this._drawCtx.createImageData(o,a),u=l.data,c=0,d=s;c<o*a*4;c+=4,d+=3)u[c]=i[d],u[c+1]=i[d+1],u[c+2]=i[d+2],u[c+3]=255;this._drawCtx.putImageData(l,e-n,t-r)},_bgrxImageData:function(e,t,n,r,o,a,i,s){for(var l=this._drawCtx.createImageData(o,a),u=l.data,c=0,d=s;c<o*a*4;c+=4,d+=4)u[c]=i[d+2],u[c+1]=i[d+1],u[c+2]=i[d],u[c+3]=255;this._drawCtx.putImageData(l,e-n,t-r)},_cmapImageData:function(e,t,n,r,o,a,i,s){for(var l=this._drawCtx.createImageData(o,a),u=l.data,c=this._colourMap,d=0,f=s;d<o*a*4;d+=4,f++){var p=c[i[f]];u[d]=p[2],u[d+1]=p[1],u[d+2]=p[0],u[d+3]=255}this._drawCtx.putImageData(l,e-n,t-r)},_scan_renderQ:function(){for(var e=!0;e&&this._renderQ.length>0;){var t=this._renderQ[0];switch(t.type){case"copy":this.copyImage(t.old_x,t.old_y,t.x,t.y,t.width,t.height);break;case"fill":this.fillRect(t.x,t.y,t.width,t.height,t.color);break;case"blit":this.blitImage(t.x,t.y,t.width,t.height,t.data,0);break;case"blitRgb":this.blitRgbImage(t.x,t.y,t.width,t.height,t.data,0);break;case"img":t.img.complete?this.drawImage(t.img,t.x,t.y):e=!1}e&&this._renderQ.shift()}this._renderQ.length>0&&s.requestAnimationFrame(this._scan_renderQ.bind(this))}},s.make_properties(r,[["target","wo","dom"],["context","ro","raw"],["logo","rw","raw"],["true_color","rw","bool"],["colourMap","rw","arr"],["scale","rw","float"],["viewport","rw","bool"],["width","rw","int"],["height","rw","int"],["maxWidth","rw","int"],["maxHeight","rw","int"],["render_mode","ro","str"],["prefer_js","rw","str"],["cursor_uri","rw","raw"]]),r.changeCursor=function(e,t,n,r,o,a,i,s){var u=a,c=i;c<u?c=u:u=c;var d=[];d.push16le=function(e){this.push(255&e,e>>8&255)},d.push32le=function(e){this.push(255&e,e>>8&255,e>>16&255,e>>24&255)};var f=40,p=u*c*4,h=Math.ceil(u*c/8),m=Math.ceil(u*c/8);d.push16le(0),d.push16le(2),d.push16le(1),d.push(u),d.push(c),d.push(0),d.push(0),d.push16le(r),d.push16le(o),d.push32le(f+p+h+m),d.push32le(22),d.push32le(f),d.push32le(u),d.push32le(2*c),d.push16le(1),d.push16le(32),d.push32le(0),d.push32le(h+m),d.push32le(0),d.push32le(0),d.push32le(0),d.push32le(0);var v,b;for(v=c-1;v>=0;v--)for(b=0;b<u;b++)if(b>=a||v>=i)d.push(0),d.push(0),d.push(0),d.push(0);else{var g=v*Math.ceil(a/8)+Math.floor(b/8),y=n[g]<<b%8&128?255:0;if(s){g=a*v+b;var _=s[t[g]];d.push(_[2]),d.push(_[1]),d.push(_[0]),d.push(y)}else g=4*(a*v+b),d.push(t[g+2]),d.push(t[g+1]),d.push(t[g]),d.push(y)}for(v=0;v<c;v++)for(b=0;b<Math.ceil(u/8);b++)d.push(0);for(v=0;v<c;v++)for(b=0;b<Math.ceil(u/8);b++)d.push(0);var M="data:image/x-icon;base64,"+l.encode(d);e.style.cursor="url("+M+")"+r+" "+o+", default"}},{"./base64":813,"./util":821,bowser:150,debug:220}],816:[function(e,t,n){(function(n){function r(e){this._keyDownList=[],u.set_defaults(this,e,{target:document,focused:!0}),this._handler=new c.KeyEventDecoder(c.ModifierSync(),c.VerifyCharModifier(c.TrackKeyState(c.EscapeModifiers(this._handleRfbEvent.bind(this))))),this._eventHandlers={keyup:this._handleKeyUp.bind(this),keydown:this._handleKeyDown.bind(this),keypress:this._handleKeyPress.bind(this),blur:this._allKeysUp.bind(this)}}function o(e){this._mouseCaptured=!1,this._doubleClickTimer=null,this._lastTouchPos=null,u.set_defaults(this,e,{target:document,focused:!0,scale:1,zoom:1,touchButton:1}),this._eventHandlers={mousedown:this._handleMouseDown.bind(this),mouseup:this._handleMouseUp.bind(this),mousemove:this._handleMouseMove.bind(this),mousewheel:this._handleMouseWheel.bind(this),mousedisable:this._handleMouseDisable.bind(this)}}var a=t.exports={},i=e("debug")("noVNC:Input:Keybord"),s=e("debug")("noVNC:Input:Mouse"),l=e("bowser").browser,u=e("./util"),c=e("./kbdutil");r.prototype={_handleRfbEvent:function(e){this._onKeyPress&&(i("onKeyPress: "+("keydown"===e.type?"down":"up")+", keysym: "+e.keysym.keysym+"("+e.keysym.keyname+")"),this._onKeyPress(e.keysym.keysym,"keydown"===e.type))},_handleKeyDown:function(e){return!this._focused||(!this._handler.keydown(e)||(u.stopEvent(e),!1))},_handleKeyPress:function(e){return!this._focused||(!this._handler.keypress(e)||(u.stopEvent(e),!1))},_handleKeyUp:function(e){return!this._focused||(!this._handler.keyup(e)||(u.stopEvent(e),!1))},_allKeysUp:function(){i("allKeysUp"),this._handler.releaseAll()},grab:function(){i("grab()");var e=this._target;u.addEvent(e,"keydown",this._eventHandlers.keydown),u.addEvent(e,"keyup",this._eventHandlers.keyup),u.addEvent(e,"keypress",this._eventHandlers.keypress),u.addEvent(n,"blur",this._eventHandlers.blur)},ungrab:function(){i("ungrab()");var e=this._target;u.removeEvent(e,"keydown",this._eventHandlers.keydown),u.removeEvent(e,"keyup",this._eventHandlers.keyup),u.removeEvent(e,"keypress",this._eventHandlers.keypress),u.removeEvent(n,"blur",this._eventHandlers.blur),this._allKeysUp()},sync:function(e){this._handler.syncModifiers(e)}},u.make_properties(r,[["target","wo","dom"],["focused","rw","bool"],["onKeyPress","rw","func"]]),o.prototype={_captureMouse:function(){this._target.setCapture&&this._target.setCapture(),this._mouseCaptured=!0},_releaseMouse:function(){this._target.releaseCapture&&this._target.releaseCapture(),this._mouseCaptured=!1},_resetDoubleClickTimer:function(){this._doubleClickTimer=null},_handleMouseButton:function(e,t){if(!this._focused)return!0;this._notify&&this._notify(e);var r,o=e?e:n.event,a=u.getEventPosition(e,this._target,this._scale,this._zoom);if(e.touches||e.changedTouches){if(1===t){if(null===this._doubleClickTimer)this._lastTouchPos=a;else{clearTimeout(this._doubleClickTimer);var i=this._lastTouchPos.x-a.x,l=this._lastTouchPos.y-a.y,c=Math.sqrt(i*i+l*l);c<20*n.devicePixelRatio&&(a=this._lastTouchPos)}this._doubleClickTimer=setTimeout(this._resetDoubleClickTimer.bind(this),500)}r=this._touchButton}else r=o.which?1<<o.button:(1&o.button)+2*(2&o.button)+(4&o.button)/2;return this._onMouseButton&&(s("onMouseButton: "+(t?"down":"up")+", x: "+a.x+", y: "+a.y+", bmask: "+r),this._onMouseButton(a.x,a.y,t,r)),u.stopEvent(e),!1},_handleMouseDown:function(e){this._captureMouse(),this._handleMouseButton(e,1)},_handleMouseUp:function(e){this._mouseCaptured&&(this._handleMouseButton(e,0),this._releaseMouse())},_handleMouseWheel:function(e){if(!this._focused)return!0;this._notify&&this._notify(e);var t,r=e?e:n.event,o=u.getEventPosition(e,this._target,this._scale,this._zoom),a=r.detail?r.detail*-1:r.wheelDelta/40;return t=a>0?8:16,this._onMouseButton&&(this._onMouseButton(o.x,o.y,1,t),this._onMouseButton(o.x,o.y,0,t)),u.stopEvent(e),!1},_handleMouseMove:function(e){if(!this._focused)return!0;this._notify&&this._notify(e);var t=u.getEventPosition(e,this._target,this._scale,this._zoom);return this._onMouseMove&&this._onMouseMove(t.x,t.y),u.stopEvent(e),!1},_handleMouseDisable:function(e){if(!this._focused)return!0;var t=u.getEventPosition(e,this._target,this._scale,this._zoom);return!(t.realx>=0&&t.realy>=0&&t.realx<this._target.offsetWidth&&t.realy<this._target.offsetHeight)||(u.stopEvent(e),!1)},grab:function(){s("grab()");var e=this._target,t="ontouchstart"in document.documentElement;t&&(u.addEvent(e,"touchstart",this._eventHandlers.mousedown),u.addEvent(n,"touchend",this._eventHandlers.mouseup),u.addEvent(e,"touchend",this._eventHandlers.mouseup),u.addEvent(e,"touchmove",this._eventHandlers.mousemove)),t&&!this._enableMouseAndTouch||(u.addEvent(e,"mousedown",this._eventHandlers.mousedown),u.addEvent(n,"mouseup",this._eventHandlers.mouseup),u.addEvent(e,"mouseup",this._eventHandlers.mouseup),u.addEvent(e,"mousemove",this._eventHandlers.mousemove),u.addEvent(e,l.gecko?"DOMMouseScroll":"mousewheel",this._eventHandlers.mousewheel)),u.addEvent(document,"click",this._eventHandlers.mousedisable),u.addEvent(document.body,"contextmenu",this._eventHandlers.mousedisable)},ungrab:function(){s("ungrab()");var e=this._target,t="ontouchstart"in document.documentElement;t&&(u.removeEvent(e,"touchstart",this._eventHandlers.mousedown),u.removeEvent(n,"touchend",this._eventHandlers.mouseup),
|
30 | u.removeEvent(e,"touchend",this._eventHandlers.mouseup),u.removeEvent(e,"touchmove",this._eventHandlers.mousemove)),t&&!this._enableMouseAndTouch||(u.removeEvent(e,"mousedown",this._eventHandlers.mousedown),u.removeEvent(n,"mouseup",this._eventHandlers.mouseup),u.removeEvent(e,"mouseup",this._eventHandlers.mouseup),u.removeEvent(e,"mousemove",this._eventHandlers.mousemove),u.removeEvent(e,l.gecko?"DOMMouseScroll":"mousewheel",this._eventHandlers.mousewheel)),u.removeEvent(document,"click",this._eventHandlers.mousedisable),u.removeEvent(document.body,"contextmenu",this._eventHandlers.mousedisable)}},u.make_properties(o,[["target","ro","dom"],["notify","ro","func"],["focused","rw","bool"],["scale","rw","float"],["zoom","rw","float"],["enableMouseAndTouch","rw","bool"],["onMouseButton","rw","func"],["onMouseMove","rw","func"],["touchButton","rw","int"]]),a.Keyboard=r,a.Mouse=o}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./kbdutil":817,"./util":821,bowser:150,debug:220}],817:[function(e,t,n){function r(){return navigator&&!!/mac/i.exec(navigator.platform)}function o(){return navigator&&!!/win/i.exec(navigator.platform)}function a(){return navigator&&!!/linux/i.exec(navigator.platform)}var i=e("debug")("noVNC:ERROR:KbdUtil");i.log=console.warn.bind(console);var s=e("./keys"),l=t.exports={hasShortcutModifier:function(e,t){var n={};for(var r in t)parseInt(r)!==s.XK_Shift_L&&(n[r]=t[r]);var o=0;for(var a in t)n[a]&&++o;return l.hasCharModifier(e,n)?o>e.length:o>0},hasCharModifier:function(e,t){if(0===e.length)return!1;for(var n=0;n<e.length;++n)if(!t[e[n]])return!1;return!0},ModifierSync:function(e){function t(e,t){function n(e){return{keysym:s.lookup(e),type:i[e]?"keydown":"keyup"}}var r=[];return void 0!==e.ctrlKey&&e.ctrlKey!==i[s.XK_Control_L]&&t!==s.XK_Control_L&&(i[s.XK_Control_L]=e.ctrlKey,r.push(n(s.XK_Control_L))),void 0!==e.altKey&&e.altKey!==i[s.XK_Alt_L]&&t!==s.XK_Alt_L&&(i[s.XK_Alt_L]=e.altKey,r.push(n(s.XK_Alt_L))),void 0!==e.altGraphKey&&e.altGraphKey!==i[s.XK_ISO_Level3_Shift]&&t!==s.XK_ISO_Level3_Shift&&(i[s.XK_ISO_Level3_Shift]=e.altGraphKey,r.push(n(s.XK_ISO_Level3_Shift))),void 0!==e.shiftKey&&e.shiftKey!==i[s.XK_Shift_L]&&t!==s.XK_Shift_L&&(i[s.XK_Shift_L]=e.shiftKey,r.push(n(s.XK_Shift_L))),void 0!==e.metaKey&&e.metaKey!==i[s.XK_Meta_L]&&t!==s.XK_Meta_L&&(i[s.XK_Meta_L]=e.metaKey,r.push(n(s.XK_Meta_L))),r}function n(e,n){var r=l.getKeysym(e),o=r?r.keysym:null;return null!==o&&void 0!==i[o]&&(i[o]=n),t(e,o)}e||(e=r()?[s.XK_Alt_L]:o()?[s.XK_Alt_L,s.XK_Control_L]:a()?[s.XK_ISO_Level3_Shift]:[]);var i={};return i[s.XK_Control_L]=!1,i[s.XK_Alt_L]=!1,i[s.XK_ISO_Level3_Shift]=!1,i[s.XK_Shift_L]=!1,i[s.XK_Meta_L]=!1,{keydown:function(e){return n(e,!0)},keyup:function(e){return n(e,!1)},syncAny:function(e){return t(e)},hasShortcutModifier:function(){return l.hasShortcutModifier(e,i)},activeCharModifier:function(){return l.hasCharModifier(e,i)?e:null}}},getKey:function(e){return"keyCode"in e&&"key"in e?e.key+":"+e.keyCode:"keyCode"in e?e.keyCode:e.key},getKeysym:function(e){var t;if(e.char&&1===e.char.length?t=e.char.charCodeAt():e.charCode?t=e.charCode:e.keyCode&&"keypress"===e.type&&(t=e.keyCode),t){var n=s.fromUnicode(l.substituteCodepoint(t));if(n)return n}return e.keyCode?s.lookup(l.keysymFromKeyCode(e.keyCode,e.shiftKey)):e.which?s.lookup(l.keysymFromKeyCode(e.which,e.shiftKey)):null},keysymFromKeyCode:function(e,t){if("number"!=typeof e)return null;if(e>=48&&e<=57)return e;if(e>=65&&e<=90)return t?e:e+32;if(e>=96&&e<=105)return s.XK_KP_0+(e-96);switch(e){case 32:return s.XK_space;case 106:return s.XK_KP_Multiply;case 107:return s.XK_KP_Add;case 108:return s.XK_KP_Separator;case 109:return s.XK_KP_Subtract;case 110:return s.XK_KP_Decimal;case 111:return s.XK_KP_Divide;case 187:return s.XK_plus;case 188:return s.XK_comma;case 189:return s.XK_minus;case 190:return s.XK_period}return l.nonCharacterKey({keyCode:e})},nonCharacterKey:function(e){if(!e.keyCode)return null;var t=e.keyCode;if(t>=112&&t<=135)return s.XK_F1+t-112;switch(t){case 8:return s.XK_BackSpace;case 13:return s.XK_Return;case 9:return s.XK_Tab;case 27:return s.XK_Escape;case 46:return s.XK_Delete;case 36:return s.XK_Home;case 35:return s.XK_End;case 33:return s.XK_Page_Up;case 34:return s.XK_Page_Down;case 45:return s.XK_Insert;case 37:return s.XK_Left;case 38:return s.XK_Up;case 39:return s.XK_Right;case 40:return s.XK_Down;case 16:return s.XK_Shift_L;case 17:return s.XK_Control_L;case 18:return s.XK_Alt_L;case 224:return s.XK_Meta_L;case 225:return s.XK_ISO_Level3_Shift;case 91:return s.XK_Super_L;case 92:return s.XK_Super_R;case 93:return s.XK_Menu;default:return null}},substituteCodepoint:function(e){var t={536:350,537:351,538:354,539:355},n=t[e];return n?n:e},KeyEventDecoder:function(e,t){function n(e){for(var n=0;n<e.length;++n)t(e[n])}function r(n,r){var o={type:r},a=l.getKey(n);a&&(o.keyId=a);var i=l.getKeysym(n),s=e.hasShortcutModifier()||!!e.activeCharModifier();i&&("keydown"!==r||l.nonCharacterKey(n)||s)&&(o.keysym=i);var u=16===n.keyCode||"Shift"===n.key,c=!u&&("keydown"!==r||e.hasShortcutModifier()||!!l.nonCharacterKey(n)),d="keydown"===r&&e.activeCharModifier()&&!l.nonCharacterKey(n),f=e.activeCharModifier();if(f&&i){for(var p=!1,h=0;h<f.length;++h)f[h]===i.keysym&&(p=!0);"keypress"!==r||p||(o.escape=e.activeCharModifier())}return d&&t({type:"stall"}),t(o),c}return{keydown:function(t){return n(e.keydown(t)),r(t,"keydown")},keypress:function(e){return r(e,"keypress")},keyup:function(t){return n(e.keyup(t)),r(t,"keyup")},syncModifiers:function(t){n(e.syncAny(t))},releaseAll:function(){t({type:"releaseall"})}}},VerifyCharModifier:function(e){function t(){function o(){clearTimeout(r),r=null,t()}if(!r)for(;0!==n.length;){var a=n[0];switch(n=n.splice(1),a.type){case"stall":return void(r=setTimeout(o,5));case"keydown":0!==n.length&&"keypress"===n[0].type&&(!n[0].escape||a.keysym&&a.keysym.keysym===n[0].keysym.keysym||(a.escape=n[0].escape),a.keysym=n[0].keysym,n=n.splice(1))}"stall"!==a.type&&e(a)}}var n=[],r=null;return function(e){n.push(e),t()}},TrackKeyState:function(e){var t=[];return function(n){var r=0!==t.length?t[t.length-1]:null;switch(n.type){case"keydown":r&&n.keyId&&r.keyId===n.keyId||(r={keyId:n.keyId,keysyms:{}},t.push(r)),n.keysym&&(r.keysyms[n.keysym.keysym]=n.keysym,r.ignoreKeyPress=!0,e(n));break;case"keypress":r||(r={keyId:n.keyId,keysyms:{}},t.push(r)),n.keysym||i("TrackKeyState() | keypress with no keysym:",n),n.keysym&&!r.ignoreKeyPress&&(r.keysyms[n.keysym.keysym]=n.keysym,n.type="keydown",e(n));break;case"keyup":if(0===t.length)return;for(var o=null,a=0;a!==t.length;++a)if(t[a].keyId===n.keyId){o=a;break}null===o&&(o=t.length-1);var s=t.splice(o,1)[0],l=function(){function e(){}return function(t){return e.prototype=t,new e}}();for(var u in s.keysyms){var c=l(n);c.keysym=s.keysyms[u],e(c)}break;case"releaseall":for(var a=0;a<t.length;++a)for(var u in t[a].keysyms){var d=t[a].keysyms[u];e({keyId:0,keysym:d,type:"keyup"})}t=[]}}},EscapeModifiers:function(e){return function(t){var n;if("keydown"!==t.type||void 0===t.escape)return void e(t);for(n=0;n<t.escape.length;++n)e({type:"keyup",keyId:0,keysym:s.lookup(t.escape[n])});for(e(t),n=0;n<t.escape.length;++n)e({type:"keydown",keyId:0,keysym:s.lookup(t.escape[n])})}}}},{"./keys":818,debug:220}],818:[function(e,t,n){function r(e){return e?{keysym:e,keyname:i?i[e]:e}:void 0}function o(e){return r(s[e])}var a={XK_VoidSymbol:16777215,XK_BackSpace:65288,XK_Tab:65289,XK_Linefeed:65290,XK_Clear:65291,XK_Return:65293,XK_Pause:65299,XK_Scroll_Lock:65300,XK_Sys_Req:65301,XK_Escape:65307,XK_Delete:65535,XK_Home:65360,XK_Left:65361,XK_Up:65362,XK_Right:65363,XK_Down:65364,XK_Prior:65365,XK_Page_Up:65365,XK_Next:65366,XK_Page_Down:65366,XK_End:65367,XK_Begin:65368,XK_Select:65376,XK_Print:65377,XK_Execute:65378,XK_Insert:65379,XK_Undo:65381,XK_Redo:65382,XK_Menu:65383,XK_Find:65384,XK_Cancel:65385,XK_Help:65386,XK_Break:65387,XK_Mode_switch:65406,XK_script_switch:65406,XK_Num_Lock:65407,XK_KP_Space:65408,XK_KP_Tab:65417,XK_KP_Enter:65421,XK_KP_F1:65425,XK_KP_F2:65426,XK_KP_F3:65427,XK_KP_F4:65428,XK_KP_Home:65429,XK_KP_Left:65430,XK_KP_Up:65431,XK_KP_Right:65432,XK_KP_Down:65433,XK_KP_Prior:65434,XK_KP_Page_Up:65434,XK_KP_Next:65435,XK_KP_Page_Down:65435,XK_KP_End:65436,XK_KP_Begin:65437,XK_KP_Insert:65438,XK_KP_Delete:65439,XK_KP_Equal:65469,XK_KP_Multiply:65450,XK_KP_Add:65451,XK_KP_Separator:65452,XK_KP_Subtract:65453,XK_KP_Decimal:65454,XK_KP_Divide:65455,XK_KP_0:65456,XK_KP_1:65457,XK_KP_2:65458,XK_KP_3:65459,XK_KP_4:65460,XK_KP_5:65461,XK_KP_6:65462,XK_KP_7:65463,XK_KP_8:65464,XK_KP_9:65465,XK_F1:65470,XK_F2:65471,XK_F3:65472,XK_F4:65473,XK_F5:65474,XK_F6:65475,XK_F7:65476,XK_F8:65477,XK_F9:65478,XK_F10:65479,XK_F11:65480,XK_L1:65480,XK_F12:65481,XK_L2:65481,XK_F13:65482,XK_L3:65482,XK_F14:65483,XK_L4:65483,XK_F15:65484,XK_L5:65484,XK_F16:65485,XK_L6:65485,XK_F17:65486,XK_L7:65486,XK_F18:65487,XK_L8:65487,XK_F19:65488,XK_L9:65488,XK_F20:65489,XK_L10:65489,XK_F21:65490,XK_R1:65490,XK_F22:65491,XK_R2:65491,XK_F23:65492,XK_R3:65492,XK_F24:65493,XK_R4:65493,XK_F25:65494,XK_R5:65494,XK_F26:65495,XK_R6:65495,XK_F27:65496,XK_R7:65496,XK_F28:65497,XK_R8:65497,XK_F29:65498,XK_R9:65498,XK_F30:65499,XK_R10:65499,XK_F31:65500,XK_R11:65500,XK_F32:65501,XK_R12:65501,XK_F33:65502,XK_R13:65502,XK_F34:65503,XK_R14:65503,XK_F35:65504,XK_R15:65504,XK_Shift_L:65505,XK_Shift_R:65506,XK_Control_L:65507,XK_Control_R:65508,XK_Caps_Lock:65509,XK_Shift_Lock:65510,XK_Meta_L:65511,XK_Meta_R:65512,XK_Alt_L:65513,XK_Alt_R:65514,XK_Super_L:65515,XK_Super_R:65516,XK_Hyper_L:65517,XK_Hyper_R:65518,XK_ISO_Level3_Shift:65027,XK_space:32,XK_exclam:33,XK_quotedbl:34,XK_numbersign:35,XK_dollar:36,XK_percent:37,XK_ampersand:38,XK_apostrophe:39,XK_quoteright:39,XK_parenleft:40,XK_parenright:41,XK_asterisk:42,XK_plus:43,XK_comma:44,XK_minus:45,XK_period:46,XK_slash:47,XK_0:48,XK_1:49,XK_2:50,XK_3:51,XK_4:52,XK_5:53,XK_6:54,XK_7:55,XK_8:56,XK_9:57,XK_colon:58,XK_semicolon:59,XK_less:60,XK_equal:61,XK_greater:62,XK_question:63,XK_at:64,XK_A:65,XK_B:66,XK_C:67,XK_D:68,XK_E:69,XK_F:70,XK_G:71,XK_H:72,XK_I:73,XK_J:74,XK_K:75,XK_L:76,XK_M:77,XK_N:78,XK_O:79,XK_P:80,XK_Q:81,XK_R:82,XK_S:83,XK_T:84,XK_U:85,XK_V:86,XK_W:87,XK_X:88,XK_Y:89,XK_Z:90,XK_bracketleft:91,XK_backslash:92,XK_bracketright:93,XK_asciicircum:94,XK_underscore:95,XK_grave:96,XK_quoteleft:96,XK_a:97,XK_b:98,XK_c:99,XK_d:100,XK_e:101,XK_f:102,XK_g:103,XK_h:104,XK_i:105,XK_j:106,XK_k:107,XK_l:108,XK_m:109,XK_n:110,XK_o:111,XK_p:112,XK_q:113,XK_r:114,XK_s:115,XK_t:116,XK_u:117,XK_v:118,XK_w:119,XK_x:120,XK_y:121,XK_z:122,XK_braceleft:123,XK_bar:124,XK_braceright:125,XK_asciitilde:126,XK_nobreakspace:160,XK_exclamdown:161,XK_cent:162,XK_sterling:163,XK_currency:164,XK_yen:165,XK_brokenbar:166,XK_section:167,XK_diaeresis:168,XK_copyright:169,XK_ordfeminine:170,XK_guillemotleft:171,XK_notsign:172,XK_hyphen:173,XK_registered:174,XK_macron:175,XK_degree:176,XK_plusminus:177,XK_twosuperior:178,XK_threesuperior:179,XK_acute:180,XK_mu:181,XK_paragraph:182,XK_periodcentered:183,XK_cedilla:184,XK_onesuperior:185,XK_masculine:186,XK_guillemotright:187,XK_onequarter:188,XK_onehalf:189,XK_threequarters:190,XK_questiondown:191,XK_Agrave:192,XK_Aacute:193,XK_Acircumflex:194,XK_Atilde:195,XK_Adiaeresis:196,XK_Aring:197,XK_AE:198,XK_Ccedilla:199,XK_Egrave:200,XK_Eacute:201,XK_Ecircumflex:202,XK_Ediaeresis:203,XK_Igrave:204,XK_Iacute:205,XK_Icircumflex:206,XK_Idiaeresis:207,XK_ETH:208,XK_Eth:208,XK_Ntilde:209,XK_Ograve:210,XK_Oacute:211,XK_Ocircumflex:212,XK_Otilde:213,XK_Odiaeresis:214,XK_multiply:215,XK_Oslash:216,XK_Ooblique:216,XK_Ugrave:217,XK_Uacute:218,XK_Ucircumflex:219,XK_Udiaeresis:220,XK_Yacute:221,XK_THORN:222,XK_Thorn:222,XK_ssharp:223,XK_agrave:224,XK_aacute:225,XK_acircumflex:226,XK_atilde:227,XK_adiaeresis:228,XK_aring:229,XK_ae:230,XK_ccedilla:231,XK_egrave:232,XK_eacute:233,XK_ecircumflex:234,XK_ediaeresis:235,XK_igrave:236,XK_iacute:237,XK_icircumflex:238,XK_idiaeresis:239,XK_eth:240,XK_ntilde:241,XK_ograve:242,XK_oacute:243,XK_ocircumflex:244,XK_otilde:245,XK_odiaeresis:246,XK_division:247,XK_oslash:248,XK_ooblique:248,XK_ugrave:249,XK_uacute:250,XK_ucircumflex:251,XK_udiaeresis:252,XK_yacute:253,XK_thorn:254,XK_ydiaeresis:255},i=null,s={32:32,33:33,34:34,35:35,36:36,37:37,38:38,39:39,40:40,41:41,42:42,43:43,44:44,45:45,46:46,47:47,48:48,49:49,50:50,51:51,52:52,53:53,54:54,55:55,56:56,57:57,58:58,59:59,60:60,61:61,62:62,63:63,64:64,65:65,66:66,67:67,68:68,69:69,70:70,71:71,72:72,73:73,74:74,75:75,76:76,77:77,78:78,79:79,80:80,81:81,82:82,83:83,84:84,85:85,86:86,87:87,88:88,89:89,90:90,91:91,92:92,93:93,94:94,95:95,96:96,97:97,98:98,99:99,100:100,101:101,102:102,103:103,104:104,105:105,106:106,107:107,108:108,109:109,110:110,111:111,112:112,113:113,114:114,115:115,116:116,117:117,118:118,119:119,120:120,121:121,122:122,123:123,124:124,125:125,126:126,160:160,161:161,162:162,163:163,164:164,165:165,166:166,167:167,168:168,169:169,170:170,171:171,172:172,173:173,174:174,175:175,176:176,177:177,178:178,179:179,180:180,181:181,182:182,183:183,184:184,185:185,186:186,187:187,188:188,189:189,190:190,191:191,192:192,193:193,194:194,195:195,196:196,197:197,198:198,199:199,200:200,201:201,202:202,203:203,204:204,205:205,206:206,207:207,208:208,209:209,210:210,211:211,212:212,213:213,214:214,215:215,216:216,217:217,218:218,219:219,220:220,221:221,222:222,223:223,224:224,225:225,226:226,227:227,228:228,229:229,230:230,231:231,232:232,233:233,234:234,235:235,236:236,237:237,238:238,239:239,240:240,241:241,242:242,243:243,244:244,245:245,246:246,247:247,248:248,249:249,250:250,251:251,252:252,253:253,254:254,255:255,256:960,257:992,258:451,259:483,260:417,261:433,262:454,263:486,264:710,265:742,266:709,267:741,268:456,269:488,270:463,271:495,272:464,273:496,274:938,275:954,278:972,279:1004,280:458,281:490,282:460,283:492,284:728,285:760,286:683,287:699,288:725,289:757,290:939,291:955,292:678,293:694,294:673,295:689,296:933,297:949,298:975,299:1007,300:16777516,301:16777517,302:967,303:999,304:681,305:697,308:684,309:700,310:979,311:1011,312:930,313:453,314:485,315:934,316:950,317:421,318:437,321:419,322:435,323:465,324:497,325:977,326:1009,327:466,328:498,330:957,331:959,332:978,333:1010,336:469,337:501,338:5052,339:5053,340:448,341:480,342:931,343:947,344:472,345:504,346:422,347:438,348:734,349:766,350:426,351:442,352:425,353:441,354:478,355:510,356:427,357:443,358:940,359:956,360:989,361:1021,362:990,363:1022,364:733,365:765,366:473,367:505,368:475,369:507,370:985,371:1017,372:16777588,373:16777589,374:16777590,375:16777591,376:5054,377:428,378:444,379:431,380:447,381:430,382:446,399:16777615,402:2294,415:16777631,416:16777632,417:16777633,431:16777647,432:16777648,437:16777653,438:16777654,439:16777655,466:16777681,486:16777702,487:16777703,601:16777817,629:16777845,658:16777874,711:439,728:418,729:511,731:434,733:445,901:1966,902:1953,904:1954,905:1955,906:1956,908:1959,910:1960,911:1963,912:1974,913:1985,914:1986,915:1987,916:1988,917:1989,918:1990,919:1991,920:1992,921:1993,922:1994,923:1995,924:1996,925:1997,926:1998,927:1999,928:2e3,929:2001,931:2002,932:2004,933:2005,934:2006,935:2007,936:2008,937:2009,938:1957,939:1961,940:1969,941:1970,942:1971,943:1972,944:1978,945:2017,946:2018,947:2019,948:2020,949:2021,950:2022,951:2023,952:2024,953:2025,954:2026,955:2027,956:2028,957:2029,958:2030,959:2031,960:2032,961:2033,962:2035,963:2034,964:2036,965:2037,966:2038,967:2039,968:2040,969:2041,970:1973,971:1977,972:1975,973:1976,974:1979,1025:1715,1026:1713,1027:1714,1028:1716,1029:1717,1030:1718,1031:1719,1032:1720,1033:1721,1034:1722,1035:1723,1036:1724,1038:1726,1039:1727,1040:1761,1041:1762,1042:1783,1043:1767,1044:1764,1045:1765,1046:1782,1047:1786,1048:1769,1049:1770,1050:1771,1051:1772,1052:1773,1053:1774,1054:1775,1055:1776,1056:1778,1057:1779,1058:1780,1059:1781,1060:1766,1061:1768,1062:1763,1063:1790,1064:1787,1065:1789,1066:1791,1067:1785,1068:1784,1069:1788,1070:1760,1071:1777,1072:1729,1073:1730,1074:1751,1075:1735,1076:1732,1077:1733,1078:1750,1079:1754,1080:1737,1081:1738,1082:1739,1083:1740,1084:1741,1085:1742,1086:1743,1087:1744,1088:1746,1089:1747,1090:1748,1091:1749,1092:1734,1093:1736,1094:1731,1095:1758,1096:1755,1097:1757,1098:1759,1099:1753,1100:1752,1101:1756,1102:1728,1103:1745,1105:1699,1106:1697,1107:1698,1108:1700,1109:1701,1110:1702,1111:1703,1112:1704,1113:1705,1114:1706,1115:1707,1116:1708,1118:1710,1119:1711,1168:1725,1169:1709,1170:16778386,1171:16778387,1174:16778390,1175:16778391,1178:16778394,1179:16778395,1180:16778396,1181:16778397,1186:16778402,1187:16778403,1198:16778414,1199:16778415,1200:16778416,1201:16778417,1202:16778418,1203:16778419,1206:16778422,1207:16778423,1208:16778424,1209:16778425,1210:16778426,1211:16778427,1240:16778456,1241:16778457,1250:16778466,1251:16778467,1256:16778472,1257:16778473,1262:16778478,1263:16778479,1329:16778545,1330:16778546,1331:16778547,1332:16778548,1333:16778549,1334:16778550,1335:16778551,1336:16778552,1337:16778553,1338:16778554,1339:16778555,1340:16778556,1341:16778557,1342:16778558,1343:16778559,1344:16778560,1345:16778561,1346:16778562,1347:16778563,1348:16778564,1349:16778565,1350:16778566,1351:16778567,1352:16778568,1353:16778569,1354:16778570,1355:16778571,1356:16778572,1357:16778573,1358:16778574,1359:16778575,1360:16778576,1361:16778577,1362:16778578,1363:16778579,1364:16778580,1365:16778581,1366:16778582,1370:16778586,1371:16778587,1372:16778588,1373:16778589,1374:16778590,1377:16778593,1378:16778594,1379:16778595,1380:16778596,1381:16778597,1382:16778598,1383:16778599,1384:16778600,1385:16778601,1386:16778602,1387:16778603,1388:16778604,1389:16778605,1390:16778606,1391:16778607,1392:16778608,1393:16778609,1394:16778610,1395:16778611,1396:16778612,1397:16778613,1398:16778614,1399:16778615,1400:16778616,1401:16778617,1402:16778618,1403:16778619,1404:16778620,1405:16778621,1406:16778622,1407:16778623,1408:16778624,1409:16778625,1410:16778626,1411:16778627,1412:16778628,1413:16778629,1414:16778630,1415:16778631,1417:16778633,1418:16778634,1488:3296,1489:3297,1490:3298,1491:3299,1492:3300,1493:3301,1494:3302,1495:3303,1496:3304,1497:3305,1498:3306,1499:3307,1500:3308,1501:3309,1502:3310,1503:3311,1504:3312,1505:3313,1506:3314,1507:3315,1508:3316,1509:3317,1510:3318,1511:3319,1512:3320,1513:3321,1514:3322,1548:1452,1563:1467,1567:1471,1569:1473,1570:1474,1571:1475,1572:1476,1573:1477,1574:1478,1575:1479,1576:1480,1577:1481,1578:1482,1579:1483,1580:1484,1581:1485,1582:1486,1583:1487,1584:1488,1585:1489,1586:1490,1587:1491,1588:1492,1589:1493,1590:1494,1591:1495,1592:1496,1593:1497,1594:1498,1600:1504,1601:1505,1602:1506,1603:1507,1604:1508,1605:1509,1606:1510,1607:1511,1608:1512,1609:1513,1610:1514,1611:1515,1612:1516,1613:1517,1614:1518,1615:1519,1616:1520,1617:1521,1618:1522,1619:16778835,1620:16778836,1621:16778837,1632:16778848,1633:16778849,1634:16778850,1635:16778851,1636:16778852,1637:16778853,1638:16778854,1639:16778855,1640:16778856,1641:16778857,1642:16778858,1648:16778864,1657:16778873,1662:16778878,1670:16778886,1672:16778888,1681:16778897,1688:16778904,1700:16778916,1705:16778921,1711:16778927,1722:16778938,1726:16778942,1729:16778945,1740:16778956,1746:16778962,1748:16778964,1776:16778992,1777:16778993,1778:16778994,1779:16778995,1780:16778996,1781:16778997,1782:16778998,1783:16778999,1784:16779e3,1785:16779001,3458:16780674,3459:16780675,3461:16780677,3462:16780678,3463:16780679,3464:16780680,3465:16780681,3466:16780682,3467:16780683,3468:16780684,3469:16780685,3470:16780686,3471:16780687,3472:16780688,3473:16780689,3474:16780690,3475:16780691,3476:16780692,3477:16780693,3478:16780694,3482:16780698,3483:16780699,3484:16780700,3485:16780701,3486:16780702,3487:16780703,3488:16780704,3489:16780705,3490:16780706,3491:16780707,3492:16780708,3493:16780709,3494:16780710,3495:16780711,3496:16780712,3497:16780713,3498:16780714,3499:16780715,3500:16780716,3501:16780717,3502:16780718,3503:16780719,3504:16780720,3505:16780721,3507:16780723,3508:16780724,3509:16780725,3510:16780726,3511:16780727,3512:16780728,3513:16780729,3514:16780730,3515:16780731,3517:16780733,3520:16780736,3521:16780737,3522:16780738,3523:16780739,3524:16780740,3525:16780741,3526:16780742,3530:16780746,3535:16780751,3536:16780752,3537:16780753,3538:16780754,3539:16780755,3540:16780756,3542:16780758,3544:16780760,3545:16780761,3546:16780762,3547:16780763,3548:16780764,3549:16780765,3550:16780766,3551:16780767,3570:16780786,3571:16780787,3572:16780788,3585:3489,3586:3490,3587:3491,3588:3492,3589:3493,3590:3494,3591:3495,3592:3496,3593:3497,3594:3498,3595:3499,3596:3500,3597:3501,3598:3502,3599:3503,3600:3504,3601:3505,3602:3506,3603:3507,3604:3508,3605:3509,3606:3510,3607:3511,3608:3512,3609:3513,3610:3514,3611:3515,3612:3516,3613:3517,3614:3518,3615:3519,3616:3520,3617:3521,3618:3522,3619:3523,3620:3524,3621:3525,3622:3526,3623:3527,3624:3528,3625:3529,3626:3530,3627:3531,3628:3532,3629:3533,3630:3534,3631:3535,3632:3536,3633:3537,3634:3538,3635:3539,3636:3540,3637:3541,3638:3542,3639:3543,3640:3544,3641:3545,3642:3546,3647:3551,3648:3552,3649:3553,3650:3554,3651:3555,3652:3556,3653:3557,3654:3558,3655:3559,3656:3560,3657:3561,3658:3562,3659:3563,3660:3564,3661:3565,3664:3568,3665:3569,3666:3570,3667:3571,3668:3572,3669:3573,3670:3574,3671:3575,3672:3576,3673:3577,4304:16781520,4305:16781521,4306:16781522,4307:16781523,4308:16781524,4309:16781525,4310:16781526,4311:16781527,4312:16781528,4313:16781529,4314:16781530,4315:16781531,4316:16781532,4317:16781533,4318:16781534,4319:16781535,4320:16781536,4321:16781537,4322:16781538,4323:16781539,4324:16781540,4325:16781541,4326:16781542,4327:16781543,4328:16781544,4329:16781545,4330:16781546,4331:16781547,4332:16781548,4333:16781549,4334:16781550,4335:16781551,4336:16781552,4337:16781553,4338:16781554,4339:16781555,4340:16781556,4341:16781557,4342:16781558,7682:16784898,7683:16784899,7690:16784906,7691:16784907,7710:16784926,7711:16784927,7734:16784950,7735:16784951,7744:16784960,7745:16784961,7766:16784982,7767:16784983,7776:16784992,7777:16784993,7786:16785002,7787:16785003,7808:16785024,7809:16785025,7810:16785026,7811:16785027,7812:16785028,7813:16785029,7818:16785034,7819:16785035,7840:16785056,7841:16785057,7842:16785058,7843:16785059,7844:16785060,7845:16785061,7846:16785062,7847:16785063,7848:16785064,7849:16785065,7850:16785066,7851:16785067,7852:16785068,7853:16785069,7854:16785070,7855:16785071,7856:16785072,7857:16785073,7858:16785074,7859:16785075,7860:16785076,7861:16785077,7862:16785078,7863:16785079,7864:16785080,7865:16785081,7866:16785082,7867:16785083,7868:16785084,7869:16785085,7870:16785086,7871:16785087,7872:16785088,7873:16785089,7874:16785090,7875:16785091,7876:16785092,7877:16785093,7878:16785094,7879:16785095,7880:16785096,7881:16785097,7882:16785098,7883:16785099,7884:16785100,7885:16785101,7886:16785102,7887:16785103,7888:16785104,7889:16785105,7890:16785106,7891:16785107,7892:16785108,7893:16785109,7894:16785110,7895:16785111,7896:16785112,7897:16785113,7898:16785114,7899:16785115,7900:16785116,7901:16785117,7902:16785118,7903:16785119,7904:16785120,7905:16785121,7906:16785122,7907:16785123,7908:16785124,7909:16785125,7910:16785126,7911:16785127,7912:16785128,7913:16785129,7914:16785130,7915:16785131,7916:16785132,7917:16785133,7918:16785134,7919:16785135,7920:16785136,7921:16785137,7922:16785138,7923:16785139,7924:16785140,7925:16785141,7926:16785142,7927:16785143,7928:16785144,7929:16785145,8194:2722,8195:2721,8196:2723,8197:2724,8199:2725,8200:2726,8201:2727,8202:2728,8210:2747,8211:2730,8212:2729,8213:1967,8215:3295,8216:2768,8217:2769,8218:2813,8220:2770,8221:2771,8222:2814,8224:2801,8225:2802,8226:2790,8229:2735,8230:2734,8240:2773,8242:2774,8243:2775,8248:2812,8254:1150,8304:16785520,8308:16785524,8309:16785525,8310:16785526,8311:16785527,8312:16785528,8313:16785529,8320:16785536,8321:16785537,8322:16785538,8323:16785539,8324:16785540,8325:16785541,8326:16785542,8327:16785543,8328:16785544,8329:16785545,8352:16785568,8353:16785569,8354:16785570,8355:16785571,8356:16785572,8357:16785573,8358:16785574,8359:16785575,8360:16785576,8361:3839,8362:16785578,8363:16785579,8364:8364,8453:2744,8470:1712,8471:2811,8478:2772,8482:2761,8531:2736,8532:2737,8533:2738,8534:2739,8535:2740,8536:2741,8537:2742,8538:2743,8539:2755,8540:2756,8541:2757,8542:2758,8592:2299,8593:2300,8594:2301,8595:2302,8658:2254,8660:2253,8706:2287,8709:16785925,8711:2245,8712:16785928,8713:16785929,8715:16785931,8728:3018,8730:2262,8731:16785947,8732:16785948,8733:2241,8734:2242,8743:2270,8744:2271,8745:2268,8746:2269,8747:2239,8748:16785964,8749:16785965,8756:2240,8757:16785973,8764:2248,8771:2249,8773:16785992,8775:16785991,8800:2237,8801:2255,8802:16786018,8803:16786019,8804:2236,8805:2238,8834:2266,8835:2267,8866:3068,8867:3036,8868:3010,8869:3022,8968:3027,8970:3012,8981:2810,8992:2212,8993:2213,9109:3020,9115:2219,9117:2220,9118:2221,9120:2222,9121:2215,9123:2216,9124:2217,9126:2218,9128:2223,9132:2224,9143:2209,9146:2543,9147:2544,9148:2546,9149:2547,9225:2530,9226:2533,9227:2537,9228:2531,9229:2532,9251:2732,9252:2536,9472:2211,9474:2214,9484:2210,9488:2539,9492:2541,9496:2538,9500:2548,9508:2549,9516:2551,9524:2550,9532:2542,9618:2529,9642:2791,9643:2785,9644:2779,9645:2786,9646:2783,9647:2767,9650:2792,9651:2787,9654:2781,9655:2765,9660:2793,9661:2788,9664:2780,9665:2764,9670:2528,9675:2766,9679:2782,9702:2784,9734:2789,9742:2809,9747:2762,9756:2794,9758:2795,9792:2808,9794:2807,9827:2796,9829:2798,9830:2797,9837:2806,9839:2805,10003:2803,10007:2804,10013:2777,10016:2800,10216:2748,10217:2750,10240:16787456,10241:16787457,10242:16787458,10243:16787459,10244:16787460,10245:16787461,10246:16787462,10247:16787463,10248:16787464,10249:16787465,10250:16787466,10251:16787467,10252:16787468,10253:16787469,10254:16787470,10255:16787471,10256:16787472,10257:16787473,10258:16787474,10259:16787475,10260:16787476,10261:16787477,10262:16787478,10263:16787479,10264:16787480,10265:16787481,10266:16787482,10267:16787483,10268:16787484,10269:16787485,10270:16787486,10271:16787487,10272:16787488,10273:16787489,10274:16787490,10275:16787491,10276:16787492,10277:16787493,10278:16787494,10279:16787495,10280:16787496,10281:16787497,10282:16787498,10283:16787499,10284:16787500,10285:16787501,10286:16787502,10287:16787503,10288:16787504,10289:16787505,10290:16787506,10291:16787507,10292:16787508,10293:16787509,10294:16787510,10295:16787511,10296:16787512,10297:16787513,10298:16787514,10299:16787515,10300:16787516,10301:16787517,10302:16787518,10303:16787519,10304:16787520,10305:16787521,10306:16787522,10307:16787523,10308:16787524,10309:16787525,10310:16787526,10311:16787527,10312:16787528,10313:16787529,10314:16787530,10315:16787531,10316:16787532,10317:16787533,10318:16787534,10319:16787535,10320:16787536,10321:16787537,10322:16787538,10323:16787539,10324:16787540,10325:16787541,10326:16787542,10327:16787543,10328:16787544,10329:16787545,10330:16787546,10331:16787547,10332:16787548,10333:16787549,10334:16787550,10335:16787551,10336:16787552,10337:16787553,10338:16787554,10339:16787555,10340:16787556,10341:16787557,10342:16787558,10343:16787559,10344:16787560,10345:16787561,10346:16787562,10347:16787563,10348:16787564,10349:16787565,10350:16787566,10351:16787567,10352:16787568,10353:16787569,10354:16787570,10355:16787571,10356:16787572,10357:16787573,10358:16787574,10359:16787575,10360:16787576,10361:16787577,10362:16787578,10363:16787579,10364:16787580,10365:16787581,10366:16787582,10367:16787583,10368:16787584,10369:16787585,10370:16787586,10371:16787587,10372:16787588,10373:16787589,10374:16787590,10375:16787591,10376:16787592,10377:16787593,10378:16787594,10379:16787595,10380:16787596,10381:16787597,10382:16787598,10383:16787599,10384:16787600,10385:16787601,10386:16787602,10387:16787603,10388:16787604,10389:16787605,10390:16787606,10391:16787607,10392:16787608,10393:16787609,10394:16787610,10395:16787611,10396:16787612,10397:16787613,10398:16787614,10399:16787615,10400:16787616,10401:16787617,10402:16787618,10403:16787619,10404:16787620,10405:16787621,10406:16787622,10407:16787623,10408:16787624,10409:16787625,10410:16787626,10411:16787627,10412:16787628,10413:16787629,10414:16787630,10415:16787631,10416:16787632,10417:16787633,10418:16787634,10419:16787635,10420:16787636,10421:16787637,10422:16787638,10423:16787639,10424:16787640,10425:16787641,10426:16787642,10427:16787643,10428:16787644,10429:16787645,10430:16787646,10431:16787647,10432:16787648,10433:16787649,10434:16787650,10435:16787651,10436:16787652,10437:16787653,10438:16787654,10439:16787655,10440:16787656,10441:16787657,10442:16787658,10443:16787659,10444:16787660,10445:16787661,10446:16787662,10447:16787663,10448:16787664,10449:16787665,10450:16787666,10451:16787667,10452:16787668,10453:16787669,10454:16787670,10455:16787671,10456:16787672,10457:16787673,10458:16787674,10459:16787675,10460:16787676,10461:16787677,10462:16787678,10463:16787679,10464:16787680,10465:16787681,10466:16787682,10467:16787683,10468:16787684,10469:16787685,10470:16787686,10471:16787687,10472:16787688,10473:16787689,10474:16787690,10475:16787691,10476:16787692,10477:16787693,10478:16787694,10479:16787695,10480:16787696,10481:16787697,10482:16787698,10483:16787699,10484:16787700,10485:16787701,10486:16787702,10487:16787703,10488:16787704,10489:16787705,10490:16787706,10491:16787707,10492:16787708,10493:16787709,10494:16787710,10495:16787711,12289:1188,12290:1185,12300:1186,12301:1187,12443:1246,12444:1247,12449:1191,12450:1201,12451:1192,12452:1202,12453:1193,12454:1203,12455:1194,12456:1204,12457:1195,12458:1205,12459:1206,12461:1207,12463:1208,12465:1209,12467:1210,12469:1211,12471:1212,12473:1213,12475:1214,12477:1215,12479:1216,12481:1217,12483:1199,12484:1218,12486:1219,12488:1220,12490:1221,12491:1222,12492:1223,12493:1224,12494:1225,12495:1226,12498:1227,12501:1228,12504:1229,12507:1230,12510:1231,12511:1232,12512:1233,12513:1234,12514:1235,12515:1196,12516:1236,12517:1197,12518:1237,12519:1198,12520:1238,12521:1239,12522:1240,12523:1241,12524:1242,12525:1243,12527:1244,12530:1190,12531:1245,12539:1189,12540:1200};a.lookup=r,a.fromUnicode=o,t.exports=a},{}],819:[function(e,t,n){function r(e){a("new()"),e=e||{},this._rfb_url=null,this._rfb_password="",this._rfb_state="disconnected",this._rfb_version=0,this._rfb_max_version=3.8,this._rfb_auth_scheme="",this._rfb_tightvnc=!1,this._rfb_xvp_ver=0,this._encodings=[["COPYRECT",1],["TIGHT",7],["TIGHT_PNG",-260],["HEXTILE",5],["RRE",2],["RAW",0],["DesktopSize",-223],["Cursor",-239],["JPEG_quality_med",-26],["compress_hi",-247],["last_rect",-224],["xvp",-309],["ExtendedDesktopSize",-308]],this._encHandlers={},this._encNames={},this._encStats={},this._sock=null,this._display=null,this._keyboard=null,this._mouse=null,this._sendTimer=null,this._disconnTimer=null,this._msgTimer=null,this._FBU={rects:0,subrects:0,lines:0,tiles:0,bytes:0,x:0,y:0,width:0,height:0,encoding:0,subencoding:-1,background:null,zlib:[]},this._fb_Bpp=4,this._fb_depth=3,this._fb_width=0,this._fb_height=0,this._fb_name="",this._rre_chunk_sz=100,this._timing={last_fbu:0,fbu_total:0,fbu_total_cnt:0,full_fbu_total:0,full_fbu_cnt:0,fbu_rt_start:0,fbu_rt_total:0,fbu_rt_cnt:0,pixels:0},this._supportsSetDesktopSize=!1,this._screen_id=0,this._screen_flags=0,this._mouse_buttonMask=0,this._mouse_arr=[],this._viewportDragging=!1,this._viewportDragPos={},s.set_defaults(this,e,{target:"null",focusContainer:document,encrypt:!1,true_color:!0,local_cursor:!1,shared:!0,view_only:!1,xvp_password_sep:"@",disconnectTimeout:3,wsProtocols:["binary","base64"],repeaterID:"",viewportDrag:!1,forceAuthScheme:0,enableMouseAndTouch:!1,onUpdateState:function(){},onPasswordRequired:function(){},onClipboard:function(){},onBell:function(){},onFBUReceive:function(){},onFBUComplete:function(){},onFBResize:function(){},onDesktopName:function(){},onXvpInit:function(){},onUnknownMessageType:null}),Object.keys(r.encodingHandlers).forEach(function(e){this._encHandlers[e]=r.encodingHandlers[e].bind(this);
|
31 | }.bind(this));for(var t=0;t<this._encodings.length;t++)this._encHandlers[this._encodings[t][1]]=this._encHandlers[this._encodings[t][0]],this._encNames[this._encodings[t][1]]=this._encodings[t][0],this._encStats[this._encodings[t][1]]=[0,0];try{this._display=new p({target:this._target})}catch(e){throw i("Display exception: "+e),e}this._keyboard=new d({target:this._focusContainer,onKeyPress:this._handleKeyPress.bind(this)}),this._mouse=new f({target:this._target,onMouseButton:this._handleMouseButton.bind(this),onMouseMove:this._handleMouseMove.bind(this),notify:this._keyboard.sync.bind(this._keyboard),enableMouseAndTouch:this._enableMouseAndTouch}),this._sock=new l,this._sock.on("message",this._handle_message.bind(this)),this._sock.on("open",function(){"connect"===this._rfb_state?this._updateState("ProtocolVersion","Starting VNC handshake"):this._fail("Got unexpected WebSocket connection")}.bind(this)),this._sock.on("close",function(e){a("WebSocket closed");var t="";e.code&&(t=" (code: "+e.code,e.reason&&(t+=", reason: "+e.reason),t+=")"),"disconnect"===this._rfb_state?this._updateState("disconnected","VNC disconnected"+t):"ProtocolVersion"===this._rfb_state?this._fail("Failed to connect to server"+t):this._rfb_state in{failed:1,disconnected:1}?a("Received onclose while disconnected"+t):this._fail("Server disconnected"+t),this._sock.off("close")}.bind(this)),this._sock.on("error",function(){i("WebSocket error")}),this._init_vars();var n=this._display.get_render_mode();this._updateState("loaded","noVNC ready: "+n)}function o(e){return";base64,"+h.encode(e)}t.exports=r;var a=e("debug")("noVNC:RFB"),i=e("debug")("noVNC:ERROR:RFB");i.log=console.warn.bind(console);var s=e("./util"),l=e("./websock"),u=e("./keys"),c=e("./input"),d=c.Keyboard,f=c.Mouse,p=e("./display"),h=e("./base64"),m=e("./des"),v=e("./tinf");r.prototype={connect:function(e,t){this._rfb_url=e,this._rfb_password=void 0!==t?t:"",this._updateState("connect","Connecting")},disconnect:function(){this._updateState("disconnect","Disconnecting"),this._sock.off("error"),this._sock.off("message"),this._sock.off("open")},sendPassword:function(e){this._rfb_password=e,this._rfb_state="Authentication",setTimeout(this._init_msg.bind(this),1)},sendCtrlAltDel:function(){if("normal"!==this._rfb_state||this._view_only)return!1;var e=[];e=e.concat(r.messages.keyEvent(u.XK_Control_L,1)),e=e.concat(r.messages.keyEvent(u.XK_Alt_L,1)),e=e.concat(r.messages.keyEvent(u.XK_Delete,1)),e=e.concat(r.messages.keyEvent(u.XK_Delete,0)),e=e.concat(r.messages.keyEvent(u.XK_Alt_L,0)),e=e.concat(r.messages.keyEvent(u.XK_Control_L,0)),this._sock.send(e)},xvpOp:function(e,t){return!(this._rfb_xvp_ver<e)&&(a("xvpOp() | sending XVP operation "+t+" (version "+e+")"),this._sock.send_string("ú\0"+String.fromCharCode(e)+String.fromCharCode(t)),!0)},xvpShutdown:function(){return this.xvpOp(1,2)},xvpReboot:function(){return this.xvpOp(1,3)},xvpReset:function(){return this.xvpOp(1,4)},sendKey:function(e,t){if("normal"!==this._rfb_state||this._view_only)return!1;var n=[];"undefined"!=typeof t?(a("sendKey() | sending key code ("+(t?"down":"up")+"): "+e),n=n.concat(r.messages.keyEvent(e,t?1:0))):(a("sendKey() | sending key code (down + up): "+e),n=n.concat(r.messages.keyEvent(e,1)),n=n.concat(r.messages.keyEvent(e,0))),this._sock.send(n)},clipboardPasteFrom:function(e){"normal"===this._rfb_state&&this._sock.send(r.messages.clientCutText(e))},setDesktopSize:function(e,t){if("normal"===this._rfb_state&&this._supportsSetDesktopSize){var n=[251];s.push8(n,0),s.push16(n,e),s.push16(n,t),s.push8(n,1),s.push8(n,0),s.push32(n,this._screen_id),s.push16(n,0),s.push16(n,0),s.push16(n,e),s.push16(n,t),s.push32(n,this._screen_flags),this._sock.send(n)}},_connect:function(){a("_connect() | connecting to "+this._rfb_url),this._sock.open(this._rfb_url,this._wsProtocols)},_init_vars:function(){this._sock.init(),this._FBU.rects=0,this._FBU.subrects=0,this._FBU.lines=0,this._FBU.tiles=0,this._FBU.zlibs=[],this._mouse_buttonMask=0,this._mouse_arr=[],this._rfb_tightvnc=!1;var e;for(e=0;e<this._encodings.length;e++)this._encStats[this._encodings[e][1]][0]=0;for(e=0;e<4;e++)this._FBU.zlibs[e]=new v,this._FBU.zlibs[e].init()},_print_stats:function(){a("_print_stats() | encoding stats for this connection:");var e,t;for(e=0;e<this._encodings.length;e++)t=this._encStats[this._encodings[e][1]],t[0]+t[1]>0&&a("_print_stats() | "+this._encodings[e][0]+": "+t[0]+" rects");for(a("_print_stats() | encoding stats since page load:"),e=0;e<this._encodings.length;e++)t=this._encStats[this._encodings[e][1]],a("_print_stats() | "+this._encodings[e][0]+": "+t[1]+" rects")},_cleanupSocket:function(e){this._sendTimer&&(clearInterval(this._sendTimer),this._sendTimer=null),this._msgTimer&&(clearInterval(this._msgTimer),this._msgTimer=null),this._display&&this._display.get_context()&&(this._keyboard.ungrab(),this._mouse.ungrab(),"connect"!==e&&"loaded"!==e&&this._display.defaultCursor(),this._display.clear()),this._sock.close()},_updateState:function(e,t){a('_updateState() | [state:%s, msg:"%s"]',e,t);var n=this._rfb_state;if(e===n)return void a('_updateState() | already in state "'+e+'", ignoring');switch(e in{disconnected:1,loaded:1,connect:1,disconnect:1,failed:1,fatal:1}&&this._cleanupSocket(e),"fatal"===n&&i("_updateState() | fatal error, cannot continue"),!t||"failed"!==e&&"fatal"!==e||i("_updateState() | %s: %s",e,t),"failed"===n&&"disconnected"===e?this._rfb_state="failed":this._rfb_state=e,this._disconnTimer&&"disconnect"!==this._rfb_state&&(a("_updateState() | clearing disconnect timer"),clearTimeout(this._disconnTimer),this._disconnTimer=null,this._sock.off("close")),e){case"normal":"disconnected"!==n&&"failed"!==n||i('_updateState() | invalid transition from "disconnected" or "failed" to "normal"');break;case"connect":this._init_vars(),this._connect();break;case"disconnect":this._disconnTimer=setTimeout(function(){this._fail("Disconnect timeout")}.bind(this),1e3*this._disconnectTimeout),this._print_stats();break;case"failed":"disconnected"===n?i('_updateState() | invalid transition from "disconnected" to "failed"'):"normal"===n?i("_updateState() | error while connected"):"init"===n&&i("_updateState() | error while initializing"),setTimeout(function(){this._updateState("disconnected")}.bind(this),50)}"failed"===n&&"disconnected"===e?this._onUpdateState(this,e,n):this._onUpdateState(this,e,n,t)},_fail:function(e){return this._updateState("failed",e),!1},_handle_message:function(){if(0===this._sock.rQlen())return void i("_handle_message() | called on an empty receive queue");switch(this._rfb_state){case"disconnected":case"failed":i("_handle_message() | got data while disconnected");break;case"normal":this._normal_msg()&&this._sock.rQlen()>0&&(null===this._msgTimer?(a("_handle_message() | more data to process, creating timer"),this._msgTimer=setTimeout(function(){this._msgTimer=null,this._handle_message()}.bind(this),10)):a("_handle_message() | more data to process, existing timer"));break;default:this._init_msg()}},_checkEvents:function(){"normal"===this._rfb_state&&!this._viewportDragging&&this._mouse_arr.length>0&&(this._sock.send(this._mouse_arr),this._mouse_arr=[])},_handleKeyPress:function(e,t){this._view_only||this._sock.send(r.messages.keyEvent(e,t))},_handleMouseButton:function(e,t,n,o){if(n?this._mouse_buttonMask|=o:this._mouse_buttonMask^=o,this._viewportDrag){if(n&&!this._viewportDragging)return this._viewportDragging=!0,void(this._viewportDragPos={x:e,y:t});this._viewportDragging=!1}this._view_only||(this._mouse_arr=this._mouse_arr.concat(r.messages.pointerEvent(this._display.absX(e),this._display.absY(t),this._mouse_buttonMask)),this._sock.send(this._mouse_arr),this._mouse_arr=[])},_handleMouseMove:function(e,t){if(this._viewportDragging){var n=this._viewportDragPos.x-e,o=this._viewportDragPos.y-t;return this._viewportDragPos={x:e,y:t},void this._display.viewportChangePos(n,o)}this._view_only||(this._mouse_arr=this._mouse_arr.concat(r.messages.pointerEvent(this._display.absX(e),this._display.absY(t),this._mouse_buttonMask)),this._checkEvents())},_negotiate_protocol_version:function(){if(this._sock.rQlen()<12)return this._fail("Incomplete protocol version");var e=this._sock.rQshiftStr(12).substr(4,7);a("_negotiate_protocol_version() | server ProtocolVersion: "+e);var t=0;switch(e){case"000.000":t=1;break;case"003.003":case"003.006":case"003.889":this._rfb_version=3.3;break;case"003.007":this._rfb_version=3.7;break;case"003.008":case"004.000":case"004.001":this._rfb_version=3.8;break;default:return this._fail("Invalid server version "+e)}if(t){for(var n=this._repeaterID;n.length<250;)n+="\0";return this._sock.send_string(n),!0}this._rfb_version>this._rfb_max_version&&(this._rfb_version=this._rfb_max_version),this._sendTimer=setInterval(this._sock.flush.bind(this._sock),50);var r="00"+parseInt(this._rfb_version,10)+".00"+10*this._rfb_version%10;this._sock.send_string("RFB "+r+"\n"),this._updateState("Security","Sent ProtocolVersion: "+r)},_negotiate_security:function(){if(this._rfb_version>=3.7){var e=this._sock.rQshift8();if(this._sock.rQwait("security type",e,1))return!1;if(0===e){var t=this._sock.rQshift32(),n=this._sock.rQshiftStr(t);return this._fail("Security failure: "+n)}this._rfb_auth_scheme=0;var r=this._sock.rQshiftBytes(e);if(a("_negotiate_security() | server security types: "+r),this._forceAuthScheme)this._rfb_auth_scheme=this._forceAuthScheme;else for(var o=0;o<r.length;o++)r[o]>this._rfb_auth_scheme&&(r[o]<=16||22===r[o])&&(this._rfb_auth_scheme=r[o]);if(0===this._rfb_auth_scheme)return this._fail("Unsupported security types: "+r);this._sock.send([this._rfb_auth_scheme])}else{if(this._sock.rQwait("security scheme",4))return!1;this._rfb_auth_scheme=this._sock.rQshift32()}return this._updateState("Authentication","Authenticating using scheme: "+this._rfb_auth_scheme),this._init_msg()},_negotiate_xvp_auth:function(){var e=this._xvp_password_sep,t=this._rfb_password.split(e);if(t.length<3)return this._updateState("password","XVP credentials required (user"+e+"target"+e+"password) -- got only "+this._rfb_password),this._onPasswordRequired(this),!1;var n=String.fromCharCode(t[0].length)+String.fromCharCode(t[1].length)+t[0]+t[1];return this._sock.send_string(n),this._rfb_password=t.slice(2).join(e),this._rfb_auth_scheme=2,this._negotiate_authentication()},_negotiate_std_vnc_auth:function(){if(0===this._rfb_password.length&&(this._updateState("password","Password Required"),this._onPasswordRequired(this)),this._sock.rQwait("auth challenge",16))return!1;var e=this._sock.rQshiftBytes(16),t=r.genDES(this._rfb_password,e);return this._sock.send(t),this._updateState("SecurityResult"),!0},_negotiate_tight_tunnels:function(e){for(var t={0:{vendor:"TGHT",signature:"NOTUNNEL"}},n={},r=0;r<e;r++){var o=this._sock.rQshift32(),a=this._sock.rQshiftStr(4),i=this._sock.rQshiftStr(8);n[o]={vendor:a,signature:i}}return n[0]?n[0].vendor!==t[0].vendor||n[0].signature!==t[0].signature?this._fail("Client's tunnel type had the incorrect vendor or signature"):(this._sock.send([0,0,0,0]),!1):this._fail("Server wanted tunnels, but doesn't support the notunnel type")},_negotiate_tight_auth:function(){if(!this._rfb_tightvnc){if(this._sock.rQwait("num tunnels",4))return!1;var e=this._sock.rQshift32();if(e>0&&this._sock.rQwait("tunnel capabilities",16*e,4))return!1;if(this._rfb_tightvnc=!0,e>0)return this._negotiate_tight_tunnels(e),!1}if(this._sock.rQwait("sub auth count",4))return!1;var t=this._sock.rQshift32();if(this._sock.rQwait("sub auth capabilities",16*t,4))return!1;for(var n={STDVNOAUTH__:1,STDVVNCAUTH_:2},r=[],o=0;o<t;o++){var i=this._sock.rQshiftStr(12);r.push(i)}a("_negotiate_tight_auth() | clientSupportedTypes: %o",n),a("_negotiate_tight_auth() | serverSupportedTypes: %o",r);for(var s in n)if(r.indexOf(s)!==-1)switch(this._sock.send([0,0,0,n[s]]),s){case"STDVNOAUTH__":return this._updateState("SecurityResult"),!0;case"STDVVNCAUTH_":return this._rfb_auth_scheme=2,this._init_msg();default:return this._fail("Unsupported tiny auth scheme: "+s)}this._fail("No supported sub-auth types!")},_negotiate_authentication:function(){switch(this._rfb_auth_scheme){case 0:if(this._sock.rQwait("auth reason",4))return!1;var e=this._sock.rQshift32(),t=this._sock.rQshiftStr(e);return this._fail("Auth failure: "+t);case 1:return this._rfb_version>=3.8?(this._updateState("SecurityResult"),!0):(this._updateState("ClientInitialisation","No auth required"),this._init_msg());case 22:return this._negotiate_xvp_auth();case 2:return this._negotiate_std_vnc_auth();case 16:return this._negotiate_tight_auth();default:return this._fail("Unsupported auth scheme: "+this._rfb_auth_scheme)}},_handle_security_result:function(){if(this._sock.rQwait("VNC auth response ",4))return!1;switch(this._sock.rQshift32()){case 0:return this._updateState("ClientInitialisation","Authentication OK"),this._init_msg();case 1:if(this._rfb_version>=3.8){var e=this._sock.rQshift32();if(this._sock.rQwait("SecurityResult reason",e,8))return!1;var t=this._sock.rQshiftStr(e);return this._fail(t)}return this._fail("Authentication failure");case 2:return this._fail("Too many auth attempts")}},_negotiate_server_init:function(){if(this._sock.rQwait("server initialization",24))return!1;this._fb_width=this._sock.rQshift16(),this._fb_height=this._sock.rQshift16();var e=this._sock.rQshift8(),t=this._sock.rQshift8(),n=this._sock.rQshift8(),o=this._sock.rQshift8(),l=this._sock.rQshift16(),u=this._sock.rQshift16(),c=this._sock.rQshift16(),d=this._sock.rQshift8(),f=this._sock.rQshift8(),p=this._sock.rQshift8();this._sock.rQskipBytes(3);var h=this._sock.rQshift32();if(this._sock.rQwait("server init name",h,24))return!1;if(this._fb_name=s.decodeUTF8(this._sock.rQshiftStr(h)),this._rfb_tightvnc){if(this._sock.rQwait("TightVNC extended server init header",8,24+h))return!1;var m=this._sock.rQshift16(),v=this._sock.rQshift16(),b=this._sock.rQshift16();this._sock.rQskipBytes(2);var g=16*(m+v+b);if(this._sock.rQwait("TightVNC extended server init header",g,32+h))return!1;var y;for(y=0;y<m;y++)this._sock.rQshiftStr(16);for(y=0;y<v;y++)this._sock.rQshiftStr(16);for(y=0;y<b;y++)this._sock.rQshiftStr(16)}a("_negotiate_server_init() | screen: "+this._fb_width+"x"+this._fb_height+", bpp: "+e+", depth: "+t+", big_endian: "+n+", true_color: "+o+", red_max: "+l+", green_max: "+u+", blue_max: "+c+", red_shift: "+d+", green_shift: "+f+", blue_shift: "+p),0!==n&&i("_negotiate_server_init() | server native endian is not little endian"),16!==d&&i("_negotiate_server_init() | server native red-shift is not 16"),0!==p&&i("_negotiate_server_init() | server native blue-shift is not 0"),this._onDesktopName(this,this._fb_name),this._true_color&&"Intel(r) AMT KVM"===this._fb_name&&(i("_negotiate_server_init() | Intel AMT KVM only supports 8/16 bit depths, disabling true color"),this._true_color=!1),this._display.set_true_color(this._true_color),this._display.resize(this._fb_width,this._fb_height),this._onFBResize(this,this._fb_width,this._fb_height),this._keyboard.grab(),this._mouse.grab(),this._true_color?(this._fb_Bpp=4,this._fb_depth=3):(this._fb_Bpp=1,this._fb_depth=1);var _=r.messages.pixelFormat(this._fb_Bpp,this._fb_depth,this._true_color);_=_.concat(r.messages.clientEncodings(this._encodings,this._local_cursor,this._true_color)),_=_.concat(r.messages.fbUpdateRequests(this._display.getCleanDirtyReset(),this._fb_width,this._fb_height)),this._timing.fbu_rt_start=(new Date).getTime(),this._timing.pixels=0,this._sock.send(_),this._checkEvents(),this._updateState("normal","Connected to: "+this._fb_name)},_init_msg:function(){switch(this._rfb_state){case"ProtocolVersion":return this._negotiate_protocol_version();case"Security":return this._negotiate_security();case"Authentication":return this._negotiate_authentication();case"SecurityResult":return this._handle_security_result();case"ClientInitialisation":return this._sock.send([this._shared?1:0]),this._updateState("ServerInitialisation","Authentication OK"),!0;case"ServerInitialisation":return this._negotiate_server_init()}},_handle_set_colour_map_msg:function(){a("_handle_set_colour_map_msg()"),this._sock.rQskip8();var e=this._sock.rQshift16(),t=this._sock.rQshift16();if(this._sock.rQwait("SetColorMapEntries",6*t,6))return!1;for(var n=0;n<t;n++){var r=parseInt(this._sock.rQshift16()/256,10),o=parseInt(this._sock.rQshift16()/256,10),i=parseInt(this._sock.rQshift16()/256,10);this._display.set_colourMap([i,o,r],e+n)}return a("_handle_set_colour_map_msg() | colourMap: "+this._display.get_colourMap()),a("_handle_set_colour_map_msg() | registered "+t+" colourMap entries"),!0},_handle_server_cut_text:function(){if(a("_handle_server_cut_text()"),this._sock.rQwait("ServerCutText header",7,1))return!1;this._sock.rQskipBytes(3);var e=this._sock.rQshift32();if(this._sock.rQwait("ServerCutText",e,8))return!1;var t=this._sock.rQshiftStr(e);return this._onClipboard(this,t),!0},_handle_xvp_msg:function(){if(this._sock.rQwait("XVP version and message",3,1))return!1;this._sock.rQskip8();var e=this._sock.rQshift8(),t=this._sock.rQshift8();switch(t){case 0:this._updateState(this._rfb_state,"Operation Failed");break;case 1:this._rfb_xvp_ver=e,a("_handle_xvp_msg() | XVP extensions enabled (version "+this._rfb_xvp_ver+")"),this._onXvpInit(this._rfb_xvp_ver);break;default:this._fail("Disconnected: illegal server XVP message "+t)}return!0},_normal_msg:function(){var e;switch(e=this._FBU.rects>0?0:this._sock.rQshift8()){case 0:var t=this._framebufferUpdate();return t&&this._sock.send(r.messages.fbUpdateRequests(this._display.getCleanDirtyReset(),this._fb_width,this._fb_height)),t;case 1:return this._handle_set_colour_map_msg();case 2:return a("_normal_msg() | bell"),this._onBell(this),!0;case 3:return this._handle_server_cut_text();case 250:return this._handle_xvp_msg();default:if(!this._onUnknownMessageType)return this._fail("Disconnected: illegal server message type "+e),i("_normal_msg() | sock.rQslice(0, 30): "+this._sock.rQslice(0,30)),!0;a("_normal_msg() | passing unknown message type "+e+" to the onUnknownMessageType listener");try{return this._onUnknownMessageType(e,this._sock)}catch(t){return i("_normal_msg() | error catched during onUnknownMessageType: %o",t),this._fail("Disconnected: invalid custom server message type "+e),i("_normal_msg() | sock.rQslice(0, 30): "+this._sock.rQslice(0,30)),!0}}},_framebufferUpdate:function(){var e,t=!0;if(0===this._FBU.rects){if(this._sock.rQwait("FBU header",3,1))return!1;this._sock.rQskip8(),this._FBU.rects=this._sock.rQshift16(),this._FBU.bytes=0,this._timing.cur_fbu=0,this._timing.fbu_rt_start>0&&(e=(new Date).getTime(),a("_framebufferUpdate() | first FBU latency: "+(e-this._timing.fbu_rt_start)))}for(;this._FBU.rects>0;){if("normal"!==this._rfb_state)return!1;if(this._sock.rQwait("FBU",this._FBU.bytes))return!1;if(0===this._FBU.bytes){if(this._sock.rQwait("rect header",12))return!1;var n=this._sock.rQshiftBytes(12);if(this._FBU.x=(n[0]<<8)+n[1],this._FBU.y=(n[2]<<8)+n[3],this._FBU.width=(n[4]<<8)+n[5],this._FBU.height=(n[6]<<8)+n[7],this._FBU.encoding=parseInt((n[8]<<24)+(n[9]<<16)+(n[10]<<8)+n[11],10),this._onFBUReceive(this,{x:this._FBU.x,y:this._FBU.y,width:this._FBU.width,height:this._FBU.height,encoding:this._FBU.encoding,encodingName:this._encNames[this._FBU.encoding]}),!this._encNames[this._FBU.encoding])return this._fail("Disconnected: unsupported encoding "+this._FBU.encoding),!1}if(this._timing.last_fbu=(new Date).getTime(),t=this._encHandlers[this._FBU.encoding](),e=(new Date).getTime(),this._timing.cur_fbu+=e-this._timing.last_fbu,t&&(this._encStats[this._FBU.encoding][0]++,this._encStats[this._FBU.encoding][1]++,this._timing.pixels+=this._FBU.width*this._FBU.height),this._timing.pixels>=this._fb_width*this._fb_height&&((this._FBU.width===this._fb_width&&this._FBU.height===this._fb_height||this._timing.fbu_rt_start>0)&&(this._timing.full_fbu_total+=this._timing.cur_fbu,this._timing.full_fbu_cnt++,a("_framebufferUpdate() | timing of full FBU, curr: "+this._timing.cur_fbu+", total: "+this._timing.full_fbu_total+", cnt: "+this._timing.full_fbu_cnt+", avg: "+this._timing.full_fbu_total/this._timing.full_fbu_cnt)),this._timing.fbu_rt_start>0)){var r=e-this._timing.fbu_rt_start;this._timing.fbu_rt_total+=r,this._timing.fbu_rt_cnt++,a("_framebufferUpdate() | full FBU round-trip, cur: "+r+", total: "+this._timing.fbu_rt_total+", cnt: "+this._timing.fbu_rt_cnt+", avg: "+this._timing.fbu_rt_total/this._timing.fbu_rt_cnt),this._timing.fbu_rt_start=0}if(!t)return t}return this._onFBUComplete(this,{x:this._FBU.x,y:this._FBU.y,width:this._FBU.width,height:this._FBU.height,encoding:this._FBU.encoding,encodingName:this._encNames[this._FBU.encoding]}),!0}},s.make_properties(r,[["target","wo","dom"],["focusContainer","wo","dom"],["encrypt","rw","bool"],["true_color","rw","bool"],["local_cursor","rw","bool"],["shared","rw","bool"],["view_only","rw","bool"],["xvp_password_sep","rw","str"],["disconnectTimeout","rw","int"],["wsProtocols","rw","arr"],["repeaterID","rw","str"],["viewportDrag","rw","bool"],["forceAuthScheme","rw","int"],["enableMouseAndTouch","rw","bool"],["onUpdateState","rw","func"],["onPasswordRequired","rw","func"],["onClipboard","rw","func"],["onBell","rw","func"],["onFBUReceive","rw","func"],["onFBUComplete","rw","func"],["onFBResize","rw","func"],["onDesktopName","rw","func"],["onXvpInit","rw","func"],["onUnknownMessageType","rw","func"]]),r.prototype.set_local_cursor=function(e){!e||e in{0:1,no:1,false:1}?(this._local_cursor=!1,this._display.disableLocalCursor()):this._display.get_cursor_uri()?this._local_cursor=!0:(a("browser does not support local cursor"),this._display.disableLocalCursor())},r.prototype.get_display=function(){return this._display},r.prototype.get_keyboard=function(){return this._keyboard},r.prototype.get_mouse=function(){return this._mouse},r.messages={keyEvent:function(e,t){var n=[4];return s.push8(n,t),s.push16(n,0),s.push32(n,e),n},pointerEvent:function(e,t,n){var r=[5];return s.push8(r,n),s.push16(r,e),s.push16(r,t),r},clientCutText:function(e){var t=[6];s.push8(t,0),s.push8(t,0),s.push8(t,0),s.push32(t,e.length);for(var n=e.length,r=0;r<n;r++)t.push(e.charCodeAt(r));return t},pixelFormat:function(e,t,n){var r=[0];return s.push8(r,0),s.push8(r,0),s.push8(r,0),s.push8(r,8*e),s.push8(r,8*t),s.push8(r,0),s.push8(r,n?1:0),s.push16(r,255),s.push16(r,255),s.push16(r,255),s.push8(r,16),s.push8(r,8),s.push8(r,0),s.push8(r,0),s.push8(r,0),s.push8(r,0),r},clientEncodings:function(e,t,n){var r,o=[];for(r=0;r<e.length;r++)"Cursor"!==e[r][0]||t?"TIGHT"!==e[r][0]||n?o.push(e[r][1]):a("clientEncodings() | skipping tight as it is only supported with true color"):a("clientEncodings() | skipping Cursor pseudo-encoding");var i=[2];for(s.push8(i,0),s.push16(i,o.length),r=0;r<o.length;r++)s.push32(i,o[r]);return i},fbUpdateRequests:function(e,t,n){var o,a,i=[],s=e.cleanBox;s.w>0&&s.h>0&&(o="undefined"==typeof s.w?t:s.w,a="undefined"==typeof s.h?n:s.h,i=i.concat(r.messages.fbUpdateRequest(1,s.x,s.y,o,a)));for(var l=0;l<e.dirtyBoxes.length;l++){var u=e.dirtyBoxes[l];o="undefined"==typeof u.w?t:u.w,a="undefined"==typeof u.h?n:u.h,i=i.concat(r.messages.fbUpdateRequest(0,u.x,u.y,o,a))}return i},fbUpdateRequest:function(e,t,n,r,o){"undefined"==typeof t&&(t=0),"undefined"==typeof n&&(n=0);var a=[3];return s.push8(a,e),s.push16(a,t),s.push16(a,n),s.push16(a,r),s.push16(a,o),a}},r.genDES=function(e,t){for(var n=[],r=0;r<e.length;r++)n.push(e.charCodeAt(r));return new m(n).encrypt(t)},r.encodingHandlers={RAW:function(){if(0===this._FBU.lines&&(this._FBU.lines=this._FBU.height),this._FBU.bytes=this._FBU.width*this._fb_Bpp,this._sock.rQwait("RAW",this._FBU.bytes))return!1;var e=this._FBU.y+(this._FBU.height-this._FBU.lines),t=Math.min(this._FBU.lines,Math.floor(this._sock.rQlen()/(this._FBU.width*this._fb_Bpp)));return this._display.blitImage(this._FBU.x,e,this._FBU.width,t,this._sock.get_rQ(),this._sock.get_rQi()),this._sock.rQskipBytes(this._FBU.width*t*this._fb_Bpp),this._FBU.lines-=t,this._FBU.lines>0?this._FBU.bytes=this._FBU.width*this._fb_Bpp:(this._FBU.rects--,this._FBU.bytes=0),!0},COPYRECT:function(){return this._FBU.bytes=4,!this._sock.rQwait("COPYRECT",4)&&(this._display.renderQ_push({type:"copy",old_x:this._sock.rQshift16(),old_y:this._sock.rQshift16(),x:this._FBU.x,y:this._FBU.y,width:this._FBU.width,height:this._FBU.height}),this._FBU.rects--,this._FBU.bytes=0,!0)},RRE:function(){var e;if(0===this._FBU.subrects){if(this._FBU.bytes=4+this._fb_Bpp,this._sock.rQwait("RRE",4+this._fb_Bpp))return!1;this._FBU.subrects=this._sock.rQshift32(),e=this._sock.rQshiftBytes(this._fb_Bpp),this._display.fillRect(this._FBU.x,this._FBU.y,this._FBU.width,this._FBU.height,e)}for(;this._FBU.subrects>0&&this._sock.rQlen()>=this._fb_Bpp+8;){e=this._sock.rQshiftBytes(this._fb_Bpp);var t=this._sock.rQshift16(),n=this._sock.rQshift16(),r=this._sock.rQshift16(),o=this._sock.rQshift16();this._display.fillRect(this._FBU.x+t,this._FBU.y+n,r,o,e),this._FBU.subrects--}if(this._FBU.subrects>0){var a=Math.min(this._rre_chunk_sz,this._FBU.subrects);this._FBU.bytes=(this._fb_Bpp+8)*a}else this._FBU.rects--,this._FBU.bytes=0;return!0},HEXTILE:function(){var e=this._sock.get_rQ(),t=this._sock.get_rQi();for(0===this._FBU.tiles&&(this._FBU.tiles_x=Math.ceil(this._FBU.width/16),this._FBU.tiles_y=Math.ceil(this._FBU.height/16),this._FBU.total_tiles=this._FBU.tiles_x*this._FBU.tiles_y,this._FBU.tiles=this._FBU.total_tiles);this._FBU.tiles>0;){if(this._FBU.bytes=1,this._sock.rQwait("HEXTILE subencoding",this._FBU.bytes))return!1;var n=e[t];if(n>30)return this._fail("Disconnected: illegal hextile subencoding "+n),!1;var r=0,o=this._FBU.total_tiles-this._FBU.tiles,i=o%this._FBU.tiles_x,s=Math.floor(o/this._FBU.tiles_x),l=this._FBU.x+16*i,u=this._FBU.y+16*s,c=Math.min(16,this._FBU.x+this._FBU.width-l),d=Math.min(16,this._FBU.y+this._FBU.height-u);if(1&n)this._FBU.bytes+=c*d*this._fb_Bpp;else if(2&n&&(this._FBU.bytes+=this._fb_Bpp),4&n&&(this._FBU.bytes+=this._fb_Bpp),8&n){if(this._FBU.bytes++,this._sock.rQwait("hextile subrects header",this._FBU.bytes))return!1;r=e[t+this._FBU.bytes-1],16&n?this._FBU.bytes+=r*(this._fb_Bpp+2):this._FBU.bytes+=2*r}if(this._sock.rQwait("hextile",this._FBU.bytes))return!1;if(this._FBU.subencoding=e[t],t++,0===this._FBU.subencoding)1&this._FBU.lastsubencoding?a("HEXTILE() | ignoring blank after RAW"):this._display.fillRect(l,u,c,d,this._FBU.background);else if(1&this._FBU.subencoding)this._display.blitImage(l,u,c,d,e,t),t+=this._FBU.bytes-1;else{if(2&this._FBU.subencoding&&(this._FBU.background=e.slice(t,t+this._fb_Bpp),t+=this._fb_Bpp),4&this._FBU.subencoding&&(this._FBU.foreground=e.slice(t,t+this._fb_Bpp),t+=this._fb_Bpp),this._display.startTile(l,u,c,d,this._FBU.background),8&this._FBU.subencoding){r=e[t],t++;for(var f=0;f<r;f++){var p;16&this._FBU.subencoding?(p=e.slice(t,t+this._fb_Bpp),t+=this._fb_Bpp):p=this._FBU.foreground;var h=e[t];t++;var m=h>>4,v=15&h,b=e[t];t++;var g=(b>>4)+1,y=(15&b)+1;this._display.subTile(m,v,g,y,p)}}this._display.finishTile()}this._sock.set_rQi(t),this._FBU.lastsubencoding=this._FBU.subencoding,this._FBU.bytes=0,this._FBU.tiles--}return 0===this._FBU.tiles&&this._FBU.rects--,!0},getTightCLength:function(e){var t=1,n=0;return n+=127&e[0],128&e[0]&&(t++,n+=(127&e[1])<<7,128&e[1]&&(t++,n+=e[2]<<14)),[t,n]},display_tight:function(e){if(1===this._fb_depth&&this._fail("Tight protocol handler only implements true color mode"),this._FBU.bytes=1,this._sock.rQwait("TIGHT compression-control",this._FBU.bytes))return!1;var t,n,s,l=0,u=-1,c=function(e){for(var t=0;t<4;t++)l>>t&1&&(this._FBU.zlibs[t].reset(),a("display_tight() | reset zlib stream "+t));var n=this._FBU.zlibs[u].uncompress(e,0);return 0!==n.status&&i("display_tight() | invalid data in zlib stream"),n.data}.bind(this),d=function(e,t,n,r,o){var a,i,s,l,u=[];if(2===t){var c=Math.floor((r+7)/8),d=Math.floor(r/8);for(i=0;i<o;i++){var f;for(a=0;a<d;a++)for(f=7;f>=0;f--)s=3*(i*r+8*a+7-f),l=3*(e[i*c+a]>>f&1),u[s]=n[l],u[s+1]=n[l+1],u[s+2]=n[l+2];for(f=7;f>=8-r%8;f--)s=3*(i*r+8*a+7-f),l=3*(e[i*c+a]>>f&1),u[s]=n[l],u[s+1]=n[l+1],u[s+2]=n[l+2]}}else for(i=0;i<o;i++)for(a=0;a<r;a++)s=3*(i*r+a),l=3*e[i*r+a],u[s]=n[l],u[s+1]=n[l+1],u[s+2]=n[l+2];return u}.bind(this),f=this._sock.get_rQ(),p=this._sock.get_rQi(),h=function(){var e=f[p+2]+1,o=e*this._fb_depth;if(this._FBU.bytes+=o,this._sock.rQwait("TIGHT palette "+t,this._FBU.bytes))return!1;var a=e<=2?1:8,i=Math.floor((this._FBU.width*a+7)/8),l=!1;if(i*this._FBU.height<12?(l=!0,n=[0,i*this._FBU.height]):n=r.encodingHandlers.getTightCLength(this._sock.rQslice(3+o,3+o+3)),this._FBU.bytes+=n[0]+n[1],this._sock.rQwait("TIGHT "+t,this._FBU.bytes))return!1;this._sock.rQskipBytes(3);var u=this._sock.rQshiftBytes(o);this._sock.rQskipBytes(n[0]),s=l?this._sock.rQshiftBytes(n[1]):c(this._sock.rQshiftBytes(n[1]));var h=d(s,e,u,this._FBU.width,this._FBU.height);return this._display.renderQ_push({type:"blitRgb",data:h,x:this._FBU.x,y:this._FBU.y,width:this._FBU.width,height:this._FBU.height}),!0}.bind(this),m=function(){var e=!1,o=this._FBU.width*this._FBU.height*this._fb_depth;return o<12?(e=!0,n=[0,o]):n=r.encodingHandlers.getTightCLength(this._sock.rQslice(1,4)),this._FBU.bytes=1+n[0]+n[1],!this._sock.rQwait("TIGHT "+t,this._FBU.bytes)&&(this._sock.rQshiftBytes(1+n[0]),s=e?this._sock.rQshiftBytes(n[1]):c(this._sock.rQshiftBytes(n[1])),this._display.renderQ_push({type:"blitRgb",data:s,x:this._FBU.x,y:this._FBU.y,width:this._FBU.width,height:this._FBU.height}),!0)}.bind(this),v=this._sock.rQpeek8();if(l=15&v,v>>=4,u=3&v,8===v)t="fill";else if(9===v)t="jpeg";else if(10===v)t="png";else if(4&v)t="filter";else{if(!(v<4))return this._fail("Illegal tight compression received, ctl: "+v);t="copy"}if(e&&("filter"===t||"copy"===t))return this._fail("filter/copy received in tightPNG mode");switch(t){case"fill":this._FBU.bytes+=this._fb_depth;break;case"jpeg":this._FBU.bytes+=3;break;case"png":this._FBU.bytes+=3;break;case"filter":this._FBU.bytes+=2;break;case"copy":}if(this._sock.rQwait("TIGHT "+t,this._FBU.bytes))return!1;switch(t){case"fill":this._sock.rQskip8();var b=this._sock.rQshiftBytes(this._fb_depth);this._display.renderQ_push({type:"fill",x:this._FBU.x,y:this._FBU.y,width:this._FBU.width,height:this._FBU.height,color:[b[2],b[1],b[0]]});break;case"png":case"jpeg":if(n=r.encodingHandlers.getTightCLength(this._sock.rQslice(1,4)),this._FBU.bytes=1+n[0]+n[1],this._sock.rQwait("TIGHT "+t,this._FBU.bytes))return!1;this._sock.rQskipBytes(1+n[0]);var g=new Image;g.src="data: image/"+t+o(this._sock.rQshiftBytes(n[1])),this._display.renderQ_push({type:"img",img:g,x:this._FBU.x,y:this._FBU.y}),g=null;break;case"filter":var y=f[p+1];if(1!==y)throw new Error("Unsupported tight subencoding received, filter: "+y);if(!h())return!1;break;case"copy":if(!m())return!1}return this._FBU.bytes=0,this._FBU.rects--,!0},TIGHT:function(){return this._encHandlers.display_tight(!1)},TIGHT_PNG:function(){return this._encHandlers.display_tight(!0)},last_rect:function(){return this._FBU.rects=0,!0},handle_FB_resize:function(){return this._fb_width=this._FBU.width,this._fb_height=this._FBU.height,this._display.resize(this._fb_width,this._fb_height),this._onFBResize(this,this._fb_width,this._fb_height),this._timing.fbu_rt_start=(new Date).getTime(),this._FBU.bytes=0,this._FBU.rects-=1,!0},ExtendedDesktopSize:function(){if(this._FBU.bytes=1,this._sock.rQwait("ExtendedDesktopSize",this._FBU.bytes))return!1;this._supportsSetDesktopSize=!0;var e=this._sock.rQpeek8();if(this._FBU.bytes=4+16*e,this._sock.rQwait("ExtendedDesktopSize",this._FBU.bytes))return!1;this._sock.rQskipBytes(1),this._sock.rQskipBytes(3);for(var t=0;t<e;t+=1)0===t?(this._screen_id=this._sock.rQshiftBytes(4),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._sock.rQskipBytes(2),this._screen_flags=this._sock.rQshiftBytes(4)):this._sock.rQskipBytes(16);if(1===this._FBU.x&&0!==this._FBU.y){var n="";switch(this._FBU.y){case 1:n="resize is administratively prohibited";
|
32 | break;case 2:n="out of resources";break;case 3:n="invalid screen layout";break;default:n="unknown reason"}return a("ExtendedDesktopSize() | server did not accept the resize request: %s",n),!0}return this._encHandlers.handle_FB_resize(),!0},DesktopSize:function(){return a("DesktopSize()"),this._encHandlers.handle_FB_resize(),!0},Cursor:function(){a("Cursor()");var e=this._FBU.x,t=this._FBU.y,n=this._FBU.width,r=this._FBU.height,o=n*r*this._fb_Bpp,i=Math.floor((n+7)/8)*r;return this._FBU.bytes=o+i,!this._sock.rQwait("cursor encoding",this._FBU.bytes)&&(this._display.changeCursor(this._sock.rQshiftBytes(o),this._sock.rQshiftBytes(i),e,t,n,r),this._FBU.bytes=0,this._FBU.rects--,!0)},JPEG_quality_lo:function(){i("JPEG_quality_lo() | server sent jpeg_quality pseudo-encoding")},compress_lo:function(){i("compress_lo() | server sent compress level pseudo-encoding")}}},{"./base64":813,"./des":814,"./display":815,"./input":816,"./keys":818,"./tinf":820,"./util":821,"./websock":822,debug:220}],820:[function(e,t,n){function r(){this.OK=0,this.DATA_ERROR=-3,this.WINDOW_SIZE=32768,this.TREE=function(){this.table=new Array(16),this.trans=new Array(288)},this.DATA=function(e){this.source="",this.sourceIndex=0,this.tag=0,this.bitcount=0,this.dest=[],this.history=[],this.ltree=new e.TREE,this.dtree=new e.TREE},this.sltree=new this.TREE,this.sdtree=new this.TREE,this.length_bits=new Array(30),this.length_base=new Array(30),this.dist_bits=new Array(30),this.dist_base=new Array(30),this.clcidx=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],this.build_bits_base=function(e,t,n,r){var o,a;for(o=0;o<n;++o)e[o]=0;for(o=0;o<30-n;++o)e[o+n]=Math.floor(o/n);for(a=r,o=0;o<30;++o)t[o]=a,a+=1<<e[o]},this.build_fixed_trees=function(e,t){var n;for(n=0;n<7;++n)e.table[n]=0;for(e.table[7]=24,e.table[8]=152,e.table[9]=112,n=0;n<24;++n)e.trans[n]=256+n;for(n=0;n<144;++n)e.trans[24+n]=n;for(n=0;n<8;++n)e.trans[168+n]=280+n;for(n=0;n<112;++n)e.trans[176+n]=144+n;for(n=0;n<5;++n)t.table[n]=0;for(t.table[5]=32,n=0;n<32;++n)t.trans[n]=n},this.build_tree=function(e,t,n,r){var o,a,i=new Array(16);for(o=0;o<16;++o)e.table[o]=0;for(o=0;o<r;++o)e.table[t[n+o]]++;for(e.table[0]=0,a=0,o=0;o<16;++o)i[o]=a,a+=e.table[o];for(o=0;o<r;++o)t[n+o]&&(e.trans[i[t[n+o]]++]=o)},this.getbit=function(e){var t;return e.bitcount--||(e.tag=255&e.source[e.sourceIndex++],e.bitcount=7),t=1&e.tag,e.tag>>=1,t},this.read_bits=function(e,t,n){if(!t)return n;var r=o(e.source,e.bitcount,e.tag,e.sourceIndex,t);return e.bitcount=r[0],e.tag=r[1],e.sourceIndex=r[2],r[3]+n},this.decode_symbol=function(e,t){for(;e.bitcount<16;)e.tag=e.tag|(255&e.source[e.sourceIndex++])<<e.bitcount,e.bitcount+=8;var n=0,r=0,o=0;do r=2*r+((e.tag&1<<o)>>o),++o,n+=t.table[o],r-=t.table[o];while(r>=0);return e.tag>>=o,e.bitcount-=o,t.trans[n+r]},this.decode_trees=function(e,t,n){var r,o,a,i,s,l,u=new this.TREE,c=new Array(320);for(r=this.read_bits(e,5,257),o=this.read_bits(e,5,1),a=this.read_bits(e,4,4),i=0;i<19;++i)c[i]=0;for(i=0;i<a;++i){var d=this.read_bits(e,3,0);c[this.clcidx[i]]=d}for(this.build_tree(u,c,0,19),s=0;s<r+o;){var f=this.decode_symbol(e,u);switch(f){case 16:var p=c[s-1];for(l=this.read_bits(e,2,3);l;--l)c[s++]=p;break;case 17:for(l=this.read_bits(e,3,3);l;--l)c[s++]=0;break;case 18:for(l=this.read_bits(e,7,11);l;--l)c[s++]=0;break;default:c[s++]=f}}this.build_tree(t,c,0,r),this.build_tree(n,c,r,o)},this.inflate_block_data=function(e,t,n){for(var r=e.dest,o=r.length;;){var a=this.decode_symbol(e,t);if(256===a)return this.OK;if(a<256)r[o++]=a,e.history.push(a);else{var i,s,l,u;if(a-=257,i=this.read_bits(e,this.length_bits[a],this.length_base[a]),s=this.decode_symbol(e,n),l=e.history.length-this.read_bits(e,this.dist_bits[s],this.dist_base[s]),l<0)throw new Error("Invalid zlib offset "+l);for(u=l;u<l+i;++u)r[o++]=e.history[u],e.history.push(e.history[u])}}},this.inflate_uncompressed_block=function(e){var t,n,r;if(e.bitcount>7){var o=Math.floor(e.bitcount/8);e.sourceIndex-=o,e.bitcount=0,e.tag=0}if(t=e.source[e.sourceIndex+1],t=256*t+e.source[e.sourceIndex],n=e.source[e.sourceIndex+3],n=256*n+e.source[e.sourceIndex+2],t!==(65535&~n))return this.DATA_ERROR;for(e.sourceIndex+=4,r=t;r;--r)e.history.push(e.source[e.sourceIndex]),e.dest[e.dest.length]=e.source[e.sourceIndex++];return e.bitcount=0,this.OK},this.inflate_fixed_block=function(e){return this.inflate_block_data(e,this.sltree,this.sdtree)},this.inflate_dynamic_block=function(e){return this.decode_trees(e,e.ltree,e.dtree),this.inflate_block_data(e,e.ltree,e.dtree)},this.init=function(){this.build_fixed_trees(this.sltree,this.sdtree),this.build_bits_base(this.length_bits,this.length_base,4,3),this.build_bits_base(this.dist_bits,this.dist_base,2,1),this.length_bits[28]=0,this.length_base[28]=258,this.reset()},this.reset=function(){this.d=new this.DATA(this),delete this.header},this.uncompress=function(e,t){var n,r=this.d;r.source=e,r.sourceIndex=t,r.bitcount=0,r.dest=[],"undefined"==typeof this.header&&(this.header=this.read_bits(r,16,0));var o=0;do{var a,i;switch(n=this.getbit(r),a=this.read_bits(r,2,0)){case 0:i=this.inflate_uncompressed_block(r);break;case 1:i=this.inflate_fixed_block(r);break;case 2:i=this.inflate_dynamic_block(r);break;default:return{status:this.DATA_ERROR}}if(i!==this.OK)return{status:this.DATA_ERROR};o++}while(!n&&r.sourceIndex<r.source.length);return r.history=r.history.slice(-this.WINDOW_SIZE),{status:this.OK,data:r.dest}}}function o(e,t,n,r,o){for(var a=0;t<24;)n|=(255&e[r++])<<t,t+=8;return a=n&65535>>16-o,n>>=o,t-=o,[t,n,r,a]}t.exports=r},{}],821:[function(e,t,n){(function(n){function r(e,t,n,r){function o(e){return e?function(n,r){"undefined"!=typeof r?this["_"+t][r]=e(n):this["_"+t]=e(n)}:function(e,n){"undefined"!=typeof n?this["_"+t][n]=e:this["_"+t]=e}}var a;a="arr"===r?function(e){return"undefined"!=typeof e?this["_"+t][e]:this["_"+t]}:function(){return this["_"+t]};var i;if("bool"===r)i=o(function(e){return!(!e||e in{0:1,no:1,false:1})});else if("int"===r)i=o(function(e){return parseInt(e,10)});else if("float"===r)i=o(parseFloat);else if("str"===r)i=o(String);else if("func"===r)i=o(function(e){return e?e:function(){}});else{if("arr"!==r&&"dom"!==r&&"raw"!==r)throw new Error("unknown property type "+r);i=o()}"undefined"==typeof e["get_"+t]&&(e["get_"+t]=a),"undefined"==typeof e["set_"+t]&&("rw"===n?e["set_"+t]=i:"wo"===n&&(e["set_"+t]=function(e,n){if("undefined"!=typeof this["_"+t])throw new Error(t+" can only be set once");i.call(this,e,n)})),e["_raw_set_"+t]=function(e,t){i.call(this,e,t)}}var o=e("debug")("noVNC:Util"),a=e("debug")("noVNC:ERROR:Util");a.log=console.warn.bind(console);var i=null,s=t.exports={push8:function(e,t){e.push(255&t)},push16:function(e,t){e.push(t>>8&255,255&t)},push32:function(e,t){e.push(t>>24&255,t>>16&255,t>>8&255,255&t)},requestAnimationFrame:function(){return n.requestAnimationFrame?n.requestAnimationFrame.bind(n):n.webkitRequestAnimationFrame?n.webkitRequestAnimationFrame.bind(n):n.mozRequestAnimationFrame?n.mozRequestAnimationFrame.bind(n):n.oRequestAnimationFrame?n.oRequestAnimationFrame.bind(n):n.msRequestAnimationFrame?n.msRequestAnimationFrame.bind(n):function(e){setTimeout(e,1e3/60)}}(),make_properties:function(e,t){for(var n=0;n<t.length;n++)r(e.prototype,t[n][0],t[n][1],t[n][2])},set_defaults:function(e,t,n){var r,o=Object.keys(n),i=Object.keys(t),s={};for(r=0;r<o.length;r++)s[o[r]]=1;for(r=0;r<i.length;r++)s[i[r]]=1;var l=Object.keys(s);for(r=0;r<l.length;r++){var u=e["_raw_set_"+l[r]];u?l[r]in t?u.call(e,t[l[r]]):u.call(e,n[l[r]]):a("invalid property: %s",l[r])}},decodeUTF8:function(e){return decodeURIComponent(escape(e))},getPosition:function(e){var t=e.getBoundingClientRect();return{x:t.left+window.pageXOffset,y:t.top+window.pageYOffset,width:t.width,height:t.height}},getEventPosition:function(e,t,r,o){var a,i,l,u;"undefined"==typeof o&&(o=1),a=e?e:n.event,a=a.changedTouches?a.changedTouches[0]:a.touches?a.touches[0]:a,a.pageX||a.pageY?(i=a.pageX,l=a.pageY,i=a.pageX/o,l=a.pageY/o):(a.clientX||a.clientY)&&(i=a.clientX+document.body.scrollLeft+document.documentElement.scrollLeft,l=a.clientY+document.body.scrollTop+document.documentElement.scrollTop),u=s.getPosition(t),"undefined"==typeof r&&(r=1);var c=i-u.x,d=l-u.y,f=Math.max(Math.min(c,u.width-1),0),p=Math.max(Math.min(d,u.height-1),0);return{x:f/r,y:p/r,realx:c/r,realy:d/r}},addEvent:function(e,t,n){if(e.attachEvent){var r=e.attachEvent("on"+t,n);return r}if(e.addEventListener)return e.addEventListener(t,n,!1),!0;throw new Error("handler could not be attached")},removeEvent:function(e,t,n){if(e.detachEvent){var r=e.detachEvent("on"+t,n);return r}if(e.removeEventListener)return e.removeEventListener(t,n,!1),!0;throw new Error("handler could not be removed")},stopEvent:function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,e.preventDefault?e.preventDefault():e.returnValue=!1},browserSupportsCursorURIs:function(){if(null===i)try{var e=document.createElement("canvas");e.style.cursor='url("data:image/x-icon;base64,AAACAAEACAgAAAIAAgA4AQAAFgAAACgAAAAIAAAAEAAAAAEAIAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAD/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAAAAAAAAAAAAAAAAAAAA==") 2 2, default',e.style.cursor?(o("data URI scheme cursor supported"),i=!0):(a("data URI scheme cursor not supported"),i=!1)}catch(e){a("data URI scheme cursor test exception: "+e),i=!1}return i}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{debug:220}],822:[function(e,t,n){(function(n){function r(){this._websocket=null,this._rQ=[],this._rQi=0,this._rQmax=1e4,this._sQ=[],this._mode="base64",this.maxBufferedAmount=200,this._eventHandlers={message:function(){},open:function(){},close:function(){},error:function(){}}}var o=e("debug")("noVNC:Websock"),a=e("debug")("noVNC:ERROR:Websock");a.log=console.warn.bind(console);var i=e("bowser").browser,s=e("./base64");t.exports=r,r.prototype={get_sQ:function(){return this._sQ},get_rQ:function(){return this._rQ},get_rQi:function(){return this._rQi},set_rQi:function(e){this._rQi=e},rQlen:function(){return this._rQ.length-this._rQi},rQpeek8:function(){return this._rQ[this._rQi]},rQshift8:function(){return this._rQ[this._rQi++]},rQskip8:function(){this._rQi++},rQskipBytes:function(e){this._rQi+=e},rQunshift8:function(e){0===this._rQi?this._rQ.unshift(e):(this._rQi--,this._rQ[this._rQi]=e)},rQshift16:function(){return(this._rQ[this._rQi++]<<8)+this._rQ[this._rQi++]},rQshift32:function(){return(this._rQ[this._rQi++]<<24)+(this._rQ[this._rQi++]<<16)+(this._rQ[this._rQi++]<<8)+this._rQ[this._rQi++]},rQshiftStr:function(e){"undefined"==typeof e&&(e=this.rQlen());var t=this._rQ.slice(this._rQi,this._rQi+e);return this._rQi+=e,String.fromCharCode.apply(null,t)},rQshiftBytes:function(e){return"undefined"==typeof e&&(e=this.rQlen()),this._rQi+=e,this._rQ.slice(this._rQi-e,this._rQi)},rQslice:function(e,t){return t?this._rQ.slice(this._rQi+e,this._rQi+t):this._rQ.slice(this._rQi+e)},rQwait:function(e,t,n){var r=this._rQ.length-this._rQi;if(r<t){if(n){if(this._rQi<n)throw new Error("rQwait cannot backup "+n+" bytes");this._rQi-=n}return!0}return!1},flush:function(){return 0!==this._websocket.bufferedAmount&&o("flush() | bufferedAmount: %d",this._websocket.bufferedAmount),this._websocket.bufferedAmount<this.maxBufferedAmount?(this._sQ.length>0&&(this._websocket.send(this._encode_message()),this._sQ=[]),!0):(o("flush() | delaying send"),!1)},send:function(e){return this._sQ=this._sQ.concat(e),this.flush()},send_string:function(e){this.send(e.split("").map(function(e){return e.charCodeAt(0)}))},on:function(e,t){this._eventHandlers[e]=t},off:function(e){this._eventHandlers[e]=function(){}},init:function(e){this._rQ=[],this._rQi=0,this._sQ=[],this._websocket=null;var t=!1;"Uint8Array"in n&&"set"in Uint8Array.prototype&&(t=!0);var r=!1;if(n.WebSocket&&(i.safari&&Number(i.version)>0&&Number(i.version)<7?o("init() | Safari %d does not support binary WebSocket",Number(i.version)):r=!0),"undefined"==typeof e&&(e=r?["binary","base64"]:"base64"),!r){if("binary"===e)throw new Error("WebSocket binary sub-protocol requested but not supported");if("object"==typeof e){for(var s=[],l=0;l<e.length;l++)"binary"===e[l]?a("init() | skipping unsupported WebSocket binary sub-protocol"):s.push(e[l]);if(!(s.length>0))throw new Error("only WebSocket binary sub-protocol was requested and is not supported");e=s}}return e},open:function(e,t){var r=this;t=this.init(t),n.NativeWebSocket?(o("open() | using NativeWebSocket"),this._websocket=new n.NativeWebSocket(e,t)):(o("open() | not using NativeWebSocket"),this._websocket=new WebSocket(e,t)),t.indexOf("binary")>=0&&(this._websocket.binaryType="arraybuffer"),this._websocket.onmessage=function(e){r._recv_message(e)},this._websocket.onopen=function(){r._websocket.protocol?(o('onopen: server choose "%s" sub-protocol',r._websocket.protocol),r._mode=r._websocket.protocol,r._eventHandlers.open()):(a('onopen: server choose no sub-protocol, using "base64"'),r._mode="base64",r._eventHandlers.open())},this._websocket.onclose=function(e){o("onclose: %o",e),r._eventHandlers.close(e)},this._websocket.onerror=function(e){a("onerror: %o",e),r._eventHandlers.error(e)}},close:function(){this._websocket&&(this._websocket.readyState!==this._websocket.OPEN&&this._websocket.readyState!==this._websocket.CONNECTING||(o("close()"),this._websocket.close()),this._websocket.onmessage=function(){})},_encode_message:function(){return"binary"===this._mode?new Uint8Array(this._sQ).buffer:s.encode(this._sQ)},_decode_message:function(e){if("binary"===this._mode)for(var t=new Uint8Array(e),n=0;n<t.length;n++)this._rQ.push(t[n]);else this._rQ=this._rQ.concat(s.decode(e,0))},_recv_message:function(e){try{this._decode_message(e.data),this.rQlen()>0?(this._eventHandlers.message(),this._rQ.length>this._rQmax&&(this._rQ=this._rQ.slice(this._rQi),this._rQi=0)):o("_recv_message() | ignoring empty message")}catch(e){a("_recv_message() | error: %o",e),"undefined"!=typeof e.name?this._eventHandlers.error(e.name+": "+e.message):this._eventHandlers.error(e)}}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./base64":813,bowser:150,debug:220}],823:[function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function o(){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;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}var a=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;t.exports=o()?Object.assign:function(e,t){for(var n,o,s=r(e),l=1;l<arguments.length;l++){n=Object(arguments[l]);for(var u in n)a.call(n,u)&&(s[u]=n[u]);if(Object.getOwnPropertySymbols){o=Object.getOwnPropertySymbols(n);for(var c=0;c<o.length;c++)i.call(n,o[c])&&(s[o[c]]=n[o[c]])}}return s}},{}],824:[function(e,t,n){"use strict";t.exports="function"==typeof Promise?Promise:e("pinkie")},{pinkie:825}],825:[function(e,t,n){(function(e){"use strict";function n(){for(var e=0;e<S.length;e++)S[e][0](S[e][1]);S=[],m=!1}function r(e,t){S.push([e,t]),m||(m=!0,w(n,0))}function o(e,t){function n(e){s(t,e)}function r(e){u(t,e)}try{e(n,r)}catch(e){r(e)}}function a(e){var t=e.owner,n=t._state,r=t._data,o=e[n],a=e.then;if("function"==typeof o){n=g;try{r=o(r)}catch(e){u(a,e)}}i(a,r)||(n===g&&s(a,r),n===y&&u(a,r))}function i(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"==typeof t)){var r=t.then;if("function"==typeof r)return r.call(t,function(r){n||(n=!0,t===r?l(e,r):s(e,r))},function(t){n||(n=!0,u(e,t))}),!0}}catch(t){return n||u(e,t),!0}return!1}function s(e,t){e!==t&&i(e,t)||l(e,t)}function l(e,t){e._state===v&&(e._state=b,e._data=t,r(d,e))}function u(e,t){e._state===v&&(e._state=b,e._data=t,r(f,e))}function c(e){e._then=e._then.forEach(a)}function d(e){e._state=g,c(e)}function f(t){t._state=y,c(t),!t._handled&&M&&e.process.emit("unhandledRejection",t._data,t)}function p(t){e.process.emit("rejectionHandled",t)}function h(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof h==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],o(e,this)}var m,v="pending",b="settled",g="fulfilled",y="rejected",_=function(){},M="undefined"!=typeof e&&"undefined"!=typeof e.process&&"function"==typeof e.process.emit,w="undefined"==typeof setImmediate?setTimeout:setImmediate,S=[];h.prototype={constructor:h,_state:v,_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(_),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,this._state===y&&M&&r(p,this)),this._state===g||this._state===y?r(a,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},h.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new h(function(t,n){function r(e){return i++,function(n){a[e]=n,--i||t(a)}}for(var o,a=[],i=0,s=0;s<e.length;s++)o=e[s],o&&"function"==typeof o.then?o.then(r(s),n):a[s]=o;i||t(a)})},h.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new h(function(t,n){for(var r,o=0;o<e.length;o++)r=e[o],r&&"function"==typeof r.then?r.then(t,n):t(r)})},h.resolve=function(e){return e&&"object"==typeof e&&e.constructor===h?e:new h(function(t){t(e)})},h.reject=function(e){return new h(function(t,n){n(e)})},t.exports=h}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],826:[function(e,t,n){(function(e){(function(){"use strict";function r(e){return e=String(e),e.charAt(0).toUpperCase()+e.slice(1)}function o(e,t,n){var r={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};return t&&n&&/^Win/i.test(e)&&!/^Windows Phone /i.test(e)&&(r=r[/[\d.]+$/.exec(e)])&&(e="Windows "+r),e=String(e),t&&n&&(e=e.replace(RegExp(t,"i"),n)),e=i(e.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0])}function a(e,t){var n=-1,r=e?e.length:0;if("number"==typeof r&&r>-1&&r<=_)for(;++n<r;)t(e[n],n,e);else s(e,t)}function i(e){return e=f(e),/^(?:webOS|i(?:OS|P))/.test(e)?e:r(e)}function s(e,t){for(var n in e)C.call(e,n)&&t(e[n],n,e)}function l(e){return null==e?r(e):x.call(e).slice(8,-1)}function u(e,t){var n=null!=e?typeof e[t]:"number";return!(/^(?:boolean|number|string|undefined)$/.test(n)||"object"==n&&!e[t])}function c(e){return String(e).replace(/([ -])(?!$)/g,"$1?")}function d(e,t){var n=null;return a(e,function(r,o){n=t(n,r,o,e)}),n}function f(e){return String(e).replace(/^ +| +$/g,"")}function p(e){function t(t){return d(t,function(t,n){return t||RegExp("\\b"+(n.pattern||c(n))+"\\b","i").exec(e)&&(n.label||n)})}function n(t){return d(t,function(t,n,r){return t||(n[Y]||n[/^[a-z]+(?: +[a-z]+\b)*/i.exec(Y)]||RegExp("\\b"+c(r)+"(?:\\b|\\w*\\d)","i").exec(e))&&r})}function r(t){return d(t,function(t,n){return t||RegExp("\\b"+(n.pattern||c(n))+"\\b","i").exec(e)&&(n.label||n)})}function a(t){return d(t,function(t,n){var r=n.pattern||c(n);return!t&&(t=RegExp("\\b"+r+"(?:/[\\d.]+|[ \\w.]*)","i").exec(e))&&(t=o(t,r,n.label||n)),t})}function h(t){return d(t,function(t,n){var r=n.pattern||c(n);return!t&&(t=RegExp("\\b"+r+" *\\d+[.\\w_]*","i").exec(e)||RegExp("\\b"+r+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(e))&&((t=String(n.label&&!RegExp(r,"i").test(n.label)?n.label:t).split("/"))[1]&&!/[\d.]+/.test(t[0])&&(t[0]+=" "+t[1]),n=n.label||n,t=i(t[0].replace(RegExp(r,"i"),n).replace(RegExp("; *(?:"+n+"[_-])?","i")," ").replace(RegExp("("+n+")[-_.]?(\\w)","i"),"$1 $2"))),t})}function b(t){return d(t,function(t,n){return t||(RegExp(n+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(e)||0)[1]||null})}function g(){return this.description||""}var y=m,_=e&&"object"==typeof e&&"String"!=l(e);_&&(y=e,e=null);var S=y.navigator||{},C=S.userAgent||"";e||(e=C);var k,T,A=_||w==v,P=_?!!S.likeChrome:/\bChrome\b/.test(e)&&!/internal|\n/i.test(x.toString()),N="Object",O=_?N:"ScriptBridgingProxyObject",E=_?N:"Environment",z=_&&y.java?"JavaPackage":l(y.java),R=_?N:"RuntimeObject",j=/\bJava/.test(z)&&y.java,L=j&&l(y.environment)==E,D=j?"a":"α",I=j?"b":"β",B=y.document||{},V=y.operamini||y.opera,q=M.test(q=_&&V?V["[[Class]]"]:l(V))?q:V=null,F=e,U=[],W=null,H=e==C,X=H&&V&&"function"==typeof V.version&&V.version(),K=t([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),G=r(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"Edge"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt","SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","WebPositive","Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chrome",{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]),Y=h([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation 3","PlayStation 4","PlayStation Vita","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]),$=n({Apple:{iPad:1,iPhone:1,iPod:1},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{"PlayStation 4":1,"PlayStation 3":1,"PlayStation Vita":1}}),Q=a(["Windows Phone","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian","Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);if(K&&(K=[K]),$&&!Y&&(Y=h([$])),(k=/\bGoogle TV\b/.exec(Y))&&(Y=k[0]),/\bSimulator\b/i.test(e)&&(Y=(Y?Y+" ":"")+"Simulator"),"Opera Mini"==G&&/\bOPiOS\b/.test(e)&&U.push("running in Turbo/Uncompressed mode"),"IE"==G&&/\blike iPhone OS\b/.test(e)?(k=p(e.replace(/like iPhone OS/,"")),$=k.manufacturer,Y=k.product):/^iP/.test(Y)?(G||(G="Safari"),Q="iOS"+((k=/ OS ([\d_]+)/i.exec(e))?" "+k[1].replace(/_/g,"."):"")):"Konqueror"!=G||/buntu/i.test(Q)?$&&"Google"!=$&&(/Chrome/.test(G)&&!/\bMobile Safari\b/i.test(e)||/\bVita\b/.test(Y))||/\bAndroid\b/.test(Q)&&/^Chrome/.test(G)&&/\bVersion\//i.test(e)?(G="Android Browser",Q=/\bAndroid\b/.test(Q)?Q:"Android"):"Silk"==G?(/\bMobi/i.test(e)||(Q="Android",U.unshift("desktop mode")),/Accelerated *= *true/i.test(e)&&U.unshift("accelerated")):"PaleMoon"==G&&(k=/\bFirefox\/([\d.]+)\b/.exec(e))?U.push("identifying as Firefox "+k[1]):"Firefox"==G&&(k=/\b(Mobile|Tablet|TV)\b/i.exec(e))?(Q||(Q="Firefox OS"),Y||(Y=k[1])):G&&!(k=!/\bMinefield\b/i.test(e)&&/\b(?:Firefox|Safari)\b/.exec(G))||(G&&!Y&&/[\/,]|^[^(]+?\)/.test(e.slice(e.indexOf(k+"/")+8))&&(G=null),(k=Y||$||Q)&&(Y||$||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(Q))&&(G=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(Q)?Q:k)+" Browser")):Q="Kubuntu",X||(X=b(["(?:Cloud9|CriOS|CrMo|Edge|FxiOS|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|Silk(?!/[\\d.]+$))","Version",c(G),"(?:Firefox|Minefield|NetFront)"])),(k="iCab"==K&&parseFloat(X)>3&&"WebKit"||/\bOpera\b/.test(G)&&(/\bOPR\b/.test(e)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(e)&&!/^(?:Trident|EdgeHTML)$/.test(K)&&"WebKit"||!K&&/\bMSIE\b/i.test(e)&&("Mac OS"==Q?"Tasman":"Trident")||"WebKit"==K&&/\bPlayStation\b(?! Vita\b)/i.test(G)&&"NetFront")&&(K=[k]),"IE"==G&&(k=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(e)||0)[1])?(G+=" Mobile",Q="Windows Phone "+(/\+$/.test(k)?k:k+".x"),U.unshift("desktop mode")):/\bWPDesktop\b/i.test(e)?(G="IE Mobile",Q="Windows Phone 8.x",U.unshift("desktop mode"),X||(X=(/\brv:([\d.]+)/.exec(e)||0)[1])):"IE"!=G&&"Trident"==K&&(k=/\brv:([\d.]+)/.exec(e))&&(G&&U.push("identifying as "+G+(X?" "+X:"")),G="IE",X=k[1]),H){if(u(y,"global"))if(j&&(k=j.lang.System,F=k.getProperty("os.arch"),Q=Q||k.getProperty("os.name")+" "+k.getProperty("os.version")),A&&u(y,"system")&&(k=[y.system])[0]){Q||(Q=k[0].os||null);try{k[1]=y.require("ringo/engine").version,X=k[1].join("."),G="RingoJS"}catch(e){k[0].global.system==y.system&&(G="Narwhal")}}else"object"==typeof y.process&&!y.process.browser&&(k=y.process)?(G="Node.js",F=k.arch,Q=k.platform,X=/[\d.]+/.exec(k.version)[0]):L&&(G="Rhino");else l(k=y.runtime)==O?(G="Adobe AIR",Q=k.flash.system.Capabilities.os):l(k=y.phantom)==R?(G="PhantomJS",X=(k=k.version||null)&&k.major+"."+k.minor+"."+k.patch):"number"==typeof B.documentMode&&(k=/\bTrident\/(\d+)/i.exec(e))&&(X=[X,B.documentMode],(k=+k[1]+4)!=X[1]&&(U.push("IE "+X[1]+" mode"),K&&(K[1]=""),X[1]=k),X="IE"==G?String(X[1].toFixed(1)):X[0]);Q=Q&&i(Q)}X&&(k=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(X)||/(?:alpha|beta)(?: ?\d)?/i.exec(e+";"+(H&&S.appMinorVersion))||/\bMinefield\b/i.test(e)&&"a")&&(W=/b/i.test(k)?"beta":"alpha",X=X.replace(RegExp(k+"\\+?$"),"")+("beta"==W?I:D)+(/\d+\+?/.exec(k)||"")),"Fennec"==G||"Firefox"==G&&/\b(?:Android|Firefox OS)\b/.test(Q)?G="Firefox Mobile":"Maxthon"==G&&X?X=X.replace(/\.[\d.]+/,".x"):/\bXbox\b/i.test(Y)?(Q=null,"Xbox 360"==Y&&/\bIEMobile\b/.test(e)&&U.unshift("mobile mode")):!/^(?:Chrome|IE|Opera)$/.test(G)&&(!G||Y||/Browser|Mobi/.test(G))||"Windows CE"!=Q&&!/Mobi/i.test(e)?"IE"==G&&H&&null===y.external?U.unshift("platform preview"):(/\bBlackBerry\b/.test(Y)||/\bBB10\b/.test(e))&&(k=(RegExp(Y.replace(/ +/g," *")+"/([.\\d]+)","i").exec(e)||0)[1]||X)?(k=[k,/BB10/.test(e)],Q=(k[1]?(Y=null,$="BlackBerry"):"Device Software")+" "+k[0],X=null):this!=s&&"Wii"!=Y&&(H&&V||/Opera/.test(G)&&/\b(?:MSIE|Firefox)\b/i.test(e)||"Firefox"==G&&/\bOS X (?:\d+\.){2,}/.test(Q)||"IE"==G&&(Q&&!/^Win/.test(Q)&&X>5.5||/\bWindows XP\b/.test(Q)&&X>8||8==X&&!/\bTrident\b/.test(e)))&&!M.test(k=p.call(s,e.replace(M,"")+";"))&&k.name&&(k="ing as "+k.name+((k=k.version)?" "+k:""),M.test(G)?(/\bIE\b/.test(k)&&"Mac OS"==Q&&(Q=null),k="identify"+k):(k="mask"+k,G=q?i(q.replace(/([a-z])([A-Z])/g,"$1 $2")):"Opera",/\bIE\b/.test(k)&&(Q=null),H||(X=null)),K=["Presto"],U.push(k)):G+=" Mobile",(k=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(e)||0)[1])&&(k=[parseFloat(k.replace(/\.(\d)$/,".0$1")),k],"Safari"==G&&"+"==k[1].slice(-1)?(G="WebKit Nightly",W="alpha",X=k[1].slice(0,-1)):X!=k[1]&&X!=(k[2]=(/\bSafari\/([\d.]+\+?)/i.exec(e)||0)[1])||(X=null),k[1]=(/\bChrome\/([\d.]+)/i.exec(e)||0)[1],537.36==k[0]&&537.36==k[2]&&parseFloat(k[1])>=28&&"WebKit"==K&&(K=["Blink"]),H&&(P||k[1])?(K&&(K[1]="like Chrome"),k=k[1]||(k=k[0],k<530?1:k<532?2:k<532.05?3:k<533?4:k<534.03?5:k<534.07?6:k<534.1?7:k<534.13?8:k<534.16?9:k<534.24?10:k<534.3?11:k<535.01?12:k<535.02?"13+":k<535.07?15:k<535.11?16:k<535.19?17:k<536.05?18:k<536.1?19:k<537.01?20:k<537.11?"21+":k<537.13?23:k<537.18?24:k<537.24?25:k<537.36?26:"Blink"!=K?"27":"28")):(K&&(K[1]="like Safari"),k=k[0],k=k<400?1:k<500?2:k<526?3:k<533?4:k<534?"4+":k<535?5:k<537?6:k<538?7:k<601?8:"8"),K&&(K[1]+=" "+(k+="number"==typeof k?".x":/[.+]/.test(k)?"":"+")),"Safari"==G&&(!X||parseInt(X)>45)&&(X=k)),"Opera"==G&&(k=/\bzbov|zvav$/.exec(Q))?(G+=" ",U.unshift("desktop mode"),"zvav"==k?(G+="Mini",X=null):G+="Mobile",Q=Q.replace(RegExp(" *"+k+"$"),"")):"Safari"==G&&/\bChrome\b/.exec(K&&K[1])&&(U.unshift("desktop mode"),G="Chrome Mobile",X=null,/\bOS X\b/.test(Q)?($="Apple",Q="iOS 4.3+"):Q=null),X&&0==X.indexOf(k=/[\d.]+$/.exec(Q))&&e.indexOf("/"+k+"-")>-1&&(Q=f(Q.replace(k,""))),K&&!/\b(?:Avant|Nook)\b/.test(G)&&(/Browser|Lunascape|Maxthon/.test(G)||"Safari"!=G&&/^iOS/.test(Q)&&/\bSafari\b/.test(K[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Sleipnir|Web)/.test(G)&&K[1])&&(k=K[K.length-1])&&U.push(k),U.length&&(U=["("+U.join("; ")+")"]),$&&Y&&Y.indexOf($)<0&&U.push("on "+$),Y&&U.push((/^on /.test(U[U.length-1])?"":"on ")+Y),Q&&(k=/ ([\d.+]+)$/.exec(Q),T=k&&"/"==Q.charAt(Q.length-k[0].length-1),Q={architecture:32,family:k&&!T?Q.replace(k[0],""):Q,version:k?k[1]:null,toString:function(){var e=this.version;return this.family+(e&&!T?" "+e:"")+(64==this.architecture?" 64-bit":"")}}),(k=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(F))&&!/\bi686\b/i.test(F)?(Q&&(Q.architecture=64,Q.family=Q.family.replace(RegExp(" *"+k),"")),G&&(/\bWOW64\b/i.test(e)||H&&/\w(?:86|32)$/.test(S.cpuClass||S.platform)&&!/\bWin64; x64\b/i.test(e))&&U.unshift("32-bit")):Q&&/^OS X/.test(Q.family)&&"Chrome"==G&&parseFloat(X)>=39&&(Q.architecture=64),e||(e=null);var J={};return J.description=e,J.layout=K&&K[0],J.manufacturer=$,J.name=G,J.prerelease=W,J.product=Y,J.ua=e,J.version=G&&X,J.os=Q||{architecture:null,family:null,version:null,toString:function(){return"null"}},J.parse=p,J.toString=g,J.version&&U.unshift(X),J.name&&U.unshift(G),Q&&G&&(Q!=String(Q).split(" ")[0]||Q!=G.split(" ")[0]&&!Y)&&U.push(Y?"("+Q+")":"on "+Q),U.length&&(J.description=U.join(" ")),J}var h={function:!0,object:!0},m=h[typeof window]&&window||this,v=m,b=h[typeof n]&&n,g=h[typeof t]&&t&&!t.nodeType&&t,y=b&&g&&"object"==typeof e&&e;!y||y.global!==y&&y.window!==y&&y.self!==y||(m=y);var _=Math.pow(2,53)-1,M=/\bOpera/,w=this,S=Object.prototype,C=S.hasOwnProperty,x=S.toString,k=p();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(m.platform=k,define(function(){return k})):b&&g?s(k,function(e,t){b[t]=e}):m.platform=k}).call(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],827:[function(e,t,n){(function(e){"use strict";function n(t,n,r,o){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var a,i,s=arguments.length;switch(s){case 0:case 1:return e.nextTick(t);case 2:return e.nextTick(function(){t.call(null,n)});case 3:return e.nextTick(function(){t.call(null,n,r)});case 4:return e.nextTick(function(){t.call(null,n,r,o)});default:for(a=new Array(s-1),i=0;i<a.length;)a[i++]=arguments[i];return e.nextTick(function(){t.apply(null,a)})}}!e.version||0===e.version.indexOf("v0.")||0===e.version.indexOf("v1.")&&0!==e.version.indexOf("v1.8.")?t.exports=n:t.exports=e.nextTick;
|
33 | }).call(this,e("_process"))},{_process:828}],828:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(e){if(d===setTimeout)return setTimeout(e,0);if((d===r||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(t){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===o||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function s(){v&&h&&(v=!1,h.length?m=h.concat(m):b=-1,m.length&&l())}function l(){if(!v){var e=a(s);v=!0;for(var t=m.length;t;){for(h=m,m=[];++b<t;)h&&h[b].run();b=-1,t=m.length}h=null,v=!1,i(e)}}function u(e,t){this.fun=e,this.array=t}function c(){}var d,f,p=t.exports={};!function(){try{d="function"==typeof setTimeout?setTimeout:r}catch(e){d=r}try{f="function"==typeof clearTimeout?clearTimeout:o}catch(e){f=o}}();var h,m=[],v=!1,b=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new u(e,t)),1!==m.length||v||a(l)},u.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},{}],829:[function(e,t,n){"use strict";function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(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)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return D(this).then(function(t){return B(t,e)})}function s(e){return e&&this.then(function(t){return e(null,t)},function(t){return e(t)}).then(null,T),this}function l(){var e=this,t=arguments.length-1,n=void 0;if(0>t||"function"!=typeof(n=arguments[t]))return this;var r=void 0;if(t){r=Array(t);for(var o=0;o<t;++o)r[o]=arguments[o]}return D(this).then(null,function(o){if(r){for(var a=0;a<t;++a)if(G(r[a],o))return n(o)}else if(H(o))return n(o);return e})}function u(e){var t=this;return j(this)?this.then(function(t){return new Promise(function(n){setTimeout(function(){return n(t)},e)})}):new Promise(function(n){setTimeout(function(){return n(t)},e)})}function c(){var e=arguments.length-1,t=arguments[e],n=void 0;if(0==e)return new Promise(function(e){return e(t())});if(1!=e){n=Array(e);for(var r=0;r<e;++r)n[r]=arguments[r]}else if(!C(n=arguments[0]))return D(n).then(function(e){return t(e)});return B(n).then(function(e){return t.apply(null,e)})}function d(e){var t=this;return D(this).then(function(){return D(e()).then(function(){return t})},function(){return D(e()).then(function(){return t})})}function f(){return D(this).then(te,ne)}function p(){return i.call(this,function(e){return f.call(e)})}function h(e){return D(this).then(function(t){return re(t,e)})}function m(e,t){var n=this,r=function(){return n};return D(this).then(e&&function(t){return D(e(t)).then(r)},t&&function(e){return D(t(e)).then(r)})}function v(e,t){var n=this;return new Promise(function(r,o){var a=setTimeout(function(){if(a=null,"function"==typeof n.cancel&&n.cancel(),t)try{r(t())}catch(e){o(e)}else o(new oe)},e);D(n).then(function(e){null!==a&&clearTimeout(a),r(e)},function(e){null!==a&&clearTimeout(a),o(e)})})}function b(){var e=this;return $(function(){var t=arguments.length-1,n=void 0;if(0>t||"function"!=typeof(n=arguments[t]))throw new Error("missing callback");for(var r=Array(t),o=0;o<t;++o)r[o]=arguments[o];I(e,r,this).then(function(e){return n(null,e)},function(e){return n(e)})},e.name,e.length+1)}Object.defineProperty(n,"__esModule",{value:!0}),n.TimeoutError=n.promisifyAll=n.promisify=n.finally=n.fromCallback=n.forOwn=n.forIterable=n.forIn=n.forEach=n.forArray=n.makeAsyncIterator=n.defer=n.cancelable=n.cancellable=n.CancelToken=n.Cancel=n.nodeify=n.isPromise=void 0;var g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n.all=i,n.asCallback=s,n.catchPlus=l,n.delay=u,n.join=c,n.lastly=d,n.reflect=f,n.settle=p,n.some=h,n.tap=m,n.timeout=v,n.unpromisify=b;var _=e("make-error");if("function"!=typeof Promise||"function"!=typeof Promise.reject||"function"!=typeof Promise.resolve)throw new Error("a standard Promise implementation is required (https://github.com/JsCommunity/promise-toolbox#usage)");var M=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:e.length;return n-=t.length,0<=n&&e.indexOf(t,n)===n},w=Array.isArray||function(e){return e instanceof Array},S=function(e){return"number"==typeof e&&0<=e&&e<1/0&&Math.floor(e)===e},C=function(e){return e&&"function"!=typeof e&&S(e.length)},x="function"==typeof Symbol&&Symbol.iterator||"@@iterator",k=function(e){return e&&"function"==typeof e[x]},T=function(){},A=function(e,t){for(var n=e.length,r=0;r<n;++r)t(e[r],r,e)},P=function(e,t){for(var n in e)t(e[n],n,e)},N=function(e,t){for(var n=e[Symbol.iterator](),r=void 0;!(r=n.next()).done;)t(r.value,null,e)},O=Object.prototype.hasOwnProperty,E=function(e,t){for(var n in e)O.call(e,n)&&t(e[n],n,e)},z=function(e,t){return w(e)?A(e,t):k(e)?N(e,t):C(e)?A(e,t):E(e,t)},R=function(e,t){var n=C(e)?Array(e.length):{};return t&&z(e,function(r,o){n[o]=t(r,o,e)}),n},j=n.isPromise=function(e){return null!=e&&"function"==typeof e.then},L=function(e){return function(t,n){var r=Promise.resolve();return e(t,function(e,o){r=j(e)?r.then(function(){return e.then(function(e){return n(e,o,t)})}):r.then(function(){return n(e,o,t)})}),r}},D=function(e){return j(e)?e:Promise.resolve(e)},I=function(e,t,n){try{return D(e.apply(n,t))}catch(e){return Promise.reject(e)}},B=function(e,t){return new Promise(function(n,r){var o=R(e,t),a=1,i=function(){if(0==--a){var e=o;o=null,n(e)}},s=function(e,t){o&&(o[t]=e,i())},l=function(e){o&&(o=null,r(e))};z(t?o:e,function(e,t){++a,j(e)?e.then(function(e){return s(e,t)},l):s(e,t)}),i()})};n.nodeify=s;var V=n.Cancel=function(){function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"this action has been canceled";a(this,e),Object.defineProperty(this,"message",{enumerable:!0,value:t})}return y(e,[{key:"toString",value:function(){return"Cancel: "+this._message}}]),e}(),q="CancelToken",F="function"==typeof Symbol&&Symbol.toStringTag||"@@toStringTag",U=n.CancelToken=function(){function e(t){var n=this;a(this,e),this._cancel=null,this._promise=null,this._resolve=null;var r=function(e){r=T;var t=n._cancel=new V(e),o=n._resolve;o&&(o(t),n._resolve=null)};t(function(e){return r(e)})}return y(e,null,[{key:"isCancelToken",value:function(e){return null!=e&&"function"==typeof e[F]&&e[F]()===q}},{key:"source",value:function(){var t=void 0,n=new e(function(e){t=e});return{cancel:t,token:n}}}]),y(e,[{key:"throwIfRequested",value:function(){var e=this._cancel;if(e)throw e}},{key:F,value:function(){return q}},{key:"promise",get:function(){var e=this,t=this._promise;if(!t){var n=this._cancel;t=n?this._promise=Promise.resolve(n):this._promise=new Promise(function(t){e._resolve=t})}return t}},{key:"requested",get:function(){return!!this._cancel}}]),e}(),W=n.cancellable=function(e,t,n){function r(){var e=arguments.length;if(e&&arguments[0]instanceof U)return o.apply(this,a);var t=U.source(),n=t.cancel,r=t.token,a=Array(e+1);a[0]=r;for(var i=0;i<e;++i)a[i+1]=arguments[i];var s=o.apply(this,a);return s.cancel=n,s}var o=n?n.value:e;return n?(n.value=r,n):r};n.cancelable=W;var H=function(e){return!(e instanceof ReferenceError||e instanceof SyntaxError||e instanceof TypeError)},X={error:null},K=function(e){try{return e()}catch(e){return X.error=e,X}},G=function(e,t){return"function"==typeof e?e.prototype instanceof Error?t instanceof e:e(t):"object"==("undefined"==typeof e?"undefined":g(e))?null!=t&&K(function(){return E(e,function(e,n){if(t[n]!==e)throw null})})!==X:void 0},Y=(n.defer=function(){var e=void 0,t=void 0,n=new Promise(function(n,r){e=n,t=r});return{promise:n,reject:t,resolve:e}},n.makeAsyncIterator=function(e){var t=L(e);return function(e){return D(this).then(function(n){return t(n,e)}).then(T)}});n.forArray=Y(A),n.forEach=Y(z),n.forIn=Y(P),n.forIterable=Y(N),n.forOwn=Y(E),n.fromCallback=function(e){return new Promise(function(t,n){e(function(e,r){return e?n(e):t(r)})})};n.finally=d;var $=function(){var e=Object.defineProperties;try{var t=e(function(){},{length:{value:2},name:{value:"foo"}});if(2===t.length&&"foo"===t.name)return function(t,n,r){return e(t,{length:{configurable:!0,value:r},name:{configurable:!0,value:n}})}}catch(e){}return function(e){return e}}(),Q=n.promisify=function(e,t){return $(function(){for(var n=this,r=arguments.length,o=Array(r+1),a=0;a<r;++a)o[a]=arguments[a];return new Promise(function(a,i){o[r]=function(e,t){return e?i(e):a(t)},e.apply(t||n,o)})},e.name,e.length&&e.length-1)},J=function(e){return!(M(e,"Sync")||M(e,"Async"))&&e},Z=(n.promisifyAll=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=t.mapper,r=void 0===n?J:n,o=t.target,a=void 0===o?{}:o,i=t.context,s=void 0===i?e:i;return P(e,function(t,n){var o=void 0;"function"==typeof t&&(o=r(n,t,e))&&(a[o]=Q(t,s))}),a},function(){return!1}),ee=function(){return!0},te=function(e){return function(t){return{__proto__:e,value:function(){return t}}}}({isFulfilled:ee,isPending:Z,isRejected:Z,isResolved:ee,reason:function(){throw new Error("no reason, the promise has resolved")}}),ne=function(e){return function(t){return{__proto__:e,reason:function(){return t}}}}({isFulfilled:Z,isPending:Z,isRejected:ee,isResolved:Z,value:function(){throw new Error("no value, the promise has rejected")}}),re=function(e,t){return new Promise(function(n,r){var o=[],a=[],i=function(e){o&&(o.push(e),0==--t&&(n(o),o=a=null))},s=-t,l=function(e){o&&(a.push(e),0==--s&&(r(a),o=a=null))};z(e,function(e){++s,D(e).then(i,l)})})},oe=n.TimeoutError=function(e){function t(){return a(this,t),r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,"operation timed out"))}return o(t,e),t}(_.BaseError)},{"make-error":798}],830:[function(e,t,n){(function(e){!function(r){function o(e){throw new RangeError(z[e])}function a(e,t){for(var n=e.length,r=[];n--;)r[n]=t(e[n]);return r}function i(e,t){var n=e.split("@"),r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(E,".");var o=e.split("."),i=a(o,t).join(".");return r+i}function s(e){for(var t,n,r=[],o=0,a=e.length;o<a;)t=e.charCodeAt(o++),t>=55296&&t<=56319&&o<a?(n=e.charCodeAt(o++),56320==(64512&n)?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--)):r.push(t);return r}function l(e){return a(e,function(e){var t="";return e>65535&&(e-=65536,t+=L(e>>>10&1023|55296),e=56320|1023&e),t+=L(e)}).join("")}function u(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function c(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?j(e/k):e>>1,e+=j(e/t);e>R*C>>1;r+=w)e=j(e/R);return j(r+(R+1)*e/(e+x))}function f(e){var t,n,r,a,i,s,c,f,p,h,m=[],v=e.length,b=0,g=A,y=T;for(n=e.lastIndexOf(P),n<0&&(n=0),r=0;r<n;++r)e.charCodeAt(r)>=128&&o("not-basic"),m.push(e.charCodeAt(r));for(a=n>0?n+1:0;a<v;){for(i=b,s=1,c=w;a>=v&&o("invalid-input"),f=u(e.charCodeAt(a++)),(f>=w||f>j((M-b)/s))&&o("overflow"),b+=f*s,p=c<=y?S:c>=y+C?C:c-y,!(f<p);c+=w)h=w-p,s>j(M/h)&&o("overflow"),s*=h;t=m.length+1,y=d(b-i,t,0==i),j(b/t)>M-g&&o("overflow"),g+=j(b/t),b%=t,m.splice(b++,0,g)}return l(m)}function p(e){var t,n,r,a,i,l,u,f,p,h,m,v,b,g,y,_=[];for(e=s(e),v=e.length,t=A,n=0,i=T,l=0;l<v;++l)m=e[l],m<128&&_.push(L(m));for(r=a=_.length,a&&_.push(P);r<v;){for(u=M,l=0;l<v;++l)m=e[l],m>=t&&m<u&&(u=m);for(b=r+1,u-t>j((M-n)/b)&&o("overflow"),n+=(u-t)*b,t=u,l=0;l<v;++l)if(m=e[l],m<t&&++n>M&&o("overflow"),m==t){for(f=n,p=w;h=p<=i?S:p>=i+C?C:p-i,!(f<h);p+=w)y=f-h,g=w-h,_.push(L(c(h+y%g,0))),f=j(y/g);_.push(L(c(f,0))),i=d(n,b,r==a),n=0,++r}++n,++t}return _.join("")}function h(e){return i(e,function(e){return N.test(e)?f(e.slice(4).toLowerCase()):e})}function m(e){return i(e,function(e){return O.test(e)?"xn--"+p(e):e})}var v="object"==typeof n&&n&&!n.nodeType&&n,b="object"==typeof t&&t&&!t.nodeType&&t,g="object"==typeof e&&e;g.global!==g&&g.window!==g&&g.self!==g||(r=g);var y,_,M=2147483647,w=36,S=1,C=26,x=38,k=700,T=72,A=128,P="-",N=/^xn--/,O=/[^\x20-\x7E]/,E=/[\x2E\u3002\uFF0E\uFF61]/g,z={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},R=w-S,j=Math.floor,L=String.fromCharCode;if(y={version:"1.4.1",ucs2:{decode:s,encode:l},decode:f,encode:p,toASCII:m,toUnicode:h},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return y});else if(v&&b)if(t.exports==v)b.exports=y;else for(_ in y)y.hasOwnProperty(_)&&(v[_]=y[_]);else r.punycode=y}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],831:[function(e,t,n){"use strict";function r(e,t){return t.encode?t.strict?o(e):encodeURIComponent(e):e}var o=e("strict-uri-encode"),a=e("object-assign");n.extract=function(e){return e.split("?")[1]||""},n.parse=function(e){var t=Object.create(null);return"string"!=typeof e?t:(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var n=e.replace(/\+/g," ").split("="),r=n.shift(),o=n.length>0?n.join("="):void 0;r=decodeURIComponent(r),o=void 0===o?null:decodeURIComponent(o),void 0===t[r]?t[r]=o:Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]}),t):t},n.stringify=function(e,t){var n={encode:!0,strict:!0};return t=a(n,t),e?Object.keys(e).sort().map(function(n){var o=e[n];if(void 0===o)return"";if(null===o)return r(n,t);if(Array.isArray(o)){var a=[];return o.slice().forEach(function(e){void 0!==e&&(null===e?a.push(r(n,t)):a.push(r(n,t)+"="+r(e,t)))}),a.join("&")}return r(n,t)+"="+r(o,t)}).filter(function(e){return e.length>0}).join("&"):""}},{"object-assign":823,"strict-uri-encode":1296}],832:[function(e,t,n){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.exports=function(e,t,n,a){t=t||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var s=/\+/g;e=e.split(t);var l=1e3;a&&"number"==typeof a.maxKeys&&(l=a.maxKeys);var u=e.length;l>0&&u>l&&(u=l);for(var c=0;c<u;++c){var d,f,p,h,m=e[c].replace(s,"%20"),v=m.indexOf(n);v>=0?(d=m.substr(0,v),f=m.substr(v+1)):(d=m,f=""),p=decodeURIComponent(d),h=decodeURIComponent(f),r(i,p)?o(i[p])?i[p].push(h):i[p]=[i[p],h]:i[p]=h}return i};var o=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},{}],833:[function(e,t,n){"use strict";function r(e,t){if(e.map)return e.map(t);for(var n=[],r=0;r<e.length;r++)n.push(t(e[r],r));return n}var o=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};t.exports=function(e,t,n,s){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?r(i(e),function(i){var s=encodeURIComponent(o(i))+n;return a(e[i])?r(e[i],function(e){return s+encodeURIComponent(o(e))}).join(t):s+encodeURIComponent(o(e[i]))}).join(t):s?encodeURIComponent(o(s))+n+encodeURIComponent(o(e)):""};var a=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},i=Object.keys||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t}},{}],834:[function(e,t,n){"use strict";n.decode=n.parse=e("./decode"),n.encode=n.stringify=e("./encode")},{"./decode":832,"./encode":833}],835:[function(e,t,n){"use strict";var r="qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM1234567890!@#$%&=",o=function(e,t){return e+Math.floor(Math.random()*(t-e))},a=function(e,t){e=parseInt(Number(e)),t=t||r;var n="";(isNaN(e)||e===1/0||e===-(1/0))&&(e=8);for(var a=0;a<e;++a)n+=t[o(0,t.length)];return n};t.exports=a},{}],836:[function(e,t,n){t.exports=e("react/lib/shallowCompare")},{"react/lib/shallowCompare":1267}],837:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("./PanelGroup"),l=o(s),u=i.default.createClass({displayName:"Accordion",render:function(){return i.default.createElement(l.default,r({},this.props,{accordion:!0}),this.props.children)}});n.default=u,t.exports=n.default},{"./PanelGroup":900,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,react:1269}],838:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=e("./utils/bootstrapUtils"),c=o(u),d=e("./styleMaps"),f=i.default.createClass({displayName:"Alert",propTypes:{onDismiss:i.default.PropTypes.func,dismissAfter:i.default.PropTypes.number,closeLabel:i.default.PropTypes.string},getDefaultProps:function(){return{closeLabel:"Close Alert"}},renderDismissButton:function(){return i.default.createElement("button",{type:"button",className:"close",onClick:this.props.onDismiss,"aria-hidden":"true",tabIndex:"-1"},i.default.createElement("span",null,"×"))},renderSrOnlyDismissButton:function(){return i.default.createElement("button",{type:"button",className:"close sr-only",onClick:this.props.onDismiss},this.props.closeLabel)},render:function(){var e=c.default.getClassSet(this.props),t=!!this.props.onDismiss;return e[c.default.prefix(this.props,"dismissable")]=t,i.default.createElement("div",r({},this.props,{role:"alert",className:l.default(this.props.className,e)}),t?this.renderDismissButton():null,this.props.children,t?this.renderSrOnlyDismissButton():null)},componentDidMount:function(){this.props.dismissAfter&&this.props.onDismiss&&(this.dismissTimer=setTimeout(this.props.onDismiss,this.props.dismissAfter))},componentWillUnmount:function(){clearTimeout(this.dismissTimer)}});n.default=u.bsStyles(d.State.values(),d.State.INFO,u.bsClass("alert",f)),t.exports=n.default},{"./styleMaps":916,"./utils/bootstrapUtils":920,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],839:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("./utils/ValidComponentChildren"),l=o(s),u=e("classnames"),c=o(u),d=e("./utils/bootstrapUtils"),f=o(d),p=i.default.createClass({displayName:"Badge",propTypes:{pullRight:i.default.PropTypes.bool},getDefaultProps:function(){return{pullRight:!1,bsClass:"badge"}},hasContent:function(){return l.default.hasValidComponent(this.props.children)||i.default.Children.count(this.props.children)>1||"string"==typeof this.props.children||"number"==typeof this.props.children},render:function(){var e,t=(e={"pull-right":this.props.pullRight},e[f.default.prefix(this.props)]=this.hasContent(),e);return i.default.createElement("span",r({},this.props,{className:c.default(this.props.className,t)}),this.props.children)}});n.default=p,t.exports=n.default},{"./utils/ValidComponentChildren":919,"./utils/bootstrapUtils":920,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],840:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/object-without-properties").default,o=e("babel-runtime/helpers/extends").default,a=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var i=e("react"),s=a(i),l=e("classnames"),u=a(l),c=e("./utils/ValidComponentChildren"),d=a(c),f=e("./BreadcrumbItem"),p=a(f),h=s.default.createClass({displayName:"Breadcrumb",propTypes:{bsClass:s.default.PropTypes.string},getDefaultProps:function(){return{bsClass:"breadcrumb"}},render:function(){var e=this.props,t=e.className,n=r(e,["className"]);return s.default.createElement("ol",o({},n,{role:"navigation","aria-label":"breadcrumbs",className:u.default(t,this.props.bsClass)}),d.default.map(this.props.children,this.renderBreadcrumbItem))},renderBreadcrumbItem:function(e,t){return i.cloneElement(e,{key:e.key||t})}});h.Item=p.default,n.default=h,t.exports=n.default},{"./BreadcrumbItem":841,"./utils/ValidComponentChildren":919,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269}],841:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/object-without-properties").default,o=e("babel-runtime/helpers/extends").default,a=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var i=e("classnames"),s=a(i),l=e("react"),u=a(l),c=e("./SafeAnchor"),d=a(c),f=u.default.createClass({displayName:"BreadcrumbItem",propTypes:{active:u.default.PropTypes.bool,id:u.default.PropTypes.oneOfType([u.default.PropTypes.string,u.default.PropTypes.number]),linkId:u.default.PropTypes.oneOfType([u.default.PropTypes.string,u.default.PropTypes.number]),href:u.default.PropTypes.string,title:u.default.PropTypes.node,target:u.default.PropTypes.string},getDefaultProps:function(){return{active:!1}},render:function(){var e=this.props,t=e.active,n=e.className,a=e.id,i=e.linkId,l=e.children,c=e.href,f=e.title,p=e.target,h=r(e,["active","className","id","linkId","children","href","title","target"]),m={href:c,title:f,target:p,id:i};return u.default.createElement("li",{id:a,className:s.default(n,{active:t})},t?u.default.createElement("span",h,l):u.default.createElement(d.default,o({},h,m),l))}});n.default=f,t.exports=n.default},{"./SafeAnchor":905,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269}],842:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=e("react-prop-types/lib/elementType"),c=o(u),d=e("./utils/bootstrapUtils"),f=o(d),p=e("./styleMaps"),h=["button","reset","submit"],m=p.State.values().concat(p.DEFAULT,p.PRIMARY,p.SECONDARY,p.LINK),v=i.default.createClass({displayName:"Button",propTypes:{active:i.default.PropTypes.bool,disabled:i.default.PropTypes.bool,block:i.default.PropTypes.bool,navItem:i.default.PropTypes.bool,navDropdown:i.default.PropTypes.bool,componentClass:c.default,href:i.default.PropTypes.string,target:i.default.PropTypes.string,type:i.default.PropTypes.oneOf(h)},getDefaultProps:function(){return{active:!1,block:!1,disabled:!1,navItem:!1,navDropdown:!1}},render:function(){var e,t=this.props.navDropdown?{}:f.default.getClassSet(this.props),n=void 0,o=f.default.prefix(this.props,"block");return t=r((e={active:this.props.active},e[o]=this.props.block,e),t),this.props.navItem?this.renderNavItem(t):(n=this.props.href||this.props.target||this.props.navDropdown?"renderAnchor":"renderButton",this[n](t))},renderAnchor:function(e){var t=this.props.componentClass||"a",n=this.props.href||"#";return e.disabled=this.props.disabled,i.default.createElement(t,r({},this.props,{href:n,className:l.default(this.props.className,e),role:"button"}),this.props.children)},renderButton:function(e){var t=this.props.componentClass||"button";return i.default.createElement(t,r({},this.props,{type:this.props.type||"button",className:l.default(this.props.className,e)}),this.props.children)},renderNavItem:function(e){var t={active:this.props.active};return i.default.createElement("li",{className:l.default(t)},this.renderAnchor(e))}});v.types=h,n.default=d.bsStyles(m,p.DEFAULT,d.bsSizes([p.Sizes.LARGE,p.Sizes.SMALL,p.Sizes.XSMALL],d.bsClass("btn",v))),t.exports=n.default},{"./styleMaps":916,"./utils/bootstrapUtils":920,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269,"react-prop-types/lib/elementType":1137}],843:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=e("./utils/bootstrapUtils"),c=o(u),d=e("react-prop-types/lib/all"),f=o(d),p=e("./Button"),h=o(p),m=i.default.createClass({displayName:"ButtonGroup",propTypes:{vertical:i.default.PropTypes.bool,justified:i.default.PropTypes.bool,block:f.default(i.default.PropTypes.bool,function(e){if(e.block&&!e.vertical)return new Error("The block property requires the vertical property to be set to have any effect")})},getDefaultProps:function(){return{block:!1,justified:!1,vertical:!1}},render:function(){var e=c.default.getClassSet(this.props);return e[c.default.prefix(this.props)]=!this.props.vertical,e[c.default.prefix(this.props,"vertical")]=this.props.vertical,e[c.default.prefix(this.props,"justified")]=this.props.justified,e[c.default.prefix(h.default.defaultProps,"block")]=this.props.block,i.default.createElement("div",r({},this.props,{className:l.default(this.props.className,e)}),this.props.children)}});n.default=u.bsClass("btn-group",m),t.exports=n.default},{"./Button":842,"./utils/bootstrapUtils":920,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269,"react-prop-types/lib/all":1134}],844:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/object-without-properties").default,i=e("babel-runtime/helpers/extends").default,s=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var l=e("react"),u=s(l),c=e("./Button"),d=s(c),f=e("./FormGroup"),p=s(f),h=e("./InputBase"),m=s(h),v=e("./utils/childrenValueInputValidation"),b=s(v),g=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.renderFormGroup=function(e){var t=this.props,n=(t.bsStyle,t.value,a(t,["bsStyle","value"]));return u.default.createElement(p.default,n,e)},t.prototype.renderInput=function(){var e=this.props,t=e.children,n=e.value,r=a(e,["children","value"]),o=t?t:n;return u.default.createElement(d.default,i({},r,{componentClass:"input",ref:"input",key:"input",value:o}))},t}(m.default);g.types=d.default.types,g.defaultProps={type:"button"},g.propTypes={type:u.default.PropTypes.oneOf(g.types),bsStyle:function(){return null},children:b.default,value:b.default},n.default=g,t.exports=n.default},{"./Button":842,"./FormGroup":858,"./InputBase":863,"./utils/childrenValueInputValidation":922,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,react:1269}],845:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=e("./utils/bootstrapUtils"),c=o(u),d=e("./Button"),f=o(d),p=i.default.createClass({displayName:"ButtonToolbar",propTypes:{bsSize:f.default.propTypes.bsSize},getDefaultProps:function(){return{bsClass:"btn-toolbar"}},render:function(){var e=c.default.getClassSet(this.props);return i.default.createElement("div",r({},this.props,{role:"toolbar",className:l.default(this.props.className,e)}),this.props.children)}});n.default=p,t.exports=n.default},{"./Button":842,"./utils/bootstrapUtils":920,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],846:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=e("./utils/ValidComponentChildren"),c=o(u),d=e("./Glyphicon"),f=o(d),p=e("./utils/bootstrapUtils"),h=o(p),m=i.default.createClass({displayName:"Carousel",propTypes:{slide:i.default.PropTypes.bool,indicators:i.default.PropTypes.bool,interval:i.default.PropTypes.number,controls:i.default.PropTypes.bool,pauseOnHover:i.default.PropTypes.bool,wrap:i.default.PropTypes.bool,onSelect:i.default.PropTypes.func,onSlideEnd:i.default.PropTypes.func,activeIndex:i.default.PropTypes.number,defaultActiveIndex:i.default.PropTypes.number,direction:i.default.PropTypes.oneOf(["prev","next"]),prevIcon:i.default.PropTypes.node,nextIcon:i.default.PropTypes.node},getDefaultProps:function(){return{bsClass:"carousel",slide:!0,interval:5e3,pauseOnHover:!0,wrap:!0,indicators:!0,controls:!0,prevIcon:i.default.createElement(f.default,{glyph:"chevron-left"}),nextIcon:i.default.createElement(f.default,{glyph:"chevron-right"})}},getInitialState:function(){return{activeIndex:null==this.props.defaultActiveIndex?0:this.props.defaultActiveIndex,previousActiveIndex:null,direction:null}},getDirection:function(e,t){return e===t?null:e>t?"prev":"next"},componentWillReceiveProps:function(e){var t=this.getActiveIndex();null!=e.activeIndex&&e.activeIndex!==t&&(clearTimeout(this.timeout),this.setState({previousActiveIndex:t,direction:null!=e.direction?e.direction:this.getDirection(t,e.activeIndex)}))},componentDidMount:function(){this.waitForNext()},componentWillUnmount:function(){clearTimeout(this.timeout)},next:function(e){e&&e.preventDefault();var t=this.getActiveIndex()+1,n=c.default.numberOf(this.props.children);if(t>n-1){if(!this.props.wrap)return;t=0}this.handleSelect(t,"next")},prev:function(e){e&&e.preventDefault();var t=this.getActiveIndex()-1;if(t<0){if(!this.props.wrap)return;t=c.default.numberOf(this.props.children)-1}this.handleSelect(t,"prev")},pause:function(){this.isPaused=!0,clearTimeout(this.timeout)},play:function(){this.isPaused=!1,this.waitForNext()},waitForNext:function(){!this.isPaused&&this.props.slide&&this.props.interval&&null==this.props.activeIndex&&(this.timeout=setTimeout(this.next,this.props.interval))},handleMouseOver:function(){this.props.pauseOnHover&&this.pause()},handleMouseOut:function(){this.isPaused&&this.play()},render:function(){var e,t=(e={},e[h.default.prefix(this.props)]=!0,e.slide=this.props.slide,e);return i.default.createElement("div",r({},this.props,{className:l.default(this.props.className,t),onMouseOver:this.handleMouseOver,onMouseOut:this.handleMouseOut}),this.props.indicators?this.renderIndicators():null,i.default.createElement("div",{ref:"inner",className:h.default.prefix(this.props,"inner")},c.default.map(this.props.children,this.renderItem)),this.props.controls?this.renderControls():null)},renderPrev:function(){var e="left "+h.default.prefix(this.props,"control");return i.default.createElement("a",{className:e,href:"#prev",key:0,onClick:this.prev},this.props.prevIcon)},renderNext:function(){var e="right "+h.default.prefix(this.props,"control");return i.default.createElement("a",{className:e,href:"#next",key:1,onClick:this.next},this.props.nextIcon)},renderControls:function(){if(!this.props.wrap){var e=this.getActiveIndex(),t=c.default.numberOf(this.props.children);return[0!==e?this.renderPrev():null,e!==t-1?this.renderNext():null];
|
34 | }return[this.renderPrev(),this.renderNext()]},renderIndicator:function(e,t){var n=t===this.getActiveIndex()?"active":null;return i.default.createElement("li",{key:t,className:n,onClick:this.handleSelect.bind(this,t,null)})},renderIndicators:function(){var e=this,t=[];return c.default.forEach(this.props.children,function(n,r){t.push(e.renderIndicator(n,r)," ")},this),i.default.createElement("ol",{className:h.default.prefix(this.props,"indicators")},t)},getActiveIndex:function(){return null!=this.props.activeIndex?this.props.activeIndex:this.state.activeIndex},handleItemAnimateOutEnd:function(){var e=this;this.setState({previousActiveIndex:null,direction:null},function(){e.waitForNext(),e.props.onSlideEnd&&e.props.onSlideEnd()})},renderItem:function(e,t){var n=this.getActiveIndex(),r=t===n,o=null!=this.state.previousActiveIndex&&this.state.previousActiveIndex===t&&this.props.slide;return a.cloneElement(e,{active:r,ref:e.ref,key:e.key?e.key:t,index:t,animateOut:o,animateIn:r&&null!=this.state.previousActiveIndex&&this.props.slide,direction:this.state.direction,onAnimateOutEnd:o?this.handleItemAnimateOutEnd:null})},handleSelect:function(e,t){if(clearTimeout(this.timeout),this.isMounted()){var n=this.getActiveIndex();if(t=t||this.getDirection(n,e),this.props.onSelect&&this.props.onSelect(e,t),null==this.props.activeIndex&&e!==n){if(null!=this.state.previousActiveIndex)return;this.setState({activeIndex:e,previousActiveIndex:n,direction:t})}}}});n.default=m,t.exports=n.default},{"./Glyphicon":859,"./utils/ValidComponentChildren":919,"./utils/bootstrapUtils":920,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],847:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("classnames"),i=o(a),s=e("react"),l=o(s),u=e("react-dom"),c=o(u),d=e("./utils/TransitionEvents"),f=o(d),p=e("./utils/bootstrapUtils"),h=o(p),m=l.default.createClass({displayName:"CarouselItem",propTypes:{direction:l.default.PropTypes.oneOf(["prev","next"]),onAnimateOutEnd:l.default.PropTypes.func,active:l.default.PropTypes.bool,animateIn:l.default.PropTypes.bool,animateOut:l.default.PropTypes.bool,caption:l.default.PropTypes.node,index:l.default.PropTypes.number},getInitialState:function(){return{direction:null}},getDefaultProps:function(){return{bsStyle:"carousel",active:!1,animateIn:!1,animateOut:!1}},handleAnimateOutEnd:function(){this.props.onAnimateOutEnd&&this.isMounted()&&this.props.onAnimateOutEnd(this.props.index)},componentWillReceiveProps:function(e){this.props.active!==e.active&&this.setState({direction:null})},componentDidUpdate:function(e){!this.props.active&&e.active&&f.default.addEndEventListener(c.default.findDOMNode(this),this.handleAnimateOutEnd),this.props.active!==e.active&&setTimeout(this.startAnimation,20)},startAnimation:function(){this.isMounted()&&this.setState({direction:"prev"===this.props.direction?"right":"left"})},render:function(){var e={item:!0,active:this.props.active&&!this.props.animateIn||this.props.animateOut,next:this.props.active&&this.props.animateIn&&"next"===this.props.direction,prev:this.props.active&&this.props.animateIn&&"prev"===this.props.direction};return this.state.direction&&(this.props.animateIn||this.props.animateOut)&&(e[this.state.direction]=!0),l.default.createElement("div",r({},this.props,{className:i.default(this.props.className,e)}),this.props.children,this.props.caption?this.renderCaption():null)},renderCaption:function(){var e=h.default.prefix(this.props,"caption");return l.default.createElement("div",{className:e},this.props.caption)}});n.default=m,t.exports=n.default},{"./utils/TransitionEvents":918,"./utils/bootstrapUtils":920,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269,"react-dom":974}],848:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/core-js/object/keys").default,a=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var i=e("react"),s=a(i),l=e("classnames"),u=a(l),c=e("./styleMaps"),d=a(c),f=e("react-prop-types/lib/elementType"),p=a(f),h=s.default.createClass({displayName:"Col",propTypes:{xs:s.default.PropTypes.number,sm:s.default.PropTypes.number,md:s.default.PropTypes.number,lg:s.default.PropTypes.number,xsHidden:s.default.PropTypes.bool,smHidden:s.default.PropTypes.bool,mdHidden:s.default.PropTypes.bool,lgHidden:s.default.PropTypes.bool,xsOffset:s.default.PropTypes.number,smOffset:s.default.PropTypes.number,mdOffset:s.default.PropTypes.number,lgOffset:s.default.PropTypes.number,xsPush:s.default.PropTypes.number,smPush:s.default.PropTypes.number,mdPush:s.default.PropTypes.number,lgPush:s.default.PropTypes.number,xsPull:s.default.PropTypes.number,smPull:s.default.PropTypes.number,mdPull:s.default.PropTypes.number,lgPull:s.default.PropTypes.number,componentClass:p.default},getDefaultProps:function(){return{componentClass:"div"}},render:function(){var e=this,t=this.props.componentClass,n={};return o(d.default.SIZES).forEach(function(t){var r=d.default.SIZES[t],o=r,a=r+"-";e.props[o]&&(n["col-"+a+e.props[o]]=!0),n["hidden-"+r]=e.props[r+"Hidden"],o=r+"Offset",a=r+"-offset-",e.props[o]>=0&&(n["col-"+a+e.props[o]]=!0),o=r+"Push",a=r+"-push-",e.props[o]>=0&&(n["col-"+a+e.props[o]]=!0),o=r+"Pull",a=r+"-pull-",e.props[o]>=0&&(n["col-"+a+e.props[o]]=!0)},this),s.default.createElement(t,r({},this.props,{className:u.default(this.props.className,n)}),this.props.children)}});n.default=h,t.exports=n.default},{"./styleMaps":916,"babel-runtime/core-js/object/keys":928,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269,"react-prop-types/lib/elementType":1137}],849:[function(e,t,n){"use strict";function r(e,t){var n=t["offset"+_(e)],r=w[e];return n+parseInt(u.default(t,r[0]),10)+parseInt(u.default(t,r[1]),10)}var o=e("babel-runtime/helpers/inherits").default,a=e("babel-runtime/helpers/class-call-check").default,i=e("babel-runtime/helpers/extends").default,s=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var l=e("dom-helpers/style"),u=s(l),c=e("react"),d=s(c),f=e("classnames"),p=s(f),h=e("react-overlays/lib/Transition"),m=s(h),v=e("react-prop-types/lib/deprecated"),b=s(v),g=e("./utils/createChainedFunction"),y=s(g),_=function(e){return e[0].toUpperCase()+e.substr(1)},M=function(e){return e.offsetHeight},w={height:["marginTop","marginBottom"],width:["marginLeft","marginRight"]},S=function(e){function t(n,r){a(this,t),e.call(this,n,r),this.onEnterListener=this.handleEnter.bind(this),this.onEnteringListener=this.handleEntering.bind(this),this.onEnteredListener=this.handleEntered.bind(this),this.onExitListener=this.handleExit.bind(this),this.onExitingListener=this.handleExiting.bind(this)}return o(t,e),t.prototype.render=function(){var e=y.default(this.onEnterListener,this.props.onEnter),t=y.default(this.onEnteringListener,this.props.onEntering),n=y.default(this.onEnteredListener,this.props.onEntered),r=y.default(this.onExitListener,this.props.onExit),o=y.default(this.onExitingListener,this.props.onExiting);return d.default.createElement(m.default,i({ref:"transition"},this.props,{"aria-expanded":this.props.role?this.props.in:null,className:p.default(this.props.className,{width:"width"===this._dimension()}),exitedClassName:"collapse",exitingClassName:"collapsing",enteredClassName:"collapse in",enteringClassName:"collapsing",onEnter:e,onEntering:t,onEntered:n,onExit:r,onExiting:o,onExited:this.props.onExited}),this.props.children)},t.prototype.handleEnter=function(e){var t=this._dimension();e.style[t]="0"},t.prototype.handleEntering=function(e){var t=this._dimension();e.style[t]=this._getScrollDimensionValue(e,t)},t.prototype.handleEntered=function(e){var t=this._dimension();e.style[t]=null},t.prototype.handleExit=function(e){var t=this._dimension();e.style[t]=this.props.getDimensionValue(t,e)+"px"},t.prototype.handleExiting=function(e){var t=this._dimension();M(e),e.style[t]="0"},t.prototype._dimension=function(){return"function"==typeof this.props.dimension?this.props.dimension():this.props.dimension},t.prototype._getTransitionInstance=function(){return this.refs.transition},t.prototype._getScrollDimensionValue=function(e,t){return e["scroll"+_(t)]+"px"},t}(d.default.Component);S.propTypes={in:d.default.PropTypes.bool,unmountOnExit:d.default.PropTypes.bool,transitionAppear:d.default.PropTypes.bool,timeout:d.default.PropTypes.number,duration:b.default(d.default.PropTypes.number,"Use `timeout`."),onEnter:d.default.PropTypes.func,onEntering:d.default.PropTypes.func,onEntered:d.default.PropTypes.func,onExit:d.default.PropTypes.func,onExiting:d.default.PropTypes.func,onExited:d.default.PropTypes.func,dimension:d.default.PropTypes.oneOfType([d.default.PropTypes.oneOf(["height","width"]),d.default.PropTypes.func]),getDimensionValue:d.default.PropTypes.func,role:d.default.PropTypes.string},S.defaultProps={in:!1,timeout:300,unmountOnExit:!1,transitionAppear:!1,dimension:"height",getDimensionValue:r},n.default=S,t.exports=n.default},{"./utils/createChainedFunction":923,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,classnames:157,"dom-helpers/style":265,react:1269,"react-overlays/lib/Transition":1120,"react-prop-types/lib/deprecated":1136}],850:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var o=e("react"),a=r(o),i=e("./Collapse"),s=r(i),l=e("classnames"),u=r(l),c=e("./utils/deprecationWarning"),d=r(c),f=e("./utils/ValidComponentChildren"),p=r(f),h=e("./utils/createChainedFunction"),m=r(h),v=a.default.createClass({displayName:"CollapsibleNav",propTypes:{onSelect:a.default.PropTypes.func,activeHref:a.default.PropTypes.string,activeKey:a.default.PropTypes.any,collapsible:a.default.PropTypes.bool,expanded:a.default.PropTypes.bool,eventKey:a.default.PropTypes.any},getDefaultProps:function(){return{collapsible:!1,expanded:!1}},render:function(){var e=this.props.collapsible?"navbar-collapse":null,t=this.props.collapsible?this.renderCollapsibleNavChildren:this.renderChildren,n=a.default.createElement("div",{eventKey:this.props.eventKey,className:u.default(this.props.className,e)},p.default.map(this.props.children,t));return this.props.collapsible?a.default.createElement(s.default,{in:this.props.expanded},n):n},getChildActiveProp:function(e){return!!e.props.active||(null!=this.props.activeKey&&e.props.eventKey===this.props.activeKey||(null!=this.props.activeHref&&e.props.href===this.props.activeHref||e.props.active))},renderChildren:function(e,t){var n=e.key?e.key:t;return o.cloneElement(e,{activeKey:this.props.activeKey,activeHref:this.props.activeHref,ref:"nocollapse_"+n,key:n,navItem:!0})},renderCollapsibleNavChildren:function(e,t){var n=e.key?e.key:t;return o.cloneElement(e,{active:this.getChildActiveProp(e),activeKey:this.props.activeKey,activeHref:this.props.activeHref,onSelect:m.default(e.props.onSelect,this.props.onSelect),ref:"collapsible_"+n,key:n,navItem:!0})}});n.default=d.default.wrapper(v,"CollapsibleNav","Navbar.Collapse","http://react-bootstrap.github.io/components.html#navbars"),t.exports=n.default},{"./Collapse":849,"./utils/ValidComponentChildren":919,"./utils/createChainedFunction":923,"./utils/deprecationWarning":925,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],851:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var s=e("classnames"),l=i(s),u=e("dom-helpers/activeElement"),c=i(u),d=e("dom-helpers/query/contains"),f=i(d),p=e("keycode"),h=i(p),m=e("lodash-compat/collection/find"),v=i(m),b=e("lodash-compat/object/omit"),g=i(b),y=e("react"),_=i(y),M=e("react-dom"),w=i(M),S=e("react-prop-types/lib/all"),C=i(S),x=e("react-prop-types/lib/elementType"),k=i(x),T=e("react-prop-types/lib/isRequiredForA11y"),A=i(T),P=e("uncontrollable"),N=i(P),O=e("./utils/bootstrapUtils"),E=i(O),z=e("./ButtonGroup"),R=i(z),j=e("./DropdownMenu"),L=i(j),D=e("./DropdownToggle"),I=i(D),B=e("./utils/createChainedFunction"),V=i(B),q=e("./utils/CustomPropTypes"),F=i(q),U=e("./utils/ValidComponentChildren"),W=i(U),H="toggle-btn",X=I.default.defaultProps.bsRole,K=L.default.defaultProps.bsRole,G=function(e){function t(n){o(this,t),e.call(this,n),this.Toggle=I.default,this.toggleOpen=this.toggleOpen.bind(this),this.handleClick=this.handleClick.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleClose=this.handleClose.bind(this),this.extractChildren=this.extractChildren.bind(this),this.refineMenu=this.refineMenu.bind(this),this.refineToggle=this.refineToggle.bind(this),this.childExtractors=[{key:"toggle",matches:function(e){return e.props.bsRole===X},refine:this.refineToggle},{key:"menu",exclusive:!0,matches:function(e){return e.props.bsRole===K},refine:this.refineMenu}],this.state={},this.lastOpenEventType=null}return r(t,e),t.prototype.componentDidMount=function(){this.focusNextOnOpen()},t.prototype.componentWillUpdate=function(e){!e.open&&this.props.open&&(this._focusInDropdown=f.default(w.default.findDOMNode(this.refs.menu),c.default(document)))},t.prototype.componentDidUpdate=function(e){this.props.open&&!e.open&&this.focusNextOnOpen(),!this.props.open&&e.open&&this._focusInDropdown&&(this._focusInDropdown=!1,this.focus())},t.prototype.render=function(){var e,t=this.extractChildren(),n=this.props.componentClass,r=g.default(this.props,["id","bsClass","role"]),o=E.default.prefix(this.props),i=(e={open:this.props.open,disabled:this.props.disabled},e[o]=!this.props.dropup,e.dropup=this.props.dropup,e);return _.default.createElement(n,a({},r,{className:l.default(this.props.className,i)}),t)},t.prototype.toggleOpen=function(){var e=arguments.length<=0||void 0===arguments[0]?null:arguments[0],t=!this.props.open;t&&(this.lastOpenEventType=e),this.props.onToggle&&this.props.onToggle(t)},t.prototype.handleClick=function(){this.props.disabled||this.toggleOpen("click")},t.prototype.handleKeyDown=function(e){if(!this.props.disabled)switch(e.keyCode){case h.default.codes.down:this.props.open?this.refs.menu.focusNext&&this.refs.menu.focusNext():this.toggleOpen("keydown"),e.preventDefault();break;case h.default.codes.esc:case h.default.codes.tab:this.handleClose(e)}},t.prototype.handleClose=function(){this.props.open&&this.toggleOpen()},t.prototype.focusNextOnOpen=function(){var e=this.refs.menu;e.focusNext&&("keydown"!==this.lastOpenEventType&&"menuitem"!==this.props.role||e.focusNext())},t.prototype.focus=function(){var e=w.default.findDOMNode(this.refs[H]);e&&e.focus&&e.focus()},t.prototype.extractChildren=function(){var e=this,t=!!this.props.open,n={};return W.default.map(this.props.children,function(r){var o=v.default(e.childExtractors,function(e){return e.matches(r)});if(o){if(n[o.key])return!1;n[o.key]=o.exclusive,r=o.refine(r,t)}return r})},t.prototype.refineMenu=function(e,t){var n={ref:"menu",open:t,labelledBy:this.props.id,pullRight:this.props.pullRight,bsClass:this.props.bsClass};return n.onClose=V.default(e.props.onClose,this.props.onClose,this.handleClose),n.onSelect=V.default(e.props.onSelect,this.props.onSelect,this.handleClose),y.cloneElement(e,n,e.props.children)},t.prototype.refineToggle=function(e,t){var n={open:t,id:this.props.id,ref:H,role:this.props.role};return n.onClick=V.default(e.props.onClick,this.handleClick),n.onKeyDown=V.default(e.props.onKeyDown,this.handleKeyDown),y.cloneElement(e,n,e.props.children)},t}(_.default.Component);G.Toggle=I.default,G.TOGGLE_REF=H,G.TOGGLE_ROLE=X,G.MENU_ROLE=K,G.defaultProps={componentClass:R.default,bsClass:"dropdown"},G.propTypes={bsClass:_.default.PropTypes.string,dropup:_.default.PropTypes.bool,id:A.default(_.default.PropTypes.oneOfType([_.default.PropTypes.string,_.default.PropTypes.number])),componentClass:k.default,children:C.default(F.default.requiredRoles(X,K),F.default.exclusiveRoles(K)),disabled:_.default.PropTypes.bool,pullRight:_.default.PropTypes.bool,open:_.default.PropTypes.bool,onClose:_.default.PropTypes.func,onToggle:_.default.PropTypes.func,onSelect:_.default.PropTypes.func,role:_.default.PropTypes.string},G=N.default(G,{open:"onToggle"}),G.Toggle=I.default,G.Menu=L.default,n.default=G,t.exports=n.default},{"./ButtonGroup":843,"./DropdownMenu":853,"./DropdownToggle":854,"./utils/CustomPropTypes":917,"./utils/ValidComponentChildren":919,"./utils/bootstrapUtils":920,"./utils/createChainedFunction":923,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,classnames:157,"dom-helpers/activeElement":244,"dom-helpers/query/contains":255,keycode:380,"lodash-compat/collection/find":385,"lodash-compat/object/omit":447,react:1269,"react-dom":974,"react-prop-types/lib/all":1134,"react-prop-types/lib/elementType":1137,"react-prop-types/lib/isRequiredForA11y":1138,uncontrollable:1363}],852:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/object-without-properties").default,s=e("babel-runtime/core-js/object/keys").default,l=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var u=e("react"),c=l(u),d=e("./Dropdown"),f=l(d),p=e("lodash-compat/object/omit"),h=l(p),m=e("lodash-compat/object/pick"),v=l(m),b=e("./Button"),g=l(b),y=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.bsStyle,n=e.bsSize,r=e.disabled,o=this.props,l=o.title,u=o.children,d=i(o,["title","children"]),p=v.default(d,s(f.default.ControlledComponent.propTypes)),m=h.default(d,s(f.default.ControlledComponent.propTypes));return c.default.createElement(f.default,a({},p,{bsSize:n,bsStyle:t}),c.default.createElement(f.default.Toggle,a({},m,{disabled:r}),l),c.default.createElement(f.default.Menu,null,u))},t}(c.default.Component);y.propTypes=a({disabled:c.default.PropTypes.bool,bsStyle:g.default.propTypes.bsStyle,bsSize:g.default.propTypes.bsSize,noCaret:c.default.PropTypes.bool,title:c.default.PropTypes.node.isRequired},f.default.propTypes),y.defaultProps={disabled:!1,pullRight:!1,dropup:!1,navItem:!1,noCaret:!1},n.default=y,t.exports=n.default},{"./Button":842,"./Dropdown":851,"babel-runtime/core-js/object/keys":928,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,"lodash-compat/object/omit":447,"lodash-compat/object/pick":449,react:1269}],853:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/object-without-properties").default,i=e("babel-runtime/helpers/extends").default,s=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var l=e("keycode"),u=s(l),c=e("react"),d=s(c),f=e("react-dom"),p=s(f),h=e("classnames"),m=s(h),v=e("./utils/bootstrapUtils"),b=s(v),g=e("react-overlays/lib/RootCloseWrapper"),y=s(g),_=e("./utils/ValidComponentChildren"),M=s(_),w=e("./utils/createChainedFunction"),S=s(w),C=function(e){function t(n){o(this,t),e.call(this,n),this.focusNext=this.focusNext.bind(this),this.focusPrevious=this.focusPrevious.bind(this),this.getFocusableMenuItems=this.getFocusableMenuItems.bind(this),this.getItemsAndActiveIndex=this.getItemsAndActiveIndex.bind(this),this.handleKeyDown=this.handleKeyDown.bind(this)}return r(t,e),t.prototype.handleKeyDown=function(e){switch(e.keyCode){case u.default.codes.down:this.focusNext(),e.preventDefault();break;case u.default.codes.up:this.focusPrevious(),e.preventDefault();break;case u.default.codes.esc:case u.default.codes.tab:this.props.onClose(e)}},t.prototype.focusNext=function(){var e=this.getItemsAndActiveIndex(),t=e.items,n=e.activeItemIndex;if(0!==t.length)return n===t.length-1?void t[0].focus():void t[n+1].focus()},t.prototype.focusPrevious=function(){var e=this.getItemsAndActiveIndex(),t=e.items,n=e.activeItemIndex;return 0===n?void t[t.length-1].focus():void t[n-1].focus()},t.prototype.getItemsAndActiveIndex=function(){var e=this.getFocusableMenuItems(),t=document.activeElement,n=e.indexOf(t);return{items:e,activeItemIndex:n}},t.prototype.getFocusableMenuItems=function(){var e=p.default.findDOMNode(this);return void 0===e?[]:[].slice.call(e.querySelectorAll('[tabIndex="-1"]'),0)},t.prototype.render=function(){var e,t=this,n=this.props,r=n.children,o=n.onSelect,s=n.pullRight,l=n.className,u=n.labelledBy,c=n.open,f=n.onClose,p=a(n,["children","onSelect","pullRight","className","labelledBy","open","onClose"]),h=M.default.map(r,function(e){var n=e.props||{};return d.default.cloneElement(e,{onKeyDown:S.default(n.onKeyDown,t.handleKeyDown),onSelect:S.default(n.onSelect,o)},n.children)}),v=(e={},e[b.default.prefix(this.props,"menu")]=!0,e[b.default.prefix(this.props,"menu-right")]=s,e),g=d.default.createElement("div",i({className:m.default(l,v),role:"menu","aria-labelledby":u},p),h);return c&&(g=d.default.createElement(y.default,{noWrap:!0,onRootClose:f},g)),g},t}(d.default.Component);C.defaultProps={bsRole:"menu",bsClass:"dropdown",pullRight:!1},C.propTypes={open:d.default.PropTypes.bool,pullRight:d.default.PropTypes.bool,onClose:d.default.PropTypes.func,labelledBy:d.default.PropTypes.oneOfType([d.default.PropTypes.string,d.default.PropTypes.number]),onSelect:d.default.PropTypes.func},n.default=C,t.exports=n.default},{"./utils/ValidComponentChildren":919,"./utils/bootstrapUtils":920,"./utils/createChainedFunction":923,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,keycode:380,react:1269,"react-dom":974,"react-overlays/lib/RootCloseWrapper":1119}],854:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var s=e("react"),l=i(s),u=e("classnames"),c=i(u),d=e("./Button"),f=i(d),p=e("./SafeAnchor"),h=i(p),m=l.default.createElement("span",null," ",l.default.createElement("span",{className:"caret"})),v=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.render=function(){var e=this.props.noCaret?null:m,t={"dropdown-toggle":!0},n=this.props.useAnchor?h.default:f.default;return l.default.createElement(n,a({},this.props,{className:c.default(t,this.props.className),type:"button","aria-haspopup":!0,"aria-expanded":this.props.open}),this.props.children||this.props.title,e)},t}(l.default.Component);n.default=v,v.defaultProps={open:!1,useAnchor:!1,bsRole:"toggle"},v.propTypes={bsRole:l.default.PropTypes.string,noCaret:l.default.PropTypes.bool,open:l.default.PropTypes.bool,title:l.default.PropTypes.string,useAnchor:l.default.PropTypes.bool},v.isToggle=!0,v.titleProp="title",v.onClickProp="onClick",t.exports=n.default},{"./Button":842,"./SafeAnchor":905,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],855:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var s=e("react"),l=i(s),u=e("classnames"),c=i(u),d=e("react-overlays/lib/Transition"),f=i(d),p=e("react-prop-types/lib/deprecated"),h=i(p),m=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.render=function(){var e=this.props.timeout||this.props.duration;return l.default.createElement(f.default,a({},this.props,{timeout:e,className:c.default(this.props.className,"fade"),enteredClassName:"in",enteringClassName:"in"}),this.props.children)},t}(l.default.Component);m.propTypes={in:l.default.PropTypes.bool,unmountOnExit:l.default.PropTypes.bool,transitionAppear:l.default.PropTypes.bool,timeout:l.default.PropTypes.number,duration:h.default(l.default.PropTypes.number,"Use `timeout`."),onEnter:l.default.PropTypes.func,onEntering:l.default.PropTypes.func,onEntered:l.default.PropTypes.func,onExit:l.default.PropTypes.func,onExiting:l.default.PropTypes.func,onExited:l.default.PropTypes.func},m.defaultProps={in:!1,timeout:300,unmountOnExit:!1,transitionAppear:!1},n.default=m,t.exports=n.default},{"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269,"react-overlays/lib/Transition":1120,"react-prop-types/lib/deprecated":1136}],856:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/object-without-properties").default,i=e("babel-runtime/helpers/extends").default,s=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var l=e("react"),u=s(l),c=e("classnames"),d=s(c),f=e("../InputBase"),p=s(f),h=e("../utils/childrenValueInputValidation"),m=s(h),v=e("react-prop-types/lib/elementType"),b=s(v),g=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.getValue=function(){var e=this.props,t=e.children,n=e.value;return t?t:n},t.prototype.renderInput=function(){var e=this.props,t=e.componentClass,n=a(e,["componentClass"]);return u.default.createElement(t,i({},n,{className:d.default(n.className,"form-control-static"),ref:"input",key:"input"}),this.getValue())},t}(p.default);g.propTypes={value:m.default,componentClass:b.default,children:m.default},g.defaultProps={componentClass:"p"},n.default=g,t.exports=n.default},{"../InputBase":863,"../utils/childrenValueInputValidation":922,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269,"react-prop-types/lib/elementType":1137}],857:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var o=e("./Static"),a=r(o);n.Static=a.default},{"./Static":856,"babel-runtime/helpers/interop-require-default":933}],858:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var i=e("react"),s=a(i),l=e("classnames"),u=a(l),c=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.render=function(){var e={"form-group":!this.props.standalone,"form-group-lg":!this.props.standalone&&"large"===this.props.bsSize,"form-group-sm":!this.props.standalone&&"small"===this.props.bsSize,"has-feedback":this.props.hasFeedback,"has-success":"success"===this.props.bsStyle,"has-warning":"warning"===this.props.bsStyle,"has-error":"error"===this.props.bsStyle};return s.default.createElement("div",{className:u.default(e,this.props.groupClassName)},this.props.children)},t}(s.default.Component);c.defaultProps={hasFeedback:!1,standalone:!1},c.propTypes={standalone:s.default.PropTypes.bool,hasFeedback:s.default.PropTypes.bool,bsSize:function(e){return e.standalone&&void 0!==e.bsSize?new Error("bsSize will not be used when `standalone` is set."):s.default.PropTypes.oneOf(["small","medium","large"]).apply(null,arguments)},bsStyle:s.default.PropTypes.oneOf(["success","warning","error"]),groupClassName:s.default.PropTypes.string},n.default=c,t.exports=n.default},{"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],859:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=i.default.createClass({displayName:"Glyphicon",propTypes:{bsClass:i.default.PropTypes.string,glyph:i.default.PropTypes.string.isRequired,formControlFeedback:i.default.PropTypes.bool},getDefaultProps:function(){return{bsClass:"glyphicon",formControlFeedback:!1}},render:function(){var e,t=l.default(this.props.className,(e={},e[this.props.bsClass]=!0,e["glyphicon-"+this.props.glyph]=!0,e["form-control-feedback"]=this.props.formControlFeedback,e));return i.default.createElement("span",r({},this.props,{className:t}),this.props.children)}});n.default=u,t.exports=n.default},{"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],860:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=e("react-prop-types/lib/elementType"),c=o(u),d=i.default.createClass({displayName:"Grid",propTypes:{fluid:i.default.PropTypes.bool,componentClass:c.default},getDefaultProps:function(){return{componentClass:"div",fluid:!1}},render:function(){var e=this.props.componentClass,t=this.props.fluid?"container-fluid":"container";return i.default.createElement(e,r({},this.props,{className:l.default(this.props.className,t)}),this.props.children)}});n.default=d,t.exports=n.default},{"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269,"react-prop-types/lib/elementType":1137}],861:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=i.default.createClass({displayName:"Image",propTypes:{responsive:i.default.PropTypes.bool,rounded:i.default.PropTypes.bool,circle:i.default.PropTypes.bool,thumbnail:i.default.PropTypes.bool},getDefaultProps:function(){return{responsive:!1,rounded:!1,circle:!1,thumbnail:!1}},render:function(){var e={"img-responsive":this.props.responsive,"img-rounded":this.props.rounded,"img-circle":this.props.circle,"img-thumbnail":this.props.thumbnail};return i.default.createElement("img",r({},this.props,{className:l.default(this.props.className,e)}))}});n.default=u,t.exports=n.default},{"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],862:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/interop-require-default").default,i=e("babel-runtime/helpers/interop-require-wildcard").default;n.__esModule=!0;var s=e("react"),l=a(s),u=e("./InputBase"),c=a(u),d=e("./FormControls"),f=i(d),p=e("./utils/deprecationWarning"),h=a(p),m=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.render=function(){return"static"===this.props.type?(h.default("Input type=static","FormControls.Static"),l.default.createElement(f.Static,this.props)):e.prototype.render.call(this)},t}(c.default);m.propTypes={type:l.default.PropTypes.string},n.default=m,t.exports=n.default},{"./FormControls":857,"./InputBase":863,"./utils/deprecationWarning":925,
|
35 | "babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/interop-require-wildcard":934,react:1269}],863:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var s=e("classnames"),l=i(s),u=e("react"),c=i(u),d=e("./FormGroup"),f=i(d),p=e("./Glyphicon"),h=i(p),m=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.getInputDOMNode=function(){return this.refs.input},t.prototype.getValue=function(){if("static"===this.props.type)return this.props.value;if(this.props.type)return"select"===this.props.type&&this.props.multiple?this.getSelectedOptions():this.getInputDOMNode().value;throw new Error("Cannot use getValue without specifying input type.")},t.prototype.getChecked=function(){return this.getInputDOMNode().checked},t.prototype.getSelectedOptions=function(){var e=[];return Array.prototype.forEach.call(this.getInputDOMNode().getElementsByTagName("option"),function(t){if(t.selected){var n=t.getAttribute("value")||t.innerHtml;e.push(n)}}),e},t.prototype.isCheckboxOrRadio=function(){return"checkbox"===this.props.type||"radio"===this.props.type},t.prototype.isFile=function(){return"file"===this.props.type},t.prototype.renderInputGroup=function(e){var t=this.props.addonBefore?c.default.createElement("span",{className:"input-group-addon",key:"addonBefore"},this.props.addonBefore):null,n=this.props.addonAfter?c.default.createElement("span",{className:"input-group-addon",key:"addonAfter"},this.props.addonAfter):null,r=this.props.buttonBefore?c.default.createElement("span",{className:"input-group-btn"},this.props.buttonBefore):null,o=this.props.buttonAfter?c.default.createElement("span",{className:"input-group-btn"},this.props.buttonAfter):null,a=void 0;switch(this.props.bsSize){case"small":a="input-group-sm";break;case"large":a="input-group-lg"}return t||n||r||o?c.default.createElement("div",{className:l.default(a,"input-group"),key:"input-group"},t,r,e,n,o):e},t.prototype.renderIcon=function(){if(!this.props.hasFeedback)return null;if(this.props.feedbackIcon)return c.default.cloneElement(this.props.feedbackIcon,{formControlFeedback:!0});switch(this.props.bsStyle){case"success":return c.default.createElement(h.default,{formControlFeedback:!0,glyph:"ok",key:"icon"});case"warning":return c.default.createElement(h.default,{formControlFeedback:!0,glyph:"warning-sign",key:"icon"});case"error":return c.default.createElement(h.default,{formControlFeedback:!0,glyph:"remove",key:"icon"});default:return c.default.createElement("span",{className:"form-control-feedback",key:"icon"})}},t.prototype.renderHelp=function(){return this.props.help?c.default.createElement("span",{className:"help-block",key:"help"},this.props.help):null},t.prototype.renderCheckboxAndRadioWrapper=function(e){var t={checkbox:"checkbox"===this.props.type,radio:"radio"===this.props.type};return c.default.createElement("div",{className:l.default(t),key:"checkboxRadioWrapper"},e)},t.prototype.renderWrapper=function(e){return this.props.wrapperClassName?c.default.createElement("div",{className:this.props.wrapperClassName,key:"wrapper"},e):e},t.prototype.renderLabel=function(e){var t={"control-label":!this.isCheckboxOrRadio()};return t[this.props.labelClassName]=this.props.labelClassName,this.props.label?c.default.createElement("label",{htmlFor:this.props.id,className:l.default(t),key:"label"},e,this.props.label):e},t.prototype.renderInput=function(){if(!this.props.type)return this.props.children;switch(this.props.type){case"select":return c.default.createElement("select",a({},this.props,{className:l.default(this.props.className,"form-control"),ref:"input",key:"input"}),this.props.children);case"textarea":return c.default.createElement("textarea",a({},this.props,{className:l.default(this.props.className,"form-control"),ref:"input",key:"input"}));case"static":return c.default.createElement("p",a({},this.props,{className:l.default(this.props.className,"form-control-static"),ref:"input",key:"input"}),this.props.value);default:var e=this.isCheckboxOrRadio()||this.isFile()?"":"form-control";return c.default.createElement("input",a({},this.props,{className:l.default(this.props.className,e),ref:"input",key:"input"}))}},t.prototype.renderFormGroup=function(e){return c.default.createElement(f.default,this.props,e)},t.prototype.renderChildren=function(){return this.isCheckboxOrRadio()?this.renderWrapper([this.renderCheckboxAndRadioWrapper(this.renderLabel(this.renderInput())),this.renderHelp()]):[this.renderLabel(),this.renderWrapper([this.renderInputGroup(this.renderInput()),this.renderIcon(),this.renderHelp()])]},t.prototype.render=function(){var e=this.renderChildren();return this.renderFormGroup(e)},t}(c.default.Component);m.propTypes={type:c.default.PropTypes.string,label:c.default.PropTypes.node,help:c.default.PropTypes.node,addonBefore:c.default.PropTypes.node,addonAfter:c.default.PropTypes.node,buttonBefore:c.default.PropTypes.node,buttonAfter:c.default.PropTypes.node,bsSize:c.default.PropTypes.oneOf(["small","medium","large"]),bsStyle:c.default.PropTypes.oneOf(["success","warning","error"]),hasFeedback:c.default.PropTypes.bool,feedbackIcon:c.default.PropTypes.node,id:c.default.PropTypes.oneOfType([c.default.PropTypes.string,c.default.PropTypes.number]),groupClassName:c.default.PropTypes.string,wrapperClassName:c.default.PropTypes.string,labelClassName:c.default.PropTypes.string,multiple:c.default.PropTypes.bool,disabled:c.default.PropTypes.bool,value:c.default.PropTypes.any},m.defaultProps={disabled:!1,hasFeedback:!1,multiple:!1},n.default=m,t.exports=n.default},{"./FormGroup":858,"./Glyphicon":859,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],864:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("./utils/ValidComponentChildren"),l=o(s),u=/\%\((.+?)\)s/,c=i.default.createClass({displayName:"Interpolate",propTypes:{component:i.default.PropTypes.node,format:i.default.PropTypes.string,unsafe:i.default.PropTypes.bool},getDefaultProps:function(){return{component:"span",unsafe:!1}},render:function(){var e=l.default.hasValidComponent(this.props.children)||"string"==typeof this.props.children?this.props.children:this.props.format,t=this.props.component,n=this.props.unsafe===!0,o=r({},this.props);if(delete o.children,delete o.format,delete o.component,delete o.unsafe,n){var a=e.split(u).reduce(function(e,t,n){var r=void 0;if(n%2===0?r=t:(r=o[t],delete o[t]),i.default.isValidElement(r))throw new Error("cannot interpolate a React component into unsafe text");return e+=r},"");return o.dangerouslySetInnerHTML={__html:a},i.default.createElement(t,o)}var s=e.split(u).reduce(function(e,t,n){var r=void 0;if(n%2===0){if(0===t.length)return e;r=t}else r=o[t],delete o[t];return e.push(r),e},[]);return i.default.createElement(t,o,s)}});n.default=c,t.exports=n.default},{"./utils/ValidComponentChildren":919,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,react:1269}],865:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=e("react-prop-types/lib/elementType"),c=o(u),d=i.default.createClass({displayName:"Jumbotron",propTypes:{componentClass:c.default},getDefaultProps:function(){return{componentClass:"div"}},render:function(){var e=this.props.componentClass;return i.default.createElement(e,r({},this.props,{className:l.default(this.props.className,"jumbotron")}),this.props.children)}});n.default=d,t.exports=n.default},{"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269,"react-prop-types/lib/elementType":1137}],866:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var s=e("react"),l=i(s),u=e("classnames"),c=i(u),d=e("./utils/bootstrapUtils"),f=i(d),p=e("./styleMaps"),h=function(e){function t(){o(this,n),e.apply(this,arguments)}r(t,e),t.prototype.render=function(){var e=f.default.getClassSet(this.props);return l.default.createElement("span",a({},this.props,{className:c.default(this.props.className,e)}),this.props.children)};var n=t;return t=d.bsStyles(p.State.values().concat(p.DEFAULT,p.PRIMARY),p.DEFAULT)(t)||t,t=d.bsClass("label")(t)||t}(l.default.Component);n.default=h,t.exports=n.default},{"./styleMaps":916,"./utils/bootstrapUtils":920,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],867:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var s=e("react"),l=i(s),u=e("./ListGroupItem"),c=i(u),d=e("classnames"),f=i(d),p=e("./utils/ValidComponentChildren"),h=i(p),m=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.render=function(){var e=this,t=h.default.map(this.props.children,function(e,t){return s.cloneElement(e,{key:e.key?e.key:t})});if(this.areCustomChildren(t)){var n=this.props.componentClass;return l.default.createElement(n,a({},this.props,{className:f.default(this.props.className,"list-group")}),t)}var r=!1;return this.props.children?h.default.forEach(this.props.children,function(t){e.isAnchorOrButton(t.props)&&(r=!0)}):r=!0,r?this.renderDiv(t):this.renderUL(t)},t.prototype.isAnchorOrButton=function(e){return e.href||e.onClick},t.prototype.areCustomChildren=function(e){var t=!1;return h.default.forEach(e,function(e){e.type!==c.default&&(t=!0)},this),t},t.prototype.renderUL=function(e){var t=h.default.map(e,function(e){return s.cloneElement(e,{listItem:!0})});return l.default.createElement("ul",a({},this.props,{className:f.default(this.props.className,"list-group")}),t)},t.prototype.renderDiv=function(e){return l.default.createElement("div",a({},this.props,{className:f.default(this.props.className,"list-group")}),e)},t}(l.default.Component);m.defaultProps={componentClass:"div"},m.propTypes={className:l.default.PropTypes.string,componentClass:l.default.PropTypes.oneOf(["ul","div"]),id:l.default.PropTypes.oneOfType([l.default.PropTypes.string,l.default.PropTypes.number])},n.default=m,t.exports=n.default},{"./ListGroupItem":868,"./utils/ValidComponentChildren":919,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],868:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var s=e("react"),l=i(s),u=e("./utils/bootstrapUtils"),c=i(u),d=e("./styleMaps"),f=e("classnames"),p=i(f),h=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.render=function(){var e=c.default.getClassSet(this.props);return e.active=this.props.active,e.disabled=this.props.disabled,this.props.href?this.renderAnchor(e):this.props.onClick?this.renderButton(e):this.props.listItem?this.renderLi(e):this.renderSpan(e)},t.prototype.renderLi=function(e){return l.default.createElement("li",a({},this.props,{className:p.default(this.props.className,e)}),this.props.header?this.renderStructuredContent():this.props.children)},t.prototype.renderAnchor=function(e){return l.default.createElement("a",a({},this.props,{className:p.default(this.props.className,e)}),this.props.header?this.renderStructuredContent():this.props.children)},t.prototype.renderButton=function(e){return l.default.createElement("button",a({type:"button"},this.props,{className:p.default(this.props.className,e)}),this.props.header?this.renderStructuredContent():this.props.children)},t.prototype.renderSpan=function(e){return l.default.createElement("span",a({},this.props,{className:p.default(this.props.className,e)}),this.props.header?this.renderStructuredContent():this.props.children)},t.prototype.renderStructuredContent=function(){var e=void 0,t=c.default.prefix(this.props,"heading");e=l.default.isValidElement(this.props.header)?s.cloneElement(this.props.header,{key:"header",className:p.default(this.props.header.props.className,t)}):l.default.createElement("h4",{key:"header",className:t},this.props.header);var n=l.default.createElement("p",{key:"content",className:c.default.prefix(this.props,"text")},this.props.children);return[e,n]},t}(l.default.Component);h.propTypes={className:l.default.PropTypes.string,active:l.default.PropTypes.any,disabled:l.default.PropTypes.any,header:l.default.PropTypes.node,listItem:l.default.PropTypes.bool,onClick:l.default.PropTypes.func,eventKey:l.default.PropTypes.any,href:l.default.PropTypes.string,target:l.default.PropTypes.string},h.defaultTypes={listItem:!1},n.default=u.bsStyles(d.State.values(),u.bsClass("list-group-item",h)),t.exports=n.default},{"./styleMaps":916,"./utils/bootstrapUtils":920,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],869:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/object-without-properties").default,o=e("babel-runtime/helpers/extends").default,a=e("babel-runtime/core-js/object/assign").default,i=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var s=e("react"),l=i(s),u=e("react-prop-types/lib/elementType"),c=i(u),d=e("classnames"),f=i(d),p=e("./MediaHeading"),h=i(p),m=e("./MediaBody"),v=i(m),b=e("./MediaLeft"),g=i(b),y=e("./MediaRight"),_=i(y),M=e("./MediaList"),w=i(M),S=e("./MediaListItem"),C=i(S),x=l.default.createClass({displayName:"Media",propTypes:{componentClass:c.default},getDefaultProps:function(){return{componentClass:"div"}},render:function(){var e=this.props,t=e.componentClass,n=e.className,a=r(e,["componentClass","className"]);return l.default.createElement(t,o({},a,{className:f.default(n,"media")}))}});x=a(x,{Heading:h.default,Body:v.default,Left:g.default,Right:_.default,List:w.default,ListItem:C.default}),n.default=x,n.Heading=h.default,n.Body=v.default,n.Left=g.default,n.Right=_.default,n.List=w.default,n.ListItem=C.default},{"./MediaBody":870,"./MediaHeading":871,"./MediaLeft":872,"./MediaList":873,"./MediaListItem":874,"./MediaRight":875,"babel-runtime/core-js/object/assign":926,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269,"react-prop-types/lib/elementType":1137}],870:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/object-without-properties").default,o=e("babel-runtime/helpers/extends").default,a=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var i=e("react"),s=a(i),l=e("react-prop-types/lib/elementType"),u=a(l),c=e("classnames"),d=a(c),f=s.default.createClass({displayName:"Media.Body",propTypes:{componentClass:u.default},getDefaultProps:function(){return{componentClass:"div"}},render:function(){var e=this.props,t=e.componentClass,n=e.className,a=r(e,["componentClass","className"]);return s.default.createElement(t,o({},a,{className:d.default(n,"media-body")}))}});n.default=f,t.exports=n.default},{"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269,"react-prop-types/lib/elementType":1137}],871:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/object-without-properties").default,o=e("babel-runtime/helpers/extends").default,a=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var i=e("react"),s=a(i),l=e("react-prop-types/lib/elementType"),u=a(l),c=e("classnames"),d=a(c),f=s.default.createClass({displayName:"Media.Heading",propTypes:{componentClass:u.default},getDefaultProps:function(){return{componentClass:"h4"}},render:function(){var e=this.props,t=e.componentClass,n=e.className,a=r(e,["componentClass","className"]);return s.default.createElement(t,o({},a,{className:d.default(n,"media-heading")}))}});n.default=f,t.exports=n.default},{"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269,"react-prop-types/lib/elementType":1137}],872:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/object-without-properties").default,o=e("babel-runtime/helpers/extends").default,a=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var i=e("react"),s=a(i),l=e("classnames"),u=a(l),c=s.default.createClass({displayName:"Media.Left",propTypes:{align:s.default.PropTypes.oneOf(["top","middle","bottom"])},render:function(){var e,t=this.props,n=t.align,a=t.className,i=r(t,["align","className"]),l=u.default(a,"media-left",(e={},e["media-"+n]=Boolean(n),e));return s.default.createElement("div",o({},i,{className:l}))}});n.default=c,t.exports=n.default},{"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269}],873:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/object-without-properties").default,o=e("babel-runtime/helpers/extends").default,a=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var i=e("react"),s=a(i),l=e("classnames"),u=a(l),c=s.default.createClass({displayName:"Media.List",render:function(){var e=this.props,t=e.className,n=r(e,["className"]);return s.default.createElement("ul",o({},n,{className:u.default(t,"media-list")}))}});n.default=c,t.exports=n.default},{"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269}],874:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/object-without-properties").default,o=e("babel-runtime/helpers/extends").default,a=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var i=e("react"),s=a(i),l=e("classnames"),u=a(l),c=s.default.createClass({displayName:"Media.ListItem",render:function(){var e=this.props,t=e.className,n=r(e,["className"]);return s.default.createElement("li",o({},n,{className:u.default(t,"media")}))}});n.default=c,t.exports=n.default},{"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269}],875:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/object-without-properties").default,o=e("babel-runtime/helpers/extends").default,a=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var i=e("react"),s=a(i),l=e("classnames"),u=a(l),c=s.default.createClass({displayName:"Media.Right",propTypes:{align:s.default.PropTypes.oneOf(["top","middle","bottom"])},render:function(){var e,t=this.props,n=t.align,a=t.className,i=r(t,["align","className"]),l=u.default(a,"media-right",(e={},e["media-"+n]=Boolean(n),e));return s.default.createElement("div",o({},i,{className:l}))}});n.default=c,t.exports=n.default},{"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269}],876:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/object-without-properties").default,i=e("babel-runtime/helpers/extends").default,s=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var l=e("classnames"),u=s(l),c=e("react"),d=s(c),f=e("./utils/bootstrapUtils"),p=s(f),h=e("react-prop-types/lib/all"),m=s(h),v=e("./SafeAnchor"),b=s(v),g=e("./utils/createChainedFunction"),y=s(g),_=function(e){function t(n){o(this,t),e.call(this,n),this.handleClick=this.handleClick.bind(this)}return r(t,e),t.prototype.handleClick=function(e){this.props.href&&!this.props.disabled||e.preventDefault(),this.props.disabled||this.props.onSelect&&this.props.onSelect(e,this.props.eventKey)},t.prototype.render=function(){var e=p.default.prefix(this.props,"header");if(this.props.divider)return d.default.createElement("li",{role:"separator",className:u.default("divider",this.props.className)});if(this.props.header)return d.default.createElement("li",{role:"heading",className:e},this.props.children);var t=this.props,n=t.className,r=t.style,o=t.onClick,s=a(t,["className","style","onClick"]),l={disabled:this.props.disabled,active:this.props.active};return d.default.createElement(b.default,i({},s,{role:"menuitem",tabIndex:"-1",className:u.default(n,l).concat(" dropdown-item"),style:r,onClick:y.default(o,this.handleClick)}))},t}(d.default.Component);_.propTypes={active:d.default.PropTypes.bool,disabled:d.default.PropTypes.bool,divider:m.default(d.default.PropTypes.bool,function(e){if(e.divider&&e.children)return new Error("Children will not be rendered for dividers")}),eventKey:d.default.PropTypes.any,header:d.default.PropTypes.bool,href:d.default.PropTypes.string,target:d.default.PropTypes.string,title:d.default.PropTypes.string,onClick:d.default.PropTypes.func,onKeyDown:d.default.PropTypes.func,onSelect:d.default.PropTypes.func,id:d.default.PropTypes.oneOfType([d.default.PropTypes.string,d.default.PropTypes.number])},_.defaultProps={divider:!1,disabled:!1,header:!1},n.default=f.bsClass("dropdown",_),t.exports=n.default},{"./SafeAnchor":905,"./utils/bootstrapUtils":920,"./utils/createChainedFunction":923,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269,"react-prop-types/lib/all":1134}],877:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/object-without-properties").default,a=e("babel-runtime/core-js/object/keys").default,i=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var s=e("classnames"),l=i(s),u=e("react"),c=i(u),d=e("react-dom"),f=i(d),p=e("./utils/bootstrapUtils"),h=i(p),m=e("./styleMaps"),v=e("dom-helpers/util/scrollbarSize"),b=i(v),g=e("dom-helpers/util/inDOM"),y=i(g),_=e("dom-helpers/ownerDocument"),M=i(_),w=e("dom-helpers/events"),S=i(w),C=e("react-prop-types/lib/elementType"),x=i(C),k=e("./Fade"),T=i(k),A=e("./ModalDialog"),P=i(A),N=e("./ModalBody"),O=i(N),E=e("./ModalHeader"),z=i(E),R=e("./ModalTitle"),j=i(R),L=e("./ModalFooter"),D=i(L),I=e("react-overlays/lib/Modal"),B=i(I),V=e("react-overlays/lib/utils/isOverflowing"),q=i(V),F=e("lodash-compat/object/pick"),U=i(F),W=c.default.createClass({displayName:"Modal",propTypes:r({},B.default.propTypes,P.default.propTypes,{backdrop:c.default.PropTypes.oneOf(["static",!0,!1]),keyboard:c.default.PropTypes.bool,animation:c.default.PropTypes.bool,dialogComponent:x.default,autoFocus:c.default.PropTypes.bool,enforceFocus:c.default.PropTypes.bool,bsStyle:c.default.PropTypes.string,show:c.default.PropTypes.bool,onHide:c.default.PropTypes.func,onEnter:c.default.PropTypes.func,onEntering:c.default.PropTypes.func,onEntered:c.default.PropTypes.func,onExit:c.default.PropTypes.func,onExiting:c.default.PropTypes.func,onExited:c.default.PropTypes.func}),childContextTypes:{$bs_onModalHide:c.default.PropTypes.func},getDefaultProps:function(){return r({},B.default.defaultProps,{bsClass:"modal",animation:!0,dialogComponent:P.default})},getInitialState:function(){return{modalStyles:{}}},getChildContext:function(){return{$bs_onModalHide:this.props.onHide}},componentWillUnmount:function(){S.default.off(window,"resize",this.handleWindowResize)},render:function(){var e=this,t=this.props,n=t.className,i=(t.children,t.dialogClassName),s=t.animation,u=o(t,["className","children","dialogClassName","animation"]),d=this.state.modalStyles,f={in:u.show&&!s},p=u.dialogComponent,m=U.default(u,a(B.default.propTypes).concat(["onExit","onExiting","onEnter","onEntered"])),v=c.default.createElement(p,r({key:"modal",ref:function(t){return e._modal=t}},u,{style:d,className:l.default(n,f),dialogClassName:i,onClick:u.backdrop===!0?this.handleDialogClick:null}),this.props.children);return c.default.createElement(B.default,r({},m,{show:u.show,ref:function(t){e._wrapper=t&&t.refs.modal,e._backdrop=t&&t.refs.backdrop},onEntering:this._onShow,onExited:this._onHide,backdropClassName:l.default(h.default.prefix(u,"backdrop"),f),containerClassName:h.default.prefix(u,"open"),transition:s?T.default:void 0,dialogTransitionTimeout:W.TRANSITION_DURATION,backdropTransitionTimeout:W.BACKDROP_TRANSITION_DURATION}),v)},_onShow:function(){if(S.default.on(window,"resize",this.handleWindowResize),this.setState(this._getStyles()),this.props.onEntering){var e;(e=this.props).onEntering.apply(e,arguments)}},_onHide:function(){if(S.default.off(window,"resize",this.handleWindowResize),this.props.onExited){var e;(e=this.props).onExited.apply(e,arguments)}},handleDialogClick:function(e){e.target===e.currentTarget&&this.props.onHide()},handleWindowResize:function(){this.setState(this._getStyles())},_getStyles:function(){if(!y.default)return{};var e=f.default.findDOMNode(this._modal),t=M.default(e),n=e.scrollHeight,r=q.default(f.default.findDOMNode(this.props.container||t.body)),o=n>t.documentElement.clientHeight;return{modalStyles:{paddingRight:r&&!o?b.default():void 0,paddingLeft:!r&&o?b.default():void 0}}}});W.Body=O.default,W.Header=z.default,W.Title=j.default,W.Footer=D.default,W.Dialog=P.default,W.TRANSITION_DURATION=300,W.BACKDROP_TRANSITION_DURATION=150,n.default=p.bsSizes([m.Sizes.LARGE,m.Sizes.SMALL],p.bsClass("modal",W)),t.exports=n.default},{"./Fade":855,"./ModalBody":878,"./ModalDialog":879,"./ModalFooter":880,"./ModalHeader":881,"./ModalTitle":882,"./styleMaps":916,"./utils/bootstrapUtils":920,"babel-runtime/core-js/object/keys":928,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,"dom-helpers/events":250,"dom-helpers/ownerDocument":253,"dom-helpers/util/inDOM":273,"dom-helpers/util/scrollbarSize":275,"lodash-compat/object/pick":449,react:1269,"react-dom":974,"react-overlays/lib/Modal":1114,"react-overlays/lib/utils/isOverflowing":1127,"react-prop-types/lib/elementType":1137}],878:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var s=e("react"),l=i(s),u=e("classnames"),c=i(u),d=e("./utils/bootstrapUtils"),f=i(d),p=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.render=function(){return l.default.createElement("div",a({},this.props,{className:c.default(this.props.className,f.default.prefix(this.props,"body"))}),this.props.children)},t}(l.default.Component);n.default=d.bsClass("modal",p),t.exports=n.default},{"./utils/bootstrapUtils":920,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],879:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=e("./utils/bootstrapUtils"),c=o(u),d=e("./styleMaps"),f=i.default.createClass({displayName:"ModalDialog",propTypes:{dialogClassName:i.default.PropTypes.string},render:function(){var e=r({display:"block"},this.props.style),t=c.default.prefix(this.props),n=c.default.getClassSet(this.props);return delete n[t],n[c.default.prefix(this.props,"dialog")]=!0,i.default.createElement("div",r({},this.props,{title:null,tabIndex:"-1",role:"dialog",style:e,className:l.default(this.props.className,t)}),i.default.createElement("div",{className:l.default(this.props.dialogClassName,n)},i.default.createElement("div",{className:c.default.prefix(this.props,"content"),role:"document"},this.props.children)))}});n.default=u.bsSizes([d.Sizes.LARGE,d.Sizes.SMALL],u.bsClass("modal",f)),t.exports=n.default},{"./styleMaps":916,"./utils/bootstrapUtils":920,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],880:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var s=e("react"),l=i(s),u=e("classnames"),c=i(u),d=e("./utils/bootstrapUtils"),f=i(d),p=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.render=function(){return l.default.createElement("div",a({},this.props,{className:c.default(this.props.className,f.default.prefix(this.props,"footer"))}),this.props.children)},t}(l.default.Component);p.propTypes={bsClass:l.default.PropTypes.string},p.defaultProps={bsClass:"modal"},n.default=d.bsClass("modal",p),t.exports=n.default},{"./utils/bootstrapUtils":920,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],881:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/object-without-properties").default,i=e("babel-runtime/helpers/extends").default,s=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var l=e("react"),u=s(l),c=e("classnames"),d=s(c),f=e("./utils/bootstrapUtils"),p=s(f),h=e("./utils/createChainedFunction"),m=s(h),v=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.render=function(){var e=this.props,t=e["aria-label"],n=a(e,["aria-label"]),r=m.default(this.context.$bs_onModalHide,this.props.onHide);return u.default.createElement("div",i({},n,{className:d.default(this.props.className,p.default.prefix(this.props,"header"))}),this.props.closeButton&&u.default.createElement("button",{type:"button",className:"close","aria-label":t,onClick:r},u.default.createElement("span",{"aria-hidden":"true"},"×")),this.props.children)},t}(u.default.Component);v.propTypes={"aria-label":u.default.PropTypes.string,bsClass:u.default.PropTypes.string,closeButton:u.default.PropTypes.bool,onHide:u.default.PropTypes.func},v.contextTypes={$bs_onModalHide:u.default.PropTypes.func},v.defaultProps={"aria-label":"Close",closeButton:!1},n.default=f.bsClass("modal",v),t.exports=n.default},{"./utils/bootstrapUtils":920,"./utils/createChainedFunction":923,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,
|
36 | "babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269}],882:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var s=e("react"),l=i(s),u=e("classnames"),c=i(u),d=e("./utils/bootstrapUtils"),f=i(d),p=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.render=function(){return l.default.createElement("h4",a({},this.props,{className:c.default(this.props.className,f.default.prefix(this.props,"title"))}),this.props.children)},t}(l.default.Component);n.default=d.bsClass("modal",p),t.exports=n.default},{"./utils/bootstrapUtils":920,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],883:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var s=e("react"),l=i(s),u=e("classnames"),c=i(u),d=e("react-prop-types/lib/all"),f=i(d),p=e("react-prop-types/lib/deprecated"),h=i(p),m=e("./utils/bootstrapUtils"),v=i(m),b=e("./utils/ValidComponentChildren"),g=i(b),y=e("./utils/createChainedFunction"),_=i(y),M=e("./Collapse"),w=i(M),S=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.ulClassName,r=e.id,o=e.ulId,i=null!=this.props.navbar?this.props.navbar:this.context.$bs_navbar,s=v.default.getClassSet(this.props);if(s[v.default.prefix(this.props,"stacked")]=this.props.stacked,s[v.default.prefix(this.props,"justified")]=this.props.justified,i){var u=this.context.$bs_navbar_bsClass||"navbar",d=null!=this.props.right?this.props.right:this.props.pullRight;s[v.default.prefix({bsClass:u},"nav")]=!0,s[v.default.prefix({bsClass:u},"right")]=d,s[v.default.prefix({bsClass:u},"left")]=this.props.pullLeft}else s["pull-right"]=this.props.pullRight,s["pull-left"]=this.props.pullLeft;var f=l.default.createElement("ul",a({ref:"ul"},this.props,{id:o||r,role:"tabs"===this.props.bsStyle?"tablist":null,className:c.default(t,n,s)}),g.default.map(this.props.children,this.renderNavItem,this));return this.context.$bs_deprecated_navbar&&this.props.collapsible&&(f=l.default.createElement(w.default,{in:this.props.expanded,className:i?"navbar-collapse":void 0},l.default.createElement("div",null,f))),f},t.prototype.getChildActiveProp=function(e){return!!e.props.active||(null!=this.props.activeKey&&e.props.eventKey===this.props.activeKey||(null!=this.props.activeHref&&e.props.href===this.props.activeHref||e.props.active))},t.prototype.renderNavItem=function(e,t){return s.cloneElement(e,{role:"tabs"===this.props.bsStyle?"tab":null,active:this.getChildActiveProp(e),activeKey:this.props.activeKey,activeHref:this.props.activeHref,onSelect:_.default(e.props.onSelect,this.props.onSelect),key:e.key?e.key:t,navItem:!0})},t}(l.default.Component);S.propTypes={activeHref:l.default.PropTypes.string,activeKey:l.default.PropTypes.any,stacked:l.default.PropTypes.bool,justified:f.default(l.default.PropTypes.bool,function(e){var t=e.justified,n=e.navbar;return t&&n?Error("justified navbar `Nav`s are not supported"):null}),onSelect:l.default.PropTypes.func,className:l.default.PropTypes.string,id:l.default.PropTypes.oneOfType([l.default.PropTypes.string,l.default.PropTypes.number]),ulClassName:h.default(l.default.PropTypes.string,"The wrapping `<nav>` has been removed you can use `className` now"),ulId:h.default(l.default.PropTypes.string,"The wrapping `<nav>` has been removed you can use `id` now"),navbar:l.default.PropTypes.bool,eventKey:l.default.PropTypes.any,pullRight:l.default.PropTypes.bool,pullLeft:l.default.PropTypes.bool,right:h.default(l.default.PropTypes.bool,"Use the `pullRight` prop instead"),expanded:l.default.PropTypes.bool,collapsible:h.default(l.default.PropTypes.bool,"Use `Navbar.Collapse` instead, to create collapsible Navbars")},S.contextTypes={$bs_navbar:l.default.PropTypes.bool,$bs_navbar_bsClass:l.default.PropTypes.string,$bs_deprecated_navbar:l.default.PropTypes.bool},S.defaultProps={justified:!1,pullRight:!1,pullLeft:!1,stacked:!1},n.default=m.bsClass("nav",m.bsStyles(["tabs","pills"],S)),t.exports=n.default},{"./Collapse":849,"./utils/ValidComponentChildren":919,"./utils/bootstrapUtils":920,"./utils/createChainedFunction":923,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269,"react-prop-types/lib/all":1134,"react-prop-types/lib/deprecated":1136}],884:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var o=e("./NavbarBrand"),a=r(o),i=e("./utils/deprecationWarning"),s=r(i);n.default=s.default.wrapper(a.default,{message:"The `NavBrand` component has been renamed to: `NavbarBrand`. Please use that component instead; this alias will be removed in an upcoming release"}),t.exports=n.default},{"./NavbarBrand":888,"./utils/deprecationWarning":925,"babel-runtime/helpers/interop-require-default":933}],885:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/object-without-properties").default,s=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var l=e("react"),u=s(l),c=e("./Dropdown"),d=s(c),f=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.title,r=e.noCaret,o=i(e,["children","title","noCaret"]);return u.default.createElement(d.default,a({},o,{componentClass:"li"}),u.default.createElement(d.default.Toggle,{useAnchor:!0,disabled:o.disabled,noCaret:r},n),u.default.createElement(d.default.Menu,null,t))},t}(u.default.Component);f.propTypes=a({noCaret:u.default.PropTypes.bool,title:u.default.PropTypes.node.isRequired},d.default.propTypes),n.default=f,t.exports=n.default},{"./Dropdown":851,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,react:1269}],886:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/object-without-properties").default,o=e("babel-runtime/helpers/extends").default,a=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var i=e("react"),s=a(i),l=e("classnames"),u=a(l),c=e("./SafeAnchor"),d=a(c),f=e("./utils/createChainedFunction"),p=a(f),h=s.default.createClass({displayName:"NavItem",propTypes:{linkId:s.default.PropTypes.string,onSelect:s.default.PropTypes.func,active:s.default.PropTypes.bool,disabled:s.default.PropTypes.bool,href:s.default.PropTypes.string,onClick:s.default.PropTypes.func,role:s.default.PropTypes.string,title:s.default.PropTypes.node,eventKey:s.default.PropTypes.any,target:s.default.PropTypes.string,"aria-controls":s.default.PropTypes.string},getDefaultProps:function(){return{active:!1,disabled:!1}},render:function(){var e=this.props,t=e.role,n=e.linkId,a=e.disabled,i=e.active,l=e.href,c=e.onClick,f=e.title,h=e.target,m=e.children,v=e.tabIndex,b=e["aria-controls"],g=r(e,["role","linkId","disabled","active","href","onClick","title","target","children","tabIndex","aria-controls"]),y={active:i,disabled:a},_={role:t,href:l,onClick:p.default(c,this.handleClick),title:f,target:h,tabIndex:v,id:n};return t||"#"!==l?"tab"===t&&(_["aria-selected"]=i):_.role="button",s.default.createElement("li",o({},g,{role:"presentation",className:u.default(g.className,y)}),s.default.createElement(d.default,o({},_,{"aria-controls":b}),m))},handleClick:function(e){this.props.onSelect&&(e.preventDefault(),this.props.disabled||this.props.onSelect(this.props.eventKey,this.props.href,this.props.target))}});n.default=h,t.exports=n.default},{"./SafeAnchor":905,"./utils/createChainedFunction":923,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269}],887:[function(e,t,n){"use strict";function r(e){var t=e.props;return D(t,"brand")||D(t,"toggleButton")||D(t,"toggleNavKey")||D(t,"navExpanded")||D(t,"defaultNavExpanded")||M.default.findValidComponents(t.children,function(e){return"brand"===e.props.bsRole}).length>0}function o(e,t,n){var r=function(e,n){var r,o=e.componentClass,s=e.className,l=a(e,["componentClass","className"]),c=n.$bs_navbar_bsClass,d=void 0===c?"navbar":c;return u.default.createElement(o,i({},l,{className:p.default(s,j.default.prefix({bsClass:d},t),(r={},r[j.default.prefix({bsClass:d},"right")]=l.pullRight,r[j.default.prefix({bsClass:d},"left")]=l.pullLeft,r))}))};return r.displayName=n,r.propTypes={componentClass:m.default,pullRight:u.default.PropTypes.bool,pullLeft:u.default.PropTypes.bool},r.defaultProps={componentClass:e,pullRight:!1,pullLeft:!1},r.contextTypes={$bs_navbar_bsClass:l.PropTypes.string},r}var a=e("babel-runtime/helpers/object-without-properties").default,i=e("babel-runtime/helpers/extends").default,s=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var l=e("react"),u=s(l),c=e("uncontrollable"),d=s(c),f=e("classnames"),p=s(f),h=e("react-prop-types/lib/elementType"),m=s(h),v=e("react-prop-types/lib/deprecated"),b=s(v),g=e("./utils/deprecationWarning"),y=s(g),_=e("./utils/ValidComponentChildren"),M=s(_),w=e("./Grid"),S=s(w),C=e("./deprecated/Navbar"),x=s(C),k=e("./NavbarBrand"),T=s(k),A=e("./NavbarHeader"),P=s(A),N=e("./NavbarToggle"),O=s(N),E=e("./NavbarCollapse"),z=s(E),R=e("./utils/bootstrapUtils"),j=s(R),L=e("./styleMaps"),D=function(e,t){return e&&{}.hasOwnProperty.call(e,t)},I=u.default.createClass({displayName:"Navbar",propTypes:{fixedTop:u.default.PropTypes.bool,fixedBottom:u.default.PropTypes.bool,staticTop:u.default.PropTypes.bool,inverse:u.default.PropTypes.bool,fluid:u.default.PropTypes.bool,componentClass:m.default,onToggle:u.default.PropTypes.func,expanded:u.default.PropTypes.bool,navExpanded:b.default(u.default.PropTypes.bool,"Use `expanded` and `defaultExpanded` instead.")},childContextTypes:{$bs_navbar:l.PropTypes.bool,$bs_navbar_bsClass:l.PropTypes.string,$bs_navbar_onToggle:l.PropTypes.func,$bs_navbar_expanded:l.PropTypes.bool},getDefaultProps:function(){return{componentClass:"nav",fixedTop:!1,fixedBottom:!1,staticTop:!1,inverse:!1,fluid:!1}},getChildContext:function(){return{$bs_navbar:!0,$bs_navbar_bsClass:this.props.bsClass,$bs_navbar_onToggle:this.handleToggle,$bs_navbar_expanded:this.props.expanded}},handleToggle:function(){this.props.onToggle(!this.props.expanded)},isNavExpanded:function(){return!!this.props.expanded},render:function(){if(r(this))return y.default({message:"Rendering a deprecated version of the Navbar due to the use of deprecated props. Please use the new Navbar api, and remove `toggleButton`, `toggleNavKey`, `brand`, `navExpanded`, `defaultNavExpanded` props or the use of the `<NavBrand>` component outside of a `<Navbar.Header>`. \n\nfor more details see: http://react-bootstrap.github.io/components.html#navbars"}),u.default.createElement(x.default,this.props);var e=this.props,t=e.fixedTop,n=e.fixedBottom,o=e.staticTop,s=e.inverse,l=e.componentClass,c=e.fluid,d=e.className,f=e.children,h=a(e,["fixedTop","fixedBottom","staticTop","inverse","componentClass","fluid","className","children"]);void 0===h.role&&"nav"!==l&&(h.role="navigation"),s&&(h.bsStyle=L.INVERSE);var m=j.default.getClassSet(h);return m[j.default.prefix(this.props,"fixed-top")]=t,m[j.default.prefix(this.props,"fixed-bottom")]=n,m[j.default.prefix(this.props,"static-top")]=o,u.default.createElement(l,i({},h,{className:p.default(d,m)}),u.default.createElement(S.default,{fluid:c},f))}}),B=[L.DEFAULT,L.INVERSE];I=R.bsStyles(B,L.DEFAULT,R.bsClass("navbar",d.default(I,{expanded:"onToggle"}))),I.Brand=T.default,I.Header=P.default,I.Toggle=O.default,I.Collapse=z.default,I.Form=o("div","form","NavbarForm"),I.Text=o("p","text","NavbarText"),I.Link=o("a","link","NavbarLink"),n.default=I,t.exports=n.default},{"./Grid":860,"./NavbarBrand":888,"./NavbarCollapse":889,"./NavbarHeader":890,"./NavbarToggle":891,"./deprecated/Navbar":914,"./styleMaps":916,"./utils/ValidComponentChildren":919,"./utils/bootstrapUtils":920,"./utils/deprecationWarning":925,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269,"react-prop-types/lib/deprecated":1136,"react-prop-types/lib/elementType":1137,uncontrollable:1363}],888:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/object-without-properties").default,i=e("babel-runtime/helpers/extends").default,s=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var l=e("react"),u=s(l),c=e("classnames"),d=s(c),f=e("./utils/bootstrapUtils"),p=s(f),h=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.children,r=a(e,["className","children"]),o=this.context.$bs_navbar_bsClass,s=void 0===o?"navbar":o,l=p.default.prefix({bsClass:s},"brand");return u.default.isValidElement(n)?u.default.cloneElement(n,{className:d.default(n.props.className,t,l)}):u.default.createElement("span",i({},r,{className:d.default(t,l)}),n)},t}(u.default.Component);h.contextTypes={$bs_navbar_bsClass:u.default.PropTypes.string},n.default=h,t.exports=n.default},{"./utils/bootstrapUtils":920,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269}],889:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/object-without-properties").default,o=e("babel-runtime/helpers/extends").default,a=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var i=e("react"),s=a(i),l=e("./utils/bootstrapUtils"),u=a(l),c=e("./Collapse"),d=a(c),f=s.default.createClass({displayName:"NavbarCollapse",contextTypes:{$bs_navbar_bsClass:i.PropTypes.string,$bs_navbar_expanded:i.PropTypes.bool},render:function(){var e=this.props,t=e.children,n=r(e,["children"]),a=this.context,i=a.$bs_navbar_bsClass,l=void 0===i?"navbar":i,c=a.$bs_navbar_expanded;return s.default.createElement(d.default,o({in:c},n),s.default.createElement("div",{className:u.default.prefix({bsClass:l},"collapse")},t))}});n.default=f,t.exports=n.default},{"./Collapse":849,"./utils/bootstrapUtils":920,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,react:1269}],890:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/object-without-properties").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=e("./utils/bootstrapUtils"),c=o(u),d=i.default.createClass({displayName:"NavbarHeader",contextTypes:{$bs_navbar_bsClass:a.PropTypes.string},render:function(){var e=this.props,t=e.className,n=e.children,o=(r(e,["className","children"]),this.context.$bs_navbar_bsClass),a=void 0===o?"navbar":o,s=c.default.prefix({bsClass:a},"header");return i.default.createElement("div",{className:l.default(t,s)},n)}});n.default=d,t.exports=n.default},{"./utils/bootstrapUtils":920,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269}],891:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/object-without-properties").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("./utils/bootstrapUtils"),l=o(s),u=i.default.createClass({displayName:"NavbarToggle",propTypes:{children:a.PropTypes.node},contextTypes:{$bs_navbar_bsClass:a.PropTypes.string,$bs_navbar_onToggle:a.PropTypes.func},render:function(){var e=this.props,t=e.children,n=(r(e,["children"]),this.context),o=n.$bs_navbar_bsClass,a=void 0===o?"navbar":o,s=n.$bs_navbar_onToggle;return i.default.createElement("button",{type:"button",onClick:s,className:l.default.prefix({bsClass:a},"toggle")},t||[i.default.createElement("span",{className:"sr-only",key:0},"Toggle navigation"),i.default.createElement("span",{className:"icon-bar",key:1}),i.default.createElement("span",{className:"icon-bar",key:2}),i.default.createElement("span",{className:"icon-bar",key:3})])}});n.default=u,t.exports=n.default},{"./utils/bootstrapUtils":920,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,react:1269}],892:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/object-without-properties").default,s=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var l=e("react"),u=s(l),c=e("react-overlays/lib/Overlay"),d=s(c),f=e("react-prop-types/lib/elementType"),p=s(f),h=e("./Fade"),m=s(h),v=e("classnames"),b=s(v),g=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.animation,r=i(e,["children","animation"]);return n===!0&&(n=m.default),n===!1&&(n=null),n||(t=l.cloneElement(t,{className:b.default("in",t.props.className)})),u.default.createElement(d.default,a({},r,{transition:n}),t)},t}(u.default.Component);g.propTypes=a({},d.default.propTypes,{show:u.default.PropTypes.bool,rootClose:u.default.PropTypes.bool,onHide:u.default.PropTypes.func,animation:u.default.PropTypes.oneOfType([u.default.PropTypes.bool,p.default]),onEnter:u.default.PropTypes.func,onEntering:u.default.PropTypes.func,onEntered:u.default.PropTypes.func,onExit:u.default.PropTypes.func,onExiting:u.default.PropTypes.func,onExited:u.default.PropTypes.func}),g.defaultProps={animation:m.default,rootClose:!1,show:!1},n.default=g,t.exports=n.default},{"./Fade":855,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269,"react-overlays/lib/Overlay":1116,"react-prop-types/lib/elementType":1137}],893:[function(e,t,n){(function(r){"use strict";function o(e,t){return Array.isArray(t)?t.indexOf(e)>=0:e===t}var a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/core-js/object/keys").default,s=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var l=e("dom-helpers/query/contains"),u=s(l),c=e("lodash-compat/object/pick"),d=s(c),f=e("react"),p=s(f),h=e("react-dom"),m=s(h),v=e("warning"),b=s(v),g=e("./Overlay"),y=s(g),_=e("./utils/createChainedFunction"),M=s(_),w=p.default.createClass({displayName:"OverlayTrigger",propTypes:a({},y.default.propTypes,{trigger:p.default.PropTypes.oneOfType([p.default.PropTypes.oneOf(["click","hover","focus"]),p.default.PropTypes.arrayOf(p.default.PropTypes.oneOf(["click","hover","focus"]))]),delay:p.default.PropTypes.number,delayShow:p.default.PropTypes.number,delayHide:p.default.PropTypes.number,defaultOverlayShown:p.default.PropTypes.bool,overlay:p.default.PropTypes.node.isRequired,onBlur:p.default.PropTypes.func,onClick:p.default.PropTypes.func,onFocus:p.default.PropTypes.func,onMouseEnter:p.default.PropTypes.func,onMouseLeave:p.default.PropTypes.func,target:function(){},onHide:function(){},show:function(){}}),getDefaultProps:function(){return{defaultOverlayShown:!1,trigger:["hover","focus"]}},getInitialState:function(){return{isOverlayShown:this.props.defaultOverlayShown}},show:function(){this.setState({isOverlayShown:!0})},hide:function(){this.setState({isOverlayShown:!1})},toggle:function(){this.state.isOverlayShown?this.hide():this.show()},componentWillMount:function(){this.handleMouseOver=this.handleMouseOverOut.bind(null,this.handleDelayedShow),this.handleMouseOut=this.handleMouseOverOut.bind(null,this.handleDelayedHide)},componentDidMount:function(){this._mountNode=document.createElement("div"),this.renderOverlay()},renderOverlay:function(){m.default.unstable_renderSubtreeIntoContainer(this,this._overlay,this._mountNode)},componentWillUnmount:function(){m.default.unmountComponentAtNode(this._mountNode),this._mountNode=null,clearTimeout(this._hoverShowDelay),clearTimeout(this._hoverHideDelay)},componentDidUpdate:function(){this._mountNode&&this.renderOverlay()},getOverlayTarget:function(){return m.default.findDOMNode(this)},getOverlay:function(){var e=a({},d.default(this.props,i(y.default.propTypes)),{show:this.state.isOverlayShown,onHide:this.hide,target:this.getOverlayTarget,onExit:this.props.onExit,onExiting:this.props.onExiting,onExited:this.props.onExited,onEnter:this.props.onEnter,onEntering:this.props.onEntering,onEntered:this.props.onEntered}),t=f.cloneElement(this.props.overlay,{placement:e.placement,container:e.container});return p.default.createElement(y.default,e,t)},render:function(){var e=p.default.Children.only(this.props.children),t=e.props,n={"aria-describedby":this.props.overlay.props.id};return this._overlay=this.getOverlay(),n.onClick=M.default(t.onClick,this.props.onClick),o("click",this.props.trigger)&&(n.onClick=M.default(this.toggle,n.onClick)),o("hover",this.props.trigger)&&("production"!==r.env.NODE_ENV?b.default(!("hover"===this.props.trigger),'[react-bootstrap] Specifying only the `"hover"` trigger limits the visibilty of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'):void 0,n.onMouseOver=M.default(this.handleMouseOver,this.props.onMouseOver,t.onMouseOver),n.onMouseOut=M.default(this.handleMouseOut,this.props.onMouseOut,t.onMouseOut)),o("focus",this.props.trigger)&&(n.onFocus=M.default(this.handleDelayedShow,this.props.onFocus,t.onFocus),n.onBlur=M.default(this.handleDelayedHide,this.props.onBlur,t.onBlur)),f.cloneElement(e,n)},handleDelayedShow:function(){var e=this;if(null!=this._hoverHideDelay)return clearTimeout(this._hoverHideDelay),void(this._hoverHideDelay=null);if(!this.state.isOverlayShown&&null==this._hoverShowDelay){var t=null!=this.props.delayShow?this.props.delayShow:this.props.delay;return t?void(this._hoverShowDelay=setTimeout(function(){e._hoverShowDelay=null,e.show()},t)):void this.show()}},handleDelayedHide:function(){var e=this;if(null!=this._hoverShowDelay)return clearTimeout(this._hoverShowDelay),void(this._hoverShowDelay=null);if(this.state.isOverlayShown&&null==this._hoverHideDelay){var t=null!=this.props.delayHide?this.props.delayHide:this.props.delay;return t?void(this._hoverHideDelay=setTimeout(function(){e._hoverHideDelay=null,e.hide()},t)):void this.hide()}},handleMouseOverOut:function(e,t){var n=t.currentTarget,r=t.relatedTarget||t.nativeEvent.toElement;r&&(r===n||u.default(n,r))||e(t)}});n.default=w,t.exports=n.default}).call(this,e("_process"))},{"./Overlay":892,"./utils/createChainedFunction":923,_process:828,"babel-runtime/core-js/object/keys":928,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"dom-helpers/query/contains":255,"lodash-compat/object/pick":449,react:1269,"react-dom":974,warning:936}],894:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=i.default.createClass({displayName:"PageHeader",render:function(){return i.default.createElement("div",r({},this.props,{className:l.default(this.props.className,"page-header")}),i.default.createElement("h1",null,this.props.children))}});n.default=u,t.exports=n.default},{"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],895:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=e("./SafeAnchor"),c=o(u),d=i.default.createClass({displayName:"PageItem",propTypes:{href:i.default.PropTypes.string,target:i.default.PropTypes.string,title:i.default.PropTypes.string,disabled:i.default.PropTypes.bool,previous:i.default.PropTypes.bool,next:i.default.PropTypes.bool,onSelect:i.default.PropTypes.func,eventKey:i.default.PropTypes.any},getDefaultProps:function(){return{disabled:!1,previous:!1,next:!1}},render:function(){var e={disabled:this.props.disabled,previous:this.props.previous,next:this.props.next};return i.default.createElement("li",r({},this.props,{className:l.default(this.props.className,e)}),i.default.createElement(c.default,{href:this.props.href,title:this.props.title,target:this.props.target,onClick:this.handleSelect},this.props.children))},handleSelect:function(e){(this.props.onSelect||this.props.disabled)&&(e.preventDefault(),this.props.disabled||this.props.onSelect(this.props.eventKey,this.props.href,this.props.target))}});n.default=d,t.exports=n.default},{"./SafeAnchor":905,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],896:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=e("./utils/ValidComponentChildren"),c=o(u),d=e("./utils/createChainedFunction"),f=o(d),p=i.default.createClass({displayName:"Pager",propTypes:{onSelect:i.default.PropTypes.func},render:function(){return i.default.createElement("ul",r({},this.props,{className:l.default(this.props.className,"pager")}),c.default.map(this.props.children,this.renderPageItem))},renderPageItem:function(e,t){return a.cloneElement(e,{onSelect:f.default(e.props.onSelect,this.props.onSelect),key:e.key?e.key:t})}});n.default=p,t.exports=n.default},{"./utils/ValidComponentChildren":919,"./utils/createChainedFunction":923,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],897:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=e("./utils/bootstrapUtils"),c=o(u),d=e("./PaginationButton"),f=o(d),p=i.default.createClass({displayName:"Pagination",propTypes:{activePage:i.default.PropTypes.number,items:i.default.PropTypes.number,maxButtons:i.default.PropTypes.number,boundaryLinks:i.default.PropTypes.bool,ellipsis:i.default.PropTypes.oneOfType([i.default.PropTypes.bool,i.default.PropTypes.node]),first:i.default.PropTypes.oneOfType([i.default.PropTypes.bool,i.default.PropTypes.node]),last:i.default.PropTypes.oneOfType([i.default.PropTypes.bool,i.default.PropTypes.node]),prev:i.default.PropTypes.oneOfType([i.default.PropTypes.bool,i.default.PropTypes.node]),next:i.default.PropTypes.oneOfType([i.default.PropTypes.bool,i.default.PropTypes.node]),onSelect:i.default.PropTypes.func},getDefaultProps:function(){return{activePage:1,items:1,maxButtons:0,first:!1,last:!1,prev:!1,next:!1,ellipsis:!0,boundaryLinks:!1,bsClass:"pagination"}},renderPageButtons:function(){var e=[],t=void 0,n=void 0,r=void 0,o=this.props,a=o.maxButtons,s=o.activePage,l=o.items,u=o.onSelect,c=o.ellipsis,d=o.boundaryLinks;if(a){var p=s-parseInt(a/2,10);t=p>1?p:1,r=t+a<=l,r?n=t+a-1:(n=l,t=l-a+1,t<1&&(t=1))}else t=1,n=l;for(var h=t;h<=n;h++)e.push(i.default.createElement(f.default,{key:h,eventKey:h,active:h===s,onSelect:u},h));return d&&c&&1!==t&&(e.unshift(i.default.createElement(f.default,{key:"ellipsisFirst",disabled:!0},i.default.createElement("span",{"aria-label":"More"},this.props.ellipsis===!0?"…":this.props.ellipsis))),e.unshift(i.default.createElement(f.default,{key:1,eventKey:1,active:!1,onSelect:u},"1"))),a&&r&&c&&(e.push(i.default.createElement(f.default,{key:"ellipsis",disabled:!0},i.default.createElement("span",{"aria-label":"More"},this.props.ellipsis===!0?"…":this.props.ellipsis))),d&&n!==l&&e.push(i.default.createElement(f.default,{key:l,eventKey:l,active:!1,onSelect:u},l))),e},renderPrev:function(){return this.props.prev?i.default.createElement(f.default,{key:"prev",eventKey:this.props.activePage-1,disabled:1===this.props.activePage,onSelect:this.props.onSelect},i.default.createElement("span",{"aria-label":"Previous"},this.props.prev===!0?"‹":this.props.prev)):null},renderNext:function(){return this.props.next?i.default.createElement(f.default,{key:"next",eventKey:this.props.activePage+1,disabled:this.props.activePage>=this.props.items,onSelect:this.props.onSelect},i.default.createElement("span",{"aria-label":"Next"},this.props.next===!0?"›":this.props.next)):null},renderFirst:function(){return this.props.first?i.default.createElement(f.default,{key:"first",eventKey:1,disabled:1===this.props.activePage,onSelect:this.props.onSelect},i.default.createElement("span",{"aria-label":"First"},this.props.first===!0?"«":this.props.first)):null},renderLast:function(){return this.props.last?i.default.createElement(f.default,{key:"last",eventKey:this.props.items,disabled:this.props.activePage>=this.props.items,onSelect:this.props.onSelect},i.default.createElement("span",{"aria-label":"Last"},this.props.last===!0?"»":this.props.last)):null},render:function(){return i.default.createElement("ul",r({},this.props,{className:l.default(this.props.className,c.default.getClassSet(this.props))}),this.renderFirst(),this.renderPrev(),this.renderPageButtons(),this.renderNext(),this.renderLast())}});n.default=u.bsClass("pagination",p),t.exports=n.default},{"./PaginationButton":898,"./utils/bootstrapUtils":920,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],898:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var o=e("react"),a=r(o),i=e("classnames"),s=r(i),l=e("./utils/createSelectedEvent"),u=r(l),c=a.default.createClass({displayName:"PaginationButton",propTypes:{className:a.default.PropTypes.string,eventKey:a.default.PropTypes.oneOfType([a.default.PropTypes.string,a.default.PropTypes.number]),onSelect:a.default.PropTypes.func,disabled:a.default.PropTypes.bool,active:a.default.PropTypes.bool},getDefaultProps:function(){return{active:!1,disabled:!1}},handleClick:function(e){if(!this.props.disabled&&this.props.onSelect){var t=u.default(this.props.eventKey);this.props.onSelect(e,t)}},render:function(){var e={active:this.props.active,disabled:this.props.disabled},t=this.props,n=t.className,r=t.children;return a.default.createElement("li",{className:s.default(n,e,"page-item"),style:{cursor:"pointer"}},a.default.createElement("a",{className:"page-link",onClick:this.handleClick},r))}});n.default=c,t.exports=n.default},{"./utils/createSelectedEvent":924,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],899:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/object-without-properties").default,o=e("babel-runtime/helpers/extends").default,a=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var i=e("react"),s=a(i),l=e("classnames"),u=a(l),c=e("./utils/bootstrapUtils"),d=a(c),f=e("./styleMaps"),p=e("./Collapse"),h=a(p),m=s.default.createClass({
|
37 | displayName:"Panel",propTypes:{collapsible:s.default.PropTypes.bool,onSelect:s.default.PropTypes.func,header:s.default.PropTypes.node,id:s.default.PropTypes.oneOfType([s.default.PropTypes.string,s.default.PropTypes.number]),footer:s.default.PropTypes.node,defaultExpanded:s.default.PropTypes.bool,expanded:s.default.PropTypes.bool,eventKey:s.default.PropTypes.any,headerRole:s.default.PropTypes.string,panelRole:s.default.PropTypes.string,onEnter:h.default.propTypes.onEnter,onEntering:h.default.propTypes.onEntering,onEntered:h.default.propTypes.onEntered,onExit:h.default.propTypes.onExit,onExiting:h.default.propTypes.onExiting,onExited:h.default.propTypes.onExited},getDefaultProps:function(){return{defaultExpanded:!1}},getInitialState:function(){return{expanded:this.props.defaultExpanded}},handleSelect:function(e){e.selected=!0,this.props.onSelect?this.props.onSelect(e,this.props.eventKey):e.preventDefault(),e.selected&&this.handleToggle()},handleToggle:function(){this.setState({expanded:!this.state.expanded})},isExpanded:function(){return null!=this.props.expanded?this.props.expanded:this.state.expanded},render:function(){var e=this.props,t=e.headerRole,n=e.panelRole,a=r(e,["headerRole","panelRole"]);return s.default.createElement("div",o({},a,{className:u.default(this.props.className,d.default.getClassSet(this.props)),id:this.props.collapsible?null:this.props.id,onSelect:null}),this.renderHeading(t),this.props.collapsible?this.renderCollapsibleBody(n):this.renderBody(),this.renderFooter())},renderCollapsibleBody:function(e){var t={onEnter:this.props.onEnter,onEntering:this.props.onEntering,onEntered:this.props.onEntered,onExit:this.props.onExit,onExiting:this.props.onExiting,onExited:this.props.onExited,in:this.isExpanded()},n={className:d.default.prefix(this.props,"collapse"),id:this.props.id,ref:"panel","aria-hidden":!this.isExpanded()};return e&&(n.role=e),s.default.createElement(h.default,t,s.default.createElement("div",n,this.renderBody()))},renderBody:function(){function e(){return{key:u.length}}function t(t){u.push(i.cloneElement(t,e()))}function n(t){u.push(s.default.createElement("div",o({className:f},e()),t))}function r(){0!==c.length&&(n(c),c=[])}var a=this,l=this.props.children,u=[],c=[],f=d.default.prefix(this.props,"body");return Array.isArray(l)&&0!==l.length?(l.forEach(function(e){a.shouldRenderFill(e)?(r(),t(e)):c.push(e)}),r()):this.shouldRenderFill(l)?t(l):n(l),u},shouldRenderFill:function(e){return s.default.isValidElement(e)&&null!=e.props.fill},renderHeading:function(e){var t=this.props.header;if(!t)return null;if(!s.default.isValidElement(t)||Array.isArray(t))t=this.props.collapsible?this.renderCollapsibleTitle(t,e):t;else{var n=u.default(d.default.prefix(this.props,"title"),t.props.className);t=this.props.collapsible?i.cloneElement(t,{className:n,children:this.renderAnchor(t.props.children,e)}):i.cloneElement(t,{className:n})}return s.default.createElement("div",{className:d.default.prefix(this.props,"heading")},t)},renderAnchor:function(e,t){return s.default.createElement("a",{href:"#"+(this.props.id||""),"aria-controls":this.props.collapsible?this.props.id:null,className:this.isExpanded()?null:"collapsed","aria-expanded":this.isExpanded(),"aria-selected":this.isExpanded(),onClick:this.handleSelect,role:t},e)},renderCollapsibleTitle:function(e,t){return s.default.createElement("h4",{className:d.default.prefix(this.props,"title"),role:"presentation"},this.renderAnchor(e,t))},renderFooter:function(){return this.props.footer?s.default.createElement("div",{className:d.default.prefix(this.props,"footer")},this.props.footer):null}}),v=f.State.values().concat(f.DEFAULT,f.PRIMARY);n.default=c.bsStyles(v,f.DEFAULT,c.bsClass("panel",m)),t.exports=n.default},{"./Collapse":849,"./styleMaps":916,"./utils/bootstrapUtils":920,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269}],900:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/object-without-properties").default,o=e("babel-runtime/helpers/extends").default,a=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var i=e("react"),s=a(i),l=e("classnames"),u=a(l),c=e("./utils/bootstrapUtils"),d=a(c),f=e("./utils/ValidComponentChildren"),p=a(f),h=s.default.createClass({displayName:"PanelGroup",propTypes:{accordion:s.default.PropTypes.bool,activeKey:s.default.PropTypes.any,className:s.default.PropTypes.string,children:s.default.PropTypes.node,defaultActiveKey:s.default.PropTypes.any,onSelect:s.default.PropTypes.func},getDefaultProps:function(){return{accordion:!1}},getInitialState:function(){var e=this.props.defaultActiveKey;return{activeKey:e}},render:function(){var e=d.default.getClassSet(this.props),t=this.props,n=t.className,a=r(t,["className"]);return this.props.accordion&&(a.role="tablist"),s.default.createElement("div",o({},a,{className:u.default(n,e),onSelect:null}),p.default.map(a.children,this.renderPanel))},renderPanel:function(e,t){var n=null!=this.props.activeKey?this.props.activeKey:this.state.activeKey,r={bsStyle:e.props.bsStyle||this.props.bsStyle,key:e.key?e.key:t,ref:e.ref};return this.props.accordion&&(r.headerRole="tab",r.panelRole="tabpanel",r.collapsible=!0,r.expanded=e.props.eventKey===n,r.onSelect=this.handleSelect),i.cloneElement(e,r)},shouldComponentUpdate:function(){return!this._isChanging},handleSelect:function(e,t){e.preventDefault(),this.props.onSelect&&(this._isChanging=!0,this.props.onSelect(t),this._isChanging=!1),this.state.activeKey===t&&(t=null),this.setState({activeKey:t})}});n.default=c.bsClass("panel-group",h),t.exports=n.default},{"./utils/ValidComponentChildren":919,"./utils/bootstrapUtils":920,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269}],901:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=e("./utils/bootstrapUtils"),c=o(u),d=e("react-prop-types/lib/isRequiredForA11y"),f=o(d),p=i.default.createClass({displayName:"Popover",propTypes:{id:f.default(i.default.PropTypes.oneOfType([i.default.PropTypes.string,i.default.PropTypes.number])),placement:i.default.PropTypes.oneOf(["top","right","bottom","left"]),positionLeft:i.default.PropTypes.number,positionTop:i.default.PropTypes.number,arrowOffsetLeft:i.default.PropTypes.oneOfType([i.default.PropTypes.number,i.default.PropTypes.string]),arrowOffsetTop:i.default.PropTypes.oneOfType([i.default.PropTypes.number,i.default.PropTypes.string]),title:i.default.PropTypes.node},getDefaultProps:function(){return{placement:"right",bsClass:"popover"}},render:function(){var e,t=(e={},e[c.default.prefix(this.props)]=!0,e[this.props.placement]=!0,e),n=r({left:this.props.positionLeft,top:this.props.positionTop,display:"block"},this.props.style),o={left:this.props.arrowOffsetLeft,top:this.props.arrowOffsetTop};return i.default.createElement("div",r({role:"tooltip"},this.props,{className:l.default(this.props.className,t),style:n,title:null}),i.default.createElement("div",{className:"arrow",style:o}),this.props.title?this.renderTitle():null,i.default.createElement("div",{className:c.default.prefix(this.props,"content")},this.props.children))},renderTitle:function(){return i.default.createElement("h3",{className:c.default.prefix(this.props,"title")},this.props.title)}});n.default=p,t.exports=n.default},{"./utils/bootstrapUtils":920,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269,"react-prop-types/lib/isRequiredForA11y":1138}],902:[function(e,t,n){"use strict";function r(e,t,n){if(e[t]){var r=function(){var r=void 0,o=void 0;return c.default.Children.forEach(e[t],function(e){e.type!==_&&(o=e.type.displayName?e.type.displayName:e.type,r=new Error("Children of "+n+" can contain only ProgressBar components. Found "+o))}),{v:r}}();if("object"==typeof r)return r.v}}var o=e("babel-runtime/helpers/inherits").default,a=e("babel-runtime/helpers/class-call-check").default,i=e("babel-runtime/helpers/extends").default,s=e("babel-runtime/helpers/object-without-properties").default,l=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var u=e("react"),c=l(u),d=e("./Interpolate"),f=l(d),p=e("./utils/bootstrapUtils"),h=l(p),m=e("./styleMaps"),v=e("classnames"),b=l(v),g=e("./utils/ValidComponentChildren"),y=l(g),_=function(e){function t(){a(this,t),e.apply(this,arguments)}return o(t,e),t.prototype.getPercentage=function(e,t,n){var r=1e3;return Math.round((e-t)/(n-t)*100*r)/r},t.prototype.render=function(){if(this.props.isChild)return this.renderProgressBar();var e=void 0;return e=this.props.children?y.default.map(this.props.children,this.renderChildBar):this.renderProgressBar(),c.default.createElement("div",i({},this.props,{className:b.default(this.props.className,"progress"),min:null,max:null,label:null,"aria-valuetext":null}),e)},t.prototype.renderChildBar=function(e,t){return u.cloneElement(e,{isChild:!0,key:e.key?e.key:t})},t.prototype.renderProgressBar=function(){var e,t=this.props,n=t.className,r=t.label,o=t.now,a=t.min,l=t.max,u=s(t,["className","label","now","min","max"]),d=this.getPercentage(o,a,l);"string"==typeof r&&(r=this.renderLabel(d)),this.props.srOnly&&(r=c.default.createElement("span",{className:"sr-only"},r));var f=b.default(n,h.default.getClassSet(this.props),(e={active:this.props.active},e[h.default.prefix(this.props,"striped")]=this.props.active||this.props.striped,e));return c.default.createElement("div",i({},u,{className:f,role:"progressbar",style:{width:d+"%"},"aria-valuenow":this.props.now,"aria-valuemin":this.props.min,"aria-valuemax":this.props.max}),r)},t.prototype.renderLabel=function(e){var t=this.props.interpolateClass||f.default;return c.default.createElement(t,{now:this.props.now,min:this.props.min,max:this.props.max,percent:e,bsStyle:this.props.bsStyle},this.props.label)},t}(c.default.Component);_.propTypes=i({},_.propTypes,{min:u.PropTypes.number,now:u.PropTypes.number,max:u.PropTypes.number,label:u.PropTypes.node,srOnly:u.PropTypes.bool,striped:u.PropTypes.bool,active:u.PropTypes.bool,children:r,className:c.default.PropTypes.string,interpolateClass:u.PropTypes.node,isChild:u.PropTypes.bool}),_.defaultProps=i({},_.defaultProps,{min:0,max:100,active:!1,isChild:!1,srOnly:!1,striped:!1}),n.default=p.bsStyles(m.State.values(),p.bsClass("progress-bar",_)),t.exports=n.default},{"./Interpolate":864,"./styleMaps":916,"./utils/ValidComponentChildren":919,"./utils/bootstrapUtils":920,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269}],903:[function(e,t,n){(function(r){"use strict";var o=e("babel-runtime/helpers/inherits").default,a=e("babel-runtime/helpers/class-call-check").default,i=e("babel-runtime/helpers/extends").default,s=e("babel-runtime/helpers/object-without-properties").default,l=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var u=e("classnames"),c=l(u),d=e("react"),f=l(d),p=e("warning"),h=l(p),m=function(e){function t(){a(this,t),e.apply(this,arguments)}return o(t,e),t.prototype.render=function(){var e=this.props,t=e.bsClass,n=e.className,o=e.a16by9,a=e.a4by3,l=e.children,u=s(e,["bsClass","className","a16by9","a4by3","children"]);"production"!==r.env.NODE_ENV?h.default(!(!o&&!a),"`a16by9` or `a4by3` attribute must be set."):void 0,"production"!==r.env.NODE_ENV?h.default(!(o&&a),"Either `a16by9` or `a4by3` attribute can be set. Not both."):void 0;var p={"embed-responsive-16by9":o,"embed-responsive-4by3":a};return f.default.createElement("div",{className:c.default(t,p)},d.cloneElement(l,i({},u,{className:c.default(n,"embed-responsive-item")})))},t}(f.default.Component);m.defaultProps={bsClass:"embed-responsive",a16by9:!1,a4by3:!1},m.propTypes={bsClass:d.PropTypes.string,children:d.PropTypes.element.isRequired,a16by9:d.PropTypes.bool,a4by3:d.PropTypes.bool},n.default=m,t.exports=n.default}).call(this,e("_process"))},{_process:828,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269,warning:936}],904:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=e("react-prop-types/lib/elementType"),c=o(u),d=i.default.createClass({displayName:"Row",propTypes:{componentClass:c.default},getDefaultProps:function(){return{componentClass:"div"}},render:function(){var e=this.props.componentClass;return i.default.createElement(e,r({},this.props,{className:l.default(this.props.className,"row")}),this.props.children)}});n.default=d,t.exports=n.default},{"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269,"react-prop-types/lib/elementType":1137}],905:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var s=e("react"),l=i(s),u=e("./utils/createChainedFunction"),c=i(u),d=function(e){function t(n){o(this,t),e.call(this,n),this.handleClick=this.handleClick.bind(this)}return r(t,e),t.prototype.handleClick=function(e){void 0===this.props.href&&e.preventDefault()},t.prototype.render=function(){return l.default.createElement("a",a({role:this.props.href?void 0:"button"},this.props,{onClick:c.default(this.props.onClick,this.handleClick),href:this.props.href||""}))},t}(l.default.Component);n.default=d,d.propTypes={href:l.default.PropTypes.string,onClick:l.default.PropTypes.func},t.exports=n.default},{"./utils/createChainedFunction":923,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,react:1269}],906:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/object-without-properties").default,s=e("babel-runtime/core-js/object/keys").default,l=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var u=e("react"),c=l(u),d=e("./Button"),f=l(d),p=e("./Dropdown"),h=l(p),m=e("./SplitToggle"),v=l(m),b=e("lodash-compat/object/omit"),g=l(b),y=e("lodash-compat/object/pick"),_=l(y),M=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.title,r=e.onClick,o=e.target,l=e.href,u=e.toggleLabel,d=e.bsSize,p=e.bsStyle,m=i(e,["children","title","onClick","target","href","toggleLabel","bsSize","bsStyle"]),b=m.disabled,y=_.default(m,s(h.default.ControlledComponent.propTypes)),M=g.default(m,s(h.default.ControlledComponent.propTypes));return c.default.createElement(h.default,y,c.default.createElement(f.default,a({},M,{onClick:r,bsStyle:p,bsSize:d,disabled:b,target:o,href:l}),n),c.default.createElement(v.default,{"aria-label":u||n,bsStyle:p,bsSize:d,disabled:b}),c.default.createElement(h.default.Menu,null,t))},t}(c.default.Component);M.propTypes=a({},h.default.propTypes,{bsStyle:f.default.propTypes.bsStyle,onClick:function(){},target:c.default.PropTypes.string,href:c.default.PropTypes.string,title:c.default.PropTypes.node.isRequired,toggleLabel:c.default.PropTypes.string}),M.defaultProps={disabled:!1,dropup:!1,pullRight:!1},M.Toggle=v.default,n.default=M,t.exports=n.default},{"./Button":842,"./Dropdown":851,"./SplitToggle":907,"babel-runtime/core-js/object/keys":928,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,"lodash-compat/object/omit":447,"lodash-compat/object/pick":449,react:1269}],907:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var s=e("react"),l=i(s),u=e("./DropdownToggle"),c=i(u),d=function(e){function t(){o(this,t),e.apply(this,arguments)}return r(t,e),t.prototype.render=function(){return l.default.createElement(c.default,a({},this.props,{useAnchor:!1,noCaret:!1}))},t}(l.default.Component);n.default=d,d.defaultProps=c.default.defaultProps,t.exports=n.default},{"./DropdownToggle":854,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,react:1269}],908:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("react-dom"),l=o(s),u=e("classnames"),c=o(u),d=e("./utils/bootstrapUtils"),f=o(d),p=e("./utils/TransitionEvents"),h=o(p),m=i.default.createClass({displayName:"Tab",propTypes:{active:i.default.PropTypes.bool,animation:i.default.PropTypes.bool,onAnimateOutEnd:i.default.PropTypes.func,disabled:i.default.PropTypes.bool,title:i.default.PropTypes.node,tabClassName:i.default.PropTypes.string},getDefaultProps:function(){return{bsClass:"tab",animation:!0}},getInitialState:function(){return{animateIn:!1,animateOut:!1}},componentWillReceiveProps:function(e){this.props.animation&&(this.state.animateIn||!e.active||this.props.active?this.state.animateOut||e.active||!this.props.active||this.setState({animateOut:!0}):this.setState({animateIn:!0}))},componentDidUpdate:function(){this.state.animateIn&&setTimeout(this.startAnimateIn,0),this.state.animateOut&&h.default.addEndEventListener(l.default.findDOMNode(this),this.stopAnimateOut)},startAnimateIn:function(){this.isMounted()&&this.setState({animateIn:!1})},stopAnimateOut:function(){this.isMounted()&&(this.setState({animateOut:!1}),this.props.onAnimateOutEnd&&this.props.onAnimateOutEnd())},render:function(){var e,t=(e={},e[f.default.prefix(this.props,"pane")]=!0,e.fade=!0,e.active=this.props.active||this.state.animateOut,e.in=this.props.active&&!this.state.animateIn,e);return i.default.createElement("div",r({},this.props,{title:void 0,role:"tabpanel","aria-hidden":!this.props.active,className:c.default(this.props.className,t)}),this.props.children)}});n.default=m,t.exports=n.default},{"./utils/TransitionEvents":918,"./utils/bootstrapUtils":920,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269,"react-dom":974}],909:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=i.default.createClass({displayName:"Table",propTypes:{striped:i.default.PropTypes.bool,bordered:i.default.PropTypes.bool,condensed:i.default.PropTypes.bool,hover:i.default.PropTypes.bool,responsive:i.default.PropTypes.bool},getDefaultProps:function(){return{bordered:!1,condensed:!1,hover:!1,responsive:!1,striped:!1}},render:function(){var e={table:!0,"table-striped":this.props.striped,"table-bordered":this.props.bordered,"table-condensed":this.props.condensed,"table-hover":this.props.hover},t=i.default.createElement("table",r({},this.props,{className:l.default(this.props.className,e)}),this.props.children);return this.props.responsive?i.default.createElement("div",{className:"table-responsive"},t):t}});n.default=u,t.exports=n.default},{"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],910:[function(e,t,n){"use strict";function r(e){var t=void 0;return N.default.forEach(e,function(e){null==t&&(t=e.props.eventKey)}),t}function o(e,t,n,r){function o(){var t=n.indexOf(s);return s=r?n[Math.min(a,t+1)]:n[Math.max(0,t-1)],z(e,function(e){return e.props.eventKey===s})}for(var a=n.length-1,i=n[r?Math.max(a,0):0],s=t,l=o();l.props.eventKey!==i&&l.props.disabled;)l=o();return l.props.disabled?t:l.props.eventKey}var a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/object-without-properties").default,s=e("babel-runtime/core-js/object/keys").default,l=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var u=e("classnames"),c=l(u),d=e("react"),f=l(d),p=e("react-dom"),h=l(p),m=e("./Col"),v=l(m),b=e("./Nav"),g=l(b),y=e("./NavItem"),_=l(y),M=e("./styleMaps"),w=l(M),S=e("keycode"),C=l(S),x=e("./utils/createChainedFunction"),k=l(x),T=e("./utils/bootstrapUtils"),A=l(T),P=e("./utils/ValidComponentChildren"),N=l(P),O=function(e,t){return t.props.id?t.props.id:e.id&&e.id+"___pane___"+t.props.eventKey},E=function(e,t){return t.props.id?t.props.id+"___tab":e.id&&e.id+"___tab___"+t.props.eventKey},z=N.default.find,R=f.default.createClass({displayName:"Tabs",propTypes:{activeKey:f.default.PropTypes.any,defaultActiveKey:f.default.PropTypes.any,bsStyle:f.default.PropTypes.oneOf(["tabs","pills"]),animation:f.default.PropTypes.bool,id:f.default.PropTypes.oneOfType([f.default.PropTypes.string,f.default.PropTypes.number]),onSelect:f.default.PropTypes.func,position:f.default.PropTypes.oneOf(["top","left","right"]),tabWidth:f.default.PropTypes.oneOfType([f.default.PropTypes.number,f.default.PropTypes.object]),paneWidth:f.default.PropTypes.oneOfType([f.default.PropTypes.number,f.default.PropTypes.object]),standalone:f.default.PropTypes.bool},getDefaultProps:function(){return{bsClass:"tab",animation:!0,tabWidth:2,position:"top",standalone:!1}},getInitialState:function(){var e=null!=this.props.defaultActiveKey?this.props.defaultActiveKey:r(this.props.children);return{activeKey:e,previousActiveKey:null}},componentWillReceiveProps:function(e){var t=this;null!=e.activeKey&&e.activeKey!==this.props.activeKey&&!function(){var n=t.props.activeKey;f.default.Children.forEach(e.children,function(e){if(f.default.isValidElement(e)&&e.props.eventKey===n)return void t.setState({previousActiveKey:n})})}()},componentDidUpdate:function(){var e=this._tabs,t=this._eventKeys().indexOf(this.getActiveKey());if(this._needsRefocus&&(this._needsRefocus=!1,e&&t!==-1)){var n=h.default.findDOMNode(e[t]);n&&n.firstChild.focus()}},handlePaneAnimateOutEnd:function(){this.setState({previousActiveKey:null})},render:function(){var e=this.props,t=e.id,n=e.className,r=e.style,o=e.position,s=e.bsStyle,l=e.tabWidth,u=e.paneWidth,d=e.standalone,p=e.children,h=i(e,["id","className","style","position","bsStyle","tabWidth","paneWidth","standalone","children"]),m="left"===o||"right"===o;null==s&&(s=m?"pills":"tabs");var b={id:t,className:n,style:r},y=a({},h,{bsStyle:s,bsClass:void 0,stacked:m,activeKey:this.getActiveKey(),onSelect:this.handleSelect,ref:"tabs",role:"tablist"}),_=N.default.map(p,this.renderTab),M={className:A.default.prefix(this.props,"content"),ref:"panes"},w=N.default.map(p,this.renderPane);if(m){d||(b.className=c.default(b.className,"clearfix"));var S=this.getColProps({tabWidth:l,paneWidth:u}),C=S.tabsColProps,x=S.panesColProps,k=f.default.createElement(v.default,a({componentClass:g.default},y,C),_),T=f.default.createElement(v.default,a({},M,x),w);return"left"===o?f.default.createElement("div",b,k,T):f.default.createElement("div",b,T,k)}return f.default.createElement("div",b,f.default.createElement(g.default,y,_),f.default.createElement("div",M,w))},getActiveKey:function(){return void 0!==this.props.activeKey?this.props.activeKey:this.state.activeKey},renderPane:function(e,t){var n=this.state.previousActiveKey,r=e.props.eventKey===this.getActiveKey(),o=null==n,a=null!=n&&e.props.eventKey===n;return d.cloneElement(e,{active:r&&(o||!this.props.animation),id:O(this.props,e),"aria-labelledby":E(this.props,e),key:e.key?e.key:t,animation:this.props.animation,onAnimateOutEnd:a?this.handlePaneAnimateOutEnd:null})},renderTab:function(e,t){var n=this;if(null==e.props.title)return null;var r=e.props,o=r.eventKey,a=r.title,i=r.disabled,s=r.onKeyDown,l=r.tabClassName,u=r.tabIndex,c=void 0===u?0:u,d=this.getActiveKey()===o;return f.default.createElement(_.default,{linkId:E(this.props,e),ref:function(e){return(n._tabs||(n._tabs=[]))[t]=e},"aria-controls":O(this.props,e),onKeyDown:k.default(this.handleKeyDown,s),eventKey:o,tabIndex:d?c:-1,disabled:i,className:l},a)},getColProps:function(e){var t=e.tabWidth,n=e.paneWidth,r=void 0;r=t instanceof Object?t:{xs:t};var o=void 0;return null==n?(o={},s(r).forEach(function(e){o[e]=w.default.GRID_COLUMNS-r[e]})):o=n instanceof Object?n:{xs:n},{tabsColProps:r,panesColProps:o}},shouldComponentUpdate:function(){return!this._isChanging},handleSelect:function(e){if(this.props.onSelect)return this._isChanging=!0,this.props.onSelect(e),void(this._isChanging=!1);var t=this.getActiveKey();e!==t&&this.setState({activeKey:e,previousActiveKey:t})},handleKeyDown:function(e){var t=this._eventKeys(),n=this.getActiveKey()||t[0],r=void 0;switch(e.keyCode){case C.default.codes.left:case C.default.codes.up:r=o(this.props.children,n,t,!1),r&&r!==n&&(e.preventDefault(),this.handleSelect(r),this._needsRefocus=!0);break;case C.default.codes.right:case C.default.codes.down:r=o(this.props.children,n,t,!0),r&&r!==n&&(e.preventDefault(),this.handleSelect(r),this._needsRefocus=!0)}},_eventKeys:function(){var e=[];return N.default.forEach(this.props.children,function(t){var n=t.props.eventKey;return e.push(n)}),e}});n.default=R,t.exports=n.default},{"./Col":848,"./Nav":883,"./NavItem":886,"./styleMaps":916,"./utils/ValidComponentChildren":919,"./utils/bootstrapUtils":920,"./utils/createChainedFunction":923,"babel-runtime/core-js/object/keys":928,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,keycode:380,react:1269,"react-dom":974}],911:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=e("./SafeAnchor"),c=o(u),d=e("./utils/bootstrapUtils"),f=o(d),p=i.default.createClass({displayName:"Thumbnail",propTypes:{alt:i.default.PropTypes.string,href:i.default.PropTypes.string,src:i.default.PropTypes.string},render:function(){var e=f.default.getClassSet(this.props);return this.props.href?i.default.createElement(c.default,r({},this.props,{href:this.props.href,className:l.default(this.props.className,e)}),i.default.createElement("img",{src:this.props.src,alt:this.props.alt})):this.props.children?i.default.createElement("div",r({},this.props,{className:l.default(this.props.className,e)}),i.default.createElement("img",{src:this.props.src,alt:this.props.alt}),i.default.createElement("div",{className:"caption"},this.props.children)):i.default.createElement("div",r({},this.props,{className:l.default(this.props.className,e)}),i.default.createElement("img",{src:this.props.src,alt:this.props.alt}))}});n.default=d.bsClass("thumbnail",p),t.exports=n.default},{"./SafeAnchor":905,"./utils/bootstrapUtils":920,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],912:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/extends").default,o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var a=e("react"),i=o(a),s=e("classnames"),l=o(s),u=e("./utils/bootstrapUtils"),c=o(u),d=e("react-prop-types/lib/isRequiredForA11y"),f=o(d),p=i.default.createClass({displayName:"Tooltip",propTypes:{id:f.default(i.default.PropTypes.oneOfType([i.default.PropTypes.string,i.default.PropTypes.number])),placement:i.default.PropTypes.oneOf(["top","right","bottom","left"]),positionLeft:i.default.PropTypes.number,positionTop:i.default.PropTypes.number,arrowOffsetLeft:i.default.PropTypes.oneOfType([i.default.PropTypes.number,i.default.PropTypes.string]),arrowOffsetTop:i.default.PropTypes.oneOfType([i.default.PropTypes.number,i.default.PropTypes.string]),title:i.default.PropTypes.node},getDefaultProps:function(){return{bsClass:"tooltip",placement:"right"}},render:function(){var e,t=(e={},e[c.default.prefix(this.props)]=!0,e[this.props.placement]=!0,e),n=r({left:this.props.positionLeft,top:this.props.positionTop},this.props.style),o={left:this.props.arrowOffsetLeft,top:this.props.arrowOffsetTop};return i.default.createElement("div",r({role:"tooltip"},this.props,{className:l.default(this.props.className,t),style:n}),i.default.createElement("div",{className:c.default.prefix(this.props,"arrow"),style:o}),i.default.createElement("div",{className:c.default.prefix(this.props,"inner")},this.props.children))}});n.default=p,t.exports=n.default},{"./utils/bootstrapUtils":920,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269,"react-prop-types/lib/isRequiredForA11y":1138}],913:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/inherits").default,o=e("babel-runtime/helpers/class-call-check").default,a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var s=e("react"),l=i(s),u=e("classnames"),c=i(u),d=e("./utils/bootstrapUtils"),f=i(d),p=e("./styleMaps"),h=function(e){function t(){o(this,n),e.apply(this,arguments)}r(t,e),t.prototype.render=function(){var e=f.default.getClassSet(this.props);return l.default.createElement("div",a({},this.props,{className:c.default(this.props.className,e)}),this.props.children)};var n=t;return t=d.bsSizes([p.Sizes.LARGE,p.Sizes.SMALL])(t)||t,t=d.bsClass("well")(t)||t}(l.default.Component);n.default=h,t.exports=n.default},{"./styleMaps":916,"./utils/bootstrapUtils":920,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,classnames:157,react:1269}],914:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/object-without-properties").default,o=e("babel-runtime/helpers/extends").default,a=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var i=e("react"),s=a(i),l=e("classnames"),u=a(l),c=e("react-prop-types/lib/deprecated"),d=a(c),f=e("react-prop-types/lib/elementType"),p=a(f),h=e("../Grid"),m=a(h),v=e("../NavBrand"),b=a(v),g=e("../utils/bootstrapUtils"),y=a(g),_=e("../styleMaps"),M=e("../utils/createChainedFunction"),w=a(M),S=e("../utils/ValidComponentChildren"),C=a(S),x=s.default.createClass({displayName:"Navbar",propTypes:{fixedTop:s.default.PropTypes.bool,fixedBottom:s.default.PropTypes.bool,staticTop:s.default.PropTypes.bool,inverse:s.default.PropTypes.bool,fluid:s.default.PropTypes.bool,role:s.default.PropTypes.string,componentClass:p.default,brand:d.default(s.default.PropTypes.node,"Use the `NavBrand` component."),toggleButton:s.default.PropTypes.node,toggleNavKey:s.default.PropTypes.oneOfType([s.default.PropTypes.string,s.default.PropTypes.number]),onToggle:s.default.PropTypes.func,navExpanded:s.default.PropTypes.bool,defaultNavExpanded:s.default.PropTypes.bool},childContextTypes:{$bs_deprecated_navbar:s.default.PropTypes.bool},getChildContext:function(){return{$bs_deprecated_navbar:!0}},getDefaultProps:function(){return{role:"navigation",componentClass:"nav",fixedTop:!1,fixedBottom:!1,staticTop:!1,inverse:!1,fluid:!1,defaultNavExpanded:!1}},getInitialState:function(){return{navExpanded:this.props.defaultNavExpanded
|
38 | }},shouldComponentUpdate:function(){return!this._isChanging},handleToggle:function(){this.props.onToggle&&(this._isChanging=!0,this.props.onToggle(),this._isChanging=!1),this.setState({navExpanded:!this.state.navExpanded})},isNavExpanded:function(){return null!=this.props.navExpanded?this.props.navExpanded:this.state.navExpanded},hasNavBrandChild:function(){return C.default.findValidComponents(this.props.children,function(e){return"brand"===e.props.bsRole}).length>0},render:function(){var e=this.props,t=e.brand,n=e.toggleButton,a=e.toggleNavKey,i=(e.fixedTop,e.fixedBottom,e.staticTop,e.inverse,e.componentClass),l=e.fluid,c=e.className,d=e.children,f=r(e,["brand","toggleButton","toggleNavKey","fixedTop","fixedBottom","staticTop","inverse","componentClass","fluid","className","children"]);void 0===f.role&&"nav"!==i&&(f.role="navigation");var p=y.default.getClassSet(this.props);p[y.default.prefix(this.props,"fixed-top")]=this.props.fixedTop,p[y.default.prefix(this.props,"fixed-bottom")]=this.props.fixedBottom,p[y.default.prefix(this.props,"static-top")]=this.props.staticTop,p[y.default.prefix(this.props,_.INVERSE)]=this.props.inverse,p[y.default.prefix(this.props,_.DEFAULT)]=!this.props.inverse;var h=(t||n||null!=a)&&!this.hasNavBrandChild();return s.default.createElement(i,o({},f,{className:u.default(c,p)}),s.default.createElement(m.default,{fluid:l},h?this.renderBrandHeader():null,C.default.map(d,this.renderChild)))},renderBrandHeader:function(){var e=this.props.brand;return e&&(e=s.default.createElement(b.default,null,e)),this.renderHeader(e)},renderHeader:function(e){var t=this.props.toggleButton||null!=this.props.toggleNavKey,n=y.default.prefix(this.props,"header");return s.default.createElement("div",{className:n},e,t?this.renderToggleButton():null)},renderChild:function(e,t){var n=null!=e.key?e.key:t;if("brand"===e.props.bsRole)return s.default.cloneElement(this.renderHeader(e),{key:n});var r=this.props.toggleNavKey,o=null!=r&&r===e.props.eventKey;return s.default.cloneElement(e,{navbar:!0,collapsible:o,expanded:o&&this.isNavExpanded(),key:n})},renderToggleButton:function(){var e=this.props.toggleButton,t=y.default.prefix(this.props,"toggle");if(s.default.isValidElement(e))return s.default.cloneElement(e,{className:u.default(e.props.className,t),onClick:w.default(this.handleToggle,e.props.onClick)});var n=void 0;return n=null!=e?e:[s.default.createElement("span",{className:"sr-only",key:0},"Toggle navigation"),s.default.createElement("span",{className:"icon-bar",key:1}),s.default.createElement("span",{className:"icon-bar",key:2}),s.default.createElement("span",{className:"icon-bar",key:3})],s.default.createElement("button",{type:"button",onClick:this.handleToggle,className:t},n)}}),k=[_.DEFAULT,_.INVERSE];n.default=g.bsStyles(k,_.DEFAULT,g.bsClass("navbar",x)),t.exports=n.default},{"../Grid":860,"../NavBrand":884,"../styleMaps":916,"../utils/ValidComponentChildren":919,"../utils/bootstrapUtils":920,"../utils/createChainedFunction":923,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/object-without-properties":935,classnames:157,react:1269,"react-prop-types/lib/deprecated":1136,"react-prop-types/lib/elementType":1137}],915:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/interop-require-default").default,o=e("babel-runtime/helpers/interop-require-wildcard").default;n.__esModule=!0;var a=e("./utils/childrenValueInputValidation"),i=r(a),s=e("./utils/createChainedFunction"),l=r(s),u=e("./utils/ValidComponentChildren"),c=r(u),d=e("./utils/bootstrapUtils"),f=r(d),p=e("./Accordion"),h=r(p);n.Accordion=h.default;var m=e("./Alert"),v=r(m);n.Alert=v.default;var b=e("./Badge"),g=r(b);n.Badge=g.default;var y=e("./Breadcrumb"),_=r(y);n.Breadcrumb=_.default;var M=e("./BreadcrumbItem"),w=r(M);n.BreadcrumbItem=w.default;var S=e("./Button"),C=r(S);n.Button=C.default;var x=e("./ButtonGroup"),k=r(x);n.ButtonGroup=k.default;var T=e("./ButtonInput"),A=r(T);n.ButtonInput=A.default;var P=e("./ButtonToolbar"),N=r(P);n.ButtonToolbar=N.default;var O=e("./Carousel"),E=r(O);n.Carousel=E.default;var z=e("./CarouselItem"),R=r(z);n.CarouselItem=R.default;var j=e("./Col"),L=r(j);n.Col=L.default;var D=e("./CollapsibleNav"),I=r(D);n.CollapsibleNav=I.default;var B=e("./Dropdown"),V=r(B);n.Dropdown=V.default;var q=e("./DropdownButton"),F=r(q);n.DropdownButton=F.default;var U=e("./Glyphicon"),W=r(U);n.Glyphicon=W.default;var H=e("./Grid"),X=r(H);n.Grid=X.default;var K=e("./Image"),G=r(K);n.Image=G.default;var Y=e("./Input"),$=r(Y);n.Input=$.default;var Q=e("./Interpolate"),J=r(Q);n.Interpolate=J.default;var Z=e("./Jumbotron"),ee=r(Z);n.Jumbotron=ee.default;var te=e("./Label"),ne=r(te);n.Label=ne.default;var re=e("./ListGroup"),oe=r(re);n.ListGroup=oe.default;var ae=e("./ListGroupItem"),ie=r(ae);n.ListGroupItem=ie.default;var se=e("./MenuItem"),le=r(se);n.MenuItem=le.default;var ue=e("./Media"),ce=r(ue);n.Media=ce.default;var de=e("./Modal"),fe=r(de);n.Modal=fe.default;var pe=e("./ModalBody"),he=r(pe);n.ModalBody=he.default;var me=e("./ModalFooter"),ve=r(me);n.ModalFooter=ve.default;var be=e("./ModalHeader"),ge=r(be);n.ModalHeader=ge.default;var ye=e("./ModalTitle"),_e=r(ye);n.ModalTitle=_e.default;var Me=e("./Nav"),we=r(Me);n.Nav=we.default;var Se=e("./Navbar"),Ce=r(Se);n.Navbar=Ce.default;var xe=e("./NavBrand"),ke=r(xe);n.NavBrand=ke.default;var Te=e("./NavbarBrand"),Ae=r(Te);n.NavbarBrand=Ae.default;var Pe=e("./NavDropdown"),Ne=r(Pe);n.NavDropdown=Ne.default;var Oe=e("./NavItem"),Ee=r(Oe);n.NavItem=Ee.default;var ze=e("./Overlay"),Re=r(ze);n.Overlay=Re.default;var je=e("./OverlayTrigger"),Le=r(je);n.OverlayTrigger=Le.default;var De=e("./PageHeader"),Ie=r(De);n.PageHeader=Ie.default;var Be=e("./PageItem"),Ve=r(Be);n.PageItem=Ve.default;var qe=e("./Pager"),Fe=r(qe);n.Pager=Fe.default;var Ue=e("./Pagination"),We=r(Ue);n.Pagination=We.default;var He=e("./Panel"),Xe=r(He);n.Panel=Xe.default;var Ke=e("./PanelGroup"),Ge=r(Ke);n.PanelGroup=Ge.default;var Ye=e("./Popover"),$e=r(Ye);n.Popover=$e.default;var Qe=e("./ProgressBar"),Je=r(Qe);n.ProgressBar=Je.default;var Ze=e("./ResponsiveEmbed"),et=r(Ze);n.ResponsiveEmbed=et.default;var tt=e("./Row"),nt=r(tt);n.Row=nt.default;var rt=e("./SafeAnchor"),ot=r(rt);n.SafeAnchor=ot.default;var at=e("./SplitButton"),it=r(at);n.SplitButton=it.default;var st=e("./Tab"),lt=r(st);n.Tab=lt.default;var ut=e("./Table"),ct=r(ut);n.Table=ct.default;var dt=e("./Tabs"),ft=r(dt);n.Tabs=ft.default;var pt=e("./Thumbnail"),ht=r(pt);n.Thumbnail=ht.default;var mt=e("./Tooltip"),vt=r(mt);n.Tooltip=vt.default;var bt=e("./Well"),gt=r(bt);n.Well=gt.default;var yt=e("./Collapse"),_t=r(yt);n.Collapse=_t.default;var Mt=e("./Fade"),wt=r(Mt);n.Fade=wt.default;var St=e("./FormControls"),Ct=o(St);n.FormControls=Ct;var xt={bootstrapUtils:f.default,childrenValueInputValidation:i.default,createChainedFunction:l.default,ValidComponentChildren:c.default};n.utils=xt},{"./Accordion":837,"./Alert":838,"./Badge":839,"./Breadcrumb":840,"./BreadcrumbItem":841,"./Button":842,"./ButtonGroup":843,"./ButtonInput":844,"./ButtonToolbar":845,"./Carousel":846,"./CarouselItem":847,"./Col":848,"./Collapse":849,"./CollapsibleNav":850,"./Dropdown":851,"./DropdownButton":852,"./Fade":855,"./FormControls":857,"./Glyphicon":859,"./Grid":860,"./Image":861,"./Input":862,"./Interpolate":864,"./Jumbotron":865,"./Label":866,"./ListGroup":867,"./ListGroupItem":868,"./Media":869,"./MenuItem":876,"./Modal":877,"./ModalBody":878,"./ModalFooter":880,"./ModalHeader":881,"./ModalTitle":882,"./Nav":883,"./NavBrand":884,"./NavDropdown":885,"./NavItem":886,"./Navbar":887,"./NavbarBrand":888,"./Overlay":892,"./OverlayTrigger":893,"./PageHeader":894,"./PageItem":895,"./Pager":896,"./Pagination":897,"./Panel":899,"./PanelGroup":900,"./Popover":901,"./ProgressBar":902,"./ResponsiveEmbed":903,"./Row":904,"./SafeAnchor":905,"./SplitButton":906,"./Tab":908,"./Table":909,"./Tabs":910,"./Thumbnail":911,"./Tooltip":912,"./Well":913,"./utils/ValidComponentChildren":919,"./utils/bootstrapUtils":920,"./utils/childrenValueInputValidation":922,"./utils/createChainedFunction":923,"babel-runtime/helpers/interop-require-default":933,"babel-runtime/helpers/interop-require-wildcard":934}],916:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/assign").default,o=e("babel-runtime/core-js/object/create").default,a=e("babel-runtime/core-js/object/keys").default;n.__esModule=!0;var i=function(e){return r(o({values:function(){var e=this;return a(this).map(function(t){return e[t]})}}),e)},s={SIZES:{large:"lg",medium:"md",small:"sm",xsmall:"xs",lg:"lg",md:"md",sm:"sm",xs:"xs"},GRID_COLUMNS:12},l=i({LARGE:"large",MEDIUM:"medium",SMALL:"small",XSMALL:"xsmall"});n.Sizes=l;var u=i({SUCCESS:"success",WARNING:"warning",DANGER:"danger",INFO:"info"});n.State=u;var c="default";n.DEFAULT=c;var d="primary";n.PRIMARY=d;var f="secondary";n.SECONDARY=f;var p="link";n.LINK=p;var h="inverse";n.INVERSE=h,n.default=s},{"babel-runtime/core-js/object/assign":926,"babel-runtime/core-js/object/create":927,"babel-runtime/core-js/object/keys":928}],917:[function(e,t,n){"use strict";var r=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var o=e("react-prop-types/lib/common"),a=e("./childrenToArray"),i=r(a);n.default={requiredRoles:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.createChainableTypeChecker(function(e,n,r){var o=void 0,a=i.default(e.children),s=function(e,t){return e===t.props.bsRole};if(t.every(function(e){return!!a.some(function(t){return s(e,t)})||(o=e,!1)}),o)return new Error("(children) "+r+" - Missing a required child with bsRole: "+o+". "+(r+" must have at least one child of each of the following bsRoles: "+t.join(", ")))})},exclusiveRoles:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.createChainableTypeChecker(function(e,n,r){var o=i.default(e.children),a=void 0;if(t.every(function(e){var t=o.filter(function(t){return t.props.bsRole===e});return!(t.length>1)||(a=e,!1)}),a)return new Error("(children) "+r+" - Duplicate children detected of bsRole: "+a+". Only one child each allowed with the following bsRoles: "+t.join(", "))})}},t.exports=n.default},{"./childrenToArray":921,"babel-runtime/helpers/interop-require-default":933,"react-prop-types/lib/common":1135}],918:[function(e,t,n){"use strict";function r(){var e=document.createElement("div"),t=e.style;"AnimationEvent"in window||delete s.animationend.animation,"TransitionEvent"in window||delete s.transitionend.transition;for(var n in s){var r=s[n];for(var o in r)if(o in t){l.push(r[o]);break}}}function o(e,t,n){e.addEventListener(t,n,!1)}function a(e,t,n){e.removeEventListener(t,n,!1)}n.__esModule=!0;var i=!("undefined"==typeof window||!window.document||!window.document.createElement),s={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},l=[];i&&r();var u={addEndEventListener:function(e,t){return 0===l.length?void window.setTimeout(t,0):void l.forEach(function(n){o(e,n,t)})},removeEndEventListener:function(e,t){0!==l.length&&l.forEach(function(n){a(e,n,t)})}};n.default=u,t.exports=n.default},{}],919:[function(e,t,n){"use strict";function r(e,t,n){var r=0;return d.default.Children.map(e,function(e){if(d.default.isValidElement(e)){var o=r;return r++,t.call(n,e,o)}return e})}function o(e,t,n){var r=0;return d.default.Children.forEach(e,function(e){d.default.isValidElement(e)&&(t.call(n,e,r),r++)})}function a(e){var t=0;return d.default.Children.forEach(e,function(e){d.default.isValidElement(e)&&t++}),t}function i(e){var t=!1;return d.default.Children.forEach(e,function(e){!t&&d.default.isValidElement(e)&&(t=!0)}),t}function s(e,t){var n=void 0;return o(e,function(r,o){!n&&t(r,o,e)&&(n=r)}),n}function l(e,t,n){var r=0,o=[];return d.default.Children.forEach(e,function(e){d.default.isValidElement(e)&&(t.call(n,e,r)&&o.push(e),r++)}),o}var u=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var c=e("react"),d=u(c);n.default={map:r,forEach:o,numberOf:a,find:s,findValidComponents:l,hasValidComponent:i},t.exports=n.default},{"babel-runtime/helpers/interop-require-default":933,react:1269}],920:[function(e,t,n){(function(t){"use strict";function r(e){return function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[n.length-1];return"function"==typeof o?e.apply(void 0,n):function(t){return e.apply(void 0,n.concat([t]))}}}function o(e,n){return void 0===e&&(e={}),(e.bsClass||"").trim()?void 0:"production"!==t.env.NODE_ENV?d.default(!1,"A `bsClass` prop is required for this component"):d.default(!1),e.bsClass+(n?"-"+n:"")}var a=e("babel-runtime/helpers/extends").default,i=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var s=e("react"),l=e("../styleMaps"),u=i(l),c=e("invariant"),d=i(c),f=e("warning"),p=i(f),h=r(function(e,t){var n=t.propTypes||(t.propTypes={}),r=t.defaultProps||(t.defaultProps={});return n.bsClass=s.PropTypes.string,r.bsClass=e,t});n.bsClass=h;var m=r(function(e,t,n){"string"!=typeof t&&(n=t,t=void 0);var r=n.STYLES||[],o=n.propTypes||{};e.forEach(function(e){r.indexOf(e)===-1&&r.push(e)});var i=s.PropTypes.oneOf(r);if(n.STYLES=i._values=r,n.propTypes=a({},o,{bsStyle:i}),void 0!==t){var l=n.defaultProps||(n.defaultProps={});l.bsStyle=t}return n});n.bsStyles=m;var v=r(function(e,t,n){"string"!=typeof t&&(n=t,t=void 0);var r=n.SIZES||[],o=n.propTypes||{};e.forEach(function(e){r.indexOf(e)===-1&&r.push(e)});var i=r.reduce(function(e,t){return u.default.SIZES[t]&&u.default.SIZES[t]!==t&&e.push(u.default.SIZES[t]),e.concat(t)},[]),l=s.PropTypes.oneOf(i);if(l._values=i,n.SIZES=r,n.propTypes=a({},o,{bsSize:l}),void 0!==t){var c=n.defaultProps||(n.defaultProps={});c.bsSize=t}return n});n.bsSizes=v,n.default={prefix:o,getClassSet:function(e){var n={},r=o(e);if(r){var a=void 0;n[r]=!0,e.bsSize&&(a=u.default.SIZES[e.bsSize]||a),a&&(n[o(e,a)]=!0),e.bsStyle&&(0===e.bsStyle.indexOf(o(e))?("production"!==t.env.NODE_ENV?p.default(!1,"bsStyle will automatically prefix custom values with the bsClass, so there is no need to append it manually. (bsStyle: "+e.bsStyle+", bsClass: "+o(e)+")"):void 0,n[e.bsStyle]=!0):n[o(e,e.bsStyle)]=!0)}return n},addStyle:function(e,t){m(t,e)}};var b=r;n._curry=b}).call(this,e("_process"))},{"../styleMaps":916,_process:828,"babel-runtime/helpers/extends":931,"babel-runtime/helpers/interop-require-default":933,invariant:361,react:1269,warning:936}],921:[function(e,t,n){"use strict";function r(e){var t=[];return void 0===e?t:(i.default.forEach(e,function(e){t.push(e)}),t)}var o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0,n.default=r;var a=e("./ValidComponentChildren"),i=o(a);t.exports=n.default},{"./ValidComponentChildren":919,"babel-runtime/helpers/interop-require-default":933}],922:[function(e,t,n){"use strict";function r(e,t,n){var r=l.default("children","value")(e,t,n);return r||(r=i.default.PropTypes.node(e,t,n)),r}var o=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0,n.default=r;var a=e("react"),i=o(a),s=e("react-prop-types/lib/singlePropFrom"),l=o(s);t.exports=n.default},{"babel-runtime/helpers/interop-require-default":933,react:1269,"react-prop-types/lib/singlePropFrom":1139}],923:[function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(function(e){return null!=e}).reduce(function(e,t){if("function"!=typeof t)throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return null===e?t:function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}},null)}n.__esModule=!0,n.default=r,t.exports=n.default},{}],924:[function(e,t,n){"use strict";function r(e){var t=!1;return{eventKey:e,preventSelection:function(){t=!0},isSelectionPrevented:function(){return t}}}n.__esModule=!0,n.default=r,t.exports=n.default},{}],925:[function(e,t,n){(function(r){"use strict";function o(e,t,n){var o=void 0;"object"==typeof e?o=e.message:(o=e+" is deprecated. Use "+t+" instead.",n&&(o+="\nYou can read more about it at "+n)),c[o]||("production"!==r.env.NODE_ENV?u.default(!1,o):void 0,c[o]=!0)}var a=e("babel-runtime/helpers/inherits").default,i=e("babel-runtime/helpers/class-call-check").default,s=e("babel-runtime/helpers/interop-require-default").default;n.__esModule=!0;var l=e("warning"),u=s(l),c={};o.wrapper=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(e){function t(){i(this,t),e.apply(this,arguments)}return a(t,e),t.prototype.componentWillMount=function(){if(o.apply(void 0,n),e.prototype.componentWillMount){for(var t,r=arguments.length,a=Array(r),i=0;i<r;i++)a[i]=arguments[i];(t=e.prototype.componentWillMount).call.apply(t,[this].concat(a))}},t}(e)},n.default=o,t.exports=n.default}).call(this,e("_process"))},{_process:828,"babel-runtime/helpers/class-call-check":930,"babel-runtime/helpers/inherits":932,"babel-runtime/helpers/interop-require-default":933,warning:936}],926:[function(e,t,n){arguments[4][9][0].apply(n,arguments)},{"core-js/library/fn/object/assign":195,dup:9}],927:[function(e,t,n){arguments[4][10][0].apply(n,arguments)},{"core-js/library/fn/object/create":196,dup:10}],928:[function(e,t,n){arguments[4][15][0].apply(n,arguments)},{"core-js/library/fn/object/keys":197,dup:15}],929:[function(e,t,n){arguments[4][16][0].apply(n,arguments)},{"core-js/library/fn/object/set-prototype-of":198,dup:16}],930:[function(e,t,n){"use strict";n.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},n.__esModule=!0},{}],931:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/assign").default;n.default=r||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.__esModule=!0},{"babel-runtime/core-js/object/assign":926}],932:[function(e,t,n){"use strict";var r=e("babel-runtime/core-js/object/create").default,o=e("babel-runtime/core-js/object/set-prototype-of").default;n.default=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=r(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(o?o(e,t):e.__proto__=t)},n.__esModule=!0},{"babel-runtime/core-js/object/create":927,"babel-runtime/core-js/object/set-prototype-of":929}],933:[function(e,t,n){"use strict";n.default=function(e){return e&&e.__esModule?e:{default:e}},n.__esModule=!0},{}],934:[function(e,t,n){"use strict";n.default=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},n.__esModule=!0},{}],935:[function(e,t,n){"use strict";n.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},n.__esModule=!0},{}],936:[function(e,t,n){"use strict";var r=function(){};t.exports=r},{}],937:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=e("react"),u=r(l),c=function(t){function n(){return o(this,n),a(this,(n.__proto__||Object.getPrototypeOf(n)).apply(this,arguments))}return i(n,t),s(n,[{key:"componentWillReceiveProps",value:function(e){this.updateChart(e)}},{key:"componentWillUnmount",value:function(){if(this.chartist)try{this.chartist.detach()}catch(e){throw new Error("Internal chartist error",e)}}},{key:"componentDidMount",value:function(){this.updateChart(this.props)}},{key:"updateChart",value:function(t){var n=e("chartist"),r=t.type,o=t.data,a=t.options||{},i=t.responsiveOptions||[],s=void 0;if(this.chartist)this.chartist.update(o,a,i);else if(this.chartist=new n[r](this.refs.chart,o,a,i),t.listener)for(s in t.listener)t.listener.hasOwnProperty(s)&&this.chartist.on(s,t.listener[s]);return this.chartist}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.style,r=e.children,o=e.data,a=e.type,i=r&&l.Children.map(r,function(e){return(0,l.cloneElement)(e,{type:a,data:o})});return u.default.createElement("div",{className:"ct-chart "+(t||""),ref:"chart",style:n},i)}}]),n}(l.Component);c.propTypes={type:u.default.PropTypes.oneOf(["Line","Bar","Pie"]).isRequired,data:u.default.PropTypes.object.isRequired,className:u.default.PropTypes.string,options:u.default.PropTypes.object,responsiveOptions:u.default.PropTypes.array,style:u.default.PropTypes.object},n.default=c},{chartist:156,react:1269}],938:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(n,"__esModule",{value:!0}),n.CopyToClipboard=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=e("react"),s=r(i),l=e("copy-to-clipboard"),u=r(l);n.CopyToClipboard=s.default.createClass({displayName:"CopyToClipboard",propTypes:{text:s.default.PropTypes.string.isRequired,children:s.default.PropTypes.element.isRequired,onCopy:s.default.PropTypes.func,options:s.default.PropTypes.shape({debug:s.default.PropTypes.bool,message:s.default.PropTypes.string})},onClick:function(e){var t=this.props,n=t.text,r=t.onCopy,o=t.children,a=t.options,i=s.default.Children.only(o);(0,u.default)(n,a),r&&r(n),i&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(e)},render:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),n=o(e,["text","onCopy","options","children"]),r=s.default.Children.only(t);return s.default.cloneElement(r,a({},n,{onClick:this.onClick}))}})},{"copy-to-clipboard":194,react:1269}],939:[function(e,t,n){"use strict";var r=e("./Component"),o=r.CopyToClipboard;t.exports=o},{"./Component":938}],940:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}Object.defineProperty(n,"__esModule",{value:!0}),n.DebounceInput=void 0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=e("react"),s=r(i),l=e("lodash.debounce"),u=r(l),c=e("react/lib/ReactComponentWithPureRenderMixin");n.DebounceInput=s.default.createClass({displayName:"DebounceInput",propTypes:{element:s.default.PropTypes.oneOfType([s.default.PropTypes.string,s.default.PropTypes.func]),type:s.default.PropTypes.string,onChange:s.default.PropTypes.func.isRequired,onKeyDown:s.default.PropTypes.func,onBlur:s.default.PropTypes.func,value:s.default.PropTypes.oneOfType([s.default.PropTypes.string,s.default.PropTypes.number]),minLength:s.default.PropTypes.number,debounceTimeout:s.default.PropTypes.number,forceNotifyByEnter:s.default.PropTypes.bool,forceNotifyOnBlur:s.default.PropTypes.bool},getDefaultProps:function(){return{element:"input",type:"text",minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0}},getInitialState:function(){return{value:this.props.value||""}},componentWillMount:function(){this.createNotifier(this.props.debounceTimeout)},componentWillReceiveProps:function(e){var t=e.value,n=e.debounceTimeout;this.isDebouncing||("undefined"!=typeof t&&this.state.value!==t&&this.setState({value:t}),n!==this.props.debounceTimeout&&this.createNotifier(n))},shouldComponentUpdate:c.shouldComponentUpdate,componentWillUnmount:function(){this.notify.flush&&this.notify.flush()},isDebouncing:!1,createNotifier:function(e){var t=this;e<0?this.notify=function(){return null}:0===e?this.notify=this.doNotify:!function(){var n=(0,u.default)(function(e){t.isDebouncing=!1,t.doNotify(e)},e);t.notify=function(e){t.isDebouncing=!0,n(e)}}()},doNotify:function(){var e=this.props.onChange;e.apply(void 0,arguments)},forceNotify:function(e){if(this.isDebouncing){this.notify.cancel&&(this.notify.cancel(),this.isDebouncing=!1);var t=this.state.value,n=this.props.minLength;t.length>=n?this.doNotify(e):this.doNotify(a({},e,{target:a({},e.target,{value:t})}))}},onChange:function(e){var t=this;e.persist();var n=this.state.value;this.setState({value:e.target.value},function(){var r=t.state.value;return r.length>=t.props.minLength?void t.notify(e):void(n.length>r.length&&t.notify(a({},e,{target:a({},e.target,{value:""})})))})},render:function(){var e=this,t=this.props,n=t.element,r=(t.onChange,t.value,t.minLength,t.debounceTimeout,t.forceNotifyByEnter),i=t.forceNotifyOnBlur,l=t.onKeyDown,u=t.onBlur,c=o(t,["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur"]),d=r?{onKeyDown:function(t){"Enter"===t.key&&e.forceNotify(t),l&&l(t)}}:{},f=i?{onBlur:function(t){e.forceNotify(t),u&&u(t)}}:{};return s.default.createElement(n,a({},c,{onChange:this.onChange,value:this.state.value},d,f))}})},{"lodash.debounce":454,react:1269,"react/lib/ReactComponentWithPureRenderMixin":1250}],941:[function(e,t,n){"use strict";var r=e("./Component"),o=r.DebounceInput;t.exports=o},{"./Component":940}],942:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=e("lodash/memoize"),a=r(o),i=a.default(function(){return/firefox/i.test(navigator.userAgent)});n.isFirefox=i;var s=a.default(function(){return Boolean(window.safari)});n.isSafari=s},{"lodash/memoize":758}],943:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.__esModule=!0;var a=e("lodash/union"),i=r(a),s=e("lodash/without"),l=r(s),u=function(){function e(){o(this,e),this.entered=[]}return e.prototype.enter=function(e){var t=this.entered.length;return this.entered=i.default(this.entered.filter(function(t){return document.documentElement.contains(t)&&(!t.contains||t.contains(e))}),[e]),0===t&&this.entered.length>0},e.prototype.leave=function(e){var t=this.entered.length;return this.entered=l.default(this.entered.filter(function(e){return document.documentElement.contains(e)}),e),t>0&&0===this.entered.length},e.prototype.reset=function(){this.entered=[]},e}();n.default=u,t.exports=n.default},{"lodash/union":792,"lodash/without":795}],944:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.__esModule=!0;var i=e("lodash/defaults"),s=o(i),l=e("./shallowEqual"),u=o(l),c=e("./EnterLeaveCounter"),d=o(c),f=e("./BrowserDetector"),p=e("./OffsetUtils"),h=e("./NativeDragSources"),m=e("./NativeTypes"),v=r(m),b=function(){function e(t){a(this,e),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.sourcePreviewNodes={},this.sourcePreviewNodeOptions={},this.sourceNodes={},this.sourceNodeOptions={},this.enterLeaveCounter=new d.default,this.getSourceClientOffset=this.getSourceClientOffset.bind(this),this.handleTopDragStart=this.handleTopDragStart.bind(this),this.handleTopDragStartCapture=this.handleTopDragStartCapture.bind(this),this.handleTopDragEndCapture=this.handleTopDragEndCapture.bind(this),this.handleTopDragEnter=this.handleTopDragEnter.bind(this),this.handleTopDragEnterCapture=this.handleTopDragEnterCapture.bind(this),this.handleTopDragLeaveCapture=this.handleTopDragLeaveCapture.bind(this),this.handleTopDragOver=this.handleTopDragOver.bind(this),this.handleTopDragOverCapture=this.handleTopDragOverCapture.bind(this),this.handleTopDrop=this.handleTopDrop.bind(this),this.handleTopDropCapture=this.handleTopDropCapture.bind(this),this.handleSelectStart=this.handleSelectStart.bind(this),this.endDragIfSourceWasRemovedFromDOM=this.endDragIfSourceWasRemovedFromDOM.bind(this),this.endDragNativeItem=this.endDragNativeItem.bind(this)}return e.prototype.setup=function(){if("undefined"!=typeof window){if(this.constructor.isSetUp)throw new Error("Cannot have two HTML5 backends at the same time.");this.constructor.isSetUp=!0,this.addEventListeners(window)}},e.prototype.teardown=function(){"undefined"!=typeof window&&(this.constructor.isSetUp=!1,this.removeEventListeners(window),this.clearCurrentDragSourceNode())},e.prototype.addEventListeners=function(e){e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0)},e.prototype.removeEventListeners=function(e){e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0)},e.prototype.connectDragPreview=function(e,t,n){var r=this;return this.sourcePreviewNodeOptions[e]=n,this.sourcePreviewNodes[e]=t,function(){delete r.sourcePreviewNodes[e],delete r.sourcePreviewNodeOptions[e]}},e.prototype.connectDragSource=function(e,t,n){var r=this;this.sourceNodes[e]=t,this.sourceNodeOptions[e]=n;var o=function(t){return r.handleDragStart(t,e)},a=function(t){return r.handleSelectStart(t,e)};return t.setAttribute("draggable",!0),t.addEventListener("dragstart",o),t.addEventListener("selectstart",a),function(){delete r.sourceNodes[e],delete r.sourceNodeOptions[e],t.removeEventListener("dragstart",o),t.removeEventListener("selectstart",a),t.setAttribute("draggable",!1)}},e.prototype.connectDropTarget=function(e,t){var n=this,r=function(t){return n.handleDragEnter(t,e)},o=function(t){return n.handleDragOver(t,e)},a=function(t){return n.handleDrop(t,e)};return t.addEventListener("dragenter",r),t.addEventListener("dragover",o),t.addEventListener("drop",a),
|
39 | function(){t.removeEventListener("dragenter",r),t.removeEventListener("dragover",o),t.removeEventListener("drop",a)}},e.prototype.getCurrentSourceNodeOptions=function(){var e=this.monitor.getSourceId(),t=this.sourceNodeOptions[e];return s.default(t||{},{dropEffect:"move"})},e.prototype.getCurrentDropEffect=function(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect},e.prototype.getCurrentSourcePreviewNodeOptions=function(){var e=this.monitor.getSourceId(),t=this.sourcePreviewNodeOptions[e];return s.default(t||{},{anchorX:.5,anchorY:.5,captureDraggingState:!1})},e.prototype.getSourceClientOffset=function(e){return p.getNodeClientOffset(this.sourceNodes[e])},e.prototype.isDraggingNativeItem=function(){var e=this.monitor.getItemType();return Object.keys(v).some(function(t){return v[t]===e})},e.prototype.beginDragNativeItem=function(e){this.clearCurrentDragSourceNode();var t=h.createNativeDragSource(e);this.currentNativeSource=new t,this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle]),f.isFirefox()&&window.addEventListener("mousemove",this.endDragNativeItem,!0)},e.prototype.endDragNativeItem=function(){this.isDraggingNativeItem()&&(f.isFirefox()&&window.removeEventListener("mousemove",this.endDragNativeItem,!0),this.actions.endDrag(),this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},e.prototype.endDragIfSourceWasRemovedFromDOM=function(){var e=this.currentDragSourceNode;document.body.contains(e)||this.clearCurrentDragSourceNode()&&this.actions.endDrag()},e.prototype.setCurrentDragSourceNode=function(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.currentDragSourceNodeOffset=p.getNodeClientOffset(e),this.currentDragSourceNodeOffsetChanged=!1,window.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},e.prototype.clearCurrentDragSourceNode=function(){return!!this.currentDragSourceNode&&(this.currentDragSourceNode=null,this.currentDragSourceNodeOffset=null,this.currentDragSourceNodeOffsetChanged=!1,window.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0),!0)},e.prototype.checkIfCurrentDragSourceRectChanged=function(){var e=this.currentDragSourceNode;return!!e&&(!!this.currentDragSourceNodeOffsetChanged||(this.currentDragSourceNodeOffsetChanged=!u.default(p.getNodeClientOffset(e),this.currentDragSourceNodeOffset),this.currentDragSourceNodeOffsetChanged))},e.prototype.handleTopDragStartCapture=function(){this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},e.prototype.handleDragStart=function(e,t){this.dragStartSourceIds.unshift(t)},e.prototype.handleTopDragStart=function(e){var t=this,n=this.dragStartSourceIds;this.dragStartSourceIds=null;var r=p.getEventClientOffset(e);this.actions.beginDrag(n,{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:r});var o=e.dataTransfer,a=h.matchNativeItemType(o);if(this.monitor.isDragging()){if("function"==typeof o.setDragImage){var i=this.monitor.getSourceId(),s=this.sourceNodes[i],l=this.sourcePreviewNodes[i]||s,u=this.getCurrentSourcePreviewNodeOptions(),c=u.anchorX,d=u.anchorY,f={anchorX:c,anchorY:d},m=p.getDragPreviewOffset(s,l,r,f);o.setDragImage(l,m.x,m.y)}try{o.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target);var v=this.getCurrentSourcePreviewNodeOptions(),b=v.captureDraggingState;b?this.actions.publishDragSource():setTimeout(function(){return t.actions.publishDragSource()})}else if(a)this.beginDragNativeItem(a);else{if(!(o.types||e.target.hasAttribute&&e.target.hasAttribute("draggable")))return;e.preventDefault()}},e.prototype.handleTopDragEndCapture=function(){this.clearCurrentDragSourceNode()&&this.actions.endDrag()},e.prototype.handleTopDragEnterCapture=function(e){this.dragEnterTargetIds=[];var t=this.enterLeaveCounter.enter(e.target);if(t&&!this.monitor.isDragging()){var n=e.dataTransfer,r=h.matchNativeItemType(n);r&&this.beginDragNativeItem(r)}},e.prototype.handleDragEnter=function(e,t){this.dragEnterTargetIds.unshift(t)},e.prototype.handleTopDragEnter=function(e){var t=this,n=this.dragEnterTargetIds;if(this.dragEnterTargetIds=[],this.monitor.isDragging()){f.isFirefox()||this.actions.hover(n,{clientOffset:p.getEventClientOffset(e)});var r=n.some(function(e){return t.monitor.canDropOnTarget(e)});r&&(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect())}},e.prototype.handleTopDragOverCapture=function(){this.dragOverTargetIds=[]},e.prototype.handleDragOver=function(e,t){this.dragOverTargetIds.unshift(t)},e.prototype.handleTopDragOver=function(e){var t=this,n=this.dragOverTargetIds;if(this.dragOverTargetIds=[],!this.monitor.isDragging())return e.preventDefault(),void(e.dataTransfer.dropEffect="none");this.actions.hover(n,{clientOffset:p.getEventClientOffset(e)});var r=n.some(function(e){return t.monitor.canDropOnTarget(e)});r?(e.preventDefault(),e.dataTransfer.dropEffect=this.getCurrentDropEffect()):this.isDraggingNativeItem()?(e.preventDefault(),e.dataTransfer.dropEffect="none"):this.checkIfCurrentDragSourceRectChanged()&&(e.preventDefault(),e.dataTransfer.dropEffect="move")},e.prototype.handleTopDragLeaveCapture=function(e){this.isDraggingNativeItem()&&e.preventDefault();var t=this.enterLeaveCounter.leave(e.target);t&&this.isDraggingNativeItem()&&this.endDragNativeItem()},e.prototype.handleTopDropCapture=function(e){this.dropTargetIds=[],e.preventDefault(),this.isDraggingNativeItem()&&this.currentNativeSource.mutateItemByReadingDataTransfer(e.dataTransfer),this.enterLeaveCounter.reset()},e.prototype.handleDrop=function(e,t){this.dropTargetIds.unshift(t)},e.prototype.handleTopDrop=function(e){var t=this.dropTargetIds;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:p.getEventClientOffset(e)}),this.actions.drop(),this.isDraggingNativeItem()?this.endDragNativeItem():this.endDragIfSourceWasRemovedFromDOM()},e.prototype.handleSelectStart=function(e){var t=e.target;"function"==typeof t.dragDrop&&("INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop()))},e}();n.default=b,t.exports=n.default},{"./BrowserDetector":942,"./EnterLeaveCounter":943,"./NativeDragSources":946,"./NativeTypes":947,"./OffsetUtils":948,"./shallowEqual":951,"lodash/defaults":702}],945:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.__esModule=!0;var o=function(){function e(t,n){r(this,e);for(var o=t.length,a=[],i=0;i<o;i++)a.push(i);a.sort(function(e,n){return t[e]<t[n]?-1:1});for(var s=[],l=[],u=[],c=void 0,d=void 0,i=0;i<o-1;i++)c=t[i+1]-t[i],d=n[i+1]-n[i],l.push(c),s.push(d),u.push(d/c);for(var f=[u[0]],i=0;i<l.length-1;i++){var p=u[i],h=u[i+1];if(p*h<=0)f.push(0);else{c=l[i];var m=l[i+1],v=c+m;f.push(3*v/((v+m)/p+(v+c)/h))}}f.push(u[u.length-1]);for(var b=[],g=[],y=void 0,i=0;i<f.length-1;i++){y=u[i];var _=f[i],M=1/l[i],v=_+f[i+1]-y-y;b.push((y-_-v)*M),g.push(v*M*M)}this.xs=t,this.ys=n,this.c1s=f,this.c2s=b,this.c3s=g}return e.prototype.interpolate=function(e){var t=this.xs,n=this.ys,r=this.c1s,o=this.c2s,a=this.c3s,i=t.length-1;if(e===t[i])return n[i];for(var s=0,l=a.length-1,u=void 0;s<=l;){u=Math.floor(.5*(s+l));var c=t[u];if(c<e)s=u+1;else{if(!(c>e))return n[u];l=u-1}}i=Math.max(0,l);var d=e-t[i],f=d*d;return n[i]+r[i]*d+o[i]*f+a[i]*d*f},e}();n.default=o,t.exports=n.default},{}],946:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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}function i(e,t,n){var r=t.reduce(function(t,n){return t||e.getData(n)},null);return null!=r?r:n}function s(e){var t=f[e],n=t.exposeProperty,r=t.matchesTypes,i=t.getData;return function(){function e(){o(this,e),this.item=Object.defineProperties({},a({},n,{get:function(){return console.warn("Browser doesn't allow reading \""+n+'" until the drop event.'),null},configurable:!0,enumerable:!0}))}return e.prototype.mutateItemByReadingDataTransfer=function(e){delete this.item[n],this.item[n]=i(e,r)},e.prototype.canDrag=function(){return!0},e.prototype.beginDrag=function(){return this.item},e.prototype.isDragging=function(e,t){return t===e.getSourceId()},e.prototype.endDrag=function(){},e}()}function l(e){var t=Array.prototype.slice.call(e.types||[]);return Object.keys(f).filter(function(e){var n=f[e].matchesTypes;return n.some(function(e){return t.indexOf(e)>-1})})[0]||null}n.__esModule=!0;var u;n.createNativeDragSource=s,n.matchNativeItemType=l;var c=e("./NativeTypes"),d=r(c),f=(u={},a(u,d.FILE,{exposeProperty:"files",matchesTypes:["Files"],getData:function(e){return Array.prototype.slice.call(e.files)}}),a(u,d.URL,{exposeProperty:"urls",matchesTypes:["Url","text/uri-list"],getData:function(e,t){return i(e,t,"").split("\n")}}),a(u,d.TEXT,{exposeProperty:"text",matchesTypes:["Text","text/plain"],getData:function(e,t){return i(e,t,"")}}),u)},{"./NativeTypes":947}],947:[function(e,t,n){"use strict";n.__esModule=!0;var r="__NATIVE_FILE__";n.FILE=r;var o="__NATIVE_URL__";n.URL=o;var a="__NATIVE_TEXT__";n.TEXT=a},{}],948:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.nodeType===c?e:e.parentElement;if(!t)return null;var n=t.getBoundingClientRect(),r=n.top,o=n.left;return{x:o,y:r}}function a(e){return{x:e.clientX,y:e.clientY}}function i(e,t,n,r){var a="IMG"===t.nodeName&&(s.isFirefox()||!document.documentElement.contains(t)),i=a?e:t,l=o(i),c={x:n.x-l.x,y:n.y-l.y},d=e.offsetWidth,f=e.offsetHeight,p=r.anchorX,h=r.anchorY,m=a?t.width:d,v=a?t.height:f;s.isSafari()&&a?(v/=window.devicePixelRatio,m/=window.devicePixelRatio):s.isFirefox()&&!a&&(v*=window.devicePixelRatio,m*=window.devicePixelRatio);var b=new u.default([0,.5,1],[c.x,c.x/d*m,c.x+m-d]),g=new u.default([0,.5,1],[c.y,c.y/f*v,c.y+v-f]),y=b.interpolate(p),_=g.interpolate(h);return s.isSafari()&&a&&(_+=(window.devicePixelRatio-1)*v),{x:y,y:_}}n.__esModule=!0,n.getNodeClientOffset=o,n.getEventClientOffset=a,n.getDragPreviewOffset=i;var s=e("./BrowserDetector"),l=e("./MonotonicInterpolant"),u=r(l),c=1},{"./BrowserDetector":942,"./MonotonicInterpolant":945}],949:[function(e,t,n){"use strict";function r(){return o||(o=new Image,o.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),o}n.__esModule=!0,n.default=r;var o=void 0;t.exports=n.default},{}],950:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return new s.default(e)}n.__esModule=!0,n.default=a;var i=e("./HTML5Backend"),s=o(i),l=e("./getEmptyImage"),u=o(l),c=e("./NativeTypes"),d=r(c);n.NativeTypes=d,n.getEmptyImage=u.default},{"./HTML5Backend":944,"./NativeTypes":947,"./getEmptyImage":949}],951:[function(e,t,n){"use strict";function r(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,a=0;a<n.length;a++){if(!o.call(t,n[a])||e[n[a]]!==t[n[a]])return!1;var i=e[n[a]],s=t[n[a]];if(i!==s)return!1}return!0}n.__esModule=!0,n.default=r,t.exports=n.default},{}],952:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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)}function i(e){v.default.apply(void 0,["DragDropContext","backend"].concat(l.call(arguments)));var t=void 0;t="object"==typeof e&&"function"==typeof e.default?e.default:e,h.default("function"==typeof t,"Expected the backend to be a function or an ES6 module exporting a default function. Read more: http://gaearon.github.io/react-dnd/docs-drag-drop-context.html");var n={dragDropManager:new f.DragDropManager(t)};return function(e){var t=e.displayName||e.name||"Component";return function(r){function i(){o(this,i),r.apply(this,arguments)}return a(i,r),i.prototype.getDecoratedComponentInstance=function(){return this.refs.child},i.prototype.getManager=function(){return n.dragDropManager},i.prototype.getChildContext=function(){return n},i.prototype.render=function(){return d.default.createElement(e,s({},this.props,{ref:"child"}))},u(i,null,[{key:"DecoratedComponent",value:e,enumerable:!0},{key:"displayName",value:"DragDropContext("+t+")",enumerable:!0},{key:"childContextTypes",value:{dragDropManager:c.PropTypes.object.isRequired},enumerable:!0}]),i}(c.Component)}}n.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=Array.prototype.slice,u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n.default=i;var c=e("react"),d=r(c),f=e("dnd-core"),p=e("invariant"),h=r(p),m=e("./utils/checkDecoratorArguments"),v=r(m);t.exports=n.default},{"./utils/checkDecoratorArguments":967,"dnd-core":235,invariant:361,react:1269}],953:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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)}function i(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return M.default.apply(void 0,["DragLayer","collect[, options]"].concat(l.call(arguments))),y.default("function"==typeof e,'Expected "collect" provided as the first argument to DragLayer to be a function that collects props to inject into the component. ',"Instead, received %s. Read more: http://gaearon.github.io/react-dnd/docs-drag-layer.html",e),y.default(b.default(t),'Expected "options" provided as the second argument to DragLayer to be a plain object when specified. Instead, received %s. Read more: http://gaearon.github.io/react-dnd/docs-drag-layer.html',t),function(n){var r=t.arePropsEqual,i=void 0===r?m.default:r,l=n.displayName||n.name||"Component";return function(t){function r(e,n){o(this,r),t.call(this,e),this.handleChange=this.handleChange.bind(this),this.manager=n.dragDropManager,y.default("object"==typeof this.manager,"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://gaearon.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",l,l),this.state=this.getCurrentState()}return a(r,t),r.prototype.getDecoratedComponentInstance=function(){return this.refs.child},r.prototype.shouldComponentUpdate=function(e,t){return!i(e,this.props)||!p.default(t,this.state)},u(r,null,[{key:"DecoratedComponent",value:n,enumerable:!0},{key:"displayName",value:"DragLayer("+l+")",enumerable:!0},{key:"contextTypes",value:{dragDropManager:c.PropTypes.object.isRequired},enumerable:!0}]),r.prototype.componentDidMount=function(){this.isCurrentlyMounted=!0;var e=this.manager.getMonitor();this.unsubscribeFromOffsetChange=e.subscribeToOffsetChange(this.handleChange),this.unsubscribeFromStateChange=e.subscribeToStateChange(this.handleChange),this.handleChange()},r.prototype.componentWillUnmount=function(){this.isCurrentlyMounted=!1,this.unsubscribeFromOffsetChange(),this.unsubscribeFromStateChange()},r.prototype.handleChange=function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();p.default(e,this.state)||this.setState(e)}},r.prototype.getCurrentState=function(){var t=this.manager.getMonitor();return e(t)},r.prototype.render=function(){return d.default.createElement(n,s({},this.props,this.state,{ref:"child"}))},r}(c.Component)}}n.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=Array.prototype.slice,u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n.default=i;var c=e("react"),d=r(c),f=e("./utils/shallowEqual"),p=r(f),h=e("./utils/shallowEqualScalar"),m=r(h),v=e("lodash/isPlainObject"),b=r(v),g=e("invariant"),y=r(g),_=e("./utils/checkDecoratorArguments"),M=r(_);t.exports=n.default},{"./utils/checkDecoratorArguments":967,"./utils/shallowEqual":970,"./utils/shallowEqualScalar":971,invariant:361,"lodash/isPlainObject":743,react:1269}],954:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=arguments.length<=3||void 0===arguments[3]?{}:arguments[3];d.default.apply(void 0,["DragSource","type, spec, collect[, options]"].concat(a.call(arguments)));var o=e;"function"!=typeof e&&(s.default(S.default(e),'Expected "type" provided as the first argument to DragSource to be a string, or a function that returns a string given the current props. Instead, received %s. Read more: http://gaearon.github.io/react-dnd/docs-drag-source.html',e),o=function(){return e}),s.default(u.default(t),'Expected "spec" provided as the second argument to DragSource to be a plain object. Instead, received %s. Read more: http://gaearon.github.io/react-dnd/docs-drag-source.html',t);var i=b.default(t);return s.default("function"==typeof n,'Expected "collect" provided as the third argument to DragSource to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://gaearon.github.io/react-dnd/docs-drag-source.html',n),s.default(u.default(r),'Expected "options" provided as the fourth argument to DragSource to be a plain object when specified. Instead, received %s. Read more: http://gaearon.github.io/react-dnd/docs-drag-source.html',n),function(e){return p.default({connectBackend:function(e,t){return e.connectDragSource(t)},containerDisplayName:"DragSource",createHandler:i,registerHandler:m.default,createMonitor:y.default,createConnector:M.default,DecoratedComponent:e,getType:o,collect:n,options:r})}}n.__esModule=!0;var a=Array.prototype.slice;n.default=o;var i=e("invariant"),s=r(i),l=e("lodash/isPlainObject"),u=r(l),c=e("./utils/checkDecoratorArguments"),d=r(c),f=e("./decorateHandler"),p=r(f),h=e("./registerSource"),m=r(h),v=e("./createSourceFactory"),b=r(v),g=e("./createSourceMonitor"),y=r(g),_=e("./createSourceConnector"),M=r(_),w=e("./utils/isValidType"),S=r(w);t.exports=n.default},{"./createSourceConnector":957,"./createSourceFactory":958,"./createSourceMonitor":959,"./decorateHandler":963,"./registerSource":965,"./utils/checkDecoratorArguments":967,"./utils/isValidType":969,invariant:361,"lodash/isPlainObject":743}],955:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=arguments.length<=3||void 0===arguments[3]?{}:arguments[3];d.default.apply(void 0,["DropTarget","type, spec, collect[, options]"].concat(a.call(arguments)));var o=e;"function"!=typeof e&&(s.default(S.default(e,!0),'Expected "type" provided as the first argument to DropTarget to be a string, an array of strings, or a function that returns either given the current props. Instead, received %s. Read more: http://gaearon.github.io/react-dnd/docs-drop-target.html',e),o=function(){return e}),s.default(u.default(t),'Expected "spec" provided as the second argument to DropTarget to be a plain object. Instead, received %s. Read more: http://gaearon.github.io/react-dnd/docs-drop-target.html',t);var i=b.default(t);return s.default("function"==typeof n,'Expected "collect" provided as the third argument to DropTarget to be a function that returns a plain object of props to inject. Instead, received %s. Read more: http://gaearon.github.io/react-dnd/docs-drop-target.html',n),s.default(u.default(r),'Expected "options" provided as the fourth argument to DropTarget to be a plain object when specified. Instead, received %s. Read more: http://gaearon.github.io/react-dnd/docs-drop-target.html',n),function(e){return p.default({connectBackend:function(e,t){return e.connectDropTarget(t)},containerDisplayName:"DropTarget",createHandler:i,registerHandler:m.default,createMonitor:y.default,createConnector:M.default,DecoratedComponent:e,getType:o,collect:n,options:r})}}n.__esModule=!0;var a=Array.prototype.slice;n.default=o;var i=e("invariant"),s=r(i),l=e("lodash/isPlainObject"),u=r(l),c=e("./utils/checkDecoratorArguments"),d=r(c),f=e("./decorateHandler"),p=r(f),h=e("./registerTarget"),m=r(h),v=e("./createTargetFactory"),b=r(v),g=e("./createTargetMonitor"),y=r(g),_=e("./createTargetConnector"),M=r(_),w=e("./utils/isValidType"),S=r(w);t.exports=n.default},{"./createTargetConnector":960,"./createTargetFactory":961,"./createTargetMonitor":962,"./decorateHandler":963,"./registerTarget":966,"./utils/checkDecoratorArguments":967,"./utils/isValidType":969,invariant:361,"lodash/isPlainObject":743}],956:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return t===e||null!==t&&null!==e&&i.default(t,e)}n.__esModule=!0,n.default=o;var a=e("./utils/shallowEqual"),i=r(a);t.exports=n.default},{"./utils/shallowEqual":970}],957:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(){u&&(u(),u=null),o&&a&&(u=e.connectDragSource(o,a,s))}function n(){f&&(f(),f=null),o&&c&&(f=e.connectDragPreview(o,c,d))}function r(e){e!==o&&(o=e,t(),n())}var o=void 0,a=void 0,s=void 0,u=void 0,c=void 0,d=void 0,f=void 0,p=i.default({dragSource:function(e,n){e===a&&l.default(n,s)||(a=e,s=n,t())},dragPreview:function(e,t){e===c&&l.default(t,d)||(c=e,d=t,n())}});return{receiveHandlerId:r,hooks:p}}n.__esModule=!0,n.default=o;var a=e("./wrapConnectorHooks"),i=r(a),s=e("./areOptionsEqual"),l=r(s);t.exports=n.default},{"./areOptionsEqual":956,"./wrapConnectorHooks":972}],958:[function(e,t,n){(function(r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){Object.keys(e).forEach(function(t){l.default(d.indexOf(t)>-1,'Expected the drag source specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://gaearon.github.io/react-dnd/docs-drag-source.html',d.join(", "),t),l.default("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://gaearon.github.io/react-dnd/docs-drag-source.html",t,t,e[t])}),f.forEach(function(t){l.default("function"==typeof e[t],"Expected %s in the drag source specification to be a function. Instead received a specification with %s: %s. Read more: http://gaearon.github.io/react-dnd/docs-drag-source.html",t,t,e[t])});var t=function(){function t(e){a(this,t),this.monitor=e,this.props=null,this.component=null}return t.prototype.receiveProps=function(e){this.props=e},t.prototype.receiveComponent=function(e){this.component=e},t.prototype.canDrag=function(){return!e.canDrag||e.canDrag(this.props,this.monitor)},t.prototype.isDragging=function(t,n){return e.isDragging?e.isDragging(this.props,this.monitor):n===t.getSourceId()},t.prototype.beginDrag=function(){var t=e.beginDrag(this.props,this.monitor,this.component);return"production"!==r.env.NODE_ENV&&l.default(c.default(t),"beginDrag() must return a plain object that represents the dragged item. Instead received %s. Read more: http://gaearon.github.io/react-dnd/docs-drag-source.html",t),t},t.prototype.endDrag=function(){e.endDrag&&e.endDrag(this.props,this.monitor,this.component)},t}();return function(e){return new t(e)}}n.__esModule=!0,n.default=i;var s=e("invariant"),l=o(s),u=e("lodash/isPlainObject"),c=o(u),d=["canDrag","beginDrag","canDrag","isDragging","endDrag"],f=["beginDrag"];t.exports=n.default}).call(this,e("_process"))},{_process:828,invariant:361,"lodash/isPlainObject":743}],959:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e){return new c(e)}n.__esModule=!0,n.default=a;var i=e("invariant"),s=r(i),l=!1,u=!1,c=function(){function e(t){o(this,e),this.internalMonitor=t.getMonitor()}return e.prototype.receiveHandlerId=function(e){this.sourceId=e},e.prototype.canDrag=function(){s.default(!l,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://gaearon.github.io/react-dnd/docs-drag-source-monitor.html");try{return l=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{l=!1}},e.prototype.isDragging=function(){s.default(!u,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://gaearon.github.io/react-dnd/docs-drag-source-monitor.html");try{return u=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{u=!1}},e.prototype.getItemType=function(){return this.internalMonitor.getItemType()},e.prototype.getItem=function(){return this.internalMonitor.getItem()},e.prototype.getDropResult=function(){return this.internalMonitor.getDropResult()},e.prototype.didDrop=function(){return this.internalMonitor.didDrop()},e.prototype.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},e.prototype.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},e.prototype.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},e.prototype.getClientOffset=function(){return this.internalMonitor.getClientOffset()},e.prototype.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},e}();t.exports=n.default},{invariant:361}],960:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){function t(){s&&(s(),s=null),r&&o&&(s=e.connectDropTarget(r,o,a))}function n(e){e!==r&&(r=e,t())}var r=void 0,o=void 0,a=void 0,s=void 0,u=i.default({dropTarget:function(e,n){e===o&&l.default(n,a)||(o=e,a=n,t())}});return{receiveHandlerId:n,hooks:u}}n.__esModule=!0,n.default=o;var a=e("./wrapConnectorHooks"),i=r(a),s=e("./areOptionsEqual"),l=r(s);t.exports=n.default},{"./areOptionsEqual":956,"./wrapConnectorHooks":972}],961:[function(e,t,n){(function(r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){Object.keys(e).forEach(function(t){l.default(d.indexOf(t)>-1,'Expected the drop target specification to only have some of the following keys: %s. Instead received a specification with an unexpected "%s" key. Read more: http://gaearon.github.io/react-dnd/docs-drop-target.html',d.join(", "),t),l.default("function"==typeof e[t],"Expected %s in the drop target specification to be a function. Instead received a specification with %s: %s. Read more: http://gaearon.github.io/react-dnd/docs-drop-target.html",t,t,e[t])});var t=function(){function t(e){a(this,t),this.monitor=e,this.props=null,this.component=null}return t.prototype.receiveProps=function(e){this.props=e},t.prototype.receiveMonitor=function(e){this.monitor=e},t.prototype.receiveComponent=function(e){this.component=e},t.prototype.canDrop=function(){return!e.canDrop||e.canDrop(this.props,this.monitor)},t.prototype.hover=function(){e.hover&&e.hover(this.props,this.monitor,this.component)},t.prototype.drop=function(){if(e.drop){var t=e.drop(this.props,this.monitor,this.component);return"production"!==r.env.NODE_ENV&&l.default("undefined"==typeof t||c.default(t),"drop() must either return undefined, or an object that represents the drop result. Instead received %s. Read more: http://gaearon.github.io/react-dnd/docs-drop-target.html",t),t}},t}();return function(e){return new t(e)}}n.__esModule=!0,n.default=i;var s=e("invariant"),l=o(s),u=e("lodash/isPlainObject"),c=o(u),d=["canDrop","hover","drop"];t.exports=n.default}).call(this,e("_process"))},{_process:828,invariant:361,"lodash/isPlainObject":743}],962:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e){return new u(e)}n.__esModule=!0,n.default=a;var i=e("invariant"),s=r(i),l=!1,u=function(){function e(t){o(this,e),this.internalMonitor=t.getMonitor()}return e.prototype.receiveHandlerId=function(e){this.targetId=e},e.prototype.canDrop=function(){s.default(!l,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://gaearon.github.io/react-dnd/docs-drop-target-monitor.html");try{return l=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{l=!1}},e.prototype.isOver=function(e){return this.internalMonitor.isOverTarget(this.targetId,e)},e.prototype.getItemType=function(){return this.internalMonitor.getItemType()},e.prototype.getItem=function(){return this.internalMonitor.getItem()},e.prototype.getDropResult=function(){return this.internalMonitor.getDropResult()},e.prototype.didDrop=function(){return this.internalMonitor.didDrop()},e.prototype.getInitialClientOffset=function(){return this.internalMonitor.getInitialClientOffset()},e.prototype.getInitialSourceClientOffset=function(){return this.internalMonitor.getInitialSourceClientOffset()},e.prototype.getSourceClientOffset=function(){return this.internalMonitor.getSourceClientOffset()},e.prototype.getClientOffset=function(){return this.internalMonitor.getClientOffset()},e.prototype.getDifferenceFromInitialOffset=function(){return this.internalMonitor.getDifferenceFromInitialOffset()},e}();t.exports=n.default},{invariant:361}],963:[function(e,t,n){(function(r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}function s(e){var t=e.DecoratedComponent,n=e.createHandler,o=e.createMonitor,s=e.createConnector,p=e.registerHandler,m=e.containerDisplayName,b=e.getType,y=e.collect,M=e.options,w=M.arePropsEqual,S=void 0===w?v.default:w,C=t.displayName||t.name||"Component";return function(e){function v(t,r){a(this,v),e.call(this,t,r),this.handleChange=this.handleChange.bind(this),this.handleChildRef=this.handleChildRef.bind(this),_.default("object"==typeof this.context.dragDropManager,"Could not find the drag and drop manager in the context of %s. Make sure to wrap the top-level component of your app with DragDropContext. Read more: http://gaearon.github.io/react-dnd/docs-troubleshooting.html#could-not-find-the-drag-and-drop-manager-in-the-context",C,C),
|
40 | this.manager=this.context.dragDropManager,this.handlerMonitor=o(this.manager),this.handlerConnector=s(this.manager.getBackend()),this.handler=n(this.handlerMonitor),this.disposable=new f.SerialDisposable,this.receiveProps(t),this.state=this.getCurrentState(),this.dispose()}return i(v,e),v.prototype.getHandlerId=function(){return this.handlerId},v.prototype.getDecoratedComponentInstance=function(){return this.decoratedComponentInstance},v.prototype.shouldComponentUpdate=function(e,t){return!S(e,this.props)||!h.default(t,this.state)},u(v,null,[{key:"DecoratedComponent",value:t,enumerable:!0},{key:"displayName",value:m+"("+C+")",enumerable:!0},{key:"contextTypes",value:{dragDropManager:c.PropTypes.object.isRequired},enumerable:!0}]),v.prototype.componentDidMount=function(){this.isCurrentlyMounted=!0,this.disposable=new f.SerialDisposable,this.currentType=null,this.receiveProps(this.props),this.handleChange()},v.prototype.componentWillReceiveProps=function(e){S(e,this.props)||(this.receiveProps(e),this.handleChange())},v.prototype.componentWillUnmount=function(){this.dispose(),this.isCurrentlyMounted=!1},v.prototype.receiveProps=function(e){this.handler.receiveProps(e),this.receiveType(b(e))},v.prototype.receiveType=function(e){if(e!==this.currentType){this.currentType=e;var t=p(e,this.handler,this.manager),n=t.handlerId,r=t.unregister;this.handlerId=n,this.handlerMonitor.receiveHandlerId(n),this.handlerConnector.receiveHandlerId(n);var o=this.manager.getMonitor(),a=o.subscribeToStateChange(this.handleChange,{handlerIds:[n]});this.disposable.setDisposable(new f.CompositeDisposable(new f.Disposable(a),new f.Disposable(r)))}},v.prototype.handleChange=function(){if(this.isCurrentlyMounted){var e=this.getCurrentState();h.default(e,this.state)||this.setState(e)}},v.prototype.dispose=function(){this.disposable.dispose(),this.handlerConnector.receiveHandlerId(null)},v.prototype.handleChildRef=function(e){this.decoratedComponentInstance=e,this.handler.receiveComponent(e)},v.prototype.getCurrentState=function(){var e=y(this.handlerConnector.hooks,this.handlerMonitor);return"production"!==r.env.NODE_ENV&&_.default(g.default(e),"Expected `collect` specified as the second argument to %s for %s to return a plain object of props to inject. Instead, received %s.",m,C,e),e},v.prototype.render=function(){return d.default.createElement(t,l({},this.props,this.state,{ref:this.handleChildRef}))},v}(c.Component)}n.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n.default=s;var c=e("react"),d=o(c),f=e("disposables"),p=e("./utils/shallowEqual"),h=o(p),m=e("./utils/shallowEqualScalar"),v=o(m),b=e("lodash/isPlainObject"),g=o(b),y=e("invariant"),_=o(y);t.exports=n.default}).call(this,e("_process"))},{"./utils/shallowEqual":970,"./utils/shallowEqualScalar":971,_process:828,disposables:225,invariant:361,"lodash/isPlainObject":743,react:1269}],964:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e.default:e}n.__esModule=!0;var o=e("./DragDropContext");n.DragDropContext=r(o);var a=e("./DragLayer");n.DragLayer=r(a);var i=e("./DragSource");n.DragSource=r(i);var s=e("./DropTarget");n.DropTarget=r(s)},{"./DragDropContext":952,"./DragLayer":953,"./DragSource":954,"./DropTarget":955}],965:[function(e,t,n){"use strict";function r(e,t,n){function r(){o.removeSource(a)}var o=n.getRegistry(),a=o.addSource(e,t);return{handlerId:a,unregister:r}}n.__esModule=!0,n.default=r,t.exports=n.default},{}],966:[function(e,t,n){"use strict";function r(e,t,n){function r(){o.removeTarget(a)}var o=n.getRegistry(),a=o.addTarget(e,t);return{handlerId:a,unregister:r}}n.__esModule=!0,n.default=r,t.exports=n.default},{}],967:[function(e,t,n){(function(e){"use strict";function r(t,n){if("production"!==e.env.NODE_ENV){for(var r=arguments.length,o=Array(r>2?r-2:0),a=2;a<r;a++)o[a-2]=arguments[a];for(var i=0;i<o.length;i++){var s=o[i];if(s&&s.prototype&&s.prototype.render)return void console.error("You seem to be applying the arguments in the wrong order. "+("It should be "+t+"("+n+")(Component), not the other way around. ")+"Read more: http://gaearon.github.io/react-dnd/docs-troubleshooting.html#you-seem-to-be-applying-the-arguments-in-the-wrong-order")}}}n.__esModule=!0,n.default=r,t.exports=n.default}).call(this,e("_process"))},{_process:828}],968:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=e.ref;return i.default("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://facebook.github.io/react/docs/more-about-refs.html#the-ref-callback-attribute"),n?s.cloneElement(e,{ref:function(e){t(e),n&&n(e)}}):s.cloneElement(e,{ref:t})}n.__esModule=!0,n.default=o;var a=e("invariant"),i=r(a),s=e("react");t.exports=n.default},{invariant:361,react:1269}],969:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return"string"==typeof e||"symbol"==typeof e||t&&i.default(e)&&e.every(function(e){return o(e,!1)})}n.__esModule=!0,n.default=o;var a=e("lodash/isArray"),i=r(a);t.exports=n.default},{"lodash/isArray":731}],970:[function(e,t,n){arguments[4][951][0].apply(n,arguments)},{dup:951}],971:[function(e,t,n){"use strict";function r(e,t){if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,a=0;a<n.length;a++){if(!o.call(t,n[a]))return!1;var i=e[n[a]],s=t[n[a]];if(i!==s||"object"==typeof i||"object"==typeof s)return!1}return!0}n.__esModule=!0,n.default=r,t.exports=n.default},{}],972:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors. "+("You can either wrap "+t+" into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}function a(e){return function(){var t=arguments.length<=0||void 0===arguments[0]?null:arguments[0],n=arguments.length<=1||void 0===arguments[1]?null:arguments[1];if(!u.isValidElement(t)){var r=t;return void e(r,n)}var a=t;o(a);var i=n?function(t){return e(t,n)}:e;return l.default(a,i)}}function i(e){var t={};return Object.keys(e).forEach(function(n){var r=e[n],o=a(r);t[n]=function(){return o}}),t}n.__esModule=!0,n.default=i;var s=e("./utils/cloneWithRef"),l=r(s),u=e("react");t.exports=n.default},{"./utils/cloneWithRef":968,react:1269}],973:[function(e,t,n){"use strict";function r(e){var t=e[e.length-1];if(t)return t.title}function o(e){var t=e||"";t!==document.title&&(document.title=t)}var a=e("react"),i=e("react-side-effect"),s=a.createClass({displayName:"DocumentTitle",propTypes:{title:a.PropTypes.string.isRequired},render:function(){return this.props.children?a.Children.only(this.props.children):null}});t.exports=i(r,o)(s)},{react:1269,"react-side-effect":1194}],974:[function(e,t,n){"use strict";t.exports=e("./lib/ReactDOM")},{"./lib/ReactDOM":1004}],975:[function(e,t,n){"use strict";var r={Properties:{"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},DOMAttributeNames:{},DOMPropertyNames:{}};t.exports=r},{}],976:[function(e,t,n){"use strict";var r=e("./ReactDOMComponentTree"),o=e("fbjs/lib/focusNode"),a={focusDOMComponent:function(){o(r.getNodeFromInstance(this))}};t.exports=a},{"./ReactDOMComponentTree":1007,"fbjs/lib/focusNode":290}],977:[function(e,t,n){"use strict";function r(){var e=window.opera;return"object"==typeof e&&"function"==typeof e.version&&parseInt(e.version(),10)<=12}function o(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}function a(e){switch(e){case"topCompositionStart":return k.compositionStart;case"topCompositionEnd":return k.compositionEnd;case"topCompositionUpdate":return k.compositionUpdate}}function i(e,t){return"topKeyDown"===e&&t.keyCode===y}function s(e,t){switch(e){case"topKeyUp":return g.indexOf(t.keyCode)!==-1;case"topKeyDown":return t.keyCode!==y;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function l(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function u(e,t,n,r){var o,u;if(_?o=a(e):A?s(e,n)&&(o=k.compositionEnd):i(e,n)&&(o=k.compositionStart),!o)return null;S&&(A||o!==k.compositionStart?o===k.compositionEnd&&A&&(u=A.getData()):A=m.getPooled(r));var c=v.getPooled(o,t,n,r);if(u)c.data=u;else{var d=l(n);null!==d&&(c.data=d)}return p.accumulateTwoPhaseDispatches(c),c}function c(e,t){switch(e){case"topCompositionEnd":return l(t);case"topKeyPress":var n=t.which;return n!==C?null:(T=!0,x);case"topTextInput":var r=t.data;return r===x&&T?null:r;default:return null}}function d(e,t){if(A){if("topCompositionEnd"===e||!_&&s(e,t)){var n=A.getData();return m.release(A),A=null,n}return null}switch(e){case"topPaste":return null;case"topKeyPress":return t.which&&!o(t)?String.fromCharCode(t.which):null;case"topCompositionEnd":return S?null:t.data;default:return null}}function f(e,t,n,r){var o;if(o=w?c(e,n):d(e,n),!o)return null;var a=b.getPooled(k.beforeInput,t,n,r);return a.data=o,p.accumulateTwoPhaseDispatches(a),a}var p=e("./EventPropagators"),h=e("fbjs/lib/ExecutionEnvironment"),m=e("./FallbackCompositionState"),v=e("./SyntheticCompositionEvent"),b=e("./SyntheticInputEvent"),g=[9,13,27,32],y=229,_=h.canUseDOM&&"CompositionEvent"in window,M=null;h.canUseDOM&&"documentMode"in document&&(M=document.documentMode);var w=h.canUseDOM&&"TextEvent"in window&&!M&&!r(),S=h.canUseDOM&&(!_||M&&M>8&&M<=11),C=32,x=String.fromCharCode(C),k={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},T=!1,A=null,P={eventTypes:k,extractEvents:function(e,t,n,r){return[u(e,t,n,r),f(e,t,n,r)]}};t.exports=P},{"./EventPropagators":993,"./FallbackCompositionState":994,"./SyntheticCompositionEvent":1058,"./SyntheticInputEvent":1062,"fbjs/lib/ExecutionEnvironment":282}],978:[function(e,t,n){"use strict";function r(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var o={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},a=["Webkit","ms","Moz","O"];Object.keys(o).forEach(function(e){a.forEach(function(t){o[r(t,e)]=o[e]})});var i={background:{backgroundAttachment:!0,backgroundColor:!0,backgroundImage:!0,backgroundPositionX:!0,backgroundPositionY:!0,backgroundRepeat:!0},backgroundPosition:{backgroundPositionX:!0,backgroundPositionY:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0},outline:{outlineWidth:!0,outlineStyle:!0,outlineColor:!0}},s={isUnitlessNumber:o,shorthandPropertyExpansions:i};t.exports=s},{}],979:[function(e,t,n){"use strict";var r=e("./CSSProperty"),o=e("fbjs/lib/ExecutionEnvironment"),a=(e("./ReactInstrumentation"),e("fbjs/lib/camelizeStyleName"),e("./dangerousStyleValue")),i=e("fbjs/lib/hyphenateStyleName"),s=e("fbjs/lib/memoizeStringOnly"),l=(e("fbjs/lib/warning"),s(function(e){return i(e)})),u=!1,c="cssFloat";if(o.canUseDOM){var d=document.createElement("div").style;try{d.font=""}catch(e){u=!0}void 0===document.documentElement.style.cssFloat&&(c="styleFloat")}var f={createMarkupForStyles:function(e,t){var n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];null!=o&&(n+=l(r)+":",n+=a(r,o,t)+";")}return n||null},setValueForStyles:function(e,t,n){var o=e.style;for(var i in t)if(t.hasOwnProperty(i)){var s=a(i,t[i],n);if("float"!==i&&"cssFloat"!==i||(i=c),s)o[i]=s;else{var l=u&&r.shorthandPropertyExpansions[i];if(l)for(var d in l)o[d]="";else o[i]=""}}}};t.exports=f},{"./CSSProperty":978,"./ReactInstrumentation":1036,"./dangerousStyleValue":1075,"fbjs/lib/ExecutionEnvironment":282,"fbjs/lib/camelizeStyleName":284,"fbjs/lib/hyphenateStyleName":295,"fbjs/lib/memoizeStringOnly":299,"fbjs/lib/warning":303}],980:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=e("./reactProdInvariant"),a=e("./PooledClass"),i=(e("fbjs/lib/invariant"),function(){function e(t){r(this,e),this._callbacks=null,this._contexts=null,this._arg=t}return e.prototype.enqueue=function(e,t){this._callbacks=this._callbacks||[],this._callbacks.push(e),this._contexts=this._contexts||[],this._contexts.push(t)},e.prototype.notifyAll=function(){var e=this._callbacks,t=this._contexts,n=this._arg;if(e&&t){e.length!==t.length?o("24"):void 0,this._callbacks=null,this._contexts=null;for(var r=0;r<e.length;r++)e[r].call(t[r],n);e.length=0,t.length=0}},e.prototype.checkpoint=function(){return this._callbacks?this._callbacks.length:0},e.prototype.rollback=function(e){this._callbacks&&this._contexts&&(this._callbacks.length=e,this._contexts.length=e)},e.prototype.reset=function(){this._callbacks=null,this._contexts=null},e.prototype.destructor=function(){this.reset()},e}());t.exports=a.addPoolingTo(i)},{"./PooledClass":998,"./reactProdInvariant":1094,"fbjs/lib/invariant":296}],981:[function(e,t,n){"use strict";function r(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function o(e){var t=S.getPooled(T.change,P,e,C(e));y.accumulateTwoPhaseDispatches(t),w.batchedUpdates(a,t)}function a(e){g.enqueueEvents(e),g.processEventQueue(!1)}function i(e,t){A=e,P=t,A.attachEvent("onchange",o)}function s(){A&&(A.detachEvent("onchange",o),A=null,P=null)}function l(e,t){if("topChange"===e)return t}function u(e,t,n){"topFocus"===e?(s(),i(t,n)):"topBlur"===e&&s()}function c(e,t){A=e,P=t,N=e.value,O=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(A,"value",R),A.attachEvent?A.attachEvent("onpropertychange",f):A.addEventListener("propertychange",f,!1)}function d(){A&&(delete A.value,A.detachEvent?A.detachEvent("onpropertychange",f):A.removeEventListener("propertychange",f,!1),A=null,P=null,N=null,O=null)}function f(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==N&&(N=t,o(e))}}function p(e,t){if("topInput"===e)return t}function h(e,t,n){"topFocus"===e?(d(),c(t,n)):"topBlur"===e&&d()}function m(e,t){if(("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)&&A&&A.value!==N)return N=A.value,P}function v(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function b(e,t){if("topClick"===e)return t}var g=e("./EventPluginHub"),y=e("./EventPropagators"),_=e("fbjs/lib/ExecutionEnvironment"),M=e("./ReactDOMComponentTree"),w=e("./ReactUpdates"),S=e("./SyntheticEvent"),C=e("./getEventTarget"),x=e("./isEventSupported"),k=e("./isTextInputElement"),T={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},A=null,P=null,N=null,O=null,E=!1;_.canUseDOM&&(E=x("change")&&(!document.documentMode||document.documentMode>8));var z=!1;_.canUseDOM&&(z=x("input")&&(!document.documentMode||document.documentMode>11));var R={get:function(){return O.get.call(this)},set:function(e){N=""+e,O.set.call(this,e)}},j={eventTypes:T,extractEvents:function(e,t,n,o){var a,i,s=t?M.getNodeFromInstance(t):window;if(r(s)?E?a=l:i=u:k(s)?z?a=p:(a=m,i=h):v(s)&&(a=b),a){var c=a(e,t);if(c){var d=S.getPooled(T.change,c,n,o);return d.type="change",y.accumulateTwoPhaseDispatches(d),d}}i&&i(e,s,t)}};t.exports=j},{"./EventPluginHub":990,"./EventPropagators":993,"./ReactDOMComponentTree":1007,"./ReactUpdates":1051,"./SyntheticEvent":1060,"./getEventTarget":1083,"./isEventSupported":1091,"./isTextInputElement":1092,"fbjs/lib/ExecutionEnvironment":282}],982:[function(e,t,n){"use strict";function r(e,t){return Array.isArray(t)&&(t=t[1]),t?t.nextSibling:e.firstChild}function o(e,t,n){c.insertTreeBefore(e,t,n)}function a(e,t,n){Array.isArray(t)?s(e,t[0],t[1],n):m(e,t,n)}function i(e,t){if(Array.isArray(t)){var n=t[1];t=t[0],l(e,t,n),e.removeChild(n)}e.removeChild(t)}function s(e,t,n,r){for(var o=t;;){var a=o.nextSibling;if(m(e,o,r),o===n)break;o=a}}function l(e,t,n){for(;;){var r=t.nextSibling;if(r===n)break;e.removeChild(r)}}function u(e,t,n){var r=e.parentNode,o=e.nextSibling;o===t?n&&m(r,document.createTextNode(n),o):n?(h(o,n),l(r,o,t)):l(r,e,t)}var c=e("./DOMLazyTree"),d=e("./Danger"),f=(e("./ReactDOMComponentTree"),e("./ReactInstrumentation"),e("./createMicrosoftUnsafeLocalFunction")),p=e("./setInnerHTML"),h=e("./setTextContent"),m=f(function(e,t,n){e.insertBefore(t,n)}),v=d.dangerouslyReplaceNodeWithMarkup,b={dangerouslyReplaceNodeWithMarkup:v,replaceDelimitedText:u,processUpdates:function(e,t){for(var n=0;n<t.length;n++){var s=t[n];switch(s.type){case"INSERT_MARKUP":o(e,s.content,r(e,s.afterNode));break;case"MOVE_EXISTING":a(e,s.fromNode,r(e,s.afterNode));break;case"SET_MARKUP":p(e,s.content);break;case"TEXT_CONTENT":h(e,s.content);break;case"REMOVE_NODE":i(e,s.fromNode)}}}};t.exports=b},{"./DOMLazyTree":983,"./Danger":987,"./ReactDOMComponentTree":1007,"./ReactInstrumentation":1036,"./createMicrosoftUnsafeLocalFunction":1074,"./setInnerHTML":1096,"./setTextContent":1097}],983:[function(e,t,n){"use strict";function r(e){if(v){var t=e.node,n=e.children;if(n.length)for(var r=0;r<n.length;r++)b(t,n[r],null);else null!=e.html?d(t,e.html):null!=e.text&&p(t,e.text)}}function o(e,t){e.parentNode.replaceChild(t.node,e),r(t)}function a(e,t){v?e.children.push(t):e.node.appendChild(t.node)}function i(e,t){v?e.html=t:d(e.node,t)}function s(e,t){v?e.text=t:p(e.node,t)}function l(){return this.node.nodeName}function u(e){return{node:e,children:[],html:null,text:null,toString:l}}var c=e("./DOMNamespaces"),d=e("./setInnerHTML"),f=e("./createMicrosoftUnsafeLocalFunction"),p=e("./setTextContent"),h=1,m=11,v="undefined"!=typeof document&&"number"==typeof document.documentMode||"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&/\bEdge\/\d/.test(navigator.userAgent),b=f(function(e,t,n){t.node.nodeType===m||t.node.nodeType===h&&"object"===t.node.nodeName.toLowerCase()&&(null==t.node.namespaceURI||t.node.namespaceURI===c.html)?(r(t),e.insertBefore(t.node,n)):(e.insertBefore(t.node,n),r(t))});u.insertTreeBefore=b,u.replaceChildWithTree=o,u.queueChild=a,u.queueHTML=i,u.queueText=s,t.exports=u},{"./DOMNamespaces":984,"./createMicrosoftUnsafeLocalFunction":1074,"./setInnerHTML":1096,"./setTextContent":1097}],984:[function(e,t,n){"use strict";var r={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};t.exports=r},{}],985:[function(e,t,n){"use strict";function r(e,t){return(e&t)===t}var o=e("./reactProdInvariant"),a=(e("fbjs/lib/invariant"),{MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,injectDOMPropertyConfig:function(e){var t=a,n=e.Properties||{},i=e.DOMAttributeNamespaces||{},l=e.DOMAttributeNames||{},u=e.DOMPropertyNames||{},c=e.DOMMutationMethods||{};e.isCustomAttribute&&s._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var d in n){s.properties.hasOwnProperty(d)?o("48",d):void 0;var f=d.toLowerCase(),p=n[d],h={attributeName:f,attributeNamespace:null,propertyName:d,mutationMethod:null,mustUseProperty:r(p,t.MUST_USE_PROPERTY),hasBooleanValue:r(p,t.HAS_BOOLEAN_VALUE),hasNumericValue:r(p,t.HAS_NUMERIC_VALUE),hasPositiveNumericValue:r(p,t.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:r(p,t.HAS_OVERLOADED_BOOLEAN_VALUE)};if(h.hasBooleanValue+h.hasNumericValue+h.hasOverloadedBooleanValue<=1?void 0:o("50",d),l.hasOwnProperty(d)){var m=l[d];h.attributeName=m}i.hasOwnProperty(d)&&(h.attributeNamespace=i[d]),u.hasOwnProperty(d)&&(h.propertyName=u[d]),c.hasOwnProperty(d)&&(h.mutationMethod=c[d]),s.properties[d]=h}}}),i=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s={ID_ATTRIBUTE_NAME:"data-reactid",ROOT_ATTRIBUTE_NAME:"data-reactroot",ATTRIBUTE_NAME_START_CHAR:i,ATTRIBUTE_NAME_CHAR:i+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",properties:{},getPossibleStandardName:null,_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<s._isCustomAttributeFunctions.length;t++){var n=s._isCustomAttributeFunctions[t];if(n(e))return!0}return!1},injection:a};t.exports=s},{"./reactProdInvariant":1094,"fbjs/lib/invariant":296}],986:[function(e,t,n){"use strict";function r(e){return!!u.hasOwnProperty(e)||!l.hasOwnProperty(e)&&(s.test(e)?(u[e]=!0,!0):(l[e]=!0,!1))}function o(e,t){return null==t||e.hasBooleanValue&&!t||e.hasNumericValue&&isNaN(t)||e.hasPositiveNumericValue&&t<1||e.hasOverloadedBooleanValue&&t===!1}var a=e("./DOMProperty"),i=(e("./ReactDOMComponentTree"),e("./ReactInstrumentation"),e("./quoteAttributeValueForBrowser")),s=(e("fbjs/lib/warning"),new RegExp("^["+a.ATTRIBUTE_NAME_START_CHAR+"]["+a.ATTRIBUTE_NAME_CHAR+"]*$")),l={},u={},c={createMarkupForID:function(e){return a.ID_ATTRIBUTE_NAME+"="+i(e)},setAttributeForID:function(e,t){e.setAttribute(a.ID_ATTRIBUTE_NAME,t)},createMarkupForRoot:function(){return a.ROOT_ATTRIBUTE_NAME+'=""'},setAttributeForRoot:function(e){e.setAttribute(a.ROOT_ATTRIBUTE_NAME,"")},createMarkupForProperty:function(e,t){var n=a.properties.hasOwnProperty(e)?a.properties[e]:null;if(n){if(o(n,t))return"";var r=n.attributeName;return n.hasBooleanValue||n.hasOverloadedBooleanValue&&t===!0?r+'=""':r+"="+i(t)}return a.isCustomAttribute(e)?null==t?"":e+"="+i(t):null},createMarkupForCustomAttribute:function(e,t){return r(e)&&null!=t?e+"="+i(t):""},setValueForProperty:function(e,t,n){var r=a.properties.hasOwnProperty(t)?a.properties[t]:null;if(r){var i=r.mutationMethod;if(i)i(e,n);else{if(o(r,n))return void this.deleteValueForProperty(e,t);if(r.mustUseProperty)e[r.propertyName]=n;else{var s=r.attributeName,l=r.attributeNamespace;l?e.setAttributeNS(l,s,""+n):r.hasBooleanValue||r.hasOverloadedBooleanValue&&n===!0?e.setAttribute(s,""):e.setAttribute(s,""+n)}}}else if(a.isCustomAttribute(t))return void c.setValueForAttribute(e,t,n)},setValueForAttribute:function(e,t,n){if(r(t)){null==n?e.removeAttribute(t):e.setAttribute(t,""+n)}},deleteValueForAttribute:function(e,t){e.removeAttribute(t)},deleteValueForProperty:function(e,t){var n=a.properties.hasOwnProperty(t)?a.properties[t]:null;if(n){var r=n.mutationMethod;if(r)r(e,void 0);else if(n.mustUseProperty){var o=n.propertyName;n.hasBooleanValue?e[o]=!1:e[o]=""}else e.removeAttribute(n.attributeName)}else a.isCustomAttribute(t)&&e.removeAttribute(t)}};t.exports=c},{"./DOMProperty":985,"./ReactDOMComponentTree":1007,"./ReactInstrumentation":1036,"./quoteAttributeValueForBrowser":1093,"fbjs/lib/warning":303}],987:[function(e,t,n){"use strict";var r=e("./reactProdInvariant"),o=e("./DOMLazyTree"),a=e("fbjs/lib/ExecutionEnvironment"),i=e("fbjs/lib/createNodesFromMarkup"),s=e("fbjs/lib/emptyFunction"),l=(e("fbjs/lib/invariant"),{dangerouslyReplaceNodeWithMarkup:function(e,t){if(a.canUseDOM?void 0:r("56"),t?void 0:r("57"),"HTML"===e.nodeName?r("58"):void 0,"string"==typeof t){var n=i(t,s)[0];e.parentNode.replaceChild(n,e)}else o.replaceChildWithTree(e,t)}});t.exports=l},{"./DOMLazyTree":983,"./reactProdInvariant":1094,"fbjs/lib/ExecutionEnvironment":282,"fbjs/lib/createNodesFromMarkup":287,"fbjs/lib/emptyFunction":288,"fbjs/lib/invariant":296}],988:[function(e,t,n){"use strict";var r=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];t.exports=r},{}],989:[function(e,t,n){"use strict";var r=e("./EventPropagators"),o=e("./ReactDOMComponentTree"),a=e("./SyntheticMouseEvent"),i={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},s={eventTypes:i,extractEvents:function(e,t,n,s){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var l;if(s.window===s)l=s;else{var u=s.ownerDocument;l=u?u.defaultView||u.parentWindow:window}var c,d;if("topMouseOut"===e){c=t;var f=n.relatedTarget||n.toElement;d=f?o.getClosestInstanceFromNode(f):null}else c=null,d=t;if(c===d)return null;var p=null==c?l:o.getNodeFromInstance(c),h=null==d?l:o.getNodeFromInstance(d),m=a.getPooled(i.mouseLeave,c,n,s);m.type="mouseleave",m.target=p,m.relatedTarget=h;var v=a.getPooled(i.mouseEnter,d,n,s);return v.type="mouseenter",v.target=h,v.relatedTarget=p,r.accumulateEnterLeaveDispatches(m,v,c,d),[m,v]}};t.exports=s},{"./EventPropagators":993,"./ReactDOMComponentTree":1007,"./SyntheticMouseEvent":1064}],990:[function(e,t,n){"use strict";function r(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}function o(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!n.disabled||!r(t));default:return!1}}var a=e("./reactProdInvariant"),i=e("./EventPluginRegistry"),s=e("./EventPluginUtils"),l=e("./ReactErrorUtils"),u=e("./accumulateInto"),c=e("./forEachAccumulated"),d=(e("fbjs/lib/invariant"),{}),f=null,p=function(e,t){e&&(s.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e))},h=function(e){return p(e,!0)},m=function(e){return p(e,!1)},v=function(e){return"."+e._rootNodeID},b={injection:{injectEventPluginOrder:i.injectEventPluginOrder,injectEventPluginsByName:i.injectEventPluginsByName},putListener:function(e,t,n){"function"!=typeof n?a("94",t,typeof n):void 0;var r=v(e),o=d[t]||(d[t]={});o[r]=n;var s=i.registrationNameModules[t];s&&s.didPutListener&&s.didPutListener(e,t,n)},getListener:function(e,t){var n=d[t];if(o(t,e._currentElement.type,e._currentElement.props))return null;var r=v(e);return n&&n[r]},deleteListener:function(e,t){var n=i.registrationNameModules[t];n&&n.willDeleteListener&&n.willDeleteListener(e,t);var r=d[t];if(r){var o=v(e);delete r[o]}},deleteAllListeners:function(e){var t=v(e);for(var n in d)if(d.hasOwnProperty(n)&&d[n][t]){var r=i.registrationNameModules[n];r&&r.willDeleteListener&&r.willDeleteListener(e,n),delete d[n][t]}},extractEvents:function(e,t,n,r){for(var o,a=i.plugins,s=0;s<a.length;s++){var l=a[s];if(l){var c=l.extractEvents(e,t,n,r);c&&(o=u(o,c))}}return o},enqueueEvents:function(e){e&&(f=u(f,e))},processEventQueue:function(e){var t=f;f=null,e?c(t,h):c(t,m),f?a("95"):void 0,l.rethrowCaughtError()},__purge:function(){d={}},__getListenerBank:function(){return d}};t.exports=b},{"./EventPluginRegistry":991,"./EventPluginUtils":992,"./ReactErrorUtils":1027,"./accumulateInto":1071,"./forEachAccumulated":1079,"./reactProdInvariant":1094,"fbjs/lib/invariant":296}],991:[function(e,t,n){"use strict";function r(){if(s)for(var e in l){var t=l[e],n=s.indexOf(e);if(n>-1?void 0:i("96",e),!u.plugins[n]){t.extractEvents?void 0:i("97",e),u.plugins[n]=t;var r=t.eventTypes;for(var a in r)o(r[a],t,a)?void 0:i("98",a,e)}}}function o(e,t,n){u.eventNameDispatchConfigs.hasOwnProperty(n)?i("99",n):void 0,u.eventNameDispatchConfigs[n]=e;var r=e.phasedRegistrationNames;if(r){for(var o in r)if(r.hasOwnProperty(o)){var s=r[o];a(s,t,n)}return!0}return!!e.registrationName&&(a(e.registrationName,t,n),!0)}function a(e,t,n){u.registrationNameModules[e]?i("100",e):void 0,u.registrationNameModules[e]=t,u.registrationNameDependencies[e]=t.eventTypes[n].dependencies}var i=e("./reactProdInvariant"),s=(e("fbjs/lib/invariant"),null),l={},u={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:null,injectEventPluginOrder:function(e){s?i("101"):void 0,s=Array.prototype.slice.call(e),r()},injectEventPluginsByName:function(e){var t=!1;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];l.hasOwnProperty(n)&&l[n]===o||(l[n]?i("102",n):void 0,l[n]=o,t=!0)}t&&r()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return u.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var r in n)if(n.hasOwnProperty(r)){var o=u.registrationNameModules[n[r]];if(o)return o}}return null},_resetEventPlugins:function(){s=null;for(var e in l)l.hasOwnProperty(e)&&delete l[e];u.plugins.length=0;var t=u.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var r=u.registrationNameModules;for(var o in r)r.hasOwnProperty(o)&&delete r[o]}};t.exports=u},{"./reactProdInvariant":1094,"fbjs/lib/invariant":296}],992:[function(e,t,n){"use strict";function r(e){return"topMouseUp"===e||"topTouchEnd"===e||"topTouchCancel"===e}function o(e){return"topMouseMove"===e||"topTouchMove"===e}function a(e){return"topMouseDown"===e||"topTouchStart"===e}function i(e,t,n,r){var o=e.type||"unknown-event";e.currentTarget=b.getNodeFromInstance(r),t?m.invokeGuardedCallbackWithCatch(o,n,e):m.invokeGuardedCallback(o,n,e),e.currentTarget=null}function s(e,t){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)i(e,t,n[o],r[o]);else n&&i(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null}function l(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t)){for(var r=0;r<t.length&&!e.isPropagationStopped();r++)if(t[r](e,n[r]))return n[r];
|
41 | }else if(t&&t(e,n))return n;return null}function u(e){var t=l(e);return e._dispatchInstances=null,e._dispatchListeners=null,t}function c(e){var t=e._dispatchListeners,n=e._dispatchInstances;Array.isArray(t)?h("103"):void 0,e.currentTarget=t?b.getNodeFromInstance(n):null;var r=t?t(e):null;return e.currentTarget=null,e._dispatchListeners=null,e._dispatchInstances=null,r}function d(e){return!!e._dispatchListeners}var f,p,h=e("./reactProdInvariant"),m=e("./ReactErrorUtils"),v=(e("fbjs/lib/invariant"),e("fbjs/lib/warning"),{injectComponentTree:function(e){f=e},injectTreeTraversal:function(e){p=e}}),b={isEndish:r,isMoveish:o,isStartish:a,executeDirectDispatch:c,executeDispatchesInOrder:s,executeDispatchesInOrderStopAtTrue:u,hasDispatches:d,getInstanceFromNode:function(e){return f.getInstanceFromNode(e)},getNodeFromInstance:function(e){return f.getNodeFromInstance(e)},isAncestor:function(e,t){return p.isAncestor(e,t)},getLowestCommonAncestor:function(e,t){return p.getLowestCommonAncestor(e,t)},getParentInstance:function(e){return p.getParentInstance(e)},traverseTwoPhase:function(e,t,n){return p.traverseTwoPhase(e,t,n)},traverseEnterLeave:function(e,t,n,r,o){return p.traverseEnterLeave(e,t,n,r,o)},injection:v};t.exports=b},{"./ReactErrorUtils":1027,"./reactProdInvariant":1094,"fbjs/lib/invariant":296,"fbjs/lib/warning":303}],993:[function(e,t,n){"use strict";function r(e,t,n){var r=t.dispatchConfig.phasedRegistrationNames[n];return b(e,r)}function o(e,t,n){var o=r(e,n,t);o&&(n._dispatchListeners=m(n._dispatchListeners,o),n._dispatchInstances=m(n._dispatchInstances,e))}function a(e){e&&e.dispatchConfig.phasedRegistrationNames&&h.traverseTwoPhase(e._targetInst,o,e)}function i(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst,n=t?h.getParentInstance(t):null;h.traverseTwoPhase(n,o,e)}}function s(e,t,n){if(n&&n.dispatchConfig.registrationName){var r=n.dispatchConfig.registrationName,o=b(e,r);o&&(n._dispatchListeners=m(n._dispatchListeners,o),n._dispatchInstances=m(n._dispatchInstances,e))}}function l(e){e&&e.dispatchConfig.registrationName&&s(e._targetInst,null,e)}function u(e){v(e,a)}function c(e){v(e,i)}function d(e,t,n,r){h.traverseEnterLeave(n,r,s,e,t)}function f(e){v(e,l)}var p=e("./EventPluginHub"),h=e("./EventPluginUtils"),m=e("./accumulateInto"),v=e("./forEachAccumulated"),b=(e("fbjs/lib/warning"),p.getListener),g={accumulateTwoPhaseDispatches:u,accumulateTwoPhaseDispatchesSkipTarget:c,accumulateDirectDispatches:f,accumulateEnterLeaveDispatches:d};t.exports=g},{"./EventPluginHub":990,"./EventPluginUtils":992,"./accumulateInto":1071,"./forEachAccumulated":1079,"fbjs/lib/warning":303}],994:[function(e,t,n){"use strict";function r(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var o=e("object-assign"),a=e("./PooledClass"),i=e("./getTextContentAccessor");o(r.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[i()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,r=n.length,o=this.getText(),a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);var s=t>1?1-t:void 0;return this._fallbackText=o.slice(e,s),this._fallbackText}}),a.addPoolingTo(r),t.exports=r},{"./PooledClass":998,"./getTextContentAccessor":1088,"object-assign":823}],995:[function(e,t,n){"use strict";var r=e("./DOMProperty"),o=r.injection.MUST_USE_PROPERTY,a=r.injection.HAS_BOOLEAN_VALUE,i=r.injection.HAS_NUMERIC_VALUE,s=r.injection.HAS_POSITIVE_NUMERIC_VALUE,l=r.injection.HAS_OVERLOADED_BOOLEAN_VALUE,u={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:a,allowTransparency:0,alt:0,as:0,async:a,autoComplete:0,autoPlay:a,capture:a,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:o|a,cite:0,classID:0,className:0,cols:s,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:a,coords:0,crossOrigin:0,data:0,dateTime:0,default:a,defer:a,dir:0,disabled:a,download:l,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:a,formTarget:0,frameBorder:0,headers:0,height:0,hidden:a,high:0,href:0,hrefLang:0,htmlFor:0,httpEquiv:0,icon:0,id:0,inputMode:0,integrity:0,is:0,keyParams:0,keyType:0,kind:0,label:0,lang:0,list:0,loop:a,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:o|a,muted:o|a,name:0,nonce:0,noValidate:a,open:a,optimum:0,pattern:0,placeholder:0,playsInline:a,poster:0,preload:0,profile:0,radioGroup:0,readOnly:a,referrerPolicy:0,rel:0,required:a,reversed:a,role:0,rows:s,rowSpan:i,sandbox:0,scope:0,scoped:a,scrolling:0,seamless:a,selected:o|a,shape:0,size:s,sizes:0,span:s,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:i,step:0,style:0,summary:0,tabIndex:0,target:0,title:0,type:0,useMap:0,value:0,width:0,wmode:0,wrap:0,about:0,datatype:0,inlist:0,prefix:0,property:0,resource:0,typeof:0,vocab:0,autoCapitalize:0,autoCorrect:0,autoSave:0,color:0,itemProp:0,itemScope:a,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};t.exports=u},{"./DOMProperty":985}],996:[function(e,t,n){"use strict";function r(e){var t=/[=:]/g,n={"=":"=0",":":"=2"},r=(""+e).replace(t,function(e){return n[e]});return"$"+r}function o(e){var t=/(=0|=2)/g,n={"=0":"=","=2":":"},r="."===e[0]&&"$"===e[1]?e.substring(2):e.substring(1);return(""+r).replace(t,function(e){return n[e]})}var a={escape:r,unescape:o};t.exports=a},{}],997:[function(e,t,n){"use strict";function r(e){null!=e.checkedLink&&null!=e.valueLink?s("87"):void 0}function o(e){r(e),null!=e.value||null!=e.onChange?s("88"):void 0}function a(e){r(e),null!=e.checked||null!=e.onChange?s("89"):void 0}function i(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var s=e("./reactProdInvariant"),l=e("react/lib/React"),u=e("./ReactPropTypesSecret"),c=(e("fbjs/lib/invariant"),e("fbjs/lib/warning"),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0}),d={value:function(e,t,n){return!e[t]||c[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:l.PropTypes.func},f={},p={checkPropTypes:function(e,t,n){for(var r in d){if(d.hasOwnProperty(r))var o=d[r](t,r,e,"prop",null,u);if(o instanceof Error&&!(o.message in f)){f[o.message]=!0;i(n)}}},getValue:function(e){return e.valueLink?(o(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(a(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(o(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(a(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};t.exports=p},{"./ReactPropTypesSecret":1044,"./reactProdInvariant":1094,"fbjs/lib/invariant":296,"fbjs/lib/warning":303,"react/lib/React":1245}],998:[function(e,t,n){"use strict";var r=e("./reactProdInvariant"),o=(e("fbjs/lib/invariant"),function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)}),a=function(e,t){var n=this;if(n.instancePool.length){var r=n.instancePool.pop();return n.call(r,e,t),r}return new n(e,t)},i=function(e,t,n){var r=this;if(r.instancePool.length){var o=r.instancePool.pop();return r.call(o,e,t,n),o}return new r(e,t,n)},s=function(e,t,n,r){var o=this;if(o.instancePool.length){var a=o.instancePool.pop();return o.call(a,e,t,n,r),a}return new o(e,t,n,r)},l=function(e){var t=this;e instanceof t?void 0:r("25"),e.destructor(),t.instancePool.length<t.poolSize&&t.instancePool.push(e)},u=10,c=o,d=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||c,n.poolSize||(n.poolSize=u),n.release=l,n},f={addPoolingTo:d,oneArgumentPooler:o,twoArgumentPooler:a,threeArgumentPooler:i,fourArgumentPooler:s};t.exports=f},{"./reactProdInvariant":1094,"fbjs/lib/invariant":296}],999:[function(e,t,n){"use strict";function r(e){return Object.prototype.hasOwnProperty.call(e,m)||(e[m]=p++,d[e[m]]={}),d[e[m]]}var o,a=e("object-assign"),i=e("./EventPluginRegistry"),s=e("./ReactEventEmitterMixin"),l=e("./ViewportMetrics"),u=e("./getVendorPrefixedEventName"),c=e("./isEventSupported"),d={},f=!1,p=0,h={topAbort:"abort",topAnimationEnd:u("animationend")||"animationend",topAnimationIteration:u("animationiteration")||"animationiteration",topAnimationStart:u("animationstart")||"animationstart",topBlur:"blur",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:u("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},m="_reactListenersID"+String(Math.random()).slice(2),v=a({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(v.handleTopLevel),v.ReactEventListener=e}},setEnabled:function(e){v.ReactEventListener&&v.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!v.ReactEventListener||!v.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,o=r(n),a=i.registrationNameDependencies[e],s=0;s<a.length;s++){var l=a[s];o.hasOwnProperty(l)&&o[l]||("topWheel"===l?c("wheel")?v.ReactEventListener.trapBubbledEvent("topWheel","wheel",n):c("mousewheel")?v.ReactEventListener.trapBubbledEvent("topWheel","mousewheel",n):v.ReactEventListener.trapBubbledEvent("topWheel","DOMMouseScroll",n):"topScroll"===l?c("scroll",!0)?v.ReactEventListener.trapCapturedEvent("topScroll","scroll",n):v.ReactEventListener.trapBubbledEvent("topScroll","scroll",v.ReactEventListener.WINDOW_HANDLE):"topFocus"===l||"topBlur"===l?(c("focus",!0)?(v.ReactEventListener.trapCapturedEvent("topFocus","focus",n),v.ReactEventListener.trapCapturedEvent("topBlur","blur",n)):c("focusin")&&(v.ReactEventListener.trapBubbledEvent("topFocus","focusin",n),v.ReactEventListener.trapBubbledEvent("topBlur","focusout",n)),o.topBlur=!0,o.topFocus=!0):h.hasOwnProperty(l)&&v.ReactEventListener.trapBubbledEvent(l,h[l],n),o[l]=!0)}},trapBubbledEvent:function(e,t,n){return v.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return v.ReactEventListener.trapCapturedEvent(e,t,n)},supportsEventPageXY:function(){if(!document.createEvent)return!1;var e=document.createEvent("MouseEvent");return null!=e&&"pageX"in e},ensureScrollValueMonitoring:function(){if(void 0===o&&(o=v.supportsEventPageXY()),!o&&!f){var e=l.refreshScrollValues;v.ReactEventListener.monitorScrollValue(e),f=!0}}});t.exports=v},{"./EventPluginRegistry":991,"./ReactEventEmitterMixin":1028,"./ViewportMetrics":1070,"./getVendorPrefixedEventName":1089,"./isEventSupported":1091,"object-assign":823}],1e3:[function(e,t,n){(function(n){"use strict";function r(e,t,n,r){var o=void 0===e[n];null!=t&&o&&(e[n]=a(t,!0))}var o=e("./ReactReconciler"),a=e("./instantiateReactComponent"),i=(e("./KeyEscapeUtils"),e("./shouldUpdateReactComponent")),s=e("./traverseAllChildren");e("fbjs/lib/warning");"undefined"!=typeof n&&n.env,1;var l={instantiateChildren:function(e,t,n,o){if(null==e)return null;var a={};return s(e,r,a),a},updateChildren:function(e,t,n,r,s,l,u,c,d){if(t||e){var f,p;for(f in t)if(t.hasOwnProperty(f)){p=e&&e[f];var h=p&&p._currentElement,m=t[f];if(null!=p&&i(h,m))o.receiveComponent(p,m,s,c),t[f]=p;else{p&&(r[f]=o.getHostNode(p),o.unmountComponent(p,!1));var v=a(m,!0);t[f]=v;var b=o.mountComponent(v,s,l,u,c,d);n.push(b)}}for(f in e)!e.hasOwnProperty(f)||t&&t.hasOwnProperty(f)||(p=e[f],r[f]=o.getHostNode(p),o.unmountComponent(p,!1))}},unmountChildren:function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];o.unmountComponent(r,t)}}};t.exports=l}).call(this,e("_process"))},{"./KeyEscapeUtils":996,"./ReactReconciler":1046,"./instantiateReactComponent":1090,"./shouldUpdateReactComponent":1098,"./traverseAllChildren":1099,_process:828,"fbjs/lib/warning":303,"react/lib/ReactComponentTreeHook":1249}],1001:[function(e,t,n){"use strict";var r=e("./DOMChildrenOperations"),o=e("./ReactDOMIDOperations"),a={processChildrenUpdates:o.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:r.dangerouslyReplaceNodeWithMarkup};t.exports=a},{"./DOMChildrenOperations":982,"./ReactDOMIDOperations":1011}],1002:[function(e,t,n){"use strict";var r=e("./reactProdInvariant"),o=(e("fbjs/lib/invariant"),!1),a={replaceNodeWithMarkup:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){o?r("104"):void 0,a.replaceNodeWithMarkup=e.replaceNodeWithMarkup,a.processChildrenUpdates=e.processChildrenUpdates,o=!0}}};t.exports=a},{"./reactProdInvariant":1094,"fbjs/lib/invariant":296}],1003:[function(e,t,n){"use strict";function r(e){}function o(e,t){}function a(e){return!(!e.prototype||!e.prototype.isReactComponent)}function i(e){return!(!e.prototype||!e.prototype.isPureReactComponent)}var s=e("./reactProdInvariant"),l=e("object-assign"),u=e("react/lib/React"),c=e("./ReactComponentEnvironment"),d=e("react/lib/ReactCurrentOwner"),f=e("./ReactErrorUtils"),p=e("./ReactInstanceMap"),h=(e("./ReactInstrumentation"),e("./ReactNodeTypes")),m=e("./ReactReconciler"),v=e("fbjs/lib/emptyObject"),b=(e("fbjs/lib/invariant"),e("fbjs/lib/shallowEqual")),g=e("./shouldUpdateReactComponent"),y=(e("fbjs/lib/warning"),{ImpureClass:0,PureClass:1,StatelessFunctional:2});r.prototype.render=function(){var e=p.get(this)._currentElement.type,t=e(this.props,this.context,this.updater);return o(e,t),t};var _=1,M={construct:function(e){this._currentElement=e,this._rootNodeID=0,this._compositeType=null,this._instance=null,this._hostParent=null,this._hostContainerInfo=null,this._updateBatchNumber=null,this._pendingElement=null,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._renderedNodeType=null,this._renderedComponent=null,this._context=null,this._mountOrder=0,this._topLevelWrapper=null,this._pendingCallbacks=null,this._calledComponentWillUnmount=!1},mountComponent:function(e,t,n,l){this._context=l,this._mountOrder=_++,this._hostParent=t,this._hostContainerInfo=n;var c,d=this._currentElement.props,f=this._processContext(l),h=this._currentElement.type,m=e.getUpdateQueue(),b=a(h),g=this._constructComponent(b,d,f,m);b||null!=g&&null!=g.render?i(h)?this._compositeType=y.PureClass:this._compositeType=y.ImpureClass:(c=g,o(h,c),null===g||g===!1||u.isValidElement(g)?void 0:s("105",h.displayName||h.name||"Component"),g=new r(h),this._compositeType=y.StatelessFunctional);g.props=d,g.context=f,g.refs=v,g.updater=m,this._instance=g,p.set(g,this);var M=g.state;void 0===M&&(g.state=M=null),"object"!=typeof M||Array.isArray(M)?s("106",this.getName()||"ReactCompositeComponent"):void 0,this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var w;return w=g.unstable_handleError?this.performInitialMountWithErrorHandling(c,t,n,e,l):this.performInitialMount(c,t,n,e,l),g.componentDidMount&&e.getReactMountReady().enqueue(g.componentDidMount,g),w},_constructComponent:function(e,t,n,r){return this._constructComponentWithoutOwner(e,t,n,r)},_constructComponentWithoutOwner:function(e,t,n,r){var o=this._currentElement.type;return e?new o(t,n,r):o(t,n,r)},performInitialMountWithErrorHandling:function(e,t,n,r,o){var a,i=r.checkpoint();try{a=this.performInitialMount(e,t,n,r,o)}catch(s){r.rollback(i),this._instance.unstable_handleError(s),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),i=r.checkpoint(),this._renderedComponent.unmountComponent(!0),r.rollback(i),a=this.performInitialMount(e,t,n,r,o)}return a},performInitialMount:function(e,t,n,r,o){var a=this._instance,i=0;a.componentWillMount&&(a.componentWillMount(),this._pendingStateQueue&&(a.state=this._processPendingState(a.props,a.context))),void 0===e&&(e=this._renderValidatedComponent());var s=h.getType(e);this._renderedNodeType=s;var l=this._instantiateReactComponent(e,s!==h.EMPTY);this._renderedComponent=l;var u=m.mountComponent(l,r,t,n,this._processChildContext(o),i);return u},getHostNode:function(){return m.getHostNode(this._renderedComponent)},unmountComponent:function(e){if(this._renderedComponent){var t=this._instance;if(t.componentWillUnmount&&!t._calledComponentWillUnmount)if(t._calledComponentWillUnmount=!0,e){var n=this.getName()+".componentWillUnmount()";f.invokeGuardedCallback(n,t.componentWillUnmount.bind(t))}else t.componentWillUnmount();this._renderedComponent&&(m.unmountComponent(this._renderedComponent,e),this._renderedNodeType=null,this._renderedComponent=null,this._instance=null),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1,this._pendingCallbacks=null,this._pendingElement=null,this._context=null,this._rootNodeID=0,this._topLevelWrapper=null,p.remove(t)}},_maskContext:function(e){var t=this._currentElement.type,n=t.contextTypes;if(!n)return v;var r={};for(var o in n)r[o]=e[o];return r},_processContext:function(e){var t=this._maskContext(e);return t},_processChildContext:function(e){var t,n=this._currentElement.type,r=this._instance;if(r.getChildContext&&(t=r.getChildContext()),t){"object"!=typeof n.childContextTypes?s("107",this.getName()||"ReactCompositeComponent"):void 0;for(var o in t)o in n.childContextTypes?void 0:s("108",this.getName()||"ReactCompositeComponent",o);return l({},e,t)}return e},_checkContextTypes:function(e,t,n){},receiveComponent:function(e,t,n){var r=this._currentElement,o=this._context;this._pendingElement=null,this.updateComponent(t,r,e,o,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement?m.receiveComponent(this,this._pendingElement,e,this._context):null!==this._pendingStateQueue||this._pendingForceUpdate?this.updateComponent(e,this._currentElement,this._currentElement,this._context,this._context):this._updateBatchNumber=null},updateComponent:function(e,t,n,r,o){var a=this._instance;null==a?s("136",this.getName()||"ReactCompositeComponent"):void 0;var i,l=!1;this._context===o?i=a.context:(i=this._processContext(o),l=!0);var u=t.props,c=n.props;t!==n&&(l=!0),l&&a.componentWillReceiveProps&&a.componentWillReceiveProps(c,i);var d=this._processPendingState(c,i),f=!0;this._pendingForceUpdate||(a.shouldComponentUpdate?f=a.shouldComponentUpdate(c,d,i):this._compositeType===y.PureClass&&(f=!b(u,c)||!b(a.state,d))),this._updateBatchNumber=null,f?(this._pendingForceUpdate=!1,this._performComponentUpdate(n,c,d,i,e,o)):(this._currentElement=n,this._context=o,a.props=c,a.state=d,a.context=i)},_processPendingState:function(e,t){var n=this._instance,r=this._pendingStateQueue,o=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!r)return n.state;if(o&&1===r.length)return r[0];for(var a=l({},o?r[0]:n.state),i=o?1:0;i<r.length;i++){var s=r[i];l(a,"function"==typeof s?s.call(n,a,e,t):s)}return a},_performComponentUpdate:function(e,t,n,r,o,a){var i,s,l,u=this._instance,c=Boolean(u.componentDidUpdate);c&&(i=u.props,s=u.state,l=u.context),u.componentWillUpdate&&u.componentWillUpdate(t,n,r),this._currentElement=e,this._context=a,u.props=t,u.state=n,u.context=r,this._updateRenderedComponent(o,a),c&&o.getReactMountReady().enqueue(u.componentDidUpdate.bind(u,i,s,l),u)},_updateRenderedComponent:function(e,t){var n=this._renderedComponent,r=n._currentElement,o=this._renderValidatedComponent(),a=0;if(g(r,o))m.receiveComponent(n,o,e,this._processChildContext(t));else{var i=m.getHostNode(n);m.unmountComponent(n,!1);var s=h.getType(o);this._renderedNodeType=s;var l=this._instantiateReactComponent(o,s!==h.EMPTY);this._renderedComponent=l;var u=m.mountComponent(l,e,this._hostParent,this._hostContainerInfo,this._processChildContext(t),a);this._replaceNodeWithMarkup(i,u,n)}},_replaceNodeWithMarkup:function(e,t,n){c.replaceNodeWithMarkup(e,t,n)},_renderValidatedComponentWithoutOwnerOrContext:function(){var e,t=this._instance;return e=t.render()},_renderValidatedComponent:function(){var e;if(this._compositeType!==y.StatelessFunctional){d.current=this;try{e=this._renderValidatedComponentWithoutOwnerOrContext()}finally{d.current=null}}else e=this._renderValidatedComponentWithoutOwnerOrContext();return null===e||e===!1||u.isValidElement(e)?void 0:s("109",this.getName()||"ReactCompositeComponent"),e},attachRef:function(e,t){var n=this.getPublicInstance();null==n?s("110"):void 0;var r=t.getPublicInstance(),o=n.refs===v?n.refs={}:n.refs;o[e]=r},detachRef:function(e){var t=this.getPublicInstance().refs;delete t[e]},getName:function(){var e=this._currentElement.type,t=this._instance&&this._instance.constructor;return e.displayName||t&&t.displayName||e.name||t&&t.name||null},getPublicInstance:function(){var e=this._instance;return this._compositeType===y.StatelessFunctional?null:e},_instantiateReactComponent:null};t.exports=M},{"./ReactComponentEnvironment":1002,"./ReactErrorUtils":1027,"./ReactInstanceMap":1035,"./ReactInstrumentation":1036,"./ReactNodeTypes":1041,"./ReactReconciler":1046,"./checkReactTypeSpec":1073,"./reactProdInvariant":1094,"./shouldUpdateReactComponent":1098,"fbjs/lib/emptyObject":289,"fbjs/lib/invariant":296,"fbjs/lib/shallowEqual":302,"fbjs/lib/warning":303,"object-assign":823,"react/lib/React":1245,"react/lib/ReactCurrentOwner":1251}],1004:[function(e,t,n){"use strict";var r=e("./ReactDOMComponentTree"),o=e("./ReactDefaultInjection"),a=e("./ReactMount"),i=e("./ReactReconciler"),s=e("./ReactUpdates"),l=e("./ReactVersion"),u=e("./findDOMNode"),c=e("./getHostComponentFromComposite"),d=e("./renderSubtreeIntoContainer");e("fbjs/lib/warning");o.inject();var f={findDOMNode:u,render:a.render,unmountComponentAtNode:a.unmountComponentAtNode,version:l,unstable_batchedUpdates:s.batchedUpdates,unstable_renderSubtreeIntoContainer:d};"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({ComponentTree:{getClosestInstanceFromNode:r.getClosestInstanceFromNode,getNodeFromInstance:function(e){return e._renderedComponent&&(e=c(e)),e?r.getNodeFromInstance(e):null}},Mount:a,Reconciler:i});t.exports=f},{"./ReactDOMComponentTree":1007,"./ReactDOMInvalidARIAHook":1013,"./ReactDOMNullInputValuePropHook":1014,"./ReactDOMUnknownPropertyHook":1021,"./ReactDefaultInjection":1024,"./ReactInstrumentation":1036,"./ReactMount":1039,"./ReactReconciler":1046,"./ReactUpdates":1051,"./ReactVersion":1052,"./findDOMNode":1077,"./getHostComponentFromComposite":1084,"./renderSubtreeIntoContainer":1095,"fbjs/lib/ExecutionEnvironment":282,"fbjs/lib/warning":303}],1005:[function(e,t,n){"use strict";function r(e){if(e){var t=e._currentElement._owner||null;if(t){var n=t.getName();if(n)return" This DOM node was rendered by `"+n+"`."}}return""}function o(e,t){t&&(G[e._tag]&&(null!=t.children||null!=t.dangerouslySetInnerHTML?m("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""):void 0),null!=t.dangerouslySetInnerHTML&&(null!=t.children?m("60"):void 0,"object"==typeof t.dangerouslySetInnerHTML&&F in t.dangerouslySetInnerHTML?void 0:m("61")),null!=t.style&&"object"!=typeof t.style?m("62",r(e)):void 0)}function a(e,t,n,r){if(!(r instanceof z)){var o=e._hostContainerInfo,a=o._node&&o._node.nodeType===W,s=a?o._node:o._ownerDocument;I(t,s),r.getReactMountReady().enqueue(i,{inst:e,registrationName:t,listener:n})}}function i(){var e=this;S.putListener(e.inst,e.registrationName,e.listener)}function s(){var e=this;A.postMountWrapper(e)}function l(){var e=this;O.postMountWrapper(e)}function u(){var e=this;P.postMountWrapper(e)}function c(){var e=this;e._rootNodeID?void 0:m("63");var t=D(e);switch(t?void 0:m("64"),e._tag){case"iframe":case"object":e._wrapperState.listeners=[x.trapBubbledEvent("topLoad","load",t)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var n in H)H.hasOwnProperty(n)&&e._wrapperState.listeners.push(x.trapBubbledEvent(n,H[n],t));break;case"source":e._wrapperState.listeners=[x.trapBubbledEvent("topError","error",t)];break;case"img":e._wrapperState.listeners=[x.trapBubbledEvent("topError","error",t),x.trapBubbledEvent("topLoad","load",t)];break;case"form":e._wrapperState.listeners=[x.trapBubbledEvent("topReset","reset",t),x.trapBubbledEvent("topSubmit","submit",t)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[x.trapBubbledEvent("topInvalid","invalid",t)]}}function d(){N.postUpdateWrapper(this)}function f(e){Q.call($,e)||(Y.test(e)?void 0:m("65",e),$[e]=!0)}function p(e,t){return e.indexOf("-")>=0||null!=t.is}function h(e){var t=e.type;f(t),this._currentElement=e,this._tag=t.toLowerCase(),this._namespaceURI=null,this._renderedChildren=null,this._previousStyle=null,this._previousStyleCopy=null,this._hostNode=null,this._hostParent=null,this._rootNodeID=0,this._domID=0,this._hostContainerInfo=null,this._wrapperState=null,this._topLevelWrapper=null,this._flags=0}var m=e("./reactProdInvariant"),v=e("object-assign"),b=e("./AutoFocusUtils"),g=e("./CSSPropertyOperations"),y=e("./DOMLazyTree"),_=e("./DOMNamespaces"),M=e("./DOMProperty"),w=e("./DOMPropertyOperations"),S=e("./EventPluginHub"),C=e("./EventPluginRegistry"),x=e("./ReactBrowserEventEmitter"),k=e("./ReactDOMComponentFlags"),T=e("./ReactDOMComponentTree"),A=e("./ReactDOMInput"),P=e("./ReactDOMOption"),N=e("./ReactDOMSelect"),O=e("./ReactDOMTextarea"),E=(e("./ReactInstrumentation"),e("./ReactMultiChild")),z=e("./ReactServerRenderingTransaction"),R=(e("fbjs/lib/emptyFunction"),e("./escapeTextContentForBrowser")),j=(e("fbjs/lib/invariant"),e("./isEventSupported"),e("fbjs/lib/shallowEqual"),e("./validateDOMNesting"),e("fbjs/lib/warning"),k),L=S.deleteListener,D=T.getNodeFromInstance,I=x.listenTo,B=C.registrationNameModules,V={string:!0,number:!0},q="style",F="__html",U={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},W=11,H={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"},X={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},K={listing:!0,pre:!0,textarea:!0},G=v({menuitem:!0},X),Y=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,$={},Q={}.hasOwnProperty,J=1;h.displayName="ReactDOMComponent",h.Mixin={mountComponent:function(e,t,n,r){this._rootNodeID=J++,this._domID=n._idCounter++,this._hostParent=t,this._hostContainerInfo=n;var a=this._currentElement.props;switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":this._wrapperState={listeners:null},e.getReactMountReady().enqueue(c,this);break;case"input":A.mountWrapper(this,a,t),a=A.getHostProps(this,a),e.getReactMountReady().enqueue(c,this);break;case"option":P.mountWrapper(this,a,t),a=P.getHostProps(this,a);break;case"select":N.mountWrapper(this,a,t),a=N.getHostProps(this,a),e.getReactMountReady().enqueue(c,this);break;case"textarea":O.mountWrapper(this,a,t),a=O.getHostProps(this,a),e.getReactMountReady().enqueue(c,this)}o(this,a);var i,d;null!=t?(i=t._namespaceURI,d=t._tag):n._tag&&(i=n._namespaceURI,d=n._tag),(null==i||i===_.svg&&"foreignobject"===d)&&(i=_.html),i===_.html&&("svg"===this._tag?i=_.svg:"math"===this._tag&&(i=_.mathml)),this._namespaceURI=i;var f;if(e.useCreateElement){var p,h=n._ownerDocument;if(i===_.html)if("script"===this._tag){var m=h.createElement("div"),v=this._currentElement.type;m.innerHTML="<"+v+"></"+v+">",p=m.removeChild(m.firstChild)}else p=a.is?h.createElement(this._currentElement.type,a.is):h.createElement(this._currentElement.type);else p=h.createElementNS(i,this._currentElement.type);T.precacheNode(this,p),this._flags|=j.hasCachedChildNodes,this._hostParent||w.setAttributeForRoot(p),this._updateDOMProperties(null,a,e);var g=y(p);this._createInitialChildren(e,a,r,g),f=g}else{var M=this._createOpenTagMarkupAndPutListeners(e,a),S=this._createContentMarkup(e,a,r);f=!S&&X[this._tag]?M+"/>":M+">"+S+"</"+this._currentElement.type+">"}switch(this._tag){case"input":e.getReactMountReady().enqueue(s,this),a.autoFocus&&e.getReactMountReady().enqueue(b.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(l,this),a.autoFocus&&e.getReactMountReady().enqueue(b.focusDOMComponent,this);break;case"select":a.autoFocus&&e.getReactMountReady().enqueue(b.focusDOMComponent,this);break;case"button":a.autoFocus&&e.getReactMountReady().enqueue(b.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(u,this)}return f},_createOpenTagMarkupAndPutListeners:function(e,t){var n="<"+this._currentElement.type;for(var r in t)if(t.hasOwnProperty(r)){var o=t[r];if(null!=o)if(B.hasOwnProperty(r))o&&a(this,r,o,e);else{r===q&&(o&&(o=this._previousStyleCopy=v({},t.style)),o=g.createMarkupForStyles(o,this));var i=null;null!=this._tag&&p(this._tag,t)?U.hasOwnProperty(r)||(i=w.createMarkupForCustomAttribute(r,o)):i=w.createMarkupForProperty(r,o),i&&(n+=" "+i)}}return e.renderToStaticMarkup?n:(this._hostParent||(n+=" "+w.createMarkupForRoot()),n+=" "+w.createMarkupForID(this._domID))},_createContentMarkup:function(e,t,n){var r="",o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&(r=o.__html);else{var a=V[typeof t.children]?t.children:null,i=null!=a?null:t.children;if(null!=a)r=R(a);else if(null!=i){var s=this.mountChildren(i,e,n);r=s.join("")}}return K[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,t,n,r){var o=t.dangerouslySetInnerHTML;if(null!=o)null!=o.__html&&y.queueHTML(r,o.__html);else{var a=V[typeof t.children]?t.children:null,i=null!=a?null:t.children;if(null!=a)""!==a&&y.queueText(r,a);else if(null!=i)for(var s=this.mountChildren(i,e,n),l=0;l<s.length;l++)y.queueChild(r,s[l])}},receiveComponent:function(e,t,n){var r=this._currentElement;this._currentElement=e,this.updateComponent(t,r,e,n);
|
42 | },updateComponent:function(e,t,n,r){var a=t.props,i=this._currentElement.props;switch(this._tag){case"input":a=A.getHostProps(this,a),i=A.getHostProps(this,i);break;case"option":a=P.getHostProps(this,a),i=P.getHostProps(this,i);break;case"select":a=N.getHostProps(this,a),i=N.getHostProps(this,i);break;case"textarea":a=O.getHostProps(this,a),i=O.getHostProps(this,i)}switch(o(this,i),this._updateDOMProperties(a,i,e),this._updateDOMChildren(a,i,e,r),this._tag){case"input":A.updateWrapper(this);break;case"textarea":O.updateWrapper(this);break;case"select":e.getReactMountReady().enqueue(d,this)}},_updateDOMProperties:function(e,t,n){var r,o,i;for(r in e)if(!t.hasOwnProperty(r)&&e.hasOwnProperty(r)&&null!=e[r])if(r===q){var s=this._previousStyleCopy;for(o in s)s.hasOwnProperty(o)&&(i=i||{},i[o]="");this._previousStyleCopy=null}else B.hasOwnProperty(r)?e[r]&&L(this,r):p(this._tag,e)?U.hasOwnProperty(r)||w.deleteValueForAttribute(D(this),r):(M.properties[r]||M.isCustomAttribute(r))&&w.deleteValueForProperty(D(this),r);for(r in t){var l=t[r],u=r===q?this._previousStyleCopy:null!=e?e[r]:void 0;if(t.hasOwnProperty(r)&&l!==u&&(null!=l||null!=u))if(r===q)if(l?l=this._previousStyleCopy=v({},l):this._previousStyleCopy=null,u){for(o in u)!u.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(i=i||{},i[o]="");for(o in l)l.hasOwnProperty(o)&&u[o]!==l[o]&&(i=i||{},i[o]=l[o])}else i=l;else if(B.hasOwnProperty(r))l?a(this,r,l,n):u&&L(this,r);else if(p(this._tag,t))U.hasOwnProperty(r)||w.setValueForAttribute(D(this),r,l);else if(M.properties[r]||M.isCustomAttribute(r)){var c=D(this);null!=l?w.setValueForProperty(c,r,l):w.deleteValueForProperty(c,r)}}i&&g.setValueForStyles(D(this),i,this)},_updateDOMChildren:function(e,t,n,r){var o=V[typeof e.children]?e.children:null,a=V[typeof t.children]?t.children:null,i=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,s=t.dangerouslySetInnerHTML&&t.dangerouslySetInnerHTML.__html,l=null!=o?null:e.children,u=null!=a?null:t.children,c=null!=o||null!=i,d=null!=a||null!=s;null!=l&&null==u?this.updateChildren(null,n,r):c&&!d&&this.updateTextContent(""),null!=a?o!==a&&this.updateTextContent(""+a):null!=s?i!==s&&this.updateMarkup(""+s):null!=u&&this.updateChildren(u,n,r)},getHostNode:function(){return D(this)},unmountComponent:function(e){switch(this._tag){case"audio":case"form":case"iframe":case"img":case"link":case"object":case"source":case"video":var t=this._wrapperState.listeners;if(t)for(var n=0;n<t.length;n++)t[n].remove();break;case"html":case"head":case"body":m("66",this._tag)}this.unmountChildren(e),T.uncacheNode(this),S.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null},getPublicInstance:function(){return D(this)}},v(h.prototype,h.Mixin,E.Mixin),t.exports=h},{"./AutoFocusUtils":976,"./CSSPropertyOperations":979,"./DOMLazyTree":983,"./DOMNamespaces":984,"./DOMProperty":985,"./DOMPropertyOperations":986,"./EventPluginHub":990,"./EventPluginRegistry":991,"./ReactBrowserEventEmitter":999,"./ReactDOMComponentFlags":1006,"./ReactDOMComponentTree":1007,"./ReactDOMInput":1012,"./ReactDOMOption":1015,"./ReactDOMSelect":1016,"./ReactDOMTextarea":1019,"./ReactInstrumentation":1036,"./ReactMultiChild":1040,"./ReactServerRenderingTransaction":1048,"./escapeTextContentForBrowser":1076,"./isEventSupported":1091,"./reactProdInvariant":1094,"./validateDOMNesting":1100,"fbjs/lib/emptyFunction":288,"fbjs/lib/invariant":296,"fbjs/lib/shallowEqual":302,"fbjs/lib/warning":303,"object-assign":823}],1006:[function(e,t,n){"use strict";var r={hasCachedChildNodes:1};t.exports=r},{}],1007:[function(e,t,n){"use strict";function r(e,t){return 1===e.nodeType&&e.getAttribute(h)===String(t)||8===e.nodeType&&e.nodeValue===" react-text: "+t+" "||8===e.nodeType&&e.nodeValue===" react-empty: "+t+" "}function o(e){for(var t;t=e._renderedComponent;)e=t;return e}function a(e,t){var n=o(e);n._hostNode=t,t[v]=n}function i(e){var t=e._hostNode;t&&(delete t[v],e._hostNode=null)}function s(e,t){if(!(e._flags&m.hasCachedChildNodes)){var n=e._renderedChildren,i=t.firstChild;e:for(var s in n)if(n.hasOwnProperty(s)){var l=n[s],u=o(l)._domID;if(0!==u){for(;null!==i;i=i.nextSibling)if(r(i,u)){a(l,i);continue e}d("32",u)}}e._flags|=m.hasCachedChildNodes}}function l(e){if(e[v])return e[v];for(var t=[];!e[v];){if(t.push(e),!e.parentNode)return null;e=e.parentNode}for(var n,r;e&&(r=e[v]);e=t.pop())n=r,t.length&&s(r,e);return n}function u(e){var t=l(e);return null!=t&&t._hostNode===e?t:null}function c(e){if(void 0===e._hostNode?d("33"):void 0,e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent?void 0:d("34"),e=e._hostParent;for(;t.length;e=t.pop())s(e,e._hostNode);return e._hostNode}var d=e("./reactProdInvariant"),f=e("./DOMProperty"),p=e("./ReactDOMComponentFlags"),h=(e("fbjs/lib/invariant"),f.ID_ATTRIBUTE_NAME),m=p,v="__reactInternalInstance$"+Math.random().toString(36).slice(2),b={getClosestInstanceFromNode:l,getInstanceFromNode:u,getNodeFromInstance:c,precacheChildNodes:s,precacheNode:a,uncacheNode:i};t.exports=b},{"./DOMProperty":985,"./ReactDOMComponentFlags":1006,"./reactProdInvariant":1094,"fbjs/lib/invariant":296}],1008:[function(e,t,n){"use strict";function r(e,t){var n={_topLevelWrapper:e,_idCounter:1,_ownerDocument:t?t.nodeType===o?t:t.ownerDocument:null,_node:t,_tag:t?t.nodeName.toLowerCase():null,_namespaceURI:t?t.namespaceURI:null};return n}var o=(e("./validateDOMNesting"),9);t.exports=r},{"./validateDOMNesting":1100}],1009:[function(e,t,n){"use strict";var r=e("object-assign"),o=e("./DOMLazyTree"),a=e("./ReactDOMComponentTree"),i=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};r(i.prototype,{mountComponent:function(e,t,n,r){var i=n._idCounter++;this._domID=i,this._hostParent=t,this._hostContainerInfo=n;var s=" react-empty: "+this._domID+" ";if(e.useCreateElement){var l=n._ownerDocument,u=l.createComment(s);return a.precacheNode(this,u),o(u)}return e.renderToStaticMarkup?"":"<!--"+s+"-->"},receiveComponent:function(){},getHostNode:function(){return a.getNodeFromInstance(this)},unmountComponent:function(){a.uncacheNode(this)}}),t.exports=i},{"./DOMLazyTree":983,"./ReactDOMComponentTree":1007,"object-assign":823}],1010:[function(e,t,n){"use strict";var r={useCreateElement:!0,useFiber:!1};t.exports=r},{}],1011:[function(e,t,n){"use strict";var r=e("./DOMChildrenOperations"),o=e("./ReactDOMComponentTree"),a={dangerouslyProcessChildrenUpdates:function(e,t){var n=o.getNodeFromInstance(e);r.processUpdates(n,t)}};t.exports=a},{"./DOMChildrenOperations":982,"./ReactDOMComponentTree":1007}],1012:[function(e,t,n){"use strict";function r(){this._rootNodeID&&d.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=l.executeOnChange(t,e);c.asap(r,this);var o=t.name;if("radio"===t.type&&null!=o){for(var i=u.getNodeFromInstance(this),s=i;s.parentNode;)s=s.parentNode;for(var d=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),f=0;f<d.length;f++){var p=d[f];if(p!==i&&p.form===i.form){var h=u.getInstanceFromNode(p);h?void 0:a("90"),c.asap(r,h)}}}return n}var a=e("./reactProdInvariant"),i=e("object-assign"),s=e("./DOMPropertyOperations"),l=e("./LinkedValueUtils"),u=e("./ReactDOMComponentTree"),c=e("./ReactUpdates"),d=(e("fbjs/lib/invariant"),e("fbjs/lib/warning"),{getHostProps:function(e,t){var n=l.getValue(t),r=l.getChecked(t),o=i({type:void 0,step:void 0,min:void 0,max:void 0},t,{defaultChecked:void 0,defaultValue:void 0,value:null!=n?n:e._wrapperState.initialValue,checked:null!=r?r:e._wrapperState.initialChecked,onChange:e._wrapperState.onChange});return o},mountWrapper:function(e,t){var n=t.defaultValue;e._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:null!=t.value?t.value:n,listeners:null,onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=t.checked;null!=n&&s.setValueForProperty(u.getNodeFromInstance(e),"checked",n||!1);var r=u.getNodeFromInstance(e),o=l.getValue(t);if(null!=o){var a=""+o;a!==r.value&&(r.value=a)}else null==t.value&&null!=t.defaultValue&&r.defaultValue!==""+t.defaultValue&&(r.defaultValue=""+t.defaultValue),null==t.checked&&null!=t.defaultChecked&&(r.defaultChecked=!!t.defaultChecked)},postMountWrapper:function(e){var t=e._currentElement.props,n=u.getNodeFromInstance(e);switch(t.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":n.value="",n.value=n.defaultValue;break;default:n.value=n.value}var r=n.name;""!==r&&(n.name=""),n.defaultChecked=!n.defaultChecked,n.defaultChecked=!n.defaultChecked,""!==r&&(n.name=r)}});t.exports=d},{"./DOMPropertyOperations":986,"./LinkedValueUtils":997,"./ReactDOMComponentTree":1007,"./ReactUpdates":1051,"./reactProdInvariant":1094,"fbjs/lib/invariant":296,"fbjs/lib/warning":303,"object-assign":823}],1013:[function(e,t,n){"use strict";var r=e("./DOMProperty"),o=(e("react/lib/ReactComponentTreeHook"),e("fbjs/lib/warning"),new RegExp("^(aria)-["+r.ATTRIBUTE_NAME_CHAR+"]*$"),{onBeforeMountComponent:function(e,t){},onBeforeUpdateComponent:function(e,t){}});t.exports=o},{"./DOMProperty":985,"fbjs/lib/warning":303,"react/lib/ReactComponentTreeHook":1249}],1014:[function(e,t,n){"use strict";function r(e,t){null!=t&&("input"!==t.type&&"textarea"!==t.type&&"select"!==t.type||null==t.props||null!==t.props.value||o||(o=!0))}var o=(e("react/lib/ReactComponentTreeHook"),e("fbjs/lib/warning"),!1),a={onBeforeMountComponent:function(e,t){r(e,t)},onBeforeUpdateComponent:function(e,t){r(e,t)}};t.exports=a},{"fbjs/lib/warning":303,"react/lib/ReactComponentTreeHook":1249}],1015:[function(e,t,n){"use strict";function r(e){var t="";return a.Children.forEach(e,function(e){null!=e&&("string"==typeof e||"number"==typeof e?t+=e:l||(l=!0))}),t}var o=e("object-assign"),a=e("react/lib/React"),i=e("./ReactDOMComponentTree"),s=e("./ReactDOMSelect"),l=(e("fbjs/lib/warning"),!1),u={mountWrapper:function(e,t,n){var o=null;if(null!=n){var a=n;"optgroup"===a._tag&&(a=a._hostParent),null!=a&&"select"===a._tag&&(o=s.getSelectValueContext(a))}var i=null;if(null!=o){var l;if(l=null!=t.value?t.value+"":r(t.children),i=!1,Array.isArray(o)){for(var u=0;u<o.length;u++)if(""+o[u]===l){i=!0;break}}else i=""+o===l}e._wrapperState={selected:i}},postMountWrapper:function(e){var t=e._currentElement.props;if(null!=t.value){var n=i.getNodeFromInstance(e);n.setAttribute("value",t.value)}},getHostProps:function(e,t){var n=o({selected:void 0,children:void 0},t);null!=e._wrapperState.selected&&(n.selected=e._wrapperState.selected);var a=r(t.children);return a&&(n.children=a),n}};t.exports=u},{"./ReactDOMComponentTree":1007,"./ReactDOMSelect":1016,"fbjs/lib/warning":303,"object-assign":823,"react/lib/React":1245}],1016:[function(e,t,n){"use strict";function r(){if(this._rootNodeID&&this._wrapperState.pendingUpdate){this._wrapperState.pendingUpdate=!1;var e=this._currentElement.props,t=s.getValue(e);null!=t&&o(this,Boolean(e.multiple),t)}}function o(e,t,n){var r,o,a=l.getNodeFromInstance(e).options;if(t){for(r={},o=0;o<n.length;o++)r[""+n[o]]=!0;for(o=0;o<a.length;o++){var i=r.hasOwnProperty(a[o].value);a[o].selected!==i&&(a[o].selected=i)}}else{for(r=""+n,o=0;o<a.length;o++)if(a[o].value===r)return void(a[o].selected=!0);a.length&&(a[0].selected=!0)}}function a(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);return this._rootNodeID&&(this._wrapperState.pendingUpdate=!0),u.asap(r,this),n}var i=e("object-assign"),s=e("./LinkedValueUtils"),l=e("./ReactDOMComponentTree"),u=e("./ReactUpdates"),c=(e("fbjs/lib/warning"),!1),d={getHostProps:function(e,t){return i({},t,{onChange:e._wrapperState.onChange,value:void 0})},mountWrapper:function(e,t){var n=s.getValue(t);e._wrapperState={pendingUpdate:!1,initialValue:null!=n?n:t.defaultValue,listeners:null,onChange:a.bind(e),wasMultiple:Boolean(t.multiple)},void 0===t.value||void 0===t.defaultValue||c||(c=!0)},getSelectValueContext:function(e){return e._wrapperState.initialValue},postUpdateWrapper:function(e){var t=e._currentElement.props;e._wrapperState.initialValue=void 0;var n=e._wrapperState.wasMultiple;e._wrapperState.wasMultiple=Boolean(t.multiple);var r=s.getValue(t);null!=r?(e._wrapperState.pendingUpdate=!1,o(e,Boolean(t.multiple),r)):n!==Boolean(t.multiple)&&(null!=t.defaultValue?o(e,Boolean(t.multiple),t.defaultValue):o(e,Boolean(t.multiple),t.multiple?[]:""))}};t.exports=d},{"./LinkedValueUtils":997,"./ReactDOMComponentTree":1007,"./ReactUpdates":1051,"fbjs/lib/warning":303,"object-assign":823}],1017:[function(e,t,n){"use strict";function r(e,t,n,r){return e===n&&t===r}function o(e){var t=document.selection,n=t.createRange(),r=n.text.length,o=n.duplicate();o.moveToElementText(e),o.setEndPoint("EndToStart",n);var a=o.text.length,i=a+r;return{start:a,end:i}}function a(e){var t=window.getSelection&&window.getSelection();if(!t||0===t.rangeCount)return null;var n=t.anchorNode,o=t.anchorOffset,a=t.focusNode,i=t.focusOffset,s=t.getRangeAt(0);try{s.startContainer.nodeType,s.endContainer.nodeType}catch(e){return null}var l=r(t.anchorNode,t.anchorOffset,t.focusNode,t.focusOffset),u=l?0:s.toString().length,c=s.cloneRange();c.selectNodeContents(e),c.setEnd(s.startContainer,s.startOffset);var d=r(c.startContainer,c.startOffset,c.endContainer,c.endOffset),f=d?0:c.toString().length,p=f+u,h=document.createRange();h.setStart(n,o),h.setEnd(a,i);var m=h.collapsed;return{start:m?p:f,end:m?f:p}}function i(e,t){var n,r,o=document.selection.createRange().duplicate();void 0===t.end?(n=t.start,r=n):t.start>t.end?(n=t.end,r=t.start):(n=t.start,r=t.end),o.moveToElementText(e),o.moveStart("character",n),o.setEndPoint("EndToStart",o),o.moveEnd("character",r-n),o.select()}function s(e,t){if(window.getSelection){var n=window.getSelection(),r=e[c()].length,o=Math.min(t.start,r),a=void 0===t.end?o:Math.min(t.end,r);if(!n.extend&&o>a){var i=a;a=o,o=i}var s=u(e,o),l=u(e,a);if(s&&l){var d=document.createRange();d.setStart(s.node,s.offset),n.removeAllRanges(),o>a?(n.addRange(d),n.extend(l.node,l.offset)):(d.setEnd(l.node,l.offset),n.addRange(d))}}}var l=e("fbjs/lib/ExecutionEnvironment"),u=e("./getNodeForCharacterOffset"),c=e("./getTextContentAccessor"),d=l.canUseDOM&&"selection"in document&&!("getSelection"in window),f={getOffsets:d?o:a,setOffsets:d?i:s};t.exports=f},{"./getNodeForCharacterOffset":1087,"./getTextContentAccessor":1088,"fbjs/lib/ExecutionEnvironment":282}],1018:[function(e,t,n){"use strict";var r=e("./reactProdInvariant"),o=e("object-assign"),a=e("./DOMChildrenOperations"),i=e("./DOMLazyTree"),s=e("./ReactDOMComponentTree"),l=e("./escapeTextContentForBrowser"),u=(e("fbjs/lib/invariant"),e("./validateDOMNesting"),function(e){this._currentElement=e,this._stringText=""+e,this._hostNode=null,this._hostParent=null,this._domID=0,this._mountIndex=0,this._closingComment=null,this._commentNodes=null});o(u.prototype,{mountComponent:function(e,t,n,r){var o=n._idCounter++,a=" react-text: "+o+" ",u=" /react-text ";if(this._domID=o,this._hostParent=t,e.useCreateElement){var c=n._ownerDocument,d=c.createComment(a),f=c.createComment(u),p=i(c.createDocumentFragment());return i.queueChild(p,i(d)),this._stringText&&i.queueChild(p,i(c.createTextNode(this._stringText))),i.queueChild(p,i(f)),s.precacheNode(this,d),this._closingComment=f,p}var h=l(this._stringText);return e.renderToStaticMarkup?h:"<!--"+a+"-->"+h+"<!--"+u+"-->"},receiveComponent:function(e,t){if(e!==this._currentElement){this._currentElement=e;var n=""+e;if(n!==this._stringText){this._stringText=n;var r=this.getHostNode();a.replaceDelimitedText(r[0],r[1],n)}}},getHostNode:function(){var e=this._commentNodes;if(e)return e;if(!this._closingComment)for(var t=s.getNodeFromInstance(this),n=t.nextSibling;;){if(null==n?r("67",this._domID):void 0,8===n.nodeType&&" /react-text "===n.nodeValue){this._closingComment=n;break}n=n.nextSibling}return e=[this._hostNode,this._closingComment],this._commentNodes=e,e},unmountComponent:function(){this._closingComment=null,this._commentNodes=null,s.uncacheNode(this)}}),t.exports=u},{"./DOMChildrenOperations":982,"./DOMLazyTree":983,"./ReactDOMComponentTree":1007,"./escapeTextContentForBrowser":1076,"./reactProdInvariant":1094,"./validateDOMNesting":1100,"fbjs/lib/invariant":296,"object-assign":823}],1019:[function(e,t,n){"use strict";function r(){this._rootNodeID&&c.updateWrapper(this)}function o(e){var t=this._currentElement.props,n=s.executeOnChange(t,e);return u.asap(r,this),n}var a=e("./reactProdInvariant"),i=e("object-assign"),s=e("./LinkedValueUtils"),l=e("./ReactDOMComponentTree"),u=e("./ReactUpdates"),c=(e("fbjs/lib/invariant"),e("fbjs/lib/warning"),{getHostProps:function(e,t){null!=t.dangerouslySetInnerHTML?a("91"):void 0;var n=i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue,onChange:e._wrapperState.onChange});return n},mountWrapper:function(e,t){var n=s.getValue(t),r=n;if(null==n){var i=t.defaultValue,l=t.children;null!=l&&(null!=i?a("92"):void 0,Array.isArray(l)&&(l.length<=1?void 0:a("93"),l=l[0]),i=""+l),null==i&&(i=""),r=i}e._wrapperState={initialValue:""+r,listeners:null,onChange:o.bind(e)}},updateWrapper:function(e){var t=e._currentElement.props,n=l.getNodeFromInstance(e),r=s.getValue(t);if(null!=r){var o=""+r;o!==n.value&&(n.value=o),null==t.defaultValue&&(n.defaultValue=o)}null!=t.defaultValue&&(n.defaultValue=t.defaultValue)},postMountWrapper:function(e){var t=l.getNodeFromInstance(e),n=t.textContent;n===e._wrapperState.initialValue&&(t.value=n)}});t.exports=c},{"./LinkedValueUtils":997,"./ReactDOMComponentTree":1007,"./ReactUpdates":1051,"./reactProdInvariant":1094,"fbjs/lib/invariant":296,"fbjs/lib/warning":303,"object-assign":823}],1020:[function(e,t,n){"use strict";function r(e,t){"_hostNode"in e?void 0:l("33"),"_hostNode"in t?void 0:l("33");for(var n=0,r=e;r;r=r._hostParent)n++;for(var o=0,a=t;a;a=a._hostParent)o++;for(;n-o>0;)e=e._hostParent,n--;for(;o-n>0;)t=t._hostParent,o--;for(var i=n;i--;){if(e===t)return e;e=e._hostParent,t=t._hostParent}return null}function o(e,t){"_hostNode"in e?void 0:l("35"),"_hostNode"in t?void 0:l("35");for(;t;){if(t===e)return!0;t=t._hostParent}return!1}function a(e){return"_hostNode"in e?void 0:l("36"),e._hostParent}function i(e,t,n){for(var r=[];e;)r.push(e),e=e._hostParent;var o;for(o=r.length;o-- >0;)t(r[o],"captured",n);for(o=0;o<r.length;o++)t(r[o],"bubbled",n)}function s(e,t,n,o,a){for(var i=e&&t?r(e,t):null,s=[];e&&e!==i;)s.push(e),e=e._hostParent;for(var l=[];t&&t!==i;)l.push(t),t=t._hostParent;var u;for(u=0;u<s.length;u++)n(s[u],"bubbled",o);for(u=l.length;u-- >0;)n(l[u],"captured",a)}var l=e("./reactProdInvariant");e("fbjs/lib/invariant");t.exports={isAncestor:o,getLowestCommonAncestor:r,getParentInstance:a,traverseTwoPhase:i,traverseEnterLeave:s}},{"./reactProdInvariant":1094,"fbjs/lib/invariant":296}],1021:[function(e,t,n){"use strict";function r(e,t){null!=t&&"string"==typeof t.type&&(t.type.indexOf("-")>=0||t.props.is||a(e,t))}var o,a=(e("./DOMProperty"),e("./EventPluginRegistry"),e("react/lib/ReactComponentTreeHook"),e("fbjs/lib/warning"),function(e,t){var n=[];for(var r in t.props){var a=o(t.type,r,e);a||n.push(r)}n.map(function(e){return"`"+e+"`"}).join(", ");1===n.length||n.length>1}),i={onBeforeMountComponent:function(e,t){r(e,t)},onBeforeUpdateComponent:function(e,t){r(e,t)}};t.exports=i},{"./DOMProperty":985,"./EventPluginRegistry":991,"fbjs/lib/warning":303,"react/lib/ReactComponentTreeHook":1249}],1022:[function(e,t,n){"use strict";function r(e,t,n,r,o,a,i,s){try{t.call(n,r,o,a,i,s)}catch(t){w[e]=!0}}function o(e,t,n,o,a,i){for(var s=0;s<M.length;s++){var l=M[s],u=l[e];u&&r(e,u,l,t,n,o,a,i)}}function a(){g.purgeUnmountedComponents(),b.clearHistory()}function i(e){return e.reduce(function(e,t){var n=g.getOwnerID(t),r=g.getParentID(t);return e[t]={displayName:g.getDisplayName(t),text:g.getText(t),updateCount:g.getUpdateCount(t),childIDs:g.getChildIDs(t),ownerID:n||r&&g.getOwnerID(r)||0,parentID:r},e},{})}function s(){var e=A,t=T,n=b.getHistory();if(0===k)return A=0,T=[],void a();if(t.length||n.length){var r=g.getRegisteredIDs();C.push({duration:_()-e,measurements:t||[],operations:n||[],treeSnapshot:i(r)})}a(),A=_(),T=[]}function l(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]}function u(e,t){0!==k&&(E&&!z&&(z=!0),N=_(),O=0,P=e,E=t)}function c(e,t){0!==k&&(E===t||z||(z=!0),S&&T.push({timerType:t,instanceID:e,duration:_()-N-O}),N=0,O=0,P=null,E=null)}function d(){var e={startTime:N,nestedFlushStartTime:_(),debugID:P,timerType:E};x.push(e),N=0,O=0,P=null,E=null}function f(){var e=x.pop(),t=e.startTime,n=e.nestedFlushStartTime,r=e.debugID,o=e.timerType,a=_()-n;N=t,O+=a,P=r,E=o}function p(e){if(!S||!j)return!1;var t=g.getElement(e);if(null==t||"object"!=typeof t)return!1;var n="string"==typeof t.type;return!n}function h(e,t){if(p(e)){var n=e+"::"+t;R=_(),performance.mark(n)}}function m(e,t){if(p(e)){var n=e+"::"+t,r=g.getDisplayName(e)||"Unknown",o=_();if(o-R>.1){var a=r+" ["+t+"]";performance.measure(a,n)}performance.clearMarks(n),performance.clearMeasures(a)}}var v=e("./ReactInvalidSetStateWarningHook"),b=e("./ReactHostOperationHistoryHook"),g=e("react/lib/ReactComponentTreeHook"),y=e("fbjs/lib/ExecutionEnvironment"),_=e("fbjs/lib/performanceNow"),M=(e("fbjs/lib/warning"),[]),w={},S=!1,C=[],x=[],k=0,T=[],A=0,P=null,N=0,O=0,E=null,z=!1,R=0,j="undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&"function"==typeof performance.clearMeasures,L={addHook:function(e){M.push(e)},removeHook:function(e){for(var t=0;t<M.length;t++)M[t]===e&&(M.splice(t,1),t--)},isProfiling:function(){return S},beginProfiling:function(){S||(S=!0,C.length=0,s(),L.addHook(b))},endProfiling:function(){S&&(S=!1,s(),L.removeHook(b))},getFlushHistory:function(){return C},onBeginFlush:function(){k++,s(),d(),o("onBeginFlush")},onEndFlush:function(){s(),k--,f(),o("onEndFlush")},onBeginLifeCycleTimer:function(e,t){l(e),o("onBeginLifeCycleTimer",e,t),h(e,t),u(e,t)},onEndLifeCycleTimer:function(e,t){l(e),c(e,t),m(e,t),o("onEndLifeCycleTimer",e,t)},onBeginProcessingChildContext:function(){o("onBeginProcessingChildContext")},onEndProcessingChildContext:function(){o("onEndProcessingChildContext")},onHostOperation:function(e){l(e.instanceID),o("onHostOperation",e)},onSetState:function(){o("onSetState")},onSetChildren:function(e,t){l(e),t.forEach(l),o("onSetChildren",e,t)},onBeforeMountComponent:function(e,t,n){l(e),l(n,!0),o("onBeforeMountComponent",e,t,n),h(e,"mount")},onMountComponent:function(e){l(e),m(e,"mount"),o("onMountComponent",e)},onBeforeUpdateComponent:function(e,t){l(e),o("onBeforeUpdateComponent",e,t),h(e,"update")},onUpdateComponent:function(e){l(e),m(e,"update"),o("onUpdateComponent",e)},onBeforeUnmountComponent:function(e){l(e),o("onBeforeUnmountComponent",e),h(e,"unmount")},onUnmountComponent:function(e){l(e),m(e,"unmount"),o("onUnmountComponent",e)},onTestEvent:function(){o("onTestEvent")}};L.addDevtool=L.addHook,L.removeDevtool=L.removeHook,L.addHook(v),L.addHook(g);var D=y.canUseDOM&&window.location.href||"";/[?&]react_perf\b/.test(D)&&L.beginProfiling(),t.exports=L},{"./ReactHostOperationHistoryHook":1032,"./ReactInvalidSetStateWarningHook":1037,"fbjs/lib/ExecutionEnvironment":282,"fbjs/lib/performanceNow":301,"fbjs/lib/warning":303,"react/lib/ReactComponentTreeHook":1249}],1023:[function(e,t,n){"use strict";function r(){this.reinitializeTransaction()}var o=e("object-assign"),a=e("./ReactUpdates"),i=e("./Transaction"),s=e("fbjs/lib/emptyFunction"),l={initialize:s,close:function(){f.isBatchingUpdates=!1}},u={initialize:s,close:a.flushBatchedUpdates.bind(a)},c=[u,l];o(r.prototype,i,{getTransactionWrappers:function(){return c}});var d=new r,f={isBatchingUpdates:!1,batchedUpdates:function(e,t,n,r,o,a){var i=f.isBatchingUpdates;return f.isBatchingUpdates=!0,i?e(t,n,r,o,a):d.perform(e,null,t,n,r,o,a)}};t.exports=f},{"./ReactUpdates":1051,"./Transaction":1069,"fbjs/lib/emptyFunction":288,"object-assign":823}],1024:[function(e,t,n){"use strict";function r(){S||(S=!0,g.EventEmitter.injectReactEventListener(b),g.EventPluginHub.injectEventPluginOrder(s),g.EventPluginUtils.injectComponentTree(f),g.EventPluginUtils.injectTreeTraversal(h),g.EventPluginHub.injectEventPluginsByName({SimpleEventPlugin:w,EnterLeaveEventPlugin:l,ChangeEventPlugin:i,SelectEventPlugin:M,BeforeInputEventPlugin:a}),g.HostComponent.injectGenericComponentClass(d),g.HostComponent.injectTextComponentClass(m),g.DOMProperty.injectDOMPropertyConfig(o),g.DOMProperty.injectDOMPropertyConfig(u),g.DOMProperty.injectDOMPropertyConfig(_),g.EmptyComponent.injectEmptyComponentFactory(function(e){return new p(e)}),g.Updates.injectReconcileTransaction(y),g.Updates.injectBatchingStrategy(v),g.Component.injectEnvironment(c))}var o=e("./ARIADOMPropertyConfig"),a=e("./BeforeInputEventPlugin"),i=e("./ChangeEventPlugin"),s=e("./DefaultEventPluginOrder"),l=e("./EnterLeaveEventPlugin"),u=e("./HTMLDOMPropertyConfig"),c=e("./ReactComponentBrowserEnvironment"),d=e("./ReactDOMComponent"),f=e("./ReactDOMComponentTree"),p=e("./ReactDOMEmptyComponent"),h=e("./ReactDOMTreeTraversal"),m=e("./ReactDOMTextComponent"),v=e("./ReactDefaultBatchingStrategy"),b=e("./ReactEventListener"),g=e("./ReactInjection"),y=e("./ReactReconcileTransaction"),_=e("./SVGDOMPropertyConfig"),M=e("./SelectEventPlugin"),w=e("./SimpleEventPlugin"),S=!1;t.exports={inject:r}},{"./ARIADOMPropertyConfig":975,"./BeforeInputEventPlugin":977,"./ChangeEventPlugin":981,"./DefaultEventPluginOrder":988,"./EnterLeaveEventPlugin":989,"./HTMLDOMPropertyConfig":995,"./ReactComponentBrowserEnvironment":1001,"./ReactDOMComponent":1005,"./ReactDOMComponentTree":1007,"./ReactDOMEmptyComponent":1009,"./ReactDOMTextComponent":1018,"./ReactDOMTreeTraversal":1020,"./ReactDefaultBatchingStrategy":1023,"./ReactEventListener":1029,"./ReactInjection":1033,"./ReactReconcileTransaction":1045,"./SVGDOMPropertyConfig":1053,"./SelectEventPlugin":1054,"./SimpleEventPlugin":1055}],1025:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=r},{}],1026:[function(e,t,n){"use strict";var r,o={injectEmptyComponentFactory:function(e){r=e}},a={create:function(e){return r(e)}};a.injection=o,t.exports=a},{}],1027:[function(e,t,n){"use strict";function r(e,t,n){try{t(n)}catch(e){null===o&&(o=e)}}var o=null,a={invokeGuardedCallback:r,invokeGuardedCallbackWithCatch:r,rethrowCaughtError:function(){if(o){var e=o;throw o=null,e}}};t.exports=a},{}],1028:[function(e,t,n){"use strict";function r(e){o.enqueueEvents(e),o.processEventQueue(!1)}var o=e("./EventPluginHub"),a={handleTopLevel:function(e,t,n,a){var i=o.extractEvents(e,t,n,a);r(i)}};t.exports=a},{"./EventPluginHub":990}],1029:[function(e,t,n){"use strict";function r(e){for(;e._hostParent;)e=e._hostParent;var t=d.getNodeFromInstance(e),n=t.parentNode;return d.getClosestInstanceFromNode(n)}function o(e,t){this.topLevelType=e,this.nativeEvent=t,this.ancestors=[]}function a(e){var t=p(e.nativeEvent),n=d.getClosestInstanceFromNode(t),o=n;do e.ancestors.push(o),o=o&&r(o);while(o);for(var a=0;a<e.ancestors.length;a++)n=e.ancestors[a],m._handleTopLevel(e.topLevelType,n,e.nativeEvent,p(e.nativeEvent))}function i(e){var t=h(window);e(t)}var s=e("object-assign"),l=e("fbjs/lib/EventListener"),u=e("fbjs/lib/ExecutionEnvironment"),c=e("./PooledClass"),d=e("./ReactDOMComponentTree"),f=e("./ReactUpdates"),p=e("./getEventTarget"),h=e("fbjs/lib/getUnboundedScrollPosition");s(o.prototype,{destructor:function(){this.topLevelType=null,this.nativeEvent=null,this.ancestors.length=0}}),c.addPoolingTo(o,c.twoArgumentPooler);var m={_enabled:!0,_handleTopLevel:null,WINDOW_HANDLE:u.canUseDOM?window:null,setHandleTopLevel:function(e){m._handleTopLevel=e},setEnabled:function(e){m._enabled=!!e},isEnabled:function(){return m._enabled},trapBubbledEvent:function(e,t,n){return n?l.listen(n,t,m.dispatchEvent.bind(null,e)):null},trapCapturedEvent:function(e,t,n){return n?l.capture(n,t,m.dispatchEvent.bind(null,e)):null},monitorScrollValue:function(e){var t=i.bind(null,e);l.listen(window,"scroll",t)},dispatchEvent:function(e,t){if(m._enabled){var n=o.getPooled(e,t);try{f.batchedUpdates(a,n)}finally{o.release(n)}}}};t.exports=m},{"./PooledClass":998,"./ReactDOMComponentTree":1007,"./ReactUpdates":1051,"./getEventTarget":1083,"fbjs/lib/EventListener":281,"fbjs/lib/ExecutionEnvironment":282,"fbjs/lib/getUnboundedScrollPosition":293,"object-assign":823}],1030:[function(e,t,n){"use strict";var r={logTopLevelRenders:!1};t.exports=r},{}],1031:[function(e,t,n){"use strict";function r(e){return s?void 0:i("111",e.type),new s(e)}function o(e){return new l(e)}function a(e){return e instanceof l}var i=e("./reactProdInvariant"),s=(e("fbjs/lib/invariant"),null),l=null,u={injectGenericComponentClass:function(e){s=e},injectTextComponentClass:function(e){l=e}},c={createInternalComponent:r,createInstanceForText:o,isTextComponent:a,injection:u};t.exports=c},{"./reactProdInvariant":1094,"fbjs/lib/invariant":296}],1032:[function(e,t,n){"use strict";var r=[],o={onHostOperation:function(e){r.push(e)},clearHistory:function(){o._preventClearing||(r=[])},getHistory:function(){return r}};t.exports=o},{}],1033:[function(e,t,n){"use strict";var r=e("./DOMProperty"),o=e("./EventPluginHub"),a=e("./EventPluginUtils"),i=e("./ReactComponentEnvironment"),s=e("./ReactEmptyComponent"),l=e("./ReactBrowserEventEmitter"),u=e("./ReactHostComponent"),c=e("./ReactUpdates"),d={Component:i.injection,DOMProperty:r.injection,EmptyComponent:s.injection,EventPluginHub:o.injection,EventPluginUtils:a.injection,EventEmitter:l.injection,HostComponent:u.injection,Updates:c.injection};t.exports=d},{"./DOMProperty":985,"./EventPluginHub":990,"./EventPluginUtils":992,"./ReactBrowserEventEmitter":999,"./ReactComponentEnvironment":1002,"./ReactEmptyComponent":1026,"./ReactHostComponent":1031,"./ReactUpdates":1051}],1034:[function(e,t,n){"use strict";function r(e){return a(document.documentElement,e)}var o=e("./ReactDOMSelection"),a=e("fbjs/lib/containsNode"),i=e("fbjs/lib/focusNode"),s=e("fbjs/lib/getActiveElement"),l={hasSelectionCapabilities:function(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&"text"===e.type||"textarea"===t||"true"===e.contentEditable)},getSelectionInformation:function(){var e=s();return{focusedElem:e,selectionRange:l.hasSelectionCapabilities(e)?l.getSelection(e):null}},restoreSelection:function(e){var t=s(),n=e.focusedElem,o=e.selectionRange;t!==n&&r(n)&&(l.hasSelectionCapabilities(n)&&l.setSelection(n,o),i(n))},getSelection:function(e){var t;if("selectionStart"in e)t={start:e.selectionStart,end:e.selectionEnd};else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var n=document.selection.createRange();n.parentElement()===e&&(t={start:-n.moveStart("character",-e.value.length),end:-n.moveEnd("character",-e.value.length)})}else t=o.getOffsets(e);return t||{start:0,end:0}},setSelection:function(e,t){var n=t.start,r=t.end;if(void 0===r&&(r=n),"selectionStart"in e)e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length);else if(document.selection&&e.nodeName&&"input"===e.nodeName.toLowerCase()){var a=e.createTextRange();a.collapse(!0),a.moveStart("character",n),a.moveEnd("character",r-n),a.select()}else o.setOffsets(e,t)}};t.exports=l},{"./ReactDOMSelection":1017,"fbjs/lib/containsNode":285,"fbjs/lib/focusNode":290,"fbjs/lib/getActiveElement":291}],1035:[function(e,t,n){"use strict";var r={remove:function(e){e._reactInternalInstance=void 0},get:function(e){return e._reactInternalInstance},has:function(e){return void 0!==e._reactInternalInstance},set:function(e,t){e._reactInternalInstance=t}};t.exports=r},{}],1036:[function(e,t,n){"use strict";var r=null;t.exports={debugTool:r}},{"./ReactDebugTool":1022}],1037:[function(e,t,n){"use strict";var r,o,a=(e("fbjs/lib/warning"),{onBeginProcessingChildContext:function(){r=!0},onEndProcessingChildContext:function(){
|
43 | r=!1},onSetState:function(){o()}});t.exports=a},{"fbjs/lib/warning":303}],1038:[function(e,t,n){"use strict";var r=e("./adler32"),o=/\/?>/,a=/^<\!\-\-/,i={CHECKSUM_ATTR_NAME:"data-react-checksum",addChecksumToMarkup:function(e){var t=r(e);return a.test(e)?e:e.replace(o," "+i.CHECKSUM_ATTR_NAME+'="'+t+'"$&')},canReuseMarkup:function(e,t){var n=t.getAttribute(i.CHECKSUM_ATTR_NAME);n=n&&parseInt(n,10);var o=r(e);return o===n}};t.exports=i},{"./adler32":1072}],1039:[function(e,t,n){"use strict";function r(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e.charAt(r)!==t.charAt(r))return r;return e.length===t.length?-1:n}function o(e){return e?e.nodeType===R?e.documentElement:e.firstChild:null}function a(e){return e.getAttribute&&e.getAttribute(O)||""}function i(e,t,n,r,o){var a;if(M.logTopLevelRenders){var i=e._currentElement.props.child,s=i.type;a="React mount: "+("string"==typeof s?s:s.displayName||s.name),console.time(a)}var l=C.mountComponent(e,n,null,y(e,t),o,0);a&&console.timeEnd(a),e._renderedComponent._topLevelWrapper=e,B._mountImageIntoNode(l,t,e,r,n)}function s(e,t,n,r){var o=k.ReactReconcileTransaction.getPooled(!n&&_.useCreateElement);o.perform(i,null,e,t,o,n,r),k.ReactReconcileTransaction.release(o)}function l(e,t,n){for(C.unmountComponent(e,n),t.nodeType===R&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)}function u(e){var t=o(e);if(t){var n=g.getInstanceFromNode(t);return!(!n||!n._hostParent)}}function c(e){return!(!e||e.nodeType!==z&&e.nodeType!==R&&e.nodeType!==j)}function d(e){var t=o(e),n=t&&g.getInstanceFromNode(t);return n&&!n._hostParent?n:null}function f(e){var t=d(e);return t?t._hostContainerInfo._topLevelWrapper:null}var p=e("./reactProdInvariant"),h=e("./DOMLazyTree"),m=e("./DOMProperty"),v=e("react/lib/React"),b=e("./ReactBrowserEventEmitter"),g=(e("react/lib/ReactCurrentOwner"),e("./ReactDOMComponentTree")),y=e("./ReactDOMContainerInfo"),_=e("./ReactDOMFeatureFlags"),M=e("./ReactFeatureFlags"),w=e("./ReactInstanceMap"),S=(e("./ReactInstrumentation"),e("./ReactMarkupChecksum")),C=e("./ReactReconciler"),x=e("./ReactUpdateQueue"),k=e("./ReactUpdates"),T=e("fbjs/lib/emptyObject"),A=e("./instantiateReactComponent"),P=(e("fbjs/lib/invariant"),e("./setInnerHTML")),N=e("./shouldUpdateReactComponent"),O=(e("fbjs/lib/warning"),m.ID_ATTRIBUTE_NAME),E=m.ROOT_ATTRIBUTE_NAME,z=1,R=9,j=11,L={},D=1,I=function(){this.rootID=D++};I.prototype.isReactComponent={},I.prototype.render=function(){return this.props.child},I.isReactTopLevelWrapper=!0;var B={TopLevelWrapper:I,_instancesByReactRootID:L,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,t,n,r,o){return B.scrollMonitor(r,function(){x.enqueueElementInternal(e,t,n),o&&x.enqueueCallbackInternal(e,o)}),e},_renderNewRootComponent:function(e,t,n,r){c(t)?void 0:p("37"),b.ensureScrollValueMonitoring();var o=A(e,!1);k.batchedUpdates(s,o,t,n,r);var a=o._instance.rootID;return L[a]=o,o},renderSubtreeIntoContainer:function(e,t,n,r){return null!=e&&w.has(e)?void 0:p("38"),B._renderSubtreeIntoContainer(e,t,n,r)},_renderSubtreeIntoContainer:function(e,t,n,r){x.validateCallback(r,"ReactDOM.render"),v.isValidElement(t)?void 0:p("39","string"==typeof t?" Instead of passing a string like 'div', pass React.createElement('div') or <div />.":"function"==typeof t?" Instead of passing a class like Foo, pass React.createElement(Foo) or <Foo />.":null!=t&&void 0!==t.props?" This may be caused by unintentionally loading two independent copies of React.":"");var i,s=v.createElement(I,{child:t});if(e){var l=w.get(e);i=l._processChildContext(l._context)}else i=T;var c=f(n);if(c){var d=c._currentElement,h=d.props.child;if(N(h,t)){var m=c._renderedComponent.getPublicInstance(),b=r&&function(){r.call(m)};return B._updateRootComponent(c,s,i,n,b),m}B.unmountComponentAtNode(n)}var g=o(n),y=g&&!!a(g),_=u(n),M=y&&!c&&!_,S=B._renderNewRootComponent(s,n,M,i)._renderedComponent.getPublicInstance();return r&&r.call(S),S},render:function(e,t,n){return B._renderSubtreeIntoContainer(null,e,t,n)},unmountComponentAtNode:function(e){c(e)?void 0:p("40");var t=f(e);if(!t){u(e),1===e.nodeType&&e.hasAttribute(E);return!1}return delete L[t._instance.rootID],k.batchedUpdates(l,t,e,!1),!0},_mountImageIntoNode:function(e,t,n,a,i){if(c(t)?void 0:p("41"),a){var s=o(t);if(S.canReuseMarkup(e,s))return void g.precacheNode(n,s);var l=s.getAttribute(S.CHECKSUM_ATTR_NAME);s.removeAttribute(S.CHECKSUM_ATTR_NAME);var u=s.outerHTML;s.setAttribute(S.CHECKSUM_ATTR_NAME,l);var d=e,f=r(d,u),m=" (client) "+d.substring(f-20,f+20)+"\n (server) "+u.substring(f-20,f+20);t.nodeType===R?p("42",m):void 0}if(t.nodeType===R?p("43"):void 0,i.useCreateElement){for(;t.lastChild;)t.removeChild(t.lastChild);h.insertTreeBefore(t,e,null)}else P(t,e),g.precacheNode(n,t.firstChild)}};t.exports=B},{"./DOMLazyTree":983,"./DOMProperty":985,"./ReactBrowserEventEmitter":999,"./ReactDOMComponentTree":1007,"./ReactDOMContainerInfo":1008,"./ReactDOMFeatureFlags":1010,"./ReactFeatureFlags":1030,"./ReactInstanceMap":1035,"./ReactInstrumentation":1036,"./ReactMarkupChecksum":1038,"./ReactReconciler":1046,"./ReactUpdateQueue":1050,"./ReactUpdates":1051,"./instantiateReactComponent":1090,"./reactProdInvariant":1094,"./setInnerHTML":1096,"./shouldUpdateReactComponent":1098,"fbjs/lib/emptyObject":289,"fbjs/lib/invariant":296,"fbjs/lib/warning":303,"react/lib/React":1245,"react/lib/ReactCurrentOwner":1251}],1040:[function(e,t,n){"use strict";function r(e,t,n){return{type:"INSERT_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:n,afterNode:t}}function o(e,t,n){return{type:"MOVE_EXISTING",content:null,fromIndex:e._mountIndex,fromNode:f.getHostNode(e),toIndex:n,afterNode:t}}function a(e,t){return{type:"REMOVE_NODE",content:null,fromIndex:e._mountIndex,fromNode:t,toIndex:null,afterNode:null}}function i(e){return{type:"SET_MARKUP",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function s(e){return{type:"TEXT_CONTENT",content:e,fromIndex:null,fromNode:null,toIndex:null,afterNode:null}}function l(e,t){return t&&(e=e||[],e.push(t)),e}function u(e,t){d.processChildrenUpdates(e,t)}var c=e("./reactProdInvariant"),d=e("./ReactComponentEnvironment"),f=(e("./ReactInstanceMap"),e("./ReactInstrumentation"),e("react/lib/ReactCurrentOwner"),e("./ReactReconciler")),p=e("./ReactChildReconciler"),h=(e("fbjs/lib/emptyFunction"),e("./flattenChildren")),m=(e("fbjs/lib/invariant"),{Mixin:{_reconcilerInstantiateChildren:function(e,t,n){return p.instantiateChildren(e,t,n)},_reconcilerUpdateChildren:function(e,t,n,r,o,a){var i,s=0;return i=h(t,s),p.updateChildren(e,i,n,r,o,this,this._hostContainerInfo,a,s),i},mountChildren:function(e,t,n){var r=this._reconcilerInstantiateChildren(e,t,n);this._renderedChildren=r;var o=[],a=0;for(var i in r)if(r.hasOwnProperty(i)){var s=r[i],l=0,u=f.mountComponent(s,t,this,this._hostContainerInfo,n,l);s._mountIndex=a++,o.push(u)}return o},updateTextContent:function(e){var t=this._renderedChildren;p.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[s(e)];u(this,r)},updateMarkup:function(e){var t=this._renderedChildren;p.unmountChildren(t,!1);for(var n in t)t.hasOwnProperty(n)&&c("118");var r=[i(e)];u(this,r)},updateChildren:function(e,t,n){this._updateChildren(e,t,n)},_updateChildren:function(e,t,n){var r=this._renderedChildren,o={},a=[],i=this._reconcilerUpdateChildren(r,e,a,o,t,n);if(i||r){var s,c=null,d=0,p=0,h=0,m=null;for(s in i)if(i.hasOwnProperty(s)){var v=r&&r[s],b=i[s];v===b?(c=l(c,this.moveChild(v,m,d,p)),p=Math.max(v._mountIndex,p),v._mountIndex=d):(v&&(p=Math.max(v._mountIndex,p)),c=l(c,this._mountChildAtIndex(b,a[h],m,d,t,n)),h++),d++,m=f.getHostNode(b)}for(s in o)o.hasOwnProperty(s)&&(c=l(c,this._unmountChild(r[s],o[s])));c&&u(this,c),this._renderedChildren=i}},unmountChildren:function(e){var t=this._renderedChildren;p.unmountChildren(t,e),this._renderedChildren=null},moveChild:function(e,t,n,r){if(e._mountIndex<r)return o(e,t,n)},createChild:function(e,t,n){return r(n,t,e._mountIndex)},removeChild:function(e,t){return a(e,t)},_mountChildAtIndex:function(e,t,n,r,o,a){return e._mountIndex=r,this.createChild(e,n,t)},_unmountChild:function(e,t){var n=this.removeChild(e,t);return e._mountIndex=null,n}}});t.exports=m},{"./ReactChildReconciler":1e3,"./ReactComponentEnvironment":1002,"./ReactInstanceMap":1035,"./ReactInstrumentation":1036,"./ReactReconciler":1046,"./flattenChildren":1078,"./reactProdInvariant":1094,"fbjs/lib/emptyFunction":288,"fbjs/lib/invariant":296,"react/lib/ReactCurrentOwner":1251}],1041:[function(e,t,n){"use strict";var r=e("./reactProdInvariant"),o=e("react/lib/React"),a=(e("fbjs/lib/invariant"),{HOST:0,COMPOSITE:1,EMPTY:2,getType:function(e){return null===e||e===!1?a.EMPTY:o.isValidElement(e)?"function"==typeof e.type?a.COMPOSITE:a.HOST:void r("26",e)}});t.exports=a},{"./reactProdInvariant":1094,"fbjs/lib/invariant":296,"react/lib/React":1245}],1042:[function(e,t,n){"use strict";function r(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)}var o=e("./reactProdInvariant"),a=(e("fbjs/lib/invariant"),{addComponentAsRefTo:function(e,t,n){r(n)?void 0:o("119"),n.attachRef(t,e)},removeComponentAsRefFrom:function(e,t,n){r(n)?void 0:o("120");var a=n.getPublicInstance();a&&a.refs[t]===e.getPublicInstance()&&n.detachRef(t)}});t.exports=a},{"./reactProdInvariant":1094,"fbjs/lib/invariant":296}],1043:[function(e,t,n){"use strict";var r={};t.exports=r},{}],1044:[function(e,t,n){"use strict";var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=r},{}],1045:[function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=!1,this.reactMountReady=a.getPooled(null),this.useCreateElement=e}var o=e("object-assign"),a=e("./CallbackQueue"),i=e("./PooledClass"),s=e("./ReactBrowserEventEmitter"),l=e("./ReactInputSelection"),u=(e("./ReactInstrumentation"),e("./Transaction")),c=e("./ReactUpdateQueue"),d={initialize:l.getSelectionInformation,close:l.restoreSelection},f={initialize:function(){var e=s.isEnabled();return s.setEnabled(!1),e},close:function(e){s.setEnabled(e)}},p={initialize:function(){this.reactMountReady.reset()},close:function(){this.reactMountReady.notifyAll()}},h=[d,f,p],m={getTransactionWrappers:function(){return h},getReactMountReady:function(){return this.reactMountReady},getUpdateQueue:function(){return c},checkpoint:function(){return this.reactMountReady.checkpoint()},rollback:function(e){this.reactMountReady.rollback(e)},destructor:function(){a.release(this.reactMountReady),this.reactMountReady=null}};o(r.prototype,u,m),i.addPoolingTo(r),t.exports=r},{"./CallbackQueue":980,"./PooledClass":998,"./ReactBrowserEventEmitter":999,"./ReactInputSelection":1034,"./ReactInstrumentation":1036,"./ReactUpdateQueue":1050,"./Transaction":1069,"object-assign":823}],1046:[function(e,t,n){"use strict";function r(){o.attachRefs(this,this._currentElement)}var o=e("./ReactRef"),a=(e("./ReactInstrumentation"),e("fbjs/lib/warning"),{mountComponent:function(e,t,n,o,a,i){var s=e.mountComponent(t,n,o,a,i);return e._currentElement&&null!=e._currentElement.ref&&t.getReactMountReady().enqueue(r,e),s},getHostNode:function(e){return e.getHostNode()},unmountComponent:function(e,t){o.detachRefs(e,e._currentElement),e.unmountComponent(t)},receiveComponent:function(e,t,n,a){var i=e._currentElement;if(t!==i||a!==e._context){var s=o.shouldUpdateRefs(i,t);s&&o.detachRefs(e,i),e.receiveComponent(t,n,a),s&&e._currentElement&&null!=e._currentElement.ref&&n.getReactMountReady().enqueue(r,e)}},performUpdateIfNecessary:function(e,t,n){e._updateBatchNumber===n&&e.performUpdateIfNecessary(t)}});t.exports=a},{"./ReactInstrumentation":1036,"./ReactRef":1047,"fbjs/lib/warning":303}],1047:[function(e,t,n){"use strict";function r(e,t,n){"function"==typeof e?e(t.getPublicInstance()):a.addComponentAsRefTo(t,e,n)}function o(e,t,n){"function"==typeof e?e(null):a.removeComponentAsRefFrom(t,e,n)}var a=e("./ReactOwner"),i={};i.attachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&r(n,e,t._owner)}},i.shouldUpdateRefs=function(e,t){var n=null,r=null;null!==e&&"object"==typeof e&&(n=e.ref,r=e._owner);var o=null,a=null;return null!==t&&"object"==typeof t&&(o=t.ref,a=t._owner),n!==o||"string"==typeof o&&a!==r},i.detachRefs=function(e,t){if(null!==t&&"object"==typeof t){var n=t.ref;null!=n&&o(n,e,t._owner)}},t.exports=i},{"./ReactOwner":1042}],1048:[function(e,t,n){"use strict";function r(e){this.reinitializeTransaction(),this.renderToStaticMarkup=e,this.useCreateElement=!1,this.updateQueue=new s(this)}var o=e("object-assign"),a=e("./PooledClass"),i=e("./Transaction"),s=(e("./ReactInstrumentation"),e("./ReactServerUpdateQueue")),l=[],u={enqueue:function(){}},c={getTransactionWrappers:function(){return l},getReactMountReady:function(){return u},getUpdateQueue:function(){return this.updateQueue},destructor:function(){},checkpoint:function(){},rollback:function(){}};o(r.prototype,i,c),a.addPoolingTo(r),t.exports=r},{"./PooledClass":998,"./ReactInstrumentation":1036,"./ReactServerUpdateQueue":1049,"./Transaction":1069,"object-assign":823}],1049:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){}var a=e("./ReactUpdateQueue"),i=(e("fbjs/lib/warning"),function(){function e(t){r(this,e),this.transaction=t}return e.prototype.isMounted=function(e){return!1},e.prototype.enqueueCallback=function(e,t,n){this.transaction.isInTransaction()&&a.enqueueCallback(e,t,n)},e.prototype.enqueueForceUpdate=function(e){this.transaction.isInTransaction()?a.enqueueForceUpdate(e):o(e,"forceUpdate")},e.prototype.enqueueReplaceState=function(e,t){this.transaction.isInTransaction()?a.enqueueReplaceState(e,t):o(e,"replaceState")},e.prototype.enqueueSetState=function(e,t){this.transaction.isInTransaction()?a.enqueueSetState(e,t):o(e,"setState")},e}());t.exports=i},{"./ReactUpdateQueue":1050,"fbjs/lib/warning":303}],1050:[function(e,t,n){"use strict";function r(e){l.enqueueUpdate(e)}function o(e){var t=typeof e;if("object"!==t)return t;var n=e.constructor&&e.constructor.name||t,r=Object.keys(e);return r.length>0&&r.length<20?n+" (keys: "+r.join(", ")+")":n}function a(e,t){var n=s.get(e);if(!n){return null}return n}var i=e("./reactProdInvariant"),s=(e("react/lib/ReactCurrentOwner"),e("./ReactInstanceMap")),l=(e("./ReactInstrumentation"),e("./ReactUpdates")),u=(e("fbjs/lib/invariant"),e("fbjs/lib/warning"),{isMounted:function(e){var t=s.get(e);return!!t&&!!t._renderedComponent},enqueueCallback:function(e,t,n){u.validateCallback(t,n);var o=a(e);return o?(o._pendingCallbacks?o._pendingCallbacks.push(t):o._pendingCallbacks=[t],void r(o)):null},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],r(e)},enqueueForceUpdate:function(e){var t=a(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,r(t))},enqueueReplaceState:function(e,t){var n=a(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,r(n))},enqueueSetState:function(e,t){var n=a(e,"setState");if(n){var o=n._pendingStateQueue||(n._pendingStateQueue=[]);o.push(t),r(n)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,r(e)},validateCallback:function(e,t){e&&"function"!=typeof e?i("122",t,o(e)):void 0}});t.exports=u},{"./ReactInstanceMap":1035,"./ReactInstrumentation":1036,"./ReactUpdates":1051,"./reactProdInvariant":1094,"fbjs/lib/invariant":296,"fbjs/lib/warning":303,"react/lib/ReactCurrentOwner":1251}],1051:[function(e,t,n){"use strict";function r(){T.ReactReconcileTransaction&&M?void 0:c("123")}function o(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=f.getPooled(),this.reconcileTransaction=T.ReactReconcileTransaction.getPooled(!0)}function a(e,t,n,o,a,i){return r(),M.batchedUpdates(e,t,n,o,a,i)}function i(e,t){return e._mountOrder-t._mountOrder}function s(e){var t=e.dirtyComponentsLength;t!==b.length?c("124",t,b.length):void 0,b.sort(i),g++;for(var n=0;n<t;n++){var r=b[n],o=r._pendingCallbacks;r._pendingCallbacks=null;var a;if(h.logTopLevelRenders){var s=r;r._currentElement.type.isReactTopLevelWrapper&&(s=r._renderedComponent),a="React update: "+s.getName(),console.time(a)}if(m.performUpdateIfNecessary(r,e.reconcileTransaction,g),a&&console.timeEnd(a),o)for(var l=0;l<o.length;l++)e.callbackQueue.enqueue(o[l],r.getPublicInstance())}}function l(e){return r(),M.isBatchingUpdates?(b.push(e),void(null==e._updateBatchNumber&&(e._updateBatchNumber=g+1))):void M.batchedUpdates(l,e)}function u(e,t){M.isBatchingUpdates?void 0:c("125"),y.enqueue(e,t),_=!0}var c=e("./reactProdInvariant"),d=e("object-assign"),f=e("./CallbackQueue"),p=e("./PooledClass"),h=e("./ReactFeatureFlags"),m=e("./ReactReconciler"),v=e("./Transaction"),b=(e("fbjs/lib/invariant"),[]),g=0,y=f.getPooled(),_=!1,M=null,w={initialize:function(){this.dirtyComponentsLength=b.length},close:function(){this.dirtyComponentsLength!==b.length?(b.splice(0,this.dirtyComponentsLength),x()):b.length=0}},S={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},C=[w,S];d(o.prototype,v,{getTransactionWrappers:function(){return C},destructor:function(){this.dirtyComponentsLength=null,f.release(this.callbackQueue),this.callbackQueue=null,T.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return v.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),p.addPoolingTo(o);var x=function(){for(;b.length||_;){if(b.length){var e=o.getPooled();e.perform(s,null,e),o.release(e)}if(_){_=!1;var t=y;y=f.getPooled(),t.notifyAll(),f.release(t)}}},k={injectReconcileTransaction:function(e){e?void 0:c("126"),T.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){e?void 0:c("127"),"function"!=typeof e.batchedUpdates?c("128"):void 0,"boolean"!=typeof e.isBatchingUpdates?c("129"):void 0,M=e}},T={ReactReconcileTransaction:null,batchedUpdates:a,enqueueUpdate:l,flushBatchedUpdates:x,injection:k,asap:u};t.exports=T},{"./CallbackQueue":980,"./PooledClass":998,"./ReactFeatureFlags":1030,"./ReactReconciler":1046,"./Transaction":1069,"./reactProdInvariant":1094,"fbjs/lib/invariant":296,"object-assign":823}],1052:[function(e,t,n){"use strict";t.exports="15.4.2"},{}],1053:[function(e,t,n){"use strict";var r={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},o={accentHeight:"accent-height",accumulate:0,additive:0,alignmentBaseline:"alignment-baseline",allowReorder:"allowReorder",alphabetic:0,amplitude:0,arabicForm:"arabic-form",ascent:0,attributeName:"attributeName",attributeType:"attributeType",autoReverse:"autoReverse",azimuth:0,baseFrequency:"baseFrequency",baseProfile:"baseProfile",baselineShift:"baseline-shift",bbox:0,begin:0,bias:0,by:0,calcMode:"calcMode",capHeight:"cap-height",clip:0,clipPath:"clip-path",clipRule:"clip-rule",clipPathUnits:"clipPathUnits",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",contentScriptType:"contentScriptType",contentStyleType:"contentStyleType",cursor:0,cx:0,cy:0,d:0,decelerate:0,descent:0,diffuseConstant:"diffuseConstant",direction:0,display:0,divisor:0,dominantBaseline:"dominant-baseline",dur:0,dx:0,dy:0,edgeMode:"edgeMode",elevation:0,enableBackground:"enable-background",end:0,exponent:0,externalResourcesRequired:"externalResourcesRequired",fill:0,fillOpacity:"fill-opacity",fillRule:"fill-rule",filter:0,filterRes:"filterRes",filterUnits:"filterUnits",floodColor:"flood-color",floodOpacity:"flood-opacity",focusable:0,fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",glyphRef:"glyphRef",gradientTransform:"gradientTransform",gradientUnits:"gradientUnits",hanging:0,horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",ideographic:0,imageRendering:"image-rendering",in:0,in2:0,intercept:0,k:0,k1:0,k2:0,k3:0,k4:0,kernelMatrix:"kernelMatrix",kernelUnitLength:"kernelUnitLength",kerning:0,keyPoints:"keyPoints",keySplines:"keySplines",keyTimes:"keyTimes",lengthAdjust:"lengthAdjust",letterSpacing:"letter-spacing",lightingColor:"lighting-color",limitingConeAngle:"limitingConeAngle",local:0,markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",markerHeight:"markerHeight",markerUnits:"markerUnits",markerWidth:"markerWidth",mask:0,maskContentUnits:"maskContentUnits",maskUnits:"maskUnits",mathematical:0,mode:0,numOctaves:"numOctaves",offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pathLength:"pathLength",patternContentUnits:"patternContentUnits",patternTransform:"patternTransform",patternUnits:"patternUnits",pointerEvents:"pointer-events",points:0,pointsAtX:"pointsAtX",pointsAtY:"pointsAtY",pointsAtZ:"pointsAtZ",preserveAlpha:"preserveAlpha",preserveAspectRatio:"preserveAspectRatio",primitiveUnits:"primitiveUnits",r:0,radius:0,refX:"refX",refY:"refY",renderingIntent:"rendering-intent",repeatCount:"repeatCount",repeatDur:"repeatDur",requiredExtensions:"requiredExtensions",requiredFeatures:"requiredFeatures",restart:0,result:0,rotate:0,rx:0,ry:0,scale:0,seed:0,shapeRendering:"shape-rendering",slope:0,spacing:0,specularConstant:"specularConstant",specularExponent:"specularExponent",speed:0,spreadMethod:"spreadMethod",startOffset:"startOffset",stdDeviation:"stdDeviation",stemh:0,stemv:0,stitchTiles:"stitchTiles",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",string:0,stroke:0,strokeDasharray:"stroke-dasharray",strokeDashoffset:"stroke-dashoffset",strokeLinecap:"stroke-linecap",strokeLinejoin:"stroke-linejoin",strokeMiterlimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",surfaceScale:"surfaceScale",systemLanguage:"systemLanguage",tableValues:"tableValues",targetX:"targetX",targetY:"targetY",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",textLength:"textLength",to:0,transform:0,u1:0,u2:0,underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicode:0,unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",values:0,vectorEffect:"vector-effect",version:0,vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",viewBox:"viewBox",viewTarget:"viewTarget",visibility:0,widths:0,wordSpacing:"word-spacing",writingMode:"writing-mode",x:0,xHeight:"x-height",x1:0,x2:0,xChannelSelector:"xChannelSelector",xlinkActuate:"xlink:actuate",xlinkArcrole:"xlink:arcrole",xlinkHref:"xlink:href",xlinkRole:"xlink:role",xlinkShow:"xlink:show",xlinkTitle:"xlink:title",xlinkType:"xlink:type",xmlBase:"xml:base",xmlns:0,xmlnsXlink:"xmlns:xlink",xmlLang:"xml:lang",xmlSpace:"xml:space",y:0,y1:0,y2:0,yChannelSelector:"yChannelSelector",z:0,zoomAndPan:"zoomAndPan"},a={Properties:{},DOMAttributeNamespaces:{xlinkActuate:r.xlink,xlinkArcrole:r.xlink,xlinkHref:r.xlink,xlinkRole:r.xlink,xlinkShow:r.xlink,xlinkTitle:r.xlink,xlinkType:r.xlink,xmlBase:r.xml,xmlLang:r.xml,xmlSpace:r.xml},DOMAttributeNames:{}};Object.keys(o).forEach(function(e){a.Properties[e]=0,o[e]&&(a.DOMAttributeNames[e]=o[e])}),t.exports=a},{}],1054:[function(e,t,n){"use strict";function r(e){if("selectionStart"in e&&l.hasSelectionCapabilities(e))return{start:e.selectionStart,end:e.selectionEnd};if(window.getSelection){var t=window.getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}if(document.selection){var n=document.selection.createRange();return{parentElement:n.parentElement(),text:n.text,top:n.boundingTop,left:n.boundingLeft}}}function o(e,t){if(g||null==m||m!==c())return null;var n=r(m);if(!b||!f(b,n)){b=n;var o=u.getPooled(h.select,v,e,t);return o.type="select",o.target=m,a.accumulateTwoPhaseDispatches(o),o}return null}var a=e("./EventPropagators"),i=e("fbjs/lib/ExecutionEnvironment"),s=e("./ReactDOMComponentTree"),l=e("./ReactInputSelection"),u=e("./SyntheticEvent"),c=e("fbjs/lib/getActiveElement"),d=e("./isTextInputElement"),f=e("fbjs/lib/shallowEqual"),p=i.canUseDOM&&"documentMode"in document&&document.documentMode<=11,h={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},m=null,v=null,b=null,g=!1,y=!1,_={eventTypes:h,extractEvents:function(e,t,n,r){if(!y)return null;var a=t?s.getNodeFromInstance(t):window;switch(e){case"topFocus":(d(a)||"true"===a.contentEditable)&&(m=a,v=t,b=null);break;case"topBlur":m=null,v=null,b=null;break;case"topMouseDown":g=!0;break;case"topContextMenu":case"topMouseUp":return g=!1,o(n,r);case"topSelectionChange":if(p)break;case"topKeyDown":case"topKeyUp":return o(n,r)}return null},didPutListener:function(e,t,n){"onSelect"===t&&(y=!0)}};t.exports=_},{"./EventPropagators":993,"./ReactDOMComponentTree":1007,"./ReactInputSelection":1034,"./SyntheticEvent":1060,"./isTextInputElement":1092,"fbjs/lib/ExecutionEnvironment":282,"fbjs/lib/getActiveElement":291,"fbjs/lib/shallowEqual":302}],1055:[function(e,t,n){"use strict";function r(e){return"."+e._rootNodeID}function o(e){return"button"===e||"input"===e||"select"===e||"textarea"===e}var a=e("./reactProdInvariant"),i=e("fbjs/lib/EventListener"),s=e("./EventPropagators"),l=e("./ReactDOMComponentTree"),u=e("./SyntheticAnimationEvent"),c=e("./SyntheticClipboardEvent"),d=e("./SyntheticEvent"),f=e("./SyntheticFocusEvent"),p=e("./SyntheticKeyboardEvent"),h=e("./SyntheticMouseEvent"),m=e("./SyntheticDragEvent"),v=e("./SyntheticTouchEvent"),b=e("./SyntheticTransitionEvent"),g=e("./SyntheticUIEvent"),y=e("./SyntheticWheelEvent"),_=e("fbjs/lib/emptyFunction"),M=e("./getEventCharCode"),w=(e("fbjs/lib/invariant"),{}),S={};["abort","animationEnd","animationIteration","animationStart","blur","canPlay","canPlayThrough","click","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(e){var t=e[0].toUpperCase()+e.slice(1),n="on"+t,r="top"+t,o={phasedRegistrationNames:{bubbled:n,captured:n+"Capture"},dependencies:[r]};w[e]=o,S[r]=o});var C={},x={eventTypes:w,extractEvents:function(e,t,n,r){var o=S[e];if(!o)return null;var i;switch(e){case"topAbort":case"topCanPlay":case"topCanPlayThrough":case"topDurationChange":case"topEmptied":case"topEncrypted":case"topEnded":case"topError":case"topInput":case"topInvalid":case"topLoad":case"topLoadedData":case"topLoadedMetadata":case"topLoadStart":case"topPause":case"topPlay":case"topPlaying":case"topProgress":case"topRateChange":case"topReset":case"topSeeked":case"topSeeking":case"topStalled":case"topSubmit":case"topSuspend":case"topTimeUpdate":case"topVolumeChange":case"topWaiting":i=d;break;case"topKeyPress":if(0===M(n))return null;case"topKeyDown":case"topKeyUp":i=p;break;case"topBlur":case"topFocus":i=f;break;case"topClick":if(2===n.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":i=h;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":i=m;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":i=v;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":i=u;break;case"topTransitionEnd":i=b;break;case"topScroll":i=g;break;case"topWheel":i=y;break;case"topCopy":case"topCut":case"topPaste":i=c}i?void 0:a("86",e);var l=i.getPooled(o,t,n,r);return s.accumulateTwoPhaseDispatches(l),l},didPutListener:function(e,t,n){if("onClick"===t&&!o(e._tag)){var a=r(e),s=l.getNodeFromInstance(e);C[a]||(C[a]=i.listen(s,"click",_))}},willDeleteListener:function(e,t){if("onClick"===t&&!o(e._tag)){var n=r(e);C[n].remove(),delete C[n]}}};t.exports=x},{"./EventPropagators":993,"./ReactDOMComponentTree":1007,"./SyntheticAnimationEvent":1056,"./SyntheticClipboardEvent":1057,"./SyntheticDragEvent":1059,"./SyntheticEvent":1060,"./SyntheticFocusEvent":1061,"./SyntheticKeyboardEvent":1063,"./SyntheticMouseEvent":1064,"./SyntheticTouchEvent":1065,"./SyntheticTransitionEvent":1066,"./SyntheticUIEvent":1067,"./SyntheticWheelEvent":1068,"./getEventCharCode":1080,"./reactProdInvariant":1094,"fbjs/lib/EventListener":281,"fbjs/lib/emptyFunction":288,"fbjs/lib/invariant":296}],1056:[function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=e("./SyntheticEvent"),a={animationName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,a),t.exports=r},{"./SyntheticEvent":1060}],1057:[function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=e("./SyntheticEvent"),a={clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}};o.augmentClass(r,a),t.exports=r},{"./SyntheticEvent":1060}],1058:[function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=e("./SyntheticEvent"),a={data:null};o.augmentClass(r,a),t.exports=r},{"./SyntheticEvent":1060}],1059:[function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=e("./SyntheticMouseEvent"),a={dataTransfer:null};o.augmentClass(r,a),t.exports=r},{"./SyntheticMouseEvent":1064}],1060:[function(e,t,n){"use strict";function r(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n;var o=this.constructor.Interface;for(var a in o)if(o.hasOwnProperty(a)){var s=o[a];s?this[a]=s(n):"target"===a?this.target=r:this[a]=n[a]}var l=null!=n.defaultPrevented?n.defaultPrevented:n.returnValue===!1;return l?this.isDefaultPrevented=i.thatReturnsTrue:this.isDefaultPrevented=i.thatReturnsFalse,this.isPropagationStopped=i.thatReturnsFalse,this}var o=e("object-assign"),a=e("./PooledClass"),i=e("fbjs/lib/emptyFunction"),s=(e("fbjs/lib/warning"),"function"==typeof Proxy,["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"]),l={type:null,target:null,currentTarget:i.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};o(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=i.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=i.thatReturnsTrue)},persist:function(){this.isPersistent=i.thatReturnsTrue},isPersistent:i.thatReturnsFalse,destructor:function(){var e=this.constructor.Interface;for(var t in e)this[t]=null;for(var n=0;n<s.length;n++)this[s[n]]=null}}),r.Interface=l,r.augmentClass=function(e,t){var n=this,r=function(){};
|
44 | r.prototype=n.prototype;var i=new r;o(i,e.prototype),e.prototype=i,e.prototype.constructor=e,e.Interface=o({},n.Interface,t),e.augmentClass=n.augmentClass,a.addPoolingTo(e,a.fourArgumentPooler)},a.addPoolingTo(r,a.fourArgumentPooler),t.exports=r},{"./PooledClass":998,"fbjs/lib/emptyFunction":288,"fbjs/lib/warning":303,"object-assign":823}],1061:[function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=e("./SyntheticUIEvent"),a={relatedTarget:null};o.augmentClass(r,a),t.exports=r},{"./SyntheticUIEvent":1067}],1062:[function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=e("./SyntheticEvent"),a={data:null};o.augmentClass(r,a),t.exports=r},{"./SyntheticEvent":1060}],1063:[function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=e("./SyntheticUIEvent"),a=e("./getEventCharCode"),i=e("./getEventKey"),s=e("./getEventModifierState"),l={key:i,location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:s,charCode:function(e){return"keypress"===e.type?a(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?a(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}};o.augmentClass(r,l),t.exports=r},{"./SyntheticUIEvent":1067,"./getEventCharCode":1080,"./getEventKey":1081,"./getEventModifierState":1082}],1064:[function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=e("./SyntheticUIEvent"),a=e("./ViewportMetrics"),i=e("./getEventModifierState"),s={screenX:null,screenY:null,clientX:null,clientY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:i,button:function(e){var t=e.button;return"which"in e?t:2===t?2:4===t?1:0},buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},pageX:function(e){return"pageX"in e?e.pageX:e.clientX+a.currentScrollLeft},pageY:function(e){return"pageY"in e?e.pageY:e.clientY+a.currentScrollTop}};o.augmentClass(r,s),t.exports=r},{"./SyntheticUIEvent":1067,"./ViewportMetrics":1070,"./getEventModifierState":1082}],1065:[function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=e("./SyntheticUIEvent"),a=e("./getEventModifierState"),i={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:a};o.augmentClass(r,i),t.exports=r},{"./SyntheticUIEvent":1067,"./getEventModifierState":1082}],1066:[function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=e("./SyntheticEvent"),a={propertyName:null,elapsedTime:null,pseudoElement:null};o.augmentClass(r,a),t.exports=r},{"./SyntheticEvent":1060}],1067:[function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=e("./SyntheticEvent"),a=e("./getEventTarget"),i={view:function(e){if(e.view)return e.view;var t=a(e);if(t.window===t)return t;var n=t.ownerDocument;return n?n.defaultView||n.parentWindow:window},detail:function(e){return e.detail||0}};o.augmentClass(r,i),t.exports=r},{"./SyntheticEvent":1060,"./getEventTarget":1083}],1068:[function(e,t,n){"use strict";function r(e,t,n,r){return o.call(this,e,t,n,r)}var o=e("./SyntheticMouseEvent"),a={deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null};o.augmentClass(r,a),t.exports=r},{"./SyntheticMouseEvent":1064}],1069:[function(e,t,n){"use strict";var r=e("./reactProdInvariant"),o=(e("fbjs/lib/invariant"),{}),a={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,t,n,o,a,i,s,l){this.isInTransaction()?r("27"):void 0;var u,c;try{this._isInTransaction=!0,u=!0,this.initializeAll(0),c=e.call(t,n,o,a,i,s,l),u=!1}finally{try{if(u)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return c},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var r=t[n];try{this.wrapperInitData[n]=o,this.wrapperInitData[n]=r.initialize?r.initialize.call(this):null}finally{if(this.wrapperInitData[n]===o)try{this.initializeAll(n+1)}catch(e){}}}},closeAll:function(e){this.isInTransaction()?void 0:r("28");for(var t=this.transactionWrappers,n=e;n<t.length;n++){var a,i=t[n],s=this.wrapperInitData[n];try{a=!0,s!==o&&i.close&&i.close.call(this,s),a=!1}finally{if(a)try{this.closeAll(n+1)}catch(e){}}}this.wrapperInitData.length=0}};t.exports=a},{"./reactProdInvariant":1094,"fbjs/lib/invariant":296}],1070:[function(e,t,n){"use strict";var r={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(e){r.currentScrollLeft=e.x,r.currentScrollTop=e.y}};t.exports=r},{}],1071:[function(e,t,n){"use strict";function r(e,t){return null==t?o("30"):void 0,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]}var o=e("./reactProdInvariant");e("fbjs/lib/invariant");t.exports=r},{"./reactProdInvariant":1094,"fbjs/lib/invariant":296}],1072:[function(e,t,n){"use strict";function r(e){for(var t=1,n=0,r=0,a=e.length,i=a&-4;r<i;){for(var s=Math.min(r+4096,i);r<s;r+=4)n+=(t+=e.charCodeAt(r))+(t+=e.charCodeAt(r+1))+(t+=e.charCodeAt(r+2))+(t+=e.charCodeAt(r+3));t%=o,n%=o}for(;r<a;r++)n+=t+=e.charCodeAt(r);return t%=o,n%=o,t|n<<16}var o=65521;t.exports=r},{}],1073:[function(e,t,n){(function(n){"use strict";function r(e,t,n,r,l,u){for(var c in e)if(e.hasOwnProperty(c)){var d;try{"function"!=typeof e[c]?o("84",r||"React class",a[n],c):void 0,d=e[c](t,c,r,n,null,i)}catch(e){d=e}if(d instanceof Error&&!(d.message in s)){s[d.message]=!0}}}var o=e("./reactProdInvariant"),a=e("./ReactPropTypeLocationNames"),i=e("./ReactPropTypesSecret");e("fbjs/lib/invariant"),e("fbjs/lib/warning");"undefined"!=typeof n&&n.env,1;var s={};t.exports=r}).call(this,e("_process"))},{"./ReactPropTypeLocationNames":1043,"./ReactPropTypesSecret":1044,"./reactProdInvariant":1094,_process:828,"fbjs/lib/invariant":296,"fbjs/lib/warning":303,"react/lib/ReactComponentTreeHook":1249}],1074:[function(e,t,n){"use strict";var r=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e};t.exports=r},{}],1075:[function(e,t,n){"use strict";function r(e,t,n){var r=null==t||"boolean"==typeof t||""===t;if(r)return"";var o=isNaN(t);if(o||0===t||a.hasOwnProperty(e)&&a[e])return""+t;if("string"==typeof t){t=t.trim()}return t+"px"}var o=e("./CSSProperty"),a=(e("fbjs/lib/warning"),o.isUnitlessNumber);t.exports=r},{"./CSSProperty":978,"fbjs/lib/warning":303}],1076:[function(e,t,n){"use strict";function r(e){var t=""+e,n=a.exec(t);if(!n)return t;var r,o="",i=0,s=0;for(i=n.index;i<t.length;i++){switch(t.charCodeAt(i)){case 34:r=""";break;case 38:r="&";break;case 39:r="'";break;case 60:r="<";break;case 62:r=">";break;default:continue}s!==i&&(o+=t.substring(s,i)),s=i+1,o+=r}return s!==i?o+t.substring(s,i):o}function o(e){return"boolean"==typeof e||"number"==typeof e?""+e:r(e)}var a=/["'&<>]/;t.exports=o},{}],1077:[function(e,t,n){"use strict";function r(e){if(null==e)return null;if(1===e.nodeType)return e;var t=i.get(e);return t?(t=s(t),t?a.getNodeFromInstance(t):null):void("function"==typeof e.render?o("44"):o("45",Object.keys(e)))}var o=e("./reactProdInvariant"),a=(e("react/lib/ReactCurrentOwner"),e("./ReactDOMComponentTree")),i=e("./ReactInstanceMap"),s=e("./getHostComponentFromComposite");e("fbjs/lib/invariant"),e("fbjs/lib/warning");t.exports=r},{"./ReactDOMComponentTree":1007,"./ReactInstanceMap":1035,"./getHostComponentFromComposite":1084,"./reactProdInvariant":1094,"fbjs/lib/invariant":296,"fbjs/lib/warning":303,"react/lib/ReactCurrentOwner":1251}],1078:[function(e,t,n){(function(n){"use strict";function r(e,t,n,r){if(e&&"object"==typeof e){var o=e,a=void 0===o[n];a&&null!=t&&(o[n]=t)}}function o(e,t){if(null==e)return e;var n={};return a(e,r,n),n}var a=(e("./KeyEscapeUtils"),e("./traverseAllChildren"));e("fbjs/lib/warning");"undefined"!=typeof n&&n.env,1,t.exports=o}).call(this,e("_process"))},{"./KeyEscapeUtils":996,"./traverseAllChildren":1099,_process:828,"fbjs/lib/warning":303,"react/lib/ReactComponentTreeHook":1249}],1079:[function(e,t,n){"use strict";function r(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}t.exports=r},{}],1080:[function(e,t,n){"use strict";function r(e){var t,n=e.keyCode;return"charCode"in e?(t=e.charCode,0===t&&13===n&&(t=13)):t=n,t>=32||13===t?t:0}t.exports=r},{}],1081:[function(e,t,n){"use strict";function r(e){if(e.key){var t=a[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=o(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?i[e.keyCode]||"Unidentified":""}var o=e("./getEventCharCode"),a={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},i={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};t.exports=r},{"./getEventCharCode":1080}],1082:[function(e,t,n){"use strict";function r(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var r=a[e];return!!r&&!!n[r]}function o(e){return r}var a={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};t.exports=o},{}],1083:[function(e,t,n){"use strict";function r(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}t.exports=r},{}],1084:[function(e,t,n){"use strict";function r(e){for(var t;(t=e._renderedNodeType)===o.COMPOSITE;)e=e._renderedComponent;return t===o.HOST?e._renderedComponent:t===o.EMPTY?null:void 0}var o=e("./ReactNodeTypes");t.exports=r},{"./ReactNodeTypes":1041}],1085:[function(e,t,n){"use strict";function r(e){var t=e&&(o&&e[o]||e[a]);if("function"==typeof t)return t}var o="function"==typeof Symbol&&Symbol.iterator,a="@@iterator";t.exports=r},{}],1086:[function(e,t,n){"use strict";function r(){return o++}var o=1;t.exports=r},{}],1087:[function(e,t,n){"use strict";function r(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function o(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function a(e,t){for(var n=r(e),a=0,i=0;n;){if(3===n.nodeType){if(i=a+n.textContent.length,a<=t&&i>=t)return{node:n,offset:t-a};a=i}n=r(o(n))}}t.exports=a},{}],1088:[function(e,t,n){"use strict";function r(){return!a&&o.canUseDOM&&(a="textContent"in document.documentElement?"textContent":"innerText"),a}var o=e("fbjs/lib/ExecutionEnvironment"),a=null;t.exports=r},{"fbjs/lib/ExecutionEnvironment":282}],1089:[function(e,t,n){"use strict";function r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function o(e){if(s[e])return s[e];if(!i[e])return e;var t=i[e];for(var n in t)if(t.hasOwnProperty(n)&&n in l)return s[e]=t[n];return""}var a=e("fbjs/lib/ExecutionEnvironment"),i={animationend:r("Animation","AnimationEnd"),animationiteration:r("Animation","AnimationIteration"),animationstart:r("Animation","AnimationStart"),transitionend:r("Transition","TransitionEnd")},s={},l={};a.canUseDOM&&(l=document.createElement("div").style,"AnimationEvent"in window||(delete i.animationend.animation,delete i.animationiteration.animation,delete i.animationstart.animation),"TransitionEvent"in window||delete i.transitionend.transition),t.exports=o},{"fbjs/lib/ExecutionEnvironment":282}],1090:[function(e,t,n){"use strict";function r(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}function o(e){return"function"==typeof e&&"undefined"!=typeof e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent}function a(e,t){var n;if(null===e||e===!1)n=u.create(a);else if("object"==typeof e){var s=e,l=s.type;if("function"!=typeof l&&"string"!=typeof l){var f="";f+=r(s._owner),i("130",null==l?l:typeof l,f)}"string"==typeof s.type?n=c.createInternalComponent(s):o(s.type)?(n=new s.type(s),n.getHostNode||(n.getHostNode=n.getNativeNode)):n=new d(s)}else"string"==typeof e||"number"==typeof e?n=c.createInstanceForText(e):i("131",typeof e);return n._mountIndex=0,n._mountImage=null,n}var i=e("./reactProdInvariant"),s=e("object-assign"),l=e("./ReactCompositeComponent"),u=e("./ReactEmptyComponent"),c=e("./ReactHostComponent"),d=(e("./getNextDebugID"),e("fbjs/lib/invariant"),e("fbjs/lib/warning"),function(e){this.construct(e)});s(d.prototype,l,{_instantiateReactComponent:a}),t.exports=a},{"./ReactCompositeComponent":1003,"./ReactEmptyComponent":1026,"./ReactHostComponent":1031,"./getNextDebugID":1086,"./reactProdInvariant":1094,"fbjs/lib/invariant":296,"fbjs/lib/warning":303,"object-assign":823}],1091:[function(e,t,n){"use strict";function r(e,t){if(!a.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r="function"==typeof i[n]}return!r&&o&&"wheel"===e&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var o,a=e("fbjs/lib/ExecutionEnvironment");a.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),t.exports=r},{"fbjs/lib/ExecutionEnvironment":282}],1092:[function(e,t,n){"use strict";function r(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!o[e.type]:"textarea"===t}var o={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};t.exports=r},{}],1093:[function(e,t,n){"use strict";function r(e){return'"'+o(e)+'"'}var o=e("./escapeTextContentForBrowser");t.exports=r},{"./escapeTextContentForBrowser":1076}],1094:[function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="Minified React error #"+e+"; visit http://facebook.github.io/react/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);n+=" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";var o=new Error(n);throw o.name="Invariant Violation",o.framesToPop=1,o}t.exports=r},{}],1095:[function(e,t,n){"use strict";var r=e("./ReactMount");t.exports=r.renderSubtreeIntoContainer},{"./ReactMount":1039}],1096:[function(e,t,n){"use strict";var r,o=e("fbjs/lib/ExecutionEnvironment"),a=e("./DOMNamespaces"),i=/^[ \r\n\t\f]/,s=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,l=e("./createMicrosoftUnsafeLocalFunction"),u=l(function(e,t){if(e.namespaceURI!==a.svg||"innerHTML"in e)e.innerHTML=t;else{r=r||document.createElement("div"),r.innerHTML="<svg>"+t+"</svg>";for(var n=r.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(o.canUseDOM){var c=document.createElement("div");c.innerHTML=" ",""===c.innerHTML&&(u=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),i.test(t)||"<"===t[0]&&s.test(t)){e.innerHTML=String.fromCharCode(65279)+t;var n=e.firstChild;1===n.data.length?e.removeChild(n):n.deleteData(0,1)}else e.innerHTML=t}),c=null}t.exports=u},{"./DOMNamespaces":984,"./createMicrosoftUnsafeLocalFunction":1074,"fbjs/lib/ExecutionEnvironment":282}],1097:[function(e,t,n){"use strict";var r=e("fbjs/lib/ExecutionEnvironment"),o=e("./escapeTextContentForBrowser"),a=e("./setInnerHTML"),i=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t};r.canUseDOM&&("textContent"in document.documentElement||(i=function(e,t){return 3===e.nodeType?void(e.nodeValue=t):void a(e,o(t))})),t.exports=i},{"./escapeTextContentForBrowser":1076,"./setInnerHTML":1096,"fbjs/lib/ExecutionEnvironment":282}],1098:[function(e,t,n){"use strict";function r(e,t){var n=null===e||e===!1,r=null===t||t===!1;if(n||r)return n===r;var o=typeof e,a=typeof t;return"string"===o||"number"===o?"string"===a||"number"===a:"object"===a&&e.type===t.type&&e.key===t.key}t.exports=r},{}],1099:[function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?u.escape(e.key):t.toString(36)}function o(e,t,n,a){var f=typeof e;if("undefined"!==f&&"boolean"!==f||(e=null),null===e||"string"===f||"number"===f||"object"===f&&e.$$typeof===s)return n(a,e,""===t?c+r(e,0):t),1;var p,h,m=0,v=""===t?c:t+d;if(Array.isArray(e))for(var b=0;b<e.length;b++)p=e[b],h=v+r(p,b),m+=o(p,h,n,a);else{var g=l(e);if(g){var y,_=g.call(e);if(g!==e.entries)for(var M=0;!(y=_.next()).done;)p=y.value,h=v+r(p,M++),m+=o(p,h,n,a);else for(;!(y=_.next()).done;){var w=y.value;w&&(p=w[1],h=v+u.escape(w[0])+d+r(p,0),m+=o(p,h,n,a))}}else if("object"===f){var S="",C=String(e);i("31","[object Object]"===C?"object with keys {"+Object.keys(e).join(", ")+"}":C,S)}}return m}function a(e,t,n){return null==e?0:o(e,"",t,n)}var i=e("./reactProdInvariant"),s=(e("react/lib/ReactCurrentOwner"),e("./ReactElementSymbol")),l=e("./getIteratorFn"),u=(e("fbjs/lib/invariant"),e("./KeyEscapeUtils")),c=(e("fbjs/lib/warning"),"."),d=":";t.exports=a},{"./KeyEscapeUtils":996,"./ReactElementSymbol":1025,"./getIteratorFn":1085,"./reactProdInvariant":1094,"fbjs/lib/invariant":296,"fbjs/lib/warning":303,"react/lib/ReactCurrentOwner":1251}],1100:[function(e,t,n){"use strict";var r=(e("object-assign"),e("fbjs/lib/emptyFunction")),o=(e("fbjs/lib/warning"),r);t.exports=o},{"fbjs/lib/emptyFunction":288,"fbjs/lib/warning":303,"object-assign":823}],1101:[function(e,t,n){!function(r,o){"object"==typeof n&&"object"==typeof t?t.exports=o(e("react")):"function"==typeof define&&define.amd?define(["react"],o):"object"==typeof n?n.Dropzone=o(e("react")):r.Dropzone=o(r.react)}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=n(1),d=r(c),f=n(2),p=r(f),h=n(3),m=r(h),v="undefined"==typeof document||!document||!document.createElement||"multiple"in document.createElement("input"),b=function(e){function t(e,n){a(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.onClick=r.onClick.bind(r),r.onDragStart=r.onDragStart.bind(r),r.onDragEnter=r.onDragEnter.bind(r),r.onDragLeave=r.onDragLeave.bind(r),r.onDragOver=r.onDragOver.bind(r),r.onDrop=r.onDrop.bind(r),r.onFileDialogCancel=r.onFileDialogCancel.bind(r),r.fileAccepted=r.fileAccepted.bind(r),r.isFileDialogActive=!1,r.state={isDragActive:!1},r}return s(t,e),u(t,[{key:"componentDidMount",value:function(){this.enterCounter=0,document.body.onfocus=this.onFileDialogCancel}},{key:"componentWillUnmount",value:function(){document.body.onfocus=null}},{key:"onDragStart",value:function(e){this.props.onDragStart&&this.props.onDragStart.call(this,e)}},{key:"onDragEnter",value:function(e){e.preventDefault(),++this.enterCounter;var t=this.allFilesAccepted((0,m.default)(e,this.props.multiple));this.setState({isDragActive:t,isDragReject:!t}),this.props.onDragEnter&&this.props.onDragEnter.call(this,e)}},{key:"onDragOver",value:function(e){e.preventDefault(),e.stopPropagation();try{e.dataTransfer.dropEffect="copy"}catch(e){}return!1}},{key:"onDragLeave",value:function(e){e.preventDefault(),--this.enterCounter>0||(this.setState({isDragActive:!1,isDragReject:!1}),this.props.onDragLeave&&this.props.onDragLeave.call(this,e))}},{key:"onDrop",value:function e(t){var n=this,r=this.props,e=r.onDrop,o=r.onDropAccepted,a=r.onDropRejected,i=r.multiple,s=r.disablePreview,l=(0,m.default)(t,i),u=[],c=[];t.preventDefault(),this.enterCounter=0,this.isFileDialogActive=!1,l.forEach(function(e){!s&&(0,p.default)(e,"image/*")&&(e.preview=window.URL.createObjectURL(e)),n.fileAccepted(e)&&n.fileMatchSize(e)?u.push(e):c.push(e)}),e&&e.call(this,u,c,t),c.length>0&&a&&a.call(this,c,t),u.length>0&&o&&o.call(this,u,t),this.setState({isDragActive:!1,isDragReject:!1})}},{key:"onClick",value:function e(t){t.stopPropagation();var n=this.props,e=n.onClick,r=n.disableClick;r||(this.open(),e&&e.call(this,t))}},{key:"onFileDialogCancel",value:function e(){var e=this.props.onFileDialogCancel,t=this.fileInputEl,n=this.isFileDialogActive;e&&n&&setTimeout(function(){var r=t.files;r.length||(n=!1,e())},300)}},{key:"fileAccepted",value:function(e){return(0,p.default)(e,this.props.accept)}},{key:"fileMatchSize",value:function(e){return e.size<=this.props.maxSize&&e.size>=this.props.minSize}},{key:"allFilesAccepted",value:function(e){return e.every(this.fileAccepted)}},{key:"open",value:function(){this.isFileDialogActive=!0,this.fileInputEl.value=null,this.fileInputEl.click()}},{key:"render",value:function(){var e=this,t=this.props,n=t.accept,r=t.activeClassName,a=t.inputProps,i=t.multiple,s=t.name,u=t.rejectClassName,c=o(t,["accept","activeClassName","inputProps","multiple","name","rejectClassName"]),f=c.activeStyle,p=c.className,h=c.rejectStyle,m=c.style,b=o(c,["activeStyle","className","rejectStyle","style"]),g=this.state,y=g.isDragActive,_=g.isDragReject;p=p||"",y&&r&&(p+=" "+r),_&&u&&(p+=" "+u),p||m||f||h||(m={width:200,height:200,borderWidth:2,borderColor:"#666",borderStyle:"dashed",borderRadius:5},f={borderStyle:"solid",backgroundColor:"#eee"},h={borderStyle:"solid",backgroundColor:"#ffdddd"});var M=void 0;M=f&&y?l({},m,f):h&&_?l({},m,h):l({},m);var w={accept:n,type:"file",style:{display:"none"},multiple:v&&i,ref:function(t){return e.fileInputEl=t},onChange:this.onDrop};s&&s.length&&(w.name=s);var S=["acceptedFiles","disablePreview","disableClick","onDropAccepted","onDropRejected","onFileDialogCancel","maxSize","minSize"],C=l({},b);return S.forEach(function(e){return delete C[e]}),d.default.createElement("div",l({className:p,style:M},C,{onClick:this.onClick,onDragStart:this.onDragStart,onDragEnter:this.onDragEnter,onDragOver:this.onDragOver,onDragLeave:this.onDragLeave,onDrop:this.onDrop}),this.props.children,d.default.createElement("input",l({},a,w)))}}]),t}(d.default.Component);b.defaultProps={disablePreview:!1,disableClick:!1,multiple:!0,maxSize:1/0,minSize:0},b.propTypes={onClick:d.default.PropTypes.func,onDrop:d.default.PropTypes.func,onDropAccepted:d.default.PropTypes.func,onDropRejected:d.default.PropTypes.func,onDragStart:d.default.PropTypes.func,onDragEnter:d.default.PropTypes.func,onDragLeave:d.default.PropTypes.func,children:d.default.PropTypes.node,style:d.default.PropTypes.object,activeStyle:d.default.PropTypes.object,rejectStyle:d.default.PropTypes.object,className:d.default.PropTypes.string,activeClassName:d.default.PropTypes.string,rejectClassName:d.default.PropTypes.string,disablePreview:d.default.PropTypes.bool,disableClick:d.default.PropTypes.bool,onFileDialogCancel:d.default.PropTypes.func,inputProps:d.default.PropTypes.object,multiple:d.default.PropTypes.bool,accept:d.default.PropTypes.string,name:d.default.PropTypes.string,maxSize:d.default.PropTypes.number,minSize:d.default.PropTypes.number},t.default=b,e.exports=t.default},function(t,n){t.exports=e},function(e,t){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";t.__esModule=!0,n(8),n(9),t.default=function(e,t){if(e&&t){var n=function(){var n=Array.isArray(t)?t:t.split(","),r=e.name||"",o=e.type||"",a=o.replace(/\/.*$/,"");return{v:n.some(function(e){var t=e.trim();return"."===t.charAt(0)?r.toLowerCase().endsWith(t.toLowerCase()):/\/\*$/.test(t)?a===t.replace(/\/.*$/,""):o===t})}}();if("object"==typeof n)return n.v}return!0},e.exports=t.default},function(e,t){var n=e.exports={version:"1.2.2"};"number"==typeof __e&&(__e=n)},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){var r=n(2),o=n(1),a=n(4),i=n(19),s="prototype",l=function(e,t){return function(){return e.apply(t,arguments)}},u=function(e,t,n){var c,d,f,p,h=e&u.G,m=e&u.P,v=h?r:e&u.S?r[t]||(r[t]={}):(r[t]||{})[s],b=h?o:o[t]||(o[t]={});h&&(n=t);for(c in n)d=!(e&u.F)&&v&&c in v,f=(d?v:n)[c],p=e&u.B&&d?l(f,r):m&&"function"==typeof f?l(Function.call,f):f,v&&!d&&i(v,c,f),b[c]!=f&&a(b,c,p),m&&((b[s]||(b[s]={}))[c]=f)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,e.exports=u},function(e,t,n){var r=n(5),o=n(18);e.exports=n(22)?function(e,t,n){return r.setDesc(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(20)("wks"),o=n(2).Symbol;e.exports=function(e){return r[e]||(r[e]=o&&o[e]||(o||n(6))("Symbol."+e))}},function(e,t,n){n(26),e.exports=n(1).Array.some},function(e,t,n){n(25),e.exports=n(1).String.endsWith},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(10);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n(7)("match")]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(16),o=n(11),a=n(7)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(2),o=n(4),a=n(6)("src"),i="toString",s=Function[i],l=(""+s).split(i);n(1).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,i){"function"==typeof n&&(o(n,a,e[t]?""+e[t]:l.join(String(t))),"name"in n||(n.name=t)),e===r?e[t]=n:(i||delete e[t],o(e,t,n))})(Function.prototype,i,function(){return"function"==typeof this&&this[a]||s.call(this)})},function(e,t,n){var r=n(2),o="__core-js_shared__",a=r[o]||(r[o]={});e.exports=function(e){return a[e]||(a[e]={})}},function(e,t,n){var r=n(17),o=n(13);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){e.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(23),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(3),o=n(24),a=n(21),i="endsWith",s=""[i];r(r.P+r.F*n(14)(i),"String",{endsWith:function(e){var t=a(this,e,i),n=arguments,r=n.length>1?n[1]:void 0,l=o(t.length),u=void 0===r?l:Math.min(o(r),l),c=String(e);return s?s.call(t,c,u):t.slice(u-c.length,u)===c}})},function(e,t,n){var r=n(5),o=n(3),a=n(1).Array||Array,i={},s=function(e,t){r.each.call(e.split(","),function(e){void 0==t&&e in a?i[e]=a[e]:e in[]&&(i[e]=n(12)(Function.call,[][e],t))})};s("pop,reverse,shift,keys,values,entries",1),s("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),s("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill"),o(o.S,"Array",i)}])},function(e,t){"use strict";function n(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=[];if(e.dataTransfer){var r=e.dataTransfer;r.files&&r.files.length?n=r.files:r.items&&r.items.length&&(n=r.items)}else e.target&&e.target.files&&(n=e.target.files);return n.length>0&&(n=t?n:[n[0]]),Array.prototype.slice.call(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default}])})},{react:1269}],1102:[function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=e("react"),a={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},i=o.createClass({displayName:"AutosizeInput",propTypes:{className:o.PropTypes.string,defaultValue:o.PropTypes.any,inputClassName:o.PropTypes.string,inputStyle:o.PropTypes.object,minWidth:o.PropTypes.oneOfType([o.PropTypes.number,o.PropTypes.string]),onChange:o.PropTypes.func,placeholder:o.PropTypes.string,placeholderIsMinWidth:o.PropTypes.bool,style:o.PropTypes.object,value:o.PropTypes.any},getDefaultProps:function(){return{minWidth:1}},getInitialState:function(){return{inputWidth:this.props.minWidth}},componentDidMount:function(){this.copyInputStyles(),this.updateInputWidth()},componentDidUpdate:function(){this.updateInputWidth()},copyInputStyles:function(){if(this.isMounted()&&window.getComputedStyle){var e=window.getComputedStyle(this.refs.input);if(e){var t=this.refs.sizer;if(t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,this.props.placeholder){var n=this.refs.placeholderSizer;n.style.fontSize=e.fontSize,n.style.fontFamily=e.fontFamily,n.style.fontWeight=e.fontWeight,n.style.fontStyle=e.fontStyle,n.style.letterSpacing=e.letterSpacing}}}},updateInputWidth:function(){if(this.isMounted()&&"undefined"!=typeof this.refs.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.refs.sizer.scrollWidth,this.refs.placeholderSizer.scrollWidth)+2:this.refs.sizer.scrollWidth+2,
|
45 | e<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}},getInput:function(){return this.refs.input},focus:function(){this.refs.input.focus()},blur:function(){this.refs.input.blur()},select:function(){this.refs.input.select()},render:function(){var e=this.props.defaultValue||this.props.value||"",t=this.props.style||{};t.display||(t.display="inline-block");var n=r({},this.props.inputStyle);n.width=this.state.inputWidth+"px",n.boxSizing="content-box";var i=r({},this.props);return i.className=this.props.inputClassName,i.style=n,delete i.inputClassName,delete i.inputStyle,delete i.minWidth,delete i.placeholderIsMinWidth,o.createElement("div",{className:this.props.className,style:t},o.createElement("input",r({},i,{ref:"input"})),o.createElement("div",{ref:"sizer",style:a},e),this.props.placeholder?o.createElement("div",{ref:"placeholderSizer",style:a},this.props.placeholder):null)}});t.exports=i},{react:1269}],1103:[function(e,t,n){(function(t,r){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e.default:e}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=Array.isArray(e)?e:[e];t.forEach(function(e){e&&e.locale&&(O.__addLocaleData(e),E.__addLocaleData(e))})}function i(e){for(var t=(e||"").split("-");t.length>0;){if(s(t.join("-")))return!0;t.pop()}return!1}function s(e){var t=e&&e.toLowerCase();return!(!O.__localeData__[t]||!E.__localeData__[t])}function l(e){return(""+e).replace(Ie,function(e){return De[e]})}function u(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.reduce(function(t,r){return e.hasOwnProperty(r)?t[r]=e[r]:n.hasOwnProperty(r)&&(t[r]=n[r]),t},{})}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.intl;j(t,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}function d(e,t){if(e===t)return!0;if("object"!==("undefined"==typeof e?"undefined":me.typeof(e))||null===e||"object"!==("undefined"==typeof t?"undefined":me.typeof(t))||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(t),a=0;a<n.length;a++)if(!o(n[a])||e[n[a]]!==t[n[a]])return!1;return!0}function f(e,t,n){var r=e.props,o=e.state,a=e.context,i=void 0===a?{}:a,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=i.intl,c=void 0===l?{}:l,f=s.intl,p=void 0===f?{}:f;return!d(t,r)||!d(n,o)||!(p===c||d(u(p,Le),u(c,Le)))}function p(e){return e.displayName||e.name||"Component"}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.intlPropName,r=void 0===n?"intl":n,o=t.withRef,a=void 0!==o&&o,i=function(t){function n(e,t){W(this,n);var r=oe(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t));return c(t),r}return Q(n,t),H(n,[{key:"getWrappedInstance",value:function(){return j(a,"[React Intl] To access the wrapped instance, the `{withRef: true}` option must be set when calling: `injectIntl()`"),this.refs.wrappedInstance}},{key:"render",value:function(){return R.createElement(e,me.extends({},this.props,G({},r,this.context.intl),{ref:a?"wrappedInstance":null}))}}]),n}(z.Component);return i.displayName="InjectIntl("+p(e)+")",i.contextTypes={intl:Ne},i.WrappedComponent=e,i}function m(e){return e}function v(e){return O.prototype._resolveLocale(e)}function b(e){return O.prototype._findPluralRuleFunction(e)}function g(e){var t=E.thresholds;t.second=e.second,t.minute=e.minute,t.hour=e.hour,t.day=e.day,t.month=e.month}function y(e,n,r){var o=e&&e[n]&&e[n][r];return o?o:void("production"!==t.env.NODE_ENV&&console.error("[React Intl] No "+n+" format named: "+r))}function _(e,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,s=o.format,l=new Date(r),c=s&&y(i,"date",s),d=u(o,Ve,c);try{return n.getDateTimeFormat(a,d).format(l)}catch(e){"production"!==t.env.NODE_ENV&&console.error("[React Intl] Error formatting date.\n"+e)}return String(l)}function M(e,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,s=o.format,l=new Date(r),c=s&&y(i,"time",s),d=u(o,Ve,c);d.hour||d.minute||d.second||(d=me.extends({},d,{hour:"numeric",minute:"numeric"}));try{return n.getDateTimeFormat(a,d).format(l)}catch(e){"production"!==t.env.NODE_ENV&&console.error("[React Intl] Error formatting time.\n"+e)}return String(l)}function w(e,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,s=o.format,l=new Date(r),c=new Date(o.now),d=s&&y(i,"relative",s),f=u(o,Fe,d),p=me.extends({},E.thresholds);g(We);try{return n.getRelativeFormat(a,f).format(l,{now:isFinite(c)?c:n.now()})}catch(e){"production"!==t.env.NODE_ENV&&console.error("[React Intl] Error formatting relative time.\n"+e)}finally{g(p)}return String(l)}function S(e,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,s=o.format,l=s&&y(i,"number",s),c=u(o,qe,l);try{return n.getNumberFormat(a,c).format(r)}catch(e){"production"!==t.env.NODE_ENV&&console.error("[React Intl] Error formatting number.\n"+e)}return String(r)}function C(e,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=u(o,Ue);try{return n.getPluralFormat(a,i).format(r)}catch(e){"production"!==t.env.NODE_ENV&&console.error("[React Intl] Error formatting plural.\n"+e)}return"other"}function x(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=e.locale,i=e.formats,s=e.messages,l=e.defaultLocale,u=e.defaultFormats,c=r.id,d=r.defaultMessage;j(c,"[React Intl] An `id` must be provided to format a message.");var f=s&&s[c],p=Object.keys(o).length>0;if(!p&&"production"===t.env.NODE_ENV)return f||d||c;var h=void 0;if(f)try{var m=n.getMessageFormat(f,a,i);h=m.format(o)}catch(e){"production"!==t.env.NODE_ENV&&console.error('[React Intl] Error formatting message: "'+c+'" for locale: "'+a+'"'+(d?", using default message as fallback.":"")+("\n"+e))}else"production"!==t.env.NODE_ENV&&(!d||a&&a.toLowerCase()!==l.toLowerCase())&&console.error('[React Intl] Missing message: "'+c+'" for locale: "'+a+'"'+(d?", using default message as fallback.":""));if(!h&&d)try{var v=n.getMessageFormat(d,l,u);h=v.format(o)}catch(e){"production"!==t.env.NODE_ENV&&console.error('[React Intl] Error formatting the default message for: "'+c+'"\n'+e)}return h||"production"!==t.env.NODE_ENV&&console.error('[React Intl] Cannot format message: "'+c+'", '+("using message "+(f||d?"source":"id")+" as fallback.")),h||f||d||c}function k(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=Object.keys(r).reduce(function(e,t){var n=r[t];return e[t]="string"==typeof n?l(n):n,e},{});return x(e,t,n,o)}function T(e){var t=Math.abs(e);return t<Ze?"second":t<et?"minute":t<tt?"hour":"day"}function A(e){switch(e){case"second":return Je;case"minute":return Ze;case"hour":return et;case"day":return tt;default:return nt}}function P(e,t){if(e===t)return!0;var n=new Date(e).getTime(),r=new Date(t).getTime();return isFinite(n)&&isFinite(r)&&n===r}Object.defineProperty(n,"__esModule",{value:!0});var N=o(e("../locale-data/index.js")),O=o(e("intl-messageformat")),E=o(e("intl-relativeformat")),z=e("react"),R=o(z),j=o(e("invariant")),L=o(e("intl-format-cache")),D={locale:"en",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=!n[1],o=Number(n[0])==e,a=o&&n[0].slice(-1),i=o&&n[0].slice(-2);return t?1==a&&11!=i?"one":2==a&&12!=i?"two":3==a&&13!=i?"few":"other":1==e&&r?"one":"other"},fields:{year:{displayName:"year",relative:{0:"this year",1:"next year","-1":"last year"},relativeTime:{future:{one:"in {0} year",other:"in {0} years"},past:{one:"{0} year ago",other:"{0} years ago"}}},month:{displayName:"month",relative:{0:"this month",1:"next month","-1":"last month"},relativeTime:{future:{one:"in {0} month",other:"in {0} months"},past:{one:"{0} month ago",other:"{0} months ago"}}},day:{displayName:"day",relative:{0:"today",1:"tomorrow","-1":"yesterday"},relativeTime:{future:{one:"in {0} day",other:"in {0} days"},past:{one:"{0} day ago",other:"{0} days ago"}}},hour:{displayName:"hour",relativeTime:{future:{one:"in {0} hour",other:"in {0} hours"},past:{one:"{0} hour ago",other:"{0} hours ago"}}},minute:{displayName:"minute",relativeTime:{future:{one:"in {0} minute",other:"in {0} minutes"},past:{one:"{0} minute ago",other:"{0} minutes ago"}}},second:{displayName:"second",relative:{0:"now"},relativeTime:{future:{one:"in {0} second",other:"in {0} seconds"},past:{one:"{0} second ago",other:"{0} seconds ago"}}}}},I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},B=function(){var e="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;return function(t,n,r,o){var a=t&&t.defaultProps,i=arguments.length-3;if(n||0===i||(n={}),n&&a)for(var s in a)void 0===n[s]&&(n[s]=a[s]);else n||(n=a||{});if(1===i)n.children=o;else if(i>1){for(var l=Array(i),u=0;u<i;u++)l[u]=arguments[u+3];n.children=l}return{$$typeof:e,type:t,key:void 0===r?null:""+r,ref:null,props:n,_owner:null}}}(),V=function(e){if("function"==typeof Symbol){if(Symbol.asyncIterator){var t=e[Symbol.asyncIterator];if(null!=t)return t.call(e)}if(Symbol.iterator)return e[Symbol.iterator]()}throw new TypeError("Object is not async iterable")},q=function(){function e(e){this.value=e}function t(t){function n(e,t){return new Promise(function(n,o){var s={key:e,arg:t,resolve:n,reject:o,next:null};i?i=i.next=s:(a=i=s,r(e,t))})}function r(n,a){try{var i=t[n](a),s=i.value;s instanceof e?Promise.resolve(s.value).then(function(e){r("next",e)},function(e){r("throw",e)}):o(i.done?"return":"normal",i.value)}catch(e){o("throw",e)}}function o(e,t){switch(e){case"return":a.resolve({value:t,done:!0});break;case"throw":a.reject(t);break;default:a.resolve({value:t,done:!1})}a=a.next,a?r(a.key,a.arg):i=null}var a,i;this._invoke=n,"function"!=typeof t.return&&(this.return=void 0)}return"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)},{wrap:function(e){return function(){return new t(e.apply(this,arguments))}},await:function(t){return new e(t)}}}(),F=function(e,t){function n(n,r){return o=!0,r=new Promise(function(t){t(e[n](r))}),{done:!1,value:t(r)}}var r={},o=!1;return"function"==typeof Symbol&&Symbol.iterator&&(r[Symbol.iterator]=function(){return this}),r.next=function(e){return o?(o=!1,e):n("next",e)},"function"==typeof e.throw&&(r.throw=function(e){if(o)throw o=!1,e;return n("throw",e)}),"function"==typeof e.return&&(r.return=function(e){return n("return",e)}),r},U=function(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(o,a){try{var i=t[o](a),s=i.value}catch(e){return void n(e)}return i.done?void e(s):Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)})}return r("next")})}},W=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},H=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),X=function(e,t){for(var n in t){var r=t[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n,r)}return e},K=function(e,t){for(var n=Object.getOwnPropertyNames(t),r=0;r<n.length;r++){var o=n[r],a=Object.getOwnPropertyDescriptor(t,o);a&&a.configurable&&void 0===e[o]&&Object.defineProperty(e,o,a)}return e},G=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},Y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;if(void 0!==i)return i.call(r)},Q=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)},J=function(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t},Z=function(e){return e&&e.__esModule?e:{default:e}},ee=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},te=function(e,t){if(e!==t)throw new TypeError("Cannot instantiate an arrow function")},ne=function(e){if(null==e)throw new TypeError("Cannot destructure undefined")},re=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},oe=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},ae="undefined"==typeof r?self:r,ie=function e(t,n,r,o){var a=Object.getOwnPropertyDescriptor(t,n);if(void 0===a){var i=Object.getPrototypeOf(t);null!==i&&e(i,n,r,o)}else if("value"in a&&a.writable)a.value=r;else{var s=a.set;void 0!==s&&s.call(o,r)}return r},se=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),le=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e)){for(var n,r=[],o=e[Symbol.iterator]();!(n=o.next()).done&&(r.push(n.value),!t||r.length!==t););return r}throw new TypeError("Invalid attempt to destructure non-iterable instance")},ue=function(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))},ce=function(e,t){return e.raw=t,e},de=function(e,t,n){if(e===n)throw new ReferenceError(t+" is not defined - temporal dead zone");return e},fe={},pe=function(e){return Array.isArray(e)?e:Array.from(e)},he=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 Array.from(e)},me=Object.freeze({jsx:B,asyncIterator:V,asyncGenerator:q,asyncGeneratorDelegate:F,asyncToGenerator:U,classCallCheck:W,createClass:H,defineEnumerableProperties:X,defaults:K,defineProperty:G,get:$,inherits:Q,interopRequireDefault:Z,interopRequireWildcard:ee,newArrowCheck:te,objectDestructuringEmpty:ne,objectWithoutProperties:re,possibleConstructorReturn:oe,selfGlobal:ae,set:ie,slicedToArray:se,slicedToArrayLoose:le,taggedTemplateLiteral:ue,taggedTemplateLiteralLoose:ce,temporalRef:de,temporalUndefined:fe,toArray:pe,toConsumableArray:he,typeof:I,extends:Y,instanceof:J}),ve=z.PropTypes.bool,be=z.PropTypes.number,ge=z.PropTypes.string,ye=z.PropTypes.func,_e=z.PropTypes.object,Me=z.PropTypes.oneOf,we=z.PropTypes.shape,Se=z.PropTypes.any,Ce=Me(["best fit","lookup"]),xe=Me(["narrow","short","long"]),ke=Me(["numeric","2-digit"]),Te=ye.isRequired,Ae={locale:ge,formats:_e,messages:_e,textComponent:Se,defaultLocale:ge,defaultFormats:_e},Pe={formatDate:Te,formatTime:Te,formatRelative:Te,formatNumber:Te,formatPlural:Te,formatMessage:Te,formatHTMLMessage:Te},Ne=we(me.extends({},Ae,Pe,{formatters:_e,now:Te})),Oe={id:ge.isRequired,description:ge,defaultMessage:ge},Ee={localeMatcher:Ce,formatMatcher:Me(["basic","best fit"]),timeZone:ge,hour12:ve,weekday:xe,era:xe,year:ke,month:Me(["numeric","2-digit","narrow","short","long"]),day:ke,hour:ke,minute:ke,second:ke,timeZoneName:Me(["short","long"])},ze={localeMatcher:Ce,style:Me(["decimal","currency","percent"]),currency:ge,currencyDisplay:Me(["symbol","code","name"]),useGrouping:ve,minimumIntegerDigits:be,minimumFractionDigits:be,maximumFractionDigits:be,minimumSignificantDigits:be,maximumSignificantDigits:be},Re={style:Me(["best fit","numeric"]),units:Me(["second","minute","hour","day","month","year"])},je={style:Me(["cardinal","ordinal"])},Le=Object.keys(Ae),De={"&":"&",">":">","<":"<",'"':""","'":"'"},Ie=/[&><"']/g,Be=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};W(this,e);var r="ordinal"===n.style,o=b(v(t));this.format=function(e){return o(e,r)}},Ve=Object.keys(Ee),qe=Object.keys(ze),Fe=Object.keys(Re),Ue=Object.keys(je),We={second:60,minute:60,hour:24,day:30,month:12},He=Object.freeze({formatDate:_,formatTime:M,formatRelative:w,formatNumber:S,formatPlural:C,formatMessage:x,formatHTMLMessage:k}),Xe=Object.keys(Ae),Ke=Object.keys(Pe),Ge={formats:{},messages:{},textComponent:"span",defaultLocale:"en",defaultFormats:{}},Ye=function(e){function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};W(this,n);var r=oe(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e,t));j("undefined"!=typeof Intl,"[React Intl] The `Intl` APIs must be available in the runtime, and do not appear to be built-in. An `Intl` polyfill should be loaded.\nSee: http://formatjs.io/guides/runtime-environments/");var o=t.intl,a=void 0;a=isFinite(e.initialNow)?Number(e.initialNow):o?o.now():Date.now();var i=o||{},s=i.formatters,l=void 0===s?{getDateTimeFormat:L(Intl.DateTimeFormat),getNumberFormat:L(Intl.NumberFormat),getMessageFormat:L(O),getRelativeFormat:L(E),getPluralFormat:L(Be)}:s;return r.state=me.extends({},l,{now:function(){return r._didDisplay?Date.now():a}}),r}return Q(n,e),H(n,[{key:"getConfig",value:function(){var e=this.context.intl,n=u(this.props,Xe,e);for(var r in Ge)void 0===n[r]&&(n[r]=Ge[r]);if(!i(n.locale)){var o=n,a=o.locale,s=o.defaultLocale,l=o.defaultFormats;"production"!==t.env.NODE_ENV&&console.error('[React Intl] Missing locale data for locale: "'+a+'". '+('Using default locale: "'+s+'" as fallback.')),n=me.extends({},n,{locale:s,formats:l,messages:Ge.messages})}return n}},{key:"getBoundFormatFns",value:function(e,t){return Ke.reduce(function(n,r){return n[r]=He[r].bind(null,e,t),n},{})}},{key:"getChildContext",value:function(){var e=this.getConfig(),t=this.getBoundFormatFns(e,this.state),n=this.state,r=n.now,o=re(n,["now"]);return{intl:me.extends({},e,t,{formatters:o,now:r})}}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return f.apply(void 0,[this].concat(t))}},{key:"componentDidMount",value:function(){this._didDisplay=!0}},{key:"render",value:function(){return z.Children.only(this.props.children)}}]),n}(z.Component);Ye.displayName="IntlProvider",Ye.contextTypes={intl:Ne},Ye.childContextTypes={intl:Ne.isRequired},"production"!==t.env.NODE_ENV?Ye.propTypes=me.extends({},Ae,{children:z.PropTypes.element.isRequired,initialNow:z.PropTypes.any}):void 0;var $e=function(e){function t(e,n){W(this,t);var r=oe(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return c(n),r}return Q(t,e),H(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return f.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatDate,n=e.textComponent,r=this.props,o=r.value,a=r.children,i=t(o,this.props);return"function"==typeof a?a(i):R.createElement(n,null,i)}}]),t}(z.Component);$e.displayName="FormattedDate",$e.contextTypes={intl:Ne},"production"!==t.env.NODE_ENV?$e.propTypes=me.extends({},Ee,{value:z.PropTypes.any.isRequired,format:z.PropTypes.string,children:z.PropTypes.func}):void 0;var Qe=function(e){function t(e,n){W(this,t);var r=oe(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return c(n),r}return Q(t,e),H(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return f.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatTime,n=e.textComponent,r=this.props,o=r.value,a=r.children,i=t(o,this.props);return"function"==typeof a?a(i):R.createElement(n,null,i)}}]),t}(z.Component);Qe.displayName="FormattedTime",Qe.contextTypes={intl:Ne},"production"!==t.env.NODE_ENV?Qe.propTypes=me.extends({},Ee,{value:z.PropTypes.any.isRequired,format:z.PropTypes.string,children:z.PropTypes.func}):void 0;var Je=1e3,Ze=6e4,et=36e5,tt=864e5,nt=2147483647,rt=function(e){function t(e,n){W(this,t);var r=oe(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));c(n);var o=isFinite(e.initialNow)?Number(e.initialNow):n.intl.now();return r.state={now:o},r}return Q(t,e),H(t,[{key:"scheduleNextUpdate",value:function(e,t){var n=this,r=e.updateInterval;if(r){var o=new Date(e.value).getTime(),a=o-t.now,i=e.units||T(a),s=A(i),l=Math.abs(a%s),u=a<0?Math.max(r,s-l):Math.max(r,l);clearTimeout(this._timer),this._timer=setTimeout(function(){n.setState({now:n.context.intl.now()})},u)}}},{key:"componentDidMount",value:function(){this.scheduleNextUpdate(this.props,this.state)}},{key:"componentWillReceiveProps",value:function(e){var t=e.value;P(t,this.props.value)||this.setState({now:this.context.intl.now()})}},{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return f.apply(void 0,[this].concat(t))}},{key:"componentWillUpdate",value:function(e,t){this.scheduleNextUpdate(e,t)}},{key:"componentWillUnmount",value:function(){clearTimeout(this._timer)}},{key:"render",value:function(){var e=this.context.intl,t=e.formatRelative,n=e.textComponent,r=this.props,o=r.value,a=r.children,i=t(o,me.extends({},this.props,this.state));return"function"==typeof a?a(i):R.createElement(n,null,i)}}]),t}(z.Component);rt.displayName="FormattedRelative",rt.contextTypes={intl:Ne},rt.defaultProps={updateInterval:1e4},"production"!==t.env.NODE_ENV?rt.propTypes=me.extends({},Re,{value:z.PropTypes.any.isRequired,format:z.PropTypes.string,updateInterval:z.PropTypes.number,initialNow:z.PropTypes.any,children:z.PropTypes.func}):void 0;var ot=function(e){function t(e,n){W(this,t);var r=oe(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return c(n),r}return Q(t,e),H(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return f.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatNumber,n=e.textComponent,r=this.props,o=r.value,a=r.children,i=t(o,this.props);return"function"==typeof a?a(i):R.createElement(n,null,i)}}]),t}(z.Component);ot.displayName="FormattedNumber",ot.contextTypes={intl:Ne},"production"!==t.env.NODE_ENV?ot.propTypes=me.extends({},ze,{value:z.PropTypes.any.isRequired,format:z.PropTypes.string,children:z.PropTypes.func}):void 0;var at=function(e){function t(e,n){W(this,t);var r=oe(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return c(n),r}return Q(t,e),H(t,[{key:"shouldComponentUpdate",value:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return f.apply(void 0,[this].concat(t))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatPlural,n=e.textComponent,r=this.props,o=r.value,a=r.other,i=r.children,s=t(o,this.props),l=this.props[s]||a;return"function"==typeof i?i(l):R.createElement(n,null,l)}}]),t}(z.Component);at.displayName="FormattedPlural",at.contextTypes={intl:Ne},at.defaultProps={style:"cardinal"},"production"!==t.env.NODE_ENV?at.propTypes=me.extends({},je,{value:z.PropTypes.any.isRequired,other:z.PropTypes.node.isRequired,zero:z.PropTypes.node,one:z.PropTypes.node,two:z.PropTypes.node,few:z.PropTypes.node,many:z.PropTypes.node,children:z.PropTypes.func}):void 0;var it=function(e){function t(e,n){W(this,t);var r=oe(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return c(n),r}return Q(t,e),H(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values,n=e.values;if(!d(n,t))return!0;for(var r=me.extends({},e,{values:t}),o=arguments.length,a=Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];return f.apply(void 0,[this,r].concat(a))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatMessage,n=e.textComponent,r=this.props,o=r.id,a=r.description,i=r.defaultMessage,s=r.values,l=r.tagName,u=void 0===l?n:l,c=r.children,d=void 0,f=void 0,p=void 0,h=s&&Object.keys(s).length>0;h&&!function(){var e=Math.floor(1099511627776*Math.random()).toString(16),t=function(){var t=0;return function(){return"ELEMENT-"+e+"-"+(t+=1)}}();d="@__"+e+"__@",f={},p={},Object.keys(s).forEach(function(e){var n=s[e];if(z.isValidElement(n)){var r=t();f[e]=d+r+d,p[r]=n}else f[e]=n})}();var m={id:o,description:a,defaultMessage:i},v=t(m,f||s),b=void 0,g=p&&Object.keys(p).length>0;return b=g?v.split(d).filter(function(e){return!!e}).map(function(e){return p[e]||e}):[v],"function"==typeof c?c.apply(void 0,he(b)):z.createElement.apply(void 0,[u,null].concat(he(b)))}}]),t}(z.Component);it.displayName="FormattedMessage",it.contextTypes={intl:Ne},it.defaultProps={values:{}},"production"!==t.env.NODE_ENV?it.propTypes=me.extends({},Oe,{values:z.PropTypes.object,tagName:z.PropTypes.string,children:z.PropTypes.func}):void 0;var st=function(e){function t(e,n){W(this,t);var r=oe(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return c(n),r}return Q(t,e),H(t,[{key:"shouldComponentUpdate",value:function(e){var t=this.props.values,n=e.values;if(!d(n,t))return!0;for(var r=me.extends({},e,{values:t}),o=arguments.length,a=Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];return f.apply(void 0,[this,r].concat(a))}},{key:"render",value:function(){var e=this.context.intl,t=e.formatHTMLMessage,n=e.textComponent,r=this.props,o=r.id,a=r.description,i=r.defaultMessage,s=r.values,l=r.tagName,u=void 0===l?n:l,c=r.children,d={id:o,description:a,defaultMessage:i},f=t(d,s);if("function"==typeof c)return c(f);var p={__html:f};return R.createElement(u,{dangerouslySetInnerHTML:p})}}]),t}(z.Component);st.displayName="FormattedHTMLMessage",st.contextTypes={intl:Ne},st.defaultProps={values:{}},"production"!==t.env.NODE_ENV?st.propTypes=me.extends({},Oe,{values:z.PropTypes.object,tagName:z.PropTypes.string,children:z.PropTypes.func}):void 0,a(D),a(N),n.addLocaleData=a,n.intlShape=Ne,n.injectIntl=h,n.defineMessages=m,n.IntlProvider=Ye,n.FormattedDate=$e,n.FormattedTime=Qe,n.FormattedRelative=rt,n.FormattedNumber=ot,n.FormattedPlural=at,n.FormattedMessage=it,n.FormattedHTMLMessage=st}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../locale-data/index.js":151,_process:828,"intl-format-cache":343,"intl-messageformat":348,"intl-relativeformat":355,invariant:361,react:1269}],1104:[function(e,t,n){!function(e,r){"object"==typeof n&&"undefined"!=typeof t?t.exports=r():"function"==typeof define&&define.amd?define(r):(e.ReactIntlLocaleData=e.ReactIntlLocaleData||{},e.ReactIntlLocaleData.es=r())}(this,function(){"use strict";var e=[{locale:"es",pluralRuleFunction:function(e,t){return t?"other":1==e?"one":"other"},fields:{year:{displayName:"año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-419",parentLocale:"es"},{locale:"es-AR",parentLocale:"es-419"},{locale:"es-BO",parentLocale:"es-419"},{locale:"es-CL",parentLocale:"es-419"},{locale:"es-CO",parentLocale:"es-419"},{locale:"es-CR",parentLocale:"es-419",fields:{year:{displayName:"año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"antier","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-CU",parentLocale:"es-419"},{locale:"es-DO",parentLocale:"es-419",fields:{year:{displayName:"Año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"Mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"Día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"anteayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"Minuto",relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"Segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-EA",parentLocale:"es"},{locale:"es-EC",parentLocale:"es-419"},{locale:"es-GQ",parentLocale:"es"},{locale:"es-GT",parentLocale:"es-419",fields:{year:{displayName:"año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"
|
46 | }}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"antier","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-HN",parentLocale:"es-419",fields:{year:{displayName:"año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"antier","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-IC",parentLocale:"es"},{locale:"es-MX",parentLocale:"es-419",fields:{year:{displayName:"año",relative:{0:"este año",1:"el año próximo","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el mes próximo","-1":"el mes pasado"},relativeTime:{future:{one:"en {0} mes",other:"en {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"antier","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-NI",parentLocale:"es-419",fields:{year:{displayName:"año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"antier","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-PA",parentLocale:"es-419",fields:{year:{displayName:"año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"antier","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-PE",parentLocale:"es-419"},{locale:"es-PH",parentLocale:"es"},{locale:"es-PR",parentLocale:"es-419"},{locale:"es-PY",parentLocale:"es-419",fields:{year:{displayName:"año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"antes de ayer","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-SV",parentLocale:"es-419",fields:{year:{displayName:"año",relative:{0:"este año",1:"el próximo año","-1":"el año pasado"},relativeTime:{future:{one:"dentro de {0} año",other:"dentro de {0} años"},past:{one:"hace {0} año",other:"hace {0} años"}}},month:{displayName:"mes",relative:{0:"este mes",1:"el próximo mes","-1":"el mes pasado"},relativeTime:{future:{one:"dentro de {0} mes",other:"dentro de {0} meses"},past:{one:"hace {0} mes",other:"hace {0} meses"}}},day:{displayName:"día",relative:{0:"hoy",1:"mañana",2:"pasado mañana","-2":"antier","-1":"ayer"},relativeTime:{future:{one:"dentro de {0} día",other:"dentro de {0} días"},past:{one:"hace {0} día",other:"hace {0} días"}}},hour:{displayName:"hora",relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"hace {0} hora",other:"hace {0} horas"}}},minute:{displayName:"minuto",relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"hace {0} minuto",other:"hace {0} minutos"}}},second:{displayName:"segundo",relative:{0:"ahora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"hace {0} segundo",other:"hace {0} segundos"}}}}},{locale:"es-US",parentLocale:"es-419"},{locale:"es-UY",parentLocale:"es-419"},{locale:"es-VE",parentLocale:"es-419"}];return e})},{}],1105:[function(e,t,n){!function(e,r){"object"==typeof n&&"undefined"!=typeof t?t.exports=r():"function"==typeof define&&define.amd?define(r):(e.ReactIntlLocaleData=e.ReactIntlLocaleData||{},e.ReactIntlLocaleData.fr=r())}(this,function(){"use strict";var e=[{locale:"fr",pluralRuleFunction:function(e,t){return t?1==e?"one":"other":e>=0&&e<2?"one":"other"},fields:{year:{displayName:"année",relative:{0:"cette année",1:"l’année prochaine","-1":"l’année dernière"},relativeTime:{future:{one:"dans {0} an",other:"dans {0} ans"},past:{one:"il y a {0} an",other:"il y a {0} ans"}}},month:{displayName:"mois",relative:{0:"ce mois-ci",1:"le mois prochain","-1":"le mois dernier"},relativeTime:{future:{one:"dans {0} mois",other:"dans {0} mois"},past:{one:"il y a {0} mois",other:"il y a {0} mois"}}},day:{displayName:"jour",relative:{0:"aujourd’hui",1:"demain",2:"après-demain","-2":"avant-hier","-1":"hier"},relativeTime:{future:{one:"dans {0} jour",other:"dans {0} jours"},past:{one:"il y a {0} jour",other:"il y a {0} jours"}}},hour:{displayName:"heure",relativeTime:{future:{one:"dans {0} heure",other:"dans {0} heures"},past:{one:"il y a {0} heure",other:"il y a {0} heures"}}},minute:{displayName:"minute",relativeTime:{future:{one:"dans {0} minute",other:"dans {0} minutes"},past:{one:"il y a {0} minute",other:"il y a {0} minutes"}}},second:{displayName:"seconde",relative:{0:"maintenant"},relativeTime:{future:{one:"dans {0} seconde",other:"dans {0} secondes"},past:{one:"il y a {0} seconde",other:"il y a {0} secondes"}}}}},{locale:"fr-BE",parentLocale:"fr"},{locale:"fr-BF",parentLocale:"fr"},{locale:"fr-BI",parentLocale:"fr"},{locale:"fr-BJ",parentLocale:"fr"},{locale:"fr-BL",parentLocale:"fr"},{locale:"fr-CA",parentLocale:"fr",fields:{year:{displayName:"année",relative:{0:"cette année",1:"l’année prochaine","-1":"l’année dernière"},relativeTime:{future:{one:"Dans {0} an",other:"Dans {0} ans"},past:{one:"Il y a {0} an",other:"Il y a {0} ans"}}},month:{displayName:"mois",relative:{0:"ce mois-ci",1:"le mois prochain","-1":"le mois dernier"},relativeTime:{future:{one:"dans {0} mois",other:"dans {0} mois"},past:{one:"il y a {0} mois",other:"il y a {0} mois"}}},day:{displayName:"jour",relative:{0:"aujourd’hui",1:"demain",2:"après-demain","-2":"avant-hier","-1":"hier"},relativeTime:{future:{one:"dans {0} jour",other:"dans {0} jours"},past:{one:"il y a {0} jour",other:"il y a {0} jours"}}},hour:{displayName:"heure",relativeTime:{future:{one:"dans {0} heure",other:"dans {0} heures"},past:{one:"il y a {0} heure",other:"il y a {0} heures"}}},minute:{displayName:"minute",relativeTime:{future:{one:"Dans {0} minute",other:"Dans {0} minutes"},past:{one:"Il y a {0} minute",other:"Il y a {0} minutes"}}},second:{displayName:"seconde",relative:{0:"maintenant"},relativeTime:{future:{one:"dans {0} seconde",other:"dans {0} secondes"},past:{one:"il y a {0} seconde",other:"il y a {0} secondes"}}}}},{locale:"fr-CD",parentLocale:"fr"},{locale:"fr-CF",parentLocale:"fr"},{locale:"fr-CG",parentLocale:"fr"},{locale:"fr-CH",parentLocale:"fr"},{locale:"fr-CI",parentLocale:"fr"},{locale:"fr-CM",parentLocale:"fr"},{locale:"fr-DJ",parentLocale:"fr"},{locale:"fr-DZ",parentLocale:"fr"},{locale:"fr-GA",parentLocale:"fr"},{locale:"fr-GF",parentLocale:"fr"},{locale:"fr-GN",parentLocale:"fr"},{locale:"fr-GP",parentLocale:"fr"},{locale:"fr-GQ",parentLocale:"fr"},{locale:"fr-HT",parentLocale:"fr"},{locale:"fr-KM",parentLocale:"fr"},{locale:"fr-LU",parentLocale:"fr"},{locale:"fr-MA",parentLocale:"fr"},{locale:"fr-MC",parentLocale:"fr"},{locale:"fr-MF",parentLocale:"fr"},{locale:"fr-MG",parentLocale:"fr"},{locale:"fr-ML",parentLocale:"fr"},{locale:"fr-MQ",parentLocale:"fr"},{locale:"fr-MR",parentLocale:"fr"},{locale:"fr-MU",parentLocale:"fr"},{locale:"fr-NC",parentLocale:"fr"},{locale:"fr-NE",parentLocale:"fr"},{locale:"fr-PF",parentLocale:"fr"},{locale:"fr-PM",parentLocale:"fr"},{locale:"fr-RE",parentLocale:"fr"},{locale:"fr-RW",parentLocale:"fr"},{locale:"fr-SC",parentLocale:"fr"},{locale:"fr-SN",parentLocale:"fr"},{locale:"fr-SY",parentLocale:"fr"},{locale:"fr-TD",parentLocale:"fr"},{locale:"fr-TG",parentLocale:"fr"},{locale:"fr-TN",parentLocale:"fr"},{locale:"fr-VU",parentLocale:"fr"},{locale:"fr-WF",parentLocale:"fr"},{locale:"fr-YT",parentLocale:"fr"}];return e})},{}],1106:[function(e,t,n){!function(e,r){"object"==typeof n&&"undefined"!=typeof t?t.exports=r():"function"==typeof define&&define.amd?define(r):(e.ReactIntlLocaleData=e.ReactIntlLocaleData||{},e.ReactIntlLocaleData.he=r())}(this,function(){"use strict";var e=[{locale:"he",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=n[0],o=!n[1],a=Number(n[0])==e,i=a&&n[0].slice(-1);return t?"other":1==e&&o?"one":2==r&&o?"two":o&&(e<0||e>10)&&a&&0==i?"many":"other"},fields:{year:{displayName:"שנה",relative:{0:"השנה",1:"השנה הבאה","-1":"השנה שעברה"},relativeTime:{future:{one:"בעוד שנה",two:"בעוד שנתיים",many:"בעוד {0} שנה",other:"בעוד {0} שנים"},past:{one:"לפני שנה",two:"לפני שנתיים",many:"לפני {0} שנה",other:"לפני {0} שנים"}}},month:{displayName:"חודש",relative:{0:"החודש",1:"החודש הבא","-1":"החודש שעבר"},relativeTime:{future:{one:"בעוד חודש",two:"בעוד חודשיים",many:"בעוד {0} חודשים",other:"בעוד {0} חודשים"},past:{one:"לפני חודש",two:"לפני חודשיים",many:"לפני {0} חודשים",other:"לפני {0} חודשים"}}},day:{displayName:"יום",relative:{0:"היום",1:"מחר",2:"מחרתיים","-2":"שלשום","-1":"אתמול"},relativeTime:{future:{one:"בעוד יום {0}",two:"בעוד יומיים",many:"בעוד {0} ימים",other:"בעוד {0} ימים"},past:{one:"לפני יום {0}",two:"לפני יומיים",many:"לפני {0} ימים",other:"לפני {0} ימים"}}},hour:{displayName:"שעה",relativeTime:{future:{one:"בעוד שעה",two:"בעוד שעתיים",many:"בעוד {0} שעות",other:"בעוד {0} שעות"},past:{one:"לפני שעה",two:"לפני שעתיים",many:"לפני {0} שעות",other:"לפני {0} שעות"}}},minute:{displayName:"דקה",relativeTime:{future:{one:"בעוד דקה",two:"בעוד שתי דקות",many:"בעוד {0} דקות",other:"בעוד {0} דקות"},past:{one:"לפני דקה",two:"לפני שתי דקות",many:"לפני {0} דקות",other:"לפני {0} דקות"}}},second:{displayName:"שנייה",relative:{0:"עכשיו"},relativeTime:{future:{one:"בעוד שנייה",two:"בעוד שתי שניות",many:"בעוד {0} שניות",other:"בעוד {0} שניות"},past:{one:"לפני שנייה",two:"לפני שתי שניות",many:"לפני {0} שניות",other:"לפני {0} שניות"}}}}}];return e})},{}],1107:[function(e,t,n){!function(e,r){"object"==typeof n&&"undefined"!=typeof t?t.exports=r():"function"==typeof define&&define.amd?define(r):(e.ReactIntlLocaleData=e.ReactIntlLocaleData||{},e.ReactIntlLocaleData.hu=r())}(this,function(){"use strict";var e=[{locale:"hu",pluralRuleFunction:function(e,t){return t?1==e||5==e?"one":"other":1==e?"one":"other"},fields:{year:{displayName:"év",relative:{0:"ez az év",1:"következő év","-1":"előző év"},relativeTime:{future:{one:"{0} év múlva",other:"{0} év múlva"},past:{one:"{0} évvel ezelőtt",other:"{0} évvel ezelőtt"}}},month:{displayName:"hónap",relative:{0:"ez a hónap",1:"következő hónap","-1":"előző hónap"},relativeTime:{future:{one:"{0} hónap múlva",other:"{0} hónap múlva"},past:{one:"{0} hónappal ezelőtt",other:"{0} hónappal ezelőtt"}}},day:{displayName:"nap",relative:{0:"ma",1:"holnap",2:"holnapután","-2":"tegnapelőtt","-1":"tegnap"},relativeTime:{future:{one:"{0} nap múlva",other:"{0} nap múlva"},past:{one:"{0} nappal ezelőtt",other:"{0} nappal ezelőtt"}}},hour:{displayName:"óra",relativeTime:{future:{one:"{0} óra múlva",other:"{0} óra múlva"},past:{one:"{0} órával ezelőtt",other:"{0} órával ezelőtt"}}},minute:{displayName:"perc",relativeTime:{future:{one:"{0} perc múlva",other:"{0} perc múlva"},past:{one:"{0} perccel ezelőtt",other:"{0} perccel ezelőtt"}}},second:{displayName:"másodperc",relative:{0:"most"},relativeTime:{future:{one:"{0} másodperc múlva",other:"{0} másodperc múlva"},past:{one:"{0} másodperccel ezelőtt",other:"{0} másodperccel ezelőtt"}}}}}];return e})},{}],1108:[function(e,t,n){!function(e,r){"object"==typeof n&&"undefined"!=typeof t?t.exports=r():"function"==typeof define&&define.amd?define(r):(e.ReactIntlLocaleData=e.ReactIntlLocaleData||{},e.ReactIntlLocaleData.pl=r())}(this,function(){"use strict";var e=[{locale:"pl",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=n[0],o=!n[1],a=r.slice(-1),i=r.slice(-2);return t?"other":1==e&&o?"one":o&&a>=2&&a<=4&&(i<12||i>14)?"few":o&&1!=r&&(0==a||1==a)||o&&a>=5&&a<=9||o&&i>=12&&i<=14?"many":"other"},fields:{year:{displayName:"rok",relative:{0:"w tym roku",1:"w przyszłym roku","-1":"w zeszłym roku"},relativeTime:{future:{one:"za {0} rok",few:"za {0} lata",many:"za {0} lat",other:"za {0} roku"},past:{one:"{0} rok temu",few:"{0} lata temu",many:"{0} lat temu",other:"{0} roku temu"}}},month:{displayName:"miesiąc",relative:{0:"w tym miesiącu",1:"w przyszłym miesiącu","-1":"w zeszłym miesiącu"},relativeTime:{future:{one:"za {0} miesiąc",few:"za {0} miesiące",many:"za {0} miesięcy",other:"za {0} miesiąca"},past:{one:"{0} miesiąc temu",few:"{0} miesiące temu",many:"{0} miesięcy temu",other:"{0} miesiąca temu"}}},day:{displayName:"dzień",relative:{0:"dzisiaj",1:"jutro",2:"pojutrze","-2":"przedwczoraj","-1":"wczoraj"},relativeTime:{future:{one:"za {0} dzień",few:"za {0} dni",many:"za {0} dni",other:"za {0} dnia"},past:{one:"{0} dzień temu",few:"{0} dni temu",many:"{0} dni temu",other:"{0} dnia temu"}}},hour:{displayName:"godzina",relativeTime:{future:{one:"za {0} godzinę",few:"za {0} godziny",many:"za {0} godzin",other:"za {0} godziny"},past:{one:"{0} godzinę temu",few:"{0} godziny temu",many:"{0} godzin temu",other:"{0} godziny temu"}}},minute:{displayName:"minuta",relativeTime:{future:{one:"za {0} minutę",few:"za {0} minuty",many:"za {0} minut",other:"za {0} minuty"},past:{one:"{0} minutę temu",few:"{0} minuty temu",many:"{0} minut temu",other:"{0} minuty temu"}}},second:{displayName:"sekunda",relative:{0:"teraz"},relativeTime:{future:{one:"za {0} sekundę",few:"za {0} sekundy",many:"za {0} sekund",other:"za {0} sekundy"},past:{one:"{0} sekundę temu",few:"{0} sekundy temu",many:"{0} sekund temu",other:"{0} sekundy temu"}}}}}];return e})},{}],1109:[function(e,t,n){!function(e,r){"object"==typeof n&&"undefined"!=typeof t?t.exports=r():"function"==typeof define&&define.amd?define(r):(e.ReactIntlLocaleData=e.ReactIntlLocaleData||{},e.ReactIntlLocaleData.pt=r())}(this,function(){"use strict";var e=[{locale:"pt",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=Number(n[0])==e;return t?"other":r&&e>=0&&e<=2&&2!=e?"one":"other"},fields:{year:{displayName:"ano",relative:{0:"este ano",1:"próximo ano","-1":"ano passado"},relativeTime:{future:{one:"em {0} ano",other:"em {0} anos"},past:{one:"há {0} ano",other:"há {0} anos"}}},month:{displayName:"mês",relative:{0:"este mês",1:"próximo mês","-1":"mês passado"},relativeTime:{future:{one:"em {0} mês",other:"em {0} meses"},past:{one:"há {0} mês",other:"há {0} meses"}}},day:{displayName:"dia",relative:{0:"hoje",1:"amanhã",2:"depois de amanhã","-2":"anteontem","-1":"ontem"},relativeTime:{future:{one:"em {0} dia",other:"em {0} dias"},past:{one:"há {0} dia",other:"há {0} dias"}}},hour:{displayName:"hora",relativeTime:{future:{one:"em {0} hora",other:"em {0} horas"},past:{one:"há {0} hora",other:"há {0} horas"}}},minute:{displayName:"minuto",relativeTime:{future:{one:"em {0} minuto",other:"em {0} minutos"},past:{one:"há {0} minuto",other:"há {0} minutos"}}},second:{displayName:"segundo",relative:{0:"agora"},relativeTime:{future:{one:"em {0} segundo",other:"em {0} segundos"},past:{one:"há {0} segundo",other:"há {0} segundos"}}}}},{locale:"pt-AO",parentLocale:"pt-PT"},{locale:"pt-PT",parentLocale:"pt",pluralRuleFunction:function(e,t){var n=String(e).split("."),r=!n[1];return t?"other":1==e&&r?"one":"other"},fields:{year:{displayName:"ano",relative:{0:"este ano",1:"próximo ano","-1":"ano passado"},relativeTime:{future:{one:"dentro de {0} ano",other:"dentro de {0} anos"},past:{one:"há {0} ano",other:"há {0} anos"}}},month:{displayName:"mês",relative:{0:"este mês",1:"próximo mês","-1":"mês passado"},relativeTime:{future:{one:"dentro de {0} mês",other:"dentro de {0} meses"},past:{one:"há {0} mês",other:"há {0} meses"}}},day:{displayName:"dia",relative:{0:"hoje",1:"amanhã",2:"depois de amanhã","-2":"anteontem","-1":"ontem"},relativeTime:{future:{one:"dentro de {0} dia",other:"dentro de {0} dias"},past:{one:"há {0} dia",other:"há {0} dias"}}},hour:{displayName:"hora",relativeTime:{future:{one:"dentro de {0} hora",other:"dentro de {0} horas"},past:{one:"há {0} hora",other:"há {0} horas"}}},minute:{displayName:"minuto",relativeTime:{future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"},past:{one:"há {0} minuto",other:"há {0} minutos"}}},second:{displayName:"segundo",relative:{0:"agora"},relativeTime:{future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"},past:{one:"há {0} segundo",other:"há {0} segundos"}}}}},{locale:"pt-CV",parentLocale:"pt-PT"},{locale:"pt-GW",parentLocale:"pt-PT"},{locale:"pt-MO",parentLocale:"pt-PT"},{locale:"pt-MZ",parentLocale:"pt-PT"},{locale:"pt-ST",parentLocale:"pt-PT"},{locale:"pt-TL",parentLocale:"pt-PT"}];return e})},{}],1110:[function(e,t,n){!function(e,r){"object"==typeof n&&"undefined"!=typeof t?t.exports=r():"function"==typeof define&&define.amd?define(r):(e.ReactIntlLocaleData=e.ReactIntlLocaleData||{},e.ReactIntlLocaleData.zh=r())}(this,function(){"use strict";var e=[{locale:"zh",pluralRuleFunction:function(e,t){return"other"},fields:{year:{displayName:"年",relative:{0:"今年",1:"明年","-1":"去年"},relativeTime:{future:{other:"{0}年后"},past:{other:"{0}年前"}}},month:{displayName:"月",relative:{0:"本月",1:"下个月","-1":"上个月"},relativeTime:{future:{other:"{0}个月后"},past:{other:"{0}个月前"}}},day:{displayName:"日",relative:{0:"今天",1:"明天",2:"后天","-2":"前天","-1":"昨天"},relativeTime:{future:{other:"{0}天后"},past:{other:"{0}天前"}}},hour:{displayName:"小时",relativeTime:{future:{other:"{0}小时后"},past:{other:"{0}小时前"}}},minute:{displayName:"分钟",relativeTime:{future:{other:"{0}分钟后"},past:{other:"{0}分钟前"}}},second:{displayName:"秒钟",relative:{0:"现在"},relativeTime:{future:{other:"{0}秒钟后"},past:{other:"{0}秒钟前"}}}}},{locale:"zh-Hans",parentLocale:"zh"},{locale:"zh-Hans-HK",parentLocale:"zh-Hans",fields:{year:{displayName:"年",relative:{0:"今年",1:"明年","-1":"去年"},relativeTime:{future:{other:"{0}年后"},past:{other:"{0}年前"}}},month:{displayName:"月",relative:{0:"本月",1:"下个月","-1":"上个月"},relativeTime:{future:{other:"{0}个月后"},past:{other:"{0}个月前"}}},day:{displayName:"日",relative:{0:"今天",1:"明天",2:"后天","-2":"前天","-1":"昨天"},relativeTime:{future:{other:"{0}天后"},past:{other:"{0}天前"}}},hour:{displayName:"小时",relativeTime:{future:{other:"{0}小时后"},past:{other:"{0}小时前"}}},minute:{displayName:"分钟",relativeTime:{future:{other:"{0}分钟后"},past:{other:"{0}分钟前"}}},second:{displayName:"秒钟",relative:{0:"现在"},relativeTime:{future:{other:"{0}秒后"},past:{other:"{0}秒前"}}}}},{locale:"zh-Hans-MO",parentLocale:"zh-Hans",fields:{year:{displayName:"年",relative:{0:"今年",1:"明年","-1":"去年"},relativeTime:{future:{other:"{0}年后"},past:{other:"{0}年前"}}},month:{displayName:"月",relative:{0:"本月",1:"下个月","-1":"上个月"},relativeTime:{future:{other:"{0}个月后"},past:{other:"{0}个月前"}}},day:{displayName:"日",relative:{0:"今天",1:"明天",2:"后天","-2":"前天","-1":"昨天"},relativeTime:{future:{other:"{0}天后"},past:{other:"{0}天前"}}},hour:{displayName:"小时",relativeTime:{future:{other:"{0}小时后"},past:{other:"{0}小时前"}}},minute:{displayName:"分钟",relativeTime:{future:{other:"{0}分钟后"},past:{other:"{0}分钟前"}}},second:{displayName:"秒钟",relative:{0:"现在"},relativeTime:{future:{other:"{0}秒后"},past:{other:"{0}秒前"}}}}},{locale:"zh-Hans-SG",parentLocale:"zh-Hans",fields:{year:{displayName:"年",relative:{0:"今年",1:"明年","-1":"去年"},relativeTime:{future:{other:"{0}年后"},past:{other:"{0}年前"}}},month:{displayName:"月",relative:{0:"本月",1:"下个月","-1":"上个月"},relativeTime:{future:{other:"{0}个月后"},past:{other:"{0}个月前"}}},day:{displayName:"日",relative:{0:"今天",1:"明天",2:"后天","-2":"前天","-1":"昨天"},relativeTime:{future:{other:"{0}天后"},past:{other:"{0}天前"}}},hour:{displayName:"小时",relativeTime:{future:{other:"{0}小时后"},past:{other:"{0}小时前"}}},minute:{displayName:"分钟",relativeTime:{future:{other:"{0}分钟后"},past:{other:"{0}分钟前"}}},second:{displayName:"秒钟",relative:{0:"现在"},relativeTime:{future:{other:"{0}秒后"},past:{other:"{0}秒前"}}}}},{locale:"zh-Hant",pluralRuleFunction:function(e,t){return"other"},fields:{year:{displayName:"年",relative:{0:"今年",1:"明年","-1":"去年"},relativeTime:{future:{other:"{0} 年後"},past:{other:"{0} 年前"}}},month:{displayName:"月",relative:{0:"本月",1:"下個月","-1":"上個月"},relativeTime:{future:{other:"{0} 個月後"},past:{other:"{0} 個月前"}}},day:{displayName:"日",relative:{0:"今天",1:"明天",2:"後天","-2":"前天","-1":"昨天"},relativeTime:{future:{other:"{0} 天後"},past:{other:"{0} 天前"}}},hour:{displayName:"小時",relativeTime:{future:{other:"{0} 小時後"},past:{other:"{0} 小時前"}}},minute:{displayName:"分鐘",relativeTime:{future:{other:"{0} 分鐘後"},past:{other:"{0} 分鐘前"}}},second:{displayName:"秒",relative:{0:"現在"},relativeTime:{future:{other:"{0} 秒後"},past:{other:"{0} 秒前"}}}}},{locale:"zh-Hant-HK",parentLocale:"zh-Hant",fields:{year:{displayName:"年",relative:{0:"今年",1:"下年","-1":"上年"},relativeTime:{future:{other:"{0} 年後"},past:{other:"{0} 年前"}}},month:{displayName:"月",relative:{0:"本月",1:"下個月","-1":"上個月"},relativeTime:{future:{other:"{0} 個月後"},past:{other:"{0} 個月前"}}},day:{displayName:"日",relative:{0:"今日",1:"明日",2:"後日","-2":"前日","-1":"昨日"},relativeTime:{future:{other:"{0} 日後"},past:{other:"{0} 日前"}}},hour:{displayName:"小時",relativeTime:{future:{other:"{0} 小時後"},past:{other:"{0} 小時前"}}},minute:{displayName:"分鐘",relativeTime:{future:{other:"{0} 分鐘後"},past:{other:"{0} 分鐘前"}}},second:{displayName:"秒",relative:{0:"現在"},relativeTime:{future:{other:"{0} 秒後"},past:{other:"{0} 秒前"}}}}},{locale:"zh-Hant-MO",parentLocale:"zh-Hant-HK"}];return e})},{}],1111:[function(e,t,n){"use strict";var r=e("react"),o=r.createClass({displayName:"Notify",key:0,getInitialState:function(){return{}},success:function(e,t,n){this.addNotify(e,t,n,"success")},error:function(e,t,n){this.addNotify(e,t,n,"error")},info:function(e,t,n){this.addNotify(e,t,n,"info")},addNotify:function(e,t,n,r){var o=this.key++;this.state[o]={title:e,msg:t,time:n,theme:r},this.setState(this.state),this.countToHide(n,o)},countToHide:function(e,t){var n=this;setTimeout(function(){n.hideNotification(t)},e)},hideNotification:function(e){delete this.state[e],this.setState(this.state)},render:function(){var e=Object.keys(this.state),t=this.state,n=this.hideNotification,o=e.map(function(e){return r.createElement(a,{id:e,key:e,theme:t[e].theme,hideNotification:n,title:t[e].title,msg:t[e].msg})});return r.createElement("div",{className:"notify-container"},o)}}),a=r.createClass({displayName:"Item",hideNotification:function(){this.props.hideNotification(this.props.id)},render:function(){return r.createElement("div",{className:"notify-item "+this.props.theme,onClick:this.hideNotification},r.createElement("p",{className:"notify-title"},this.props.title),r.createElement("p",{className:"notify-body"},this.props.msg))}});t.exports=o},{react:1269}],1112:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=e("classnames"),c=r(u),d=e("dom-helpers/query/height"),f=r(d),p=e("dom-helpers/query/offset"),h=r(p),m=e("dom-helpers/query/offsetParent"),v=r(m),b=e("dom-helpers/query/scrollTop"),g=r(b),y=e("dom-helpers/util/requestAnimationFrame"),_=r(y),M=e("react"),w=r(M),S=e("react-dom"),C=r(S),x=e("./utils/addEventListener"),k=r(x),T=e("./utils/getDocumentHeight"),A=r(T),P=e("./utils/ownerDocument"),N=r(P),O=e("./utils/ownerWindow"),E=r(O),z=function(e){function t(e,n){o(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.state={affixed:"top",position:null,top:null},r._needPositionUpdate=!1,r}return i(t,e),l(t,[{key:"componentDidMount",value:function(){var e=this;this._isMounted=!0,this._windowScrollListener=(0,k.default)((0,E.default)(this),"scroll",function(){return e.onWindowScroll()}),this._documentClickListener=(0,k.default)((0,N.default)(this),"click",function(){return e.onDocumentClick()}),this.onUpdate()}},{key:"componentWillReceiveProps",value:function(){this._needPositionUpdate=!0}},{key:"componentDidUpdate",value:function(){this._needPositionUpdate&&(this._needPositionUpdate=!1,this.onUpdate())}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this._windowScrollListener&&this._windowScrollListener.remove(),this._documentClickListener&&this._documentClickListener.remove()}},{key:"onWindowScroll",value:function(){this.onUpdate()}},{key:"onDocumentClick",value:function(){var e=this;(0,_.default)(function(){return e.onUpdate()})}},{key:"onUpdate",value:function(){var e=this;if(this._isMounted){var t=this.props,n=t.offsetTop,r=t.viewportOffsetTop,o=(0,g.default)((0,E.default)(this)),a=o+(r||0);return a<=n?void this.updateState("top",null,null):a>this.getPositionTopMax()?void("bottom"===this.state.affixed?this.updateStateAtBottom():this.setState({affixed:"bottom",position:"absolute",top:null},function(){e._isMounted&&e.updateStateAtBottom()})):void this.updateState("affix","fixed",r)}}},{key:"getPositionTopMax",value:function(){var e=(0,A.default)((0,N.default)(this)),t=(0,f.default)(C.default.findDOMNode(this));return e-t-this.props.offsetBottom}},{key:"updateState",value:function(e,t,n){var r=this;if(e!==this.state.affixed||t!==this.state.position||n!==this.state.top){var o="affix"===e?"":e.charAt(0).toUpperCase()+e.substr(1);this.props["onAffix"+o]&&this.props["onAffix"+o](),this.setState({affixed:e,position:t,top:n},function(){r.props["onAffixed"+o]&&r.props["onAffixed"+o]()})}}},{key:"updateStateAtBottom",value:function(){var e=this.getPositionTopMax(),t=(0,v.default)(C.default.findDOMNode(this)),n=(0,h.default)(t).top;this.updateState("bottom","absolute",e-n)}},{key:"render",value:function(){var e=w.default.Children.only(this.props.children),t=e.props,n=t.className,r=t.style,o=this.state,a=o.affixed,i=o.position,l=o.top,u={position:i,top:l},d=void 0,f=void 0;return"top"===a?(d=this.props.topClassName,f=this.props.topStyle):"bottom"===a?(d=this.props.bottomClassName,f=this.props.bottomStyle):(d=this.props.affixClassName,f=this.props.affixStyle),w.default.cloneElement(e,{className:(0,c.default)(d,n),style:s({},u,f,r)})}}]),t}(w.default.Component);z.propTypes={offsetTop:w.default.PropTypes.number,viewportOffsetTop:w.default.PropTypes.number,offsetBottom:w.default.PropTypes.number,topClassName:w.default.PropTypes.string,topStyle:w.default.PropTypes.object,affixClassName:w.default.PropTypes.string,affixStyle:w.default.PropTypes.object,bottomClassName:w.default.PropTypes.string,bottomStyle:w.default.PropTypes.object,onAffix:w.default.PropTypes.func,onAffixed:w.default.PropTypes.func,onAffixTop:w.default.PropTypes.func,onAffixedTop:w.default.PropTypes.func,onAffixBottom:w.default.PropTypes.func,onAffixedBottom:w.default.PropTypes.func
|
47 | },z.defaultProps={offsetTop:0,viewportOffsetTop:null,offsetBottom:0},n.default=z,t.exports=n.default},{"./utils/addEventListener":1122,"./utils/getDocumentHeight":1126,"./utils/ownerDocument":1129,"./utils/ownerWindow":1130,classnames:157,"dom-helpers/query/height":256,"dom-helpers/query/offset":258,"dom-helpers/query/offsetParent":259,"dom-helpers/query/scrollTop":263,"dom-helpers/util/requestAnimationFrame":274,react:1269,"react-dom":974}],1113:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(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)}Object.defineProperty(n,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=e("dom-helpers/query/offset"),d=r(c),f=e("dom-helpers/util/requestAnimationFrame"),p=r(f),h=e("react"),m=r(h),v=e("react-prop-types/lib/componentOrElement"),b=r(v),g=e("./Affix"),y=r(g),_=e("./utils/addEventListener"),M=r(_),w=e("./utils/getContainer"),S=r(w),C=e("./utils/getDocumentHeight"),x=r(C),k=e("./utils/ownerDocument"),T=r(k),A=e("./utils/ownerWindow"),P=r(A),N=function(e){function t(e,n){a(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.state={offsetTop:null,offsetBottom:null,width:null},r}return s(t,e),u(t,[{key:"componentDidMount",value:function(){var e=this;this._isMounted=!0,this._windowScrollListener=(0,M.default)((0,P.default)(this),"scroll",function(){return e.onWindowScroll()}),this._windowResizeListener=(0,M.default)((0,P.default)(this),"resize",function(){return e.onWindowResize()}),this._documentClickListener=(0,M.default)((0,T.default)(this),"click",function(){return e.onDocumentClick()}),this.onUpdate()}},{key:"componentWillReceiveProps",value:function(){this._needPositionUpdate=!0}},{key:"componentDidUpdate",value:function(){this._needPositionUpdate&&(this._needPositionUpdate=!1,this.onUpdate())}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this._windowScrollListener&&this._windowScrollListener.remove(),this._documentClickListener&&this._documentClickListener.remove(),this._windowResizeListener&&this._windowResizeListener.remove()}},{key:"onWindowScroll",value:function(){this.onUpdate()}},{key:"onWindowResize",value:function(){var e=this;this.props.autoWidth&&(0,p.default)(function(){return e.onUpdate()})}},{key:"onDocumentClick",value:function(){var e=this;(0,p.default)(function(){return e.onUpdate()})}},{key:"onUpdate",value:function(){if(this._isMounted){var e=(0,d.default)(this.refs.positioner),t=e.top,n=e.width,r=(0,S.default)(this.props.container),o=void 0;if(r){var a=(0,x.default)((0,T.default)(this)),i=(0,d.default)(r),s=i.top,l=i.height;o=a-s-l}else o=null;this.updateState(t,o,n)}}},{key:"updateState",value:function(e,t,n){e===this.state.offsetTop&&t===this.state.offsetBottom&&n===this.state.width||this.setState({offsetTop:e,offsetBottom:t,width:n})}},{key:"render",value:function(){var e=this.props,t=e.autoWidth,n=e.viewportOffsetTop,r=e.children,a=o(e,["autoWidth","viewportOffsetTop","children"]),i=this.state,s=i.offsetTop,u=i.offsetBottom,c=i.width;delete a.container;var d=Math.max(s,n||0),f=this.props,p=f.affixStyle,h=f.bottomStyle;return t&&(p=l({width:c},p),h=l({width:c},h)),m.default.createElement("div",null,m.default.createElement("div",{ref:"positioner"}),m.default.createElement(y.default,l({},a,{offsetTop:d,viewportOffsetTop:n,offsetBottom:u,affixStyle:p,bottomStyle:h}),r))}}]),t}(m.default.Component);N.propTypes=l({},y.default.propTypes,{container:m.default.PropTypes.oneOfType([b.default,m.default.PropTypes.func]),autoWidth:m.default.PropTypes.bool}),N.defaultProps={viewportOffsetTop:0,autoWidth:!0},n.default=N,t.exports=n.default},{"./Affix":1112,"./utils/addEventListener":1122,"./utils/getContainer":1125,"./utils/getDocumentHeight":1126,"./utils/ownerDocument":1129,"./utils/ownerWindow":1130,"dom-helpers/query/offset":258,"dom-helpers/util/requestAnimationFrame":274,react:1269,"react-prop-types/lib/componentOrElement":1131}],1114:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=e("react"),i=r(a),s=e("warning"),l=r(s),u=e("react-prop-types/lib/componentOrElement"),c=r(u),d=e("react-prop-types/lib/elementType"),f=r(d),p=e("./Portal"),h=r(p),m=e("./ModalManager"),v=r(m),b=e("./utils/ownerDocument"),g=r(b),y=e("./utils/addEventListener"),_=r(y),M=e("./utils/addFocusListener"),w=r(M),S=e("dom-helpers/util/inDOM"),C=r(S),x=e("dom-helpers/activeElement"),k=r(x),T=e("dom-helpers/query/contains"),A=r(T),P=e("./utils/getContainer"),N=r(P),O=new v.default,E=i.default.createClass({displayName:"Modal",propTypes:o({},h.default.propTypes,{show:i.default.PropTypes.bool,container:i.default.PropTypes.oneOfType([c.default,i.default.PropTypes.func]),onShow:i.default.PropTypes.func,onHide:i.default.PropTypes.func,backdrop:i.default.PropTypes.oneOfType([i.default.PropTypes.bool,i.default.PropTypes.oneOf(["static"])]),renderBackdrop:i.default.PropTypes.func,onEscapeKeyUp:i.default.PropTypes.func,onBackdropClick:i.default.PropTypes.func,backdropStyle:i.default.PropTypes.object,backdropClassName:i.default.PropTypes.string,containerClassName:i.default.PropTypes.string,keyboard:i.default.PropTypes.bool,transition:f.default,dialogTransitionTimeout:i.default.PropTypes.number,backdropTransitionTimeout:i.default.PropTypes.number,autoFocus:i.default.PropTypes.bool,enforceFocus:i.default.PropTypes.bool,onEnter:i.default.PropTypes.func,onEntering:i.default.PropTypes.func,onEntered:i.default.PropTypes.func,onExit:i.default.PropTypes.func,onExiting:i.default.PropTypes.func,onExited:i.default.PropTypes.func,manager:i.default.PropTypes.object.isRequired}),getDefaultProps:function(){var e=function(){};return{show:!1,backdrop:!0,keyboard:!0,autoFocus:!0,enforceFocus:!0,onHide:e,manager:O,renderBackdrop:function(e){return i.default.createElement("div",e)}}},getInitialState:function(){return{exited:!this.props.show}},render:function(){var e=this.props,t=e.show,n=e.container,r=e.children,o=e.transition,s=e.backdrop,l=e.dialogTransitionTimeout,u=e.className,c=e.style,d=e.onExit,f=e.onExiting,p=e.onEnter,m=e.onEntering,v=e.onEntered,b=i.default.Children.only(r),g=t||o&&!this.state.exited;if(!g)return null;var y=b.props,_=y.role,M=y.tabIndex;return void 0!==_&&void 0!==M||(b=(0,a.cloneElement)(b,{role:void 0===_?"document":_,tabIndex:null==M?"-1":M})),o&&(b=i.default.createElement(o,{transitionAppear:!0,unmountOnExit:!0,in:t,timeout:l,onExit:d,onExiting:f,onExited:this.handleHidden,onEnter:p,onEntering:m,onEntered:v},b)),i.default.createElement(h.default,{ref:this.setMountNode,container:n},i.default.createElement("div",{ref:"modal",role:_||"dialog",style:c,className:u},s&&this.renderBackdrop(),b))},renderBackdrop:function e(){var t=this,n=this.props,r=n.backdropStyle,o=n.backdropClassName,e=n.renderBackdrop,a=n.transition,s=n.backdropTransitionTimeout,l=function(e){return t.backdrop=e},u=i.default.createElement("div",{ref:l,style:this.props.backdropStyle,className:this.props.backdropClassName,onClick:this.handleBackdropClick});return a&&(u=i.default.createElement(a,{transitionAppear:!0,in:this.props.show,timeout:s},e({ref:l,style:r,className:o,onClick:this.handleBackdropClick}))),u},componentWillReceiveProps:function(e){e.show?this.setState({exited:!1}):e.transition||this.setState({exited:!0})},componentWillUpdate:function(e){!this.props.show&&e.show&&this.checkForFocus()},componentDidMount:function(){this.props.show&&this.onShow()},componentDidUpdate:function(e){var t=this.props.transition;!e.show||this.props.show||t?!e.show&&this.props.show&&this.onShow():this.onHide()},componentWillUnmount:function(){var e=this.props,t=e.show,n=e.transition;(t||n&&!this.state.exited)&&this.onHide()},onShow:function(){var e=(0,g.default)(this),t=(0,N.default)(this.props.container,e.body);this.props.manager.add(this,t,this.props.containerClassName),this._onDocumentKeyupListener=(0,_.default)(e,"keyup",this.handleDocumentKeyUp),this._onFocusinListener=(0,w.default)(this.enforceFocus),this.focus(),this.props.onShow&&this.props.onShow()},onHide:function(){this.props.manager.remove(this),this._onDocumentKeyupListener.remove(),this._onFocusinListener.remove(),this.restoreLastFocus()},setMountNode:function(e){this.mountNode=e?e.getMountNode():e},handleHidden:function(){if(this.setState({exited:!0}),this.onHide(),this.props.onExited){var e;(e=this.props).onExited.apply(e,arguments)}},handleBackdropClick:function(e){e.target===e.currentTarget&&(this.props.onBackdropClick&&this.props.onBackdropClick(e),this.props.backdrop===!0&&this.props.onHide())},handleDocumentKeyUp:function(e){this.props.keyboard&&27===e.keyCode&&this.isTopModal()&&(this.props.onEscapeKeyUp&&this.props.onEscapeKeyUp(e),this.props.onHide())},checkForFocus:function(){C.default&&(this.lastFocus=(0,k.default)())},focus:function(){var e=this.props.autoFocus,t=this.getDialogElement(),n=(0,k.default)((0,g.default)(this)),r=n&&(0,A.default)(t,n);t&&e&&!r&&(this.lastFocus=n,t.hasAttribute("tabIndex")||(t.setAttribute("tabIndex",-1),(0,l.default)(!1,'The modal content node does not accept focus. For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".')),t.focus())},restoreLastFocus:function(){this.lastFocus&&this.lastFocus.focus&&(this.lastFocus.focus(),this.lastFocus=null)},enforceFocus:function e(){var e=this.props.enforceFocus;if(e&&this.isMounted()&&this.isTopModal()){var t=(0,k.default)((0,g.default)(this)),n=this.getDialogElement();n&&n!==t&&!(0,A.default)(n,t)&&n.focus()}},getDialogElement:function(){var e=this.refs.modal;return e&&e.lastChild},isTopModal:function(){return this.props.manager.isTopModal(this)}});E.Manager=v.default,n.default=E,t.exports=n.default},{"./ModalManager":1115,"./Portal":1117,"./utils/addEventListener":1122,"./utils/addFocusListener":1123,"./utils/getContainer":1125,"./utils/ownerDocument":1129,"dom-helpers/activeElement":244,"dom-helpers/query/contains":255,"dom-helpers/util/inDOM":273,react:1269,"react-prop-types/lib/componentOrElement":1131,"react-prop-types/lib/elementType":1132,warning:1371}],1115:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){var n=-1;return e.some(function(e,r){if(t(e,r))return n=r,!0}),n}function i(e,t){return a(e,function(e){return e.modals.indexOf(t)!==-1})}function s(e,t){var n={overflow:"hidden"};e.style={overflow:t.style.overflow,paddingRight:t.style.paddingRight},e.overflowing&&(n.paddingRight=parseInt((0,d.default)(t,"paddingRight")||0,10)+(0,m.default)()+"px"),(0,d.default)(t,n)}function l(e,t){var n=e.style;Object.keys(n).forEach(function(e){return t.style[e]=n[e]})}Object.defineProperty(n,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=e("dom-helpers/style"),d=r(c),f=e("dom-helpers/class"),p=r(f),h=e("dom-helpers/util/scrollbarSize"),m=r(h),v=e("./utils/isOverflowing"),b=r(v),g=e("./utils/manageAriaHidden"),y=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.hideSiblingNodes,r=void 0===n||n,a=t.handleContainerOverflow,i=void 0===a||a;o(this,e),this.hideSiblingNodes=r,this.handleContainerOverflow=i,this.modals=[],this.containers=[],this.data=[]}return u(e,[{key:"add",value:function(e,t,n){var r=this.modals.indexOf(e),o=this.containers.indexOf(t);if(r!==-1)return r;if(r=this.modals.length,this.modals.push(e),this.hideSiblingNodes&&(0,g.hideSiblings)(t,e.mountNode),o!==-1)return this.data[o].modals.push(e),r;var a={modals:[e],classes:n?n.split(/\s+/):[],overflowing:(0,b.default)(t)};return this.handleContainerOverflow&&s(a,t),a.classes.forEach(p.default.addClass.bind(null,t)),this.containers.push(t),this.data.push(a),r}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(t!==-1){var n=i(this.data,e),r=this.data[n],o=this.containers[n];r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length?(r.classes.forEach(p.default.removeClass.bind(null,o)),this.handleContainerOverflow&&l(r,o),this.hideSiblingNodes&&(0,g.showSiblings)(o,e.mountNode),this.containers.splice(n,1),this.data.splice(n,1)):this.hideSiblingNodes&&(0,g.ariaHidden)(!1,r.modals[r.modals.length-1].mountNode)}}},{key:"isTopModal",value:function(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}}]),e}();n.default=y,t.exports=n.default},{"./utils/isOverflowing":1127,"./utils/manageAriaHidden":1128,"dom-helpers/class":247,"dom-helpers/style":265,"dom-helpers/util/scrollbarSize":275}],1116:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(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)}Object.defineProperty(n,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=e("react"),d=r(c),f=e("./Portal"),p=r(f),h=e("./Position"),m=r(h),v=e("./RootCloseWrapper"),b=r(v),g=e("react-prop-types/lib/elementType"),y=r(g),_=function(e){function t(e,n){a(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.state={exited:!e.show},r.onHiddenListener=r.handleHidden.bind(r),r}return s(t,e),u(t,[{key:"componentWillReceiveProps",value:function(e){e.show?this.setState({exited:!1}):e.transition||this.setState({exited:!0})}},{key:"render",value:function(){var e=this.props,t=e.container,n=e.containerPadding,r=e.target,a=e.placement,i=e.shouldUpdatePosition,s=e.rootClose,l=e.children,u=e.transition,c=o(e,["container","containerPadding","target","placement","shouldUpdatePosition","rootClose","children","transition"]),f=c.show||u&&!this.state.exited;if(!f)return null;var h=l;if(h=d.default.createElement(m.default,{container:t,containerPadding:n,target:r,placement:a,shouldUpdatePosition:i},h),u){var v=c.onExit,g=c.onExiting,y=c.onEnter,_=c.onEntering,M=c.onEntered;h=d.default.createElement(u,{in:c.show,transitionAppear:!0,onExit:v,onExiting:g,onExited:this.onHiddenListener,onEnter:y,onEntering:_,onEntered:M},h)}return s&&(h=d.default.createElement(b.default,{onRootClose:c.onHide},h)),d.default.createElement(p.default,{container:t},h)}},{key:"handleHidden",value:function(){if(this.setState({exited:!0}),this.props.onExited){var e;(e=this.props).onExited.apply(e,arguments)}}}]),t}(d.default.Component);_.propTypes=l({},p.default.propTypes,m.default.propTypes,{show:d.default.PropTypes.bool,rootClose:d.default.PropTypes.bool,onHide:function(e){var t=d.default.PropTypes.func;e.rootClose&&(t=t.isRequired);for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.apply(void 0,[e].concat(r))},transition:y.default,onEnter:d.default.PropTypes.func,onEntering:d.default.PropTypes.func,onEntered:d.default.PropTypes.func,onExit:d.default.PropTypes.func,onExiting:d.default.PropTypes.func,onExited:d.default.PropTypes.func}),n.default=_,t.exports=n.default},{"./Portal":1117,"./Position":1118,"./RootCloseWrapper":1119,react:1269,"react-prop-types/lib/elementType":1132}],1117:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("react"),a=r(o),i=e("react-dom"),s=r(i),l=e("react-prop-types/lib/componentOrElement"),u=r(l),c=e("./utils/ownerDocument"),d=r(c),f=e("./utils/getContainer"),p=r(f),h=a.default.createClass({displayName:"Portal",propTypes:{container:a.default.PropTypes.oneOfType([u.default,a.default.PropTypes.func])},componentDidMount:function(){this._renderOverlay()},componentDidUpdate:function(){this._renderOverlay()},componentWillReceiveProps:function(e){this._overlayTarget&&e.container!==this.props.container&&(this._portalContainerNode.removeChild(this._overlayTarget),this._portalContainerNode=(0,p.default)(e.container,(0,d.default)(this).body),this._portalContainerNode.appendChild(this._overlayTarget))},componentWillUnmount:function(){this._unrenderOverlay(),this._unmountOverlayTarget()},_mountOverlayTarget:function(){this._overlayTarget||(this._overlayTarget=document.createElement("div"),this._portalContainerNode=(0,p.default)(this.props.container,(0,d.default)(this).body),this._portalContainerNode.appendChild(this._overlayTarget))},_unmountOverlayTarget:function(){this._overlayTarget&&(this._portalContainerNode.removeChild(this._overlayTarget),this._overlayTarget=null),this._portalContainerNode=null},_renderOverlay:function(){var e=this.props.children?a.default.Children.only(this.props.children):null;null!==e?(this._mountOverlayTarget(),this._overlayInstance=s.default.unstable_renderSubtreeIntoContainer(this,e,this._overlayTarget)):(this._unrenderOverlay(),this._unmountOverlayTarget())},_unrenderOverlay:function(){this._overlayTarget&&(s.default.unmountComponentAtNode(this._overlayTarget),this._overlayInstance=null)},render:function(){return null},getMountNode:function(){return this._overlayTarget},getOverlayDOMNode:function(){if(!this.isMounted())throw new Error("getOverlayDOMNode(): A component must be mounted to have a DOM node.");return this._overlayInstance?s.default.findDOMNode(this._overlayInstance):null}});n.default=h,t.exports=n.default},{"./utils/getContainer":1125,"./utils/ownerDocument":1129,react:1269,"react-dom":974,"react-prop-types/lib/componentOrElement":1131}],1118:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(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)}Object.defineProperty(n,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=e("classnames"),d=r(c),f=e("react"),p=r(f),h=e("react-dom"),m=r(h),v=e("react-prop-types/lib/componentOrElement"),b=r(v),g=e("./utils/calculatePosition"),y=r(g),_=e("./utils/getContainer"),M=r(_),w=e("./utils/ownerDocument"),S=r(w),C=function(e){function t(e,n){a(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.state={positionLeft:0,positionTop:0,arrowOffsetLeft:null,arrowOffsetTop:null},r._needsFlush=!1,r._lastTarget=null,r}return s(t,e),u(t,[{key:"componentDidMount",value:function(){this.updatePosition(this.getTarget())}},{key:"componentWillReceiveProps",value:function(){this._needsFlush=!0}},{key:"componentDidUpdate",value:function(e){this._needsFlush&&(this._needsFlush=!1,this.maybeUpdatePosition(this.props.placement!==e.placement))}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=o(e,["children","className"]),a=this.state,i=a.positionLeft,s=a.positionTop,u=o(a,["positionLeft","positionTop"]);delete r.target,delete r.container,delete r.containerPadding,delete r.shouldUpdatePosition;var c=p.default.Children.only(t);return(0,f.cloneElement)(c,l({},r,u,{positionLeft:i,positionTop:s,className:(0,d.default)(n,c.props.className),style:l({},c.props.style,{left:i,top:s})}))}},{key:"getTarget",value:function(){var e=this.props.target,t="function"==typeof e?e():e;return t&&m.default.findDOMNode(t)||null}},{key:"maybeUpdatePosition",value:function(e){var t=this.getTarget();(this.props.shouldUpdatePosition||t!==this._lastTarget||e)&&this.updatePosition(t)}},{key:"updatePosition",value:function(e){if(this._lastTarget=e,!e)return void this.setState({positionLeft:0,positionTop:0,arrowOffsetLeft:null,arrowOffsetTop:null});var t=m.default.findDOMNode(this),n=(0,M.default)(this.props.container,(0,S.default)(this).body);this.setState((0,y.default)(this.props.placement,t,e,n,this.props.containerPadding))}}]),t}(p.default.Component);C.propTypes={target:p.default.PropTypes.oneOfType([b.default,p.default.PropTypes.func]),container:p.default.PropTypes.oneOfType([b.default,p.default.PropTypes.func]),containerPadding:p.default.PropTypes.number,placement:p.default.PropTypes.oneOf(["top","right","bottom","left"]),shouldUpdatePosition:p.default.PropTypes.bool},C.displayName="Position",C.defaultProps={containerPadding:0,placement:"right",shouldUpdatePosition:!1},n.default=C,t.exports=n.default},{"./utils/calculatePosition":1124,"./utils/getContainer":1125,"./utils/ownerDocument":1129,classnames:157,react:1269,"react-dom":974,"react-prop-types/lib/componentOrElement":1131}],1119:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}function s(e){return 0===e.button}function l(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}Object.defineProperty(n,"__esModule",{value:!0});var u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=e("dom-helpers/query/contains"),d=r(c),f=e("react"),p=r(f),h=e("react-dom"),m=r(h),v=e("./utils/addEventListener"),b=r(v),g=e("./utils/ownerDocument"),y=r(g),_=function(e){function t(e,n){o(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.handleMouseCapture=function(e){r.preventMouseRootClose=l(e)||!s(e)||(0,d.default)(m.default.findDOMNode(r),e.target)},r.handleMouse=function(){!r.preventMouseRootClose&&r.props.onRootClose&&r.props.onRootClose()},r.handleKeyUp=function(e){27===e.keyCode&&r.props.onRootClose&&r.props.onRootClose()},r.preventMouseRootClose=!1,r}return i(t,e),u(t,[{key:"componentDidMount",value:function(){this.props.disabled||this.addEventListeners()}},{key:"componentDidUpdate",value:function(e){!this.props.disabled&&e.disabled?this.addEventListeners():this.props.disabled&&!e.disabled&&this.removeEventListeners()}},{key:"componentWillUnmount",value:function(){this.props.disabled||this.removeEventListeners()}},{key:"addEventListeners",value:function(){var e=this.props.event,t=(0,y.default)(this);this.documentMouseCaptureListener=(0,b.default)(t,e,this.handleMouseCapture,!0),this.documentMouseListener=(0,b.default)(t,e,this.handleMouse),this.documentKeyupListener=(0,b.default)(t,"keyup",this.handleKeyUp)}},{key:"removeEventListeners",value:function(){this.documentMouseCaptureListener&&this.documentMouseCaptureListener.remove(),this.documentMouseListener&&this.documentMouseListener.remove(),this.documentKeyupListener&&this.documentKeyupListener.remove()}},{key:"render",value:function(){return this.props.children}}]),t}(p.default.Component);n.default=_,_.displayName="RootCloseWrapper",_.propTypes={onRootClose:p.default.PropTypes.func,children:p.default.PropTypes.element,disabled:p.default.PropTypes.bool,event:p.default.PropTypes.oneOf(["click","mousedown"])},_.defaultProps={event:"click"},t.exports=n.default},{"./utils/addEventListener":1122,"./utils/ownerDocument":1129,"dom-helpers/query/contains":255,react:1269,"react-dom":974}],1120:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(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)}function l(){}Object.defineProperty(n,"__esModule",{value:!0}),n.EXITING=n.ENTERED=n.ENTERING=n.EXITED=n.UNMOUNTED=void 0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=e("react"),f=r(d),p=e("react-dom"),h=r(p),m=e("dom-helpers/transition/properties"),v=r(m),b=e("dom-helpers/events/on"),g=r(b),y=e("classnames"),_=r(y),M=v.default.end,w=n.UNMOUNTED=0,S=n.EXITED=1,C=n.ENTERING=2,x=n.ENTERED=3,k=n.EXITING=4,T=function(e){function t(e,n){a(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n)),o=void 0;return o=e.in?e.transitionAppear?S:x:e.unmountOnExit?w:S,r.state={status:o},r.nextCallback=null,r}return s(t,e),c(t,[{key:"componentDidMount",value:function(){this.props.transitionAppear&&this.props.in&&this.performEnter(this.props)}},{key:"componentWillReceiveProps",value:function(e){e.in&&this.props.unmountOnExit?this.state.status===w&&this.setState({status:S}):this._needsUpdate=!0}},{key:"componentDidUpdate",value:function(){var e=this.state.status;return this.props.unmountOnExit&&e===S?void(this.props.in?this.performEnter(this.props):this.setState({status:w})):void(this._needsUpdate&&(this._needsUpdate=!1,this.props.in?e===k?this.performEnter(this.props):e===S&&this.performEnter(this.props):e!==C&&e!==x||this.performExit(this.props)))}},{key:"componentWillUnmount",value:function(){this.cancelNextCallback()}},{key:"performEnter",value:function(e){var t=this;this.cancelNextCallback();var n=h.default.findDOMNode(this);e.onEnter(n),this.safeSetState({status:C},function(){t.props.onEntering(n),t.onTransitionEnd(n,function(){t.safeSetState({status:x},function(){t.props.onEntered(n)})})})}},{key:"performExit",value:function(e){var t=this;this.cancelNextCallback();var n=h.default.findDOMNode(this);e.onExit(n),this.safeSetState({status:k},function(){t.props.onExiting(n),t.onTransitionEnd(n,function(){t.safeSetState({status:S},function(){t.props.onExited(n)})})})}},{key:"cancelNextCallback",value:function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)}},{key:"safeSetState",value:function(e,t){this.setState(e,this.setNextCallback(t))}},{key:"setNextCallback",value:function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback}},{key:"onTransitionEnd",value:function(e,t){this.setNextCallback(t),e?((0,g.default)(e,M,this.nextCallback),setTimeout(this.nextCallback,this.props.timeout)):setTimeout(this.nextCallback,0)}},{key:"render",value:function(){var e=this.state.status;if(e===w)return null;var n=this.props,r=n.children,a=n.className,i=o(n,["children","className"]);Object.keys(t.propTypes).forEach(function(e){return delete i[e]});var s=void 0;e===S?s=this.props.exitedClassName:e===C?s=this.props.enteringClassName:e===x?s=this.props.enteredClassName:e===k&&(s=this.props.exitingClassName);var l=f.default.Children.only(r);return f.default.cloneElement(l,u({},i,{className:(0,_.default)(l.props.className,a,s)}))}}]),t}(f.default.Component);T.propTypes={in:f.default.PropTypes.bool,unmountOnExit:f.default.PropTypes.bool,transitionAppear:f.default.PropTypes.bool,timeout:f.default.PropTypes.number,exitedClassName:f.default.PropTypes.string,exitingClassName:f.default.PropTypes.string,enteredClassName:f.default.PropTypes.string,enteringClassName:f.default.PropTypes.string,onEnter:f.default.PropTypes.func,onEntering:f.default.PropTypes.func,onEntered:f.default.PropTypes.func,onExit:f.default.PropTypes.func,onExiting:f.default.PropTypes.func,onExited:f.default.PropTypes.func},T.displayName="Transition",T.defaultProps={in:!1,unmountOnExit:!1,transitionAppear:!1,timeout:5e3,onEnter:l,onEntering:l,onEntered:l,onExit:l,onExiting:l,onExited:l},n.default=T},{classnames:157,"dom-helpers/events/on":252,"dom-helpers/transition/properties":267,react:1269,"react-dom":974}],1121:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Transition=n.Position=n.Portal=n.Overlay=n.Modal=n.AutoAffix=n.Affix=void 0;var o=e("./Affix"),a=r(o),i=e("./AutoAffix"),s=r(i),l=e("./Modal"),u=r(l),c=e("./Overlay"),d=r(c),f=e("./Portal"),p=r(f),h=e("./Position"),m=r(h),v=e("./Transition"),b=r(v);n.Affix=a.default,n.AutoAffix=s.default,n.Modal=u.default,n.Overlay=d.default,n.Portal=p.default,n.Position=m.default,n.Transition=b.default;
|
48 | },{"./Affix":1112,"./AutoAffix":1113,"./Modal":1114,"./Overlay":1116,"./Portal":1117,"./Position":1118,"./Transition":1120}],1122:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n,r){return(0,a.default)(e,t,n,r),{remove:function(){(0,s.default)(e,t,n,r)}}};var o=e("dom-helpers/events/on"),a=r(o),i=e("dom-helpers/events/off"),s=r(i);t.exports=n.default},{"dom-helpers/events/off":251,"dom-helpers/events/on":252}],1123:[function(e,t,n){"use strict";function r(e){var t=!document.addEventListener,n=void 0;return t?(document.attachEvent("onfocusin",e),n=function(){return document.detachEvent("onfocusin",e)}):(document.addEventListener("focus",e,!0),n=function(){return document.removeEventListener("focus",e,!0)}),{remove:n}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r,t.exports=n.default},{}],1124:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=void 0,n=void 0,r=void 0;if("BODY"===e.tagName)t=window.innerWidth,n=window.innerHeight,r=(0,p.default)((0,m.default)(e).documentElement)||(0,p.default)(e);else{var o=(0,u.default)(e);t=o.width,n=o.height,r=(0,p.default)(e)}return{width:t,height:n,scroll:r}}function a(e,t,n,r){var a=o(n),i=a.scroll,s=a.height,l=e-r-i,u=e+r-i+t;return l<0?-l:u>s?s-u:0}function i(e,t,n,r){var a=o(n),i=a.width,s=e-r,l=e+r+t;return s<0?-s:l>i?i-l:0}function s(e,t,n,r,o){var s="BODY"===r.tagName?(0,u.default)(n):(0,d.default)(n,r),l=(0,u.default)(t),c=l.height,f=l.width,p=void 0,h=void 0,m=void 0,v=void 0;if("left"===e||"right"===e){h=s.top+(s.height-c)/2,p="left"===e?s.left-f:s.left+s.width;var b=a(h,c,r,o);h+=b,v=50*(1-2*b/c)+"%",m=void 0}else{if("top"!==e&&"bottom"!==e)throw new Error('calcOverlayPosition(): No such placement of "'+e+'" found.');p=s.left+(s.width-f)/2,h="top"===e?s.top-c:s.top+s.height;var g=i(p,f,r,o);p+=g,m=50*(1-2*g/f)+"%",v=void 0}return{positionLeft:p,positionTop:h,arrowOffsetLeft:m,arrowOffsetTop:v}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=s;var l=e("dom-helpers/query/offset"),u=r(l),c=e("dom-helpers/query/position"),d=r(c),f=e("dom-helpers/query/scrollTop"),p=r(f),h=e("./ownerDocument"),m=r(h);t.exports=n.default},{"./ownerDocument":1129,"dom-helpers/query/offset":258,"dom-helpers/query/position":260,"dom-helpers/query/scrollTop":263}],1125:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return e="function"==typeof e?e():e,i.default.findDOMNode(e)||t}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var a=e("react-dom"),i=r(a);t.exports=n.default},{"react-dom":974}],1126:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return Math.max(e.documentElement.offsetHeight||0,e.height||0,e.body.scrollHeight||0,e.body.offsetHeight||0)},t.exports=n.default},{}],1127:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e&&"body"===e.tagName.toLowerCase()}function a(e){var t=(0,c.default)(e),n=(0,l.default)(t),r=n.innerWidth;if(!r){var o=t.documentElement.getBoundingClientRect();r=o.right-Math.abs(o.left)}return t.body.clientWidth<r}function i(e){var t=(0,l.default)(e);return t||o(e)?a(e):e.scrollHeight>e.clientHeight}Object.defineProperty(n,"__esModule",{value:!0}),n.default=i;var s=e("dom-helpers/query/isWindow"),l=r(s),u=e("dom-helpers/ownerDocument"),c=r(u);t.exports=n.default},{"dom-helpers/ownerDocument":253,"dom-helpers/query/isWindow":257}],1128:[function(e,t,n){"use strict";function r(e,t){t&&(e?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden"))}function o(e,t){l(e,t,function(e){return r(!0,e)})}function a(e,t){l(e,t,function(e){return r(!1,e)})}Object.defineProperty(n,"__esModule",{value:!0}),n.ariaHidden=r,n.hideSiblings=o,n.showSiblings=a;var i=["template","script","style"],s=function(e){var t=e.nodeType,n=e.tagName;return 1===t&&i.indexOf(n.toLowerCase())===-1},l=function(e,t,n){t=[].concat(t),[].forEach.call(e.children,function(e){t.indexOf(e)===-1&&s(e)&&n(e)})}},{}],1129:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return(0,s.default)(a.default.findDOMNode(e))};var o=e("react-dom"),a=r(o),i=e("dom-helpers/ownerDocument"),s=r(i);t.exports=n.default},{"dom-helpers/ownerDocument":253,"react-dom":974}],1130:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){return(0,s.default)(a.default.findDOMNode(e))};var o=e("react-dom"),a=r(o),i=e("dom-helpers/ownerWindow"),s=r(i);t.exports=n.default},{"dom-helpers/ownerWindow":254,"react-dom":974}],1131:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o){var i=e[t],l="undefined"==typeof i?"undefined":a(i);return s.default.isValidElement(i)?new Error("Invalid "+r+" `"+o+"` of type ReactElement "+("supplied to `"+n+"`, expected a ReactComponent or a ")+"DOMElement. You can usually obtain a ReactComponent or DOMElement from a ReactElement by attaching a ref to it."):"object"===l&&"function"==typeof i.render||1===i.nodeType?null:new Error("Invalid "+r+" `"+o+"` of value `"+i+"` "+("supplied to `"+n+"`, expected a ReactComponent or a ")+"DOMElement.")}n.__esModule=!0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},i=e("react"),s=r(i),l=e("./utils/createChainableTypeChecker"),u=r(l);n.default=(0,u.default)(o)},{"./utils/createChainableTypeChecker":1133,react:1269}],1132:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o){var i=e[t],l="undefined"==typeof i?"undefined":a(i);return s.default.isValidElement(i)?new Error("Invalid "+r+" `"+o+"` of type ReactElement "+("supplied to `"+n+"`, expected an element type (a string ")+"or a ReactClass)."):"function"!==l&&"string"!==l?new Error("Invalid "+r+" `"+o+"` of value `"+i+"` "+("supplied to `"+n+"`, expected an element type (a string ")+"or a ReactClass)."):null}n.__esModule=!0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol?"symbol":typeof e},i=e("react"),s=r(i),l=e("./utils/createChainableTypeChecker"),u=r(l);n.default=(0,u.default)(o)},{"./utils/createChainableTypeChecker":1133,react:1269}],1133:[function(e,t,n){"use strict";function r(e){function t(t,n,r,o,a,i){var s=o||"<<anonymous>>",l=i||r;if(null==n[r])return t?new Error("Required "+a+" `"+l+"` was not specified "+("in `"+s+"`.")):null;for(var u=arguments.length,c=Array(u>6?u-6:0),d=6;d<u;d++)c[d-6]=arguments[d];return e.apply(void 0,[n,r,s,a,l].concat(c))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}n.__esModule=!0,n.default=r},{}],1134:[function(e,t,n){"use strict";function r(){function e(e,t,r){for(var o=0;o<n.length;o++){var a=n[o](e,t,r);if(void 0!==a&&null!==a)return a}}for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(void 0===n)throw new Error("No validations provided");if(n.some(function(e){return"function"!=typeof e}))throw new Error("Invalid arguments, must be functions");if(0===n.length)throw new Error("No validations provided");return o.createChainableTypeChecker(e)}n.__esModule=!0,n.default=r;var o=e("./common");t.exports=n.default},{"./common":1135}],1135:[function(e,t,n){"use strict";function r(e,t,n,r){return"Invalid prop '"+t+"' of value '"+e[t]+"'"+(" supplied to '"+n+"'"+r)}function o(e){function t(t,n,r,o){return o=o||"<<anonymous>>",null!=n[r]?e(n,r,o):t?new Error("Required prop '"+r+"' was not specified in '"+o+"'."):void 0}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}n.__esModule=!0,n.errMsg=r,n.createChainableTypeChecker=o},{}],1136:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return function(n,r,o){if(null!=n[r]){var a='"'+r+'" property of "'+o+'" has been deprecated.\n'+t;l[a]||(s.default(!1,a),l[a]=!0)}return e(n,r,o)}}function a(){l={}}n.__esModule=!0,n.default=o;var i=e("warning"),s=r(i),l={};o._resetWarned=a,t.exports=n.default},{warning:1140}],1137:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=s.errMsg(e,t,n,". Expected an Element `type`");if("function"!=typeof e[t]){if(i.default.isValidElement(e[t]))return new Error(r+", not an actual Element");if("string"!=typeof e[t])return new Error(r+" such as a tag name or return value of React.createClass(...)")}}n.__esModule=!0;var a=e("react"),i=r(a),s=e("./common");n.default=s.createChainableTypeChecker(o),t.exports=n.default},{"./common":1135,react:1269}],1138:[function(e,t,n){"use strict";function r(e){return function(t,n,r){return null==t[n]?new Error("The prop '"+n+"' is required to make '"+r+"' accessible for users using assistive technologies such as screen readers"):e(t,n,r)}}n.__esModule=!0,n.default=r,t.exports=n.default},{}],1139:[function(e,t,n){"use strict";function r(){function e(e,t){var r=n.map(function(t){return e[t]}).reduce(function(e,t){return e+(void 0!==t?1:0)},0);if(r>1){var o=n[0],a=n.slice(1),i=a.join(", ")+" and "+o;return new Error("Invalid prop '"+t+"', only one of the following may be provided: "+i)}}for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return e}n.__esModule=!0,n.default=r,t.exports=n.default},{}],1140:[function(e,t,n){arguments[4][936][0].apply(n,arguments)},{dup:936}],1141:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}n.__esModule=!0,n.default=void 0;var s=e("react"),l=e("../utils/Subscription"),u=r(l),c=e("../utils/storeShape"),d=r(c),f=e("../utils/warning"),p=(r(f),function(e){function t(n,r){o(this,t);var i=a(this,e.call(this,n,r));return i.store=n.store,i}return i(t,e),t.prototype.getChildContext=function(){return{store:this.store,storeSubscription:null}},t.prototype.render=function(){return s.Children.only(this.props.children)},t}(s.Component));n.default=p,p.propTypes={store:d.default.isRequired,children:s.PropTypes.element.isRequired},p.childContextTypes={store:d.default.isRequired,storeSubscription:s.PropTypes.instanceOf(u.default)},p.displayName="Provider"},{"../utils/Subscription":1151,"../utils/storeShape":1153,"../utils/warning":1155,react:1269}],1142:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}function s(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function l(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=r.getDisplayName,c=void 0===l?function(e){return"ConnectAdvanced("+e+")"}:l,f=r.methodName,m=void 0===f?"connectAdvanced":f,b=r.renderCountProp,_=void 0===b?void 0:b,M=r.shouldHandleStateChanges,w=void 0===M||M,S=r.storeKey,C=void 0===S?"store":S,x=r.withRef,k=void 0!==x&&x,T=s(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),A=C+"Subscription",P=y++,N=(t={},t[C]=g.default,t[A]=h.PropTypes.instanceOf(v.default),t),O=(n={},n[A]=h.PropTypes.instanceOf(v.default),n);return function(t){(0,p.default)("function"==typeof t,"You must pass a component to the function returned by connect. Instead received "+t);var n=t.displayName||t.name||"Component",r=c(n),s=u({},T,{getDisplayName:c,methodName:m,renderCountProp:_,shouldHandleStateChanges:w,storeKey:C,withRef:k,displayName:r,wrappedComponentName:n,WrappedComponent:t}),l=function(n){function l(e,t){o(this,l);var i=a(this,n.call(this,e,t));return i.version=P,i.state={},i.renderCount=0,i.store=i.props[C]||i.context[C],i.parentSub=e[A]||t[A],i.setWrappedInstance=i.setWrappedInstance.bind(i),(0,p.default)(i.store,'Could not find "'+C+'" in either the context or '+('props of "'+r+'". ')+"Either wrap the root component in a <Provider>, "+('or explicitly pass "'+C+'" as a prop to "'+r+'".')),i.getState=i.store.getState.bind(i.store),i.initSelector(),i.initSubscription(),i}return i(l,n),l.prototype.getChildContext=function(){var e;return e={},e[A]=this.subscription||this.parentSub,e},l.prototype.componentDidMount=function(){w&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},l.prototype.componentWillReceiveProps=function(e){this.selector.run(e)},l.prototype.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},l.prototype.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.store=null,this.parentSub=null,this.selector.run=function(){}},l.prototype.getWrappedInstance=function(){return(0,p.default)(k,"To access the wrapped instance, you need to specify "+("{ withRef: true } in the options argument of the "+m+"() call.")),this.wrappedInstance},l.prototype.setWrappedInstance=function(e){this.wrappedInstance=e},l.prototype.initSelector=function(){var t=this.store.dispatch,n=this.getState,r=e(t,s),o=this.selector={shouldComponentUpdate:!0,props:r(n(),this.props),run:function(e){try{var t=r(n(),e);(o.error||t!==o.props)&&(o.shouldComponentUpdate=!0,o.props=t,o.error=null)}catch(e){o.shouldComponentUpdate=!0,o.error=e}}}},l.prototype.initSubscription=function(){var e=this;w&&!function(){var t=e.subscription=new v.default(e.store,e.parentSub),n={};t.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=function(){this.componentDidUpdate=void 0,t.notifyNestedSubs()},this.setState(n)):t.notifyNestedSubs()}.bind(e)}()},l.prototype.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},l.prototype.addExtraProps=function(e){if(!k&&!_)return e;var t=u({},e);return k&&(t.ref=this.setWrappedInstance),_&&(t[_]=this.renderCount++),t},l.prototype.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return(0,h.createElement)(t,this.addExtraProps(e.props))},l}(h.Component);return l.WrappedComponent=t,l.displayName=r,l.childContextTypes=O,l.contextTypes=N,l.propTypes=N,(0,d.default)(l,t)}}n.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.default=l;var c=e("hoist-non-react-statics"),d=r(c),f=e("invariant"),p=r(f),h=e("react"),m=e("../utils/Subscription"),v=r(m),b=e("../utils/storeShape"),g=r(b),y=0},{"../utils/Subscription":1151,"../utils/storeShape":1153,"hoist-non-react-statics":321,invariant:361,react:1269}],1143:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function i(e,t){return e===t}function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.connectHOC,n=void 0===t?c.default:t,r=e.mapStateToPropsFactories,s=void 0===r?v.default:r,u=e.mapDispatchToPropsFactories,d=void 0===u?h.default:u,p=e.mergePropsFactories,m=void 0===p?g.default:p,b=e.selectorFactory,y=void 0===b?_.default:b;return function(e,t,r){var u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=u.pure,p=void 0===c||c,h=u.areStatesEqual,v=void 0===h?i:h,b=u.areOwnPropsEqual,g=void 0===b?f.default:b,_=u.areStatePropsEqual,M=void 0===_?f.default:_,w=u.areMergedPropsEqual,S=void 0===w?f.default:w,C=o(u,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),x=a(e,s,"mapStateToProps"),k=a(t,d,"mapDispatchToProps"),T=a(r,m,"mergeProps");return n(y,l({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:x,initMapDispatchToProps:k,initMergeProps:T,pure:p,areStatesEqual:v,areOwnPropsEqual:g,areStatePropsEqual:M,areMergedPropsEqual:S},C))}}n.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.createConnect=s;var u=e("../components/connectAdvanced"),c=r(u),d=e("../utils/shallowEqual"),f=r(d),p=e("./mapDispatchToProps"),h=r(p),m=e("./mapStateToProps"),v=r(m),b=e("./mergeProps"),g=r(b),y=e("./selectorFactory"),_=r(y);n.default=s()},{"../components/connectAdvanced":1142,"../utils/shallowEqual":1152,"./mapDispatchToProps":1144,"./mapStateToProps":1145,"./mergeProps":1146,"./selectorFactory":1147}],1144:[function(e,t,n){"use strict";function r(e){return"function"==typeof e?(0,s.wrapMapToPropsFunc)(e,"mapDispatchToProps"):void 0}function o(e){return e?void 0:(0,s.wrapMapToPropsConstant)(function(e){return{dispatch:e}})}function a(e){return e&&"object"==typeof e?(0,s.wrapMapToPropsConstant)(function(t){return(0,i.bindActionCreators)(e,t)}):void 0}n.__esModule=!0,n.whenMapDispatchToPropsIsFunction=r,n.whenMapDispatchToPropsIsMissing=o,n.whenMapDispatchToPropsIsObject=a;var i=e("redux"),s=e("./wrapMapToProps");n.default=[r,o,a]},{"./wrapMapToProps":1149,redux:1287}],1145:[function(e,t,n){"use strict";function r(e){return"function"==typeof e?(0,a.wrapMapToPropsFunc)(e,"mapStateToProps"):void 0}function o(e){return e?void 0:(0,a.wrapMapToPropsConstant)(function(){return{}})}n.__esModule=!0,n.whenMapStateToPropsIsFunction=r,n.whenMapStateToPropsIsMissing=o;var a=e("./wrapMapToProps");n.default=[r,o]},{"./wrapMapToProps":1149}],1146:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return l({},n,e,t)}function a(e){return function(t,n){var r=(n.displayName,n.pure),o=n.areMergedPropsEqual,a=!1,i=void 0;return function(t,n,s){var l=e(t,n,s);return a?r&&o(l,i)||(i=l):(a=!0,i=l),i}}}function i(e){return"function"==typeof e?a(e):void 0}function s(e){return e?void 0:function(){return o}}n.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.defaultMergeProps=o,n.wrapMergePropsFunc=a,n.whenMergePropsIsFunction=i,n.whenMergePropsIsOmitted=s;var u=e("../utils/verifyPlainObject");r(u);n.default=[i,s]},{"../utils/verifyPlainObject":1154}],1147:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t,n,r){return function(o,a){return n(e(o,a),t(r,a),a)}}function i(e,t,n,r,o){function a(o,a){return h=o,m=a,v=e(h,m),b=t(r,m),g=n(v,b,m),p=!0,g}function i(){return v=e(h,m),t.dependsOnOwnProps&&(b=t(r,m)),g=n(v,b,m)}function s(){return e.dependsOnOwnProps&&(v=e(h,m)),t.dependsOnOwnProps&&(b=t(r,m)),g=n(v,b,m)}function l(){var t=e(h,m),r=!f(t,v);return v=t,r&&(g=n(v,b,m)),g}function u(e,t){var n=!d(t,m),r=!c(e,h);return h=e,m=t,n&&r?i():n?s():r?l():g}var c=o.areStatesEqual,d=o.areOwnPropsEqual,f=o.areStatePropsEqual,p=!1,h=void 0,m=void 0,v=void 0,b=void 0,g=void 0;return function(e,t){return p?u(e,t):a(e,t)}}function s(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,s=t.initMergeProps,l=o(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),u=n(e,l),c=r(e,l),d=s(e,l),f=l.pure?i:a;return f(u,c,d,e,l)}n.__esModule=!0,n.impureFinalPropsSelectorFactory=a,n.pureFinalPropsSelectorFactory=i,n.default=s;var l=e("./verifySubselectors");r(l)},{"./verifySubselectors":1148}],1148:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){if(!e)throw new Error("Unexpected value for "+t+" in "+n+".");"mapStateToProps"!==t&&"mapDispatchToProps"!==t||e.hasOwnProperty("dependsOnOwnProps")||(0,s.default)("The selector for "+t+" of "+n+" did not specify a value for dependsOnOwnProps.")}function a(e,t,n,r){o(e,"mapStateToProps",r),o(t,"mapDispatchToProps",r),o(n,"mergeProps",r)}n.__esModule=!0,n.default=a;var i=e("../utils/warning"),s=r(i)},{"../utils/warning":1155}],1149:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(t,n){function r(){return o}var o=e(t,n);return r.dependsOnOwnProps=!1,r}}function a(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function i(e,t){return function(t,n){var r=(n.displayName,function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)});return r.dependsOnOwnProps=a(e),r.mapToProps=function(t,n){r.mapToProps=e;var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=a(o),o=r(t,n)),o},r}}n.__esModule=!0,n.wrapMapToPropsConstant=o,n.getDependsOnOwnProps=a,n.wrapMapToPropsFunc=i;var s=e("../utils/verifyPlainObject");r(s)},{"../utils/verifyPlainObject":1154}],1150:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0,n.connect=n.connectAdvanced=n.Provider=void 0;var o=e("./components/Provider"),a=r(o),i=e("./components/connectAdvanced"),s=r(i),l=e("./connect/connect"),u=r(l);n.Provider=a.default,n.connectAdvanced=s.default,n.connect=u.default},{"./components/Provider":1141,"./components/connectAdvanced":1142,"./connect/connect":1143}],1151:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){var e=[],t=[];return{clear:function(){t=a,e=a},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==a&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}}n.__esModule=!0;var a=null,i={notify:function(){}},s=function(){function e(t,n){r(this,e),this.store=t,this.parentSub=n,this.unsubscribe=null,this.listeners=i}return e.prototype.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},e.prototype.notifyNestedSubs=function(){this.listeners.notify()},e.prototype.isSubscribed=function(){return Boolean(this.unsubscribe)},e.prototype.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=o())},e.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=i)},e}();n.default=s},{}],1152:[function(e,t,n){"use strict";function r(e,t){if(e===t)return!0;var n=0,r=0;for(var a in e){if(o.call(e,a)&&e[a]!==t[a])return!1;n++}for(var i in t)o.call(t,i)&&r++;return n===r}n.__esModule=!0,n.default=r;var o=Object.prototype.hasOwnProperty},{}],1153:[function(e,t,n){"use strict";n.__esModule=!0;var r=e("react");n.default=r.PropTypes.shape({subscribe:r.PropTypes.func.isRequired,dispatch:r.PropTypes.func.isRequired,getState:r.PropTypes.func.isRequired})},{react:1269}],1154:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){(0,i.default)(e)||(0,l.default)(n+"() in "+t+" must return a plain object. Instead received "+e+".")}n.__esModule=!0,n.default=o;var a=e("lodash/isPlainObject"),i=r(a),s=e("./warning"),l=r(s)},{"./warning":1155,"lodash/isPlainObject":743}],1155:[function(e,t,n){"use strict";function r(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}n.__esModule=!0,n.default=r},{}],1156:[function(e,t,n){"use strict";function r(e,t,n){function r(){return i=!0,s?void(u=[].concat(Array.prototype.slice.call(arguments))):void n.apply(this,arguments)}function o(){if(!i&&(l=!0,!s)){for(s=!0;!i&&a<e&&l;)l=!1,t.call(this,a++,o,r);return s=!1,i?void n.apply(this,u):void(a>=e&&l&&(i=!0,n()))}}var a=0,i=!1,s=!1,l=!1,u=void 0;o()}function o(e,t,n){function r(e,t,r){i||(t?(i=!0,n(t)):(a[e]=r,i=++s===o,i&&n(null,a)))}var o=e.length,a=[];if(0===o)return n(null,a);var i=!1,s=0;e.forEach(function(e,n){t(e,n,function(e,t){r(n,e,t)})})}n.__esModule=!0,n.loopAsync=r,n.mapAsync=o},{}],1157:[function(e,t,n){"use strict";function r(e){return"@@contextSubscriber/"+e}function o(e){var t,n,o=r(e),a=o+"/listeners",i=o+"/eventIndex",l=o+"/subscribe";return n={childContextTypes:(t={},t[o]=s.isRequired,t),getChildContext:function(){var e;return e={},e[o]={eventIndex:this[i],subscribe:this[l]},e},componentWillMount:function(){this[a]=[],this[i]=0},componentWillReceiveProps:function(){this[i]++},componentDidUpdate:function(){var e=this;this[a].forEach(function(t){return t(e[i])})}},n[l]=function(e){var t=this;return this[a].push(e),function(){t[a]=t[a].filter(function(t){return t!==e})}},n}function a(e){var t,n,o=r(e),a=o+"/lastRenderedEventIndex",i=o+"/handleContextUpdate",l=o+"/unsubscribe";return n={contextTypes:(t={},t[o]=s,t),getInitialState:function(){var e;return this.context[o]?(e={},e[a]=this.context[o].eventIndex,e):{}},componentDidMount:function(){this.context[o]&&(this[l]=this.context[o].subscribe(this[i]))},componentWillReceiveProps:function(){var e;this.context[o]&&this.setState((e={},e[a]=this.context[o].eventIndex,e))},componentWillUnmount:function(){this[l]&&(this[l](),this[l]=null)}},n[i]=function(e){if(e!==this.state[a]){var t;this.setState((t={},t[a]=e,t))}},n}n.__esModule=!0,n.ContextProvider=o,n.ContextSubscriber=a;var i=e("react"),s=i.PropTypes.shape({subscribe:i.PropTypes.func.isRequired,eventIndex:i.PropTypes.number.isRequired})},{react:1269}],1158:[function(e,t,n){"use strict";function r(e,t,n){if(e[t])return new Error("<"+n+'> should not have a "'+t+'" prop')}n.__esModule=!0,n.routes=n.route=n.components=n.component=n.history=void 0,n.falsy=r;var o=e("react"),a=o.PropTypes.func,i=o.PropTypes.object,s=o.PropTypes.arrayOf,l=o.PropTypes.oneOfType,u=o.PropTypes.element,c=o.PropTypes.shape,d=o.PropTypes.string,f=(n.history=c({listen:a.isRequired,push:a.isRequired,replace:a.isRequired,go:a.isRequired,goBack:a.isRequired,goForward:a.isRequired}),n.component=l([a,d])),p=(n.components=l([f,i]),n.route=l([i,u]));n.routes=l([p,s(p)])},{react:1269}],1159:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e){return 0===e.button}function i(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function s(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0}function l(e,t){return"function"==typeof e?e(t.location):e}n.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=e("react"),d=r(c),f=e("invariant"),p=r(f),h=e("./PropTypes"),m=e("./ContextUtils"),v=d.default.PropTypes,b=v.bool,g=v.object,y=v.string,_=v.func,M=v.oneOfType,w=d.default.createClass({displayName:"Link",mixins:[(0,m.ContextSubscriber)("router")],contextTypes:{router:h.routerShape},propTypes:{to:M([y,g,_]),query:g,hash:y,state:g,activeStyle:g,activeClassName:y,onlyActiveOnIndex:b.isRequired,onClick:_,target:y},getDefaultProps:function(){return{onlyActiveOnIndex:!1,style:{}}},handleClick:function(e){if(this.props.onClick&&this.props.onClick(e),!e.defaultPrevented){var t=this.context.router;t?void 0:(0,p.default)(!1),!i(e)&&a(e)&&(this.props.target||(e.preventDefault(),t.push(l(this.props.to,t))))}},render:function(){var e=this.props,t=e.to,n=e.activeClassName,r=e.activeStyle,a=e.onlyActiveOnIndex,i=o(e,["to","activeClassName","activeStyle","onlyActiveOnIndex"]),c=this.context.router;if(c){if(null==t)return d.default.createElement("a",i);var f=l(t,c);i.href=c.createHref(f),(n||null!=r&&!s(r))&&c.isActive(f,a)&&(n&&(i.className?i.className+=" "+n:i.className=n),r&&(i.style=u({},i.style,r)))}return d.default.createElement("a",u({},i,{onClick:this.handleClick}))}});n.default=w,t.exports=n.default},{"./ContextUtils":1157,"./PropTypes":1162,invariant:361,react:1269}],1160:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function a(e){for(var t="",n=[],r=[],a=void 0,i=0,s=/:([a-zA-Z_$][a-zA-Z0-9_$]*)|\*\*|\*|\(|\)/g;a=s.exec(e);)a.index!==i&&(r.push(e.slice(i,a.index)),t+=o(e.slice(i,a.index))),a[1]?(t+="([^/]+)",n.push(a[1])):"**"===a[0]?(t+="(.*)",n.push("splat")):"*"===a[0]?(t+="(.*?)",n.push("splat")):"("===a[0]?t+="(?:":")"===a[0]&&(t+=")?"),r.push(a[0]),i=s.lastIndex;return i!==e.length&&(r.push(e.slice(i,e.length)),t+=o(e.slice(i,e.length))),{pattern:e,regexpSource:t,paramNames:n,tokens:r}}function i(e){return p[e]||(p[e]=a(e)),p[e]}function s(e,t){"/"!==e.charAt(0)&&(e="/"+e);var n=i(e),r=n.regexpSource,o=n.paramNames,a=n.tokens;"/"!==e.charAt(e.length-1)&&(r+="/?"),"*"===a[a.length-1]&&(r+="$");var s=t.match(new RegExp("^"+r,"i"));if(null==s)return null;var l=s[0],u=t.substr(l.length);if(u){if("/"!==l.charAt(l.length-1))return null;u="/"+u}return{remainingPathname:u,paramNames:o,paramValues:s.slice(1).map(function(e){return e&&decodeURIComponent(e)})}}function l(e){return i(e).paramNames}function u(e,t){var n=s(e,t);if(!n)return null;var r=n.paramNames,o=n.paramValues,a={};return r.forEach(function(e,t){a[e]=o[t]}),a}function c(e,t){t=t||{};for(var n=i(e),r=n.tokens,o=0,a="",s=0,l=[],u=void 0,c=void 0,d=void 0,p=0,h=r.length;p<h;++p)if(u=r[p],"*"===u||"**"===u)d=Array.isArray(t.splat)?t.splat[s++]:t.splat,null!=d||o>0?void 0:(0,f.default)(!1),null!=d&&(a+=encodeURI(d));else if("("===u)l[o]="",o+=1;else if(")"===u){var m=l.pop();o-=1,o?l[o-1]+=m:a+=m}else if(":"===u.charAt(0))if(c=u.substring(1),d=t[c],null!=d||o>0?void 0:(0,f.default)(!1),null==d){if(o){l[o-1]="";for(var v=r.indexOf(u),b=r.slice(v,r.length),g=-1,y=0;y<b.length;y++)if(")"==b[y]){g=y;break}g>0?void 0:(0,f.default)(!1),p=v+g-1}}else o?l[o-1]+=encodeURIComponent(d):a+=encodeURIComponent(d);else o?l[o-1]+=u:a+=u;return o<=0?void 0:(0,f.default)(!1),a.replace(/\/+/g,"/")}n.__esModule=!0,n.compilePattern=i,n.matchPattern=s,n.getParamNames=l,n.getParams=u,n.formatPattern=c;var d=e("invariant"),f=r(d),p=Object.create(null)},{invariant:361}],1161:[function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.then}n.__esModule=!0,n.isPromise=r},{}],1162:[function(e,t,n){"use strict";n.__esModule=!0,n.locationShape=n.routerShape=void 0;var r=e("react"),o=r.PropTypes.func,a=r.PropTypes.object,i=r.PropTypes.shape,s=r.PropTypes.string;n.routerShape=i({push:o.isRequired,
|
49 | replace:o.isRequired,go:o.isRequired,goBack:o.isRequired,goForward:o.isRequired,setRouteLeaveHook:o.isRequired,isActive:o.isRequired}),n.locationShape=i({pathname:s.isRequired,search:s.isRequired,state:a,action:s.isRequired,key:s})},{react:1269}],1163:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return null==e||f.default.isValidElement(e)}function a(e){return o(e)||Array.isArray(e)&&e.every(o)}function i(e,t){return c({},e,t)}function s(e){var t=e.type,n=i(t.defaultProps,e.props);if(n.children){var r=l(n.children,n);r.length&&(n.childRoutes=r),delete n.children}return n}function l(e,t){var n=[];return f.default.Children.forEach(e,function(e){if(f.default.isValidElement(e))if(e.type.createRouteFromReactElement){var r=e.type.createRouteFromReactElement(e,t);r&&n.push(r)}else n.push(s(e))}),n}function u(e){return a(e)?e=l(e):e&&!Array.isArray(e)&&(e=[e]),e}n.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.isReactChildren=a,n.createRouteFromReactElement=s,n.createRoutesFromReactChildren=l,n.createRoutes=u;var d=e("react"),f=r(d)},{react:1269}],1164:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}n.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=e("invariant"),s=r(i),l=e("react"),u=r(l),c=e("./createTransitionManager"),d=r(c),f=e("./InternalPropTypes"),p=e("./RouterContext"),h=r(p),m=e("./RouteUtils"),v=e("./RouterUtils"),b=e("./routerWarning"),g=(r(b),u.default.PropTypes),y=g.func,_=g.object,M=u.default.createClass({displayName:"Router",propTypes:{history:_,children:f.routes,routes:f.routes,render:y,createElement:y,onError:y,onUpdate:y,matchContext:_},getDefaultProps:function(){return{render:function(e){return u.default.createElement(h.default,e)}}},getInitialState:function(){return{location:null,routes:null,params:null,components:null}},handleError:function(e){if(!this.props.onError)throw e;this.props.onError.call(this,e)},createRouterObject:function(e){var t=this.props.matchContext;if(t)return t.router;var n=this.props.history;return(0,v.createRouterObject)(n,this.transitionManager,e)},createTransitionManager:function(){var e=this.props.matchContext;if(e)return e.transitionManager;var t=this.props.history,n=this.props,r=n.routes,o=n.children;return t.getCurrentLocation?void 0:(0,s.default)(!1),(0,d.default)(t,(0,m.createRoutes)(r||o))},componentWillMount:function(){var e=this;this.transitionManager=this.createTransitionManager(),this.router=this.createRouterObject(this.state),this._unlisten=this.transitionManager.listen(function(t,n){t?e.handleError(t):((0,v.assignRouterState)(e.router,n),e.setState(n,e.props.onUpdate))})},componentWillReceiveProps:function(e){},componentWillUnmount:function(){this._unlisten&&this._unlisten()},render:function e(){var t=this.state,n=t.location,r=t.routes,i=t.params,s=t.components,l=this.props,u=l.createElement,e=l.render,c=o(l,["createElement","render"]);return null==n?null:(Object.keys(M.propTypes).forEach(function(e){return delete c[e]}),e(a({},c,{router:this.router,location:n,routes:r,params:i,components:s,createElement:u})))}});n.default=M,t.exports=n.default},{"./InternalPropTypes":1158,"./RouteUtils":1163,"./RouterContext":1165,"./RouterUtils":1166,"./createTransitionManager":1170,"./routerWarning":1176,invariant:361,react:1269}],1165:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=e("invariant"),s=r(i),l=e("react"),u=r(l),c=e("./getRouteParams"),d=r(c),f=e("./ContextUtils"),p=e("./RouteUtils"),h=u.default.PropTypes,m=h.array,v=h.func,b=h.object,g=u.default.createClass({displayName:"RouterContext",mixins:[(0,f.ContextProvider)("router")],propTypes:{router:b.isRequired,location:b.isRequired,routes:m.isRequired,params:b.isRequired,components:m.isRequired,createElement:v.isRequired},getDefaultProps:function(){return{createElement:u.default.createElement}},childContextTypes:{router:b.isRequired},getChildContext:function(){return{router:this.props.router}},createElement:function(e,t){return null==e?null:this.props.createElement(e,t)},render:function(){var e=this,t=this.props,n=t.location,r=t.routes,i=t.params,l=t.components,c=t.router,f=null;return l&&(f=l.reduceRight(function(t,s,l){if(null==s)return t;var u=r[l],f=(0,d.default)(u,i),h={location:n,params:i,route:u,router:c,routeParams:f,routes:r};if((0,p.isReactChildren)(t))h.children=t;else if(t)for(var m in t)Object.prototype.hasOwnProperty.call(t,m)&&(h[m]=t[m]);if("object"===("undefined"==typeof s?"undefined":a(s))){var v={};for(var b in s)Object.prototype.hasOwnProperty.call(s,b)&&(v[b]=e.createElement(s[b],o({key:b},h)));return v}return e.createElement(s,h)},f)),null===f||f===!1||u.default.isValidElement(f)?void 0:(0,s.default)(!1),f}});n.default=g,t.exports=n.default},{"./ContextUtils":1157,"./RouteUtils":1163,"./getRouteParams":1172,invariant:361,react:1269}],1166:[function(e,t,n){"use strict";function r(e,t,n){var r=a({},e,{setRouteLeaveHook:t.listenBeforeLeavingRoute,isActive:t.isActive});return o(r,n)}function o(e,t){var n=t.location,r=t.params,o=t.routes;return e.location=n,e.params=r,e.routes=o,e}n.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.createRouterObject=r,n.assignRouterState=o},{}],1167:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t,n,r){var o=e.length<n,a=function(){for(var n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];if(e.apply(t,r),o){var i=r[r.length-1];i()}};return r.add(a),a}function a(e){return e.reduce(function(e,t){return t.onEnter&&e.push(o(t.onEnter,t,3,p)),e},[])}function i(e){return e.reduce(function(e,t){return t.onChange&&e.push(o(t.onChange,t,4,h)),e},[])}function s(e,t,n){function r(e){o=e}if(!e)return void n();var o=void 0;(0,d.loopAsync)(e,function(e,n,a){t(e,r,function(e){e||o?a(e,o):n()})},n)}function l(e,t,n){p.clear();var r=a(e);return s(r.length,function(e,n,o){var a=function(){p.has(r[e])&&(o(),p.remove(r[e]))};r[e](t,n,a)},n)}function u(e,t,n,r){h.clear();var o=i(e);return s(o.length,function(e,r,a){var i=function(){h.has(o[e])&&(a(),h.remove(o[e]))};o[e](t,n,r,i)},r)}function c(e,t){for(var n=0,r=e.length;n<r;++n)e[n].onLeave&&e[n].onLeave.call(e[n],t)}n.__esModule=!0,n.runEnterHooks=l,n.runChangeHooks=u,n.runLeaveHooks=c;var d=e("./AsyncUtils"),f=function e(){var t=this;r(this,e),this.hooks=[],this.add=function(e){return t.hooks.push(e)},this.remove=function(e){return t.hooks=t.hooks.filter(function(t){return t!==e})},this.has=function(e){return t.hooks.indexOf(e)!==-1},this.clear=function(){return t.hooks=[]}},p=new f,h=new f},{"./AsyncUtils":1156}],1168:[function(e,t,n){"use strict";function r(e,t,n){if(!e.path)return!1;var r=(0,a.getParamNames)(e.path);return r.some(function(e){return t.params[e]!==n.params[e]})}function o(e,t){var n=e&&e.routes,o=t.routes,a=void 0,i=void 0,s=void 0;return n?!function(){var l=!1;a=n.filter(function(n){if(l)return!0;var a=o.indexOf(n)===-1||r(n,e,t);return a&&(l=!0),a}),a.reverse(),s=[],i=[],o.forEach(function(e){var t=n.indexOf(e)===-1,r=a.indexOf(e)!==-1;t||r?s.push(e):i.push(e)})}():(a=[],i=[],s=o),{leaveRoutes:a,changeRoutes:i,enterRoutes:s}}n.__esModule=!0;var a=e("./PatternUtils");n.default=o,t.exports=n.default},{"./PatternUtils":1160}],1169:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0,n.default=function(e){var t=void 0;return i&&(t=(0,a.default)(e)()),t};var o=e("./useRouterHistory"),a=r(o),i=!("undefined"==typeof window||!window.document||!window.document.createElement);t.exports=n.default},{"./useRouterHistory":1177}],1170:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!0;return!1}function a(e,t){function n(t,n){return t=e.createLocation(t),(0,f.default)(t,n,y.location,y.routes,y.params)}function r(e,n){_&&_.location===e?a(_,n):(0,v.default)(t,e,function(t,r){t?n(t):r?a(i({},r,{location:e}),n):n()})}function a(e,t){function n(n,o){return n||o?r(n,o):void(0,h.default)(e,function(n,r){n?t(n):t(null,null,y=i({},e,{components:r}))})}function r(e,n){e?t(e):t(null,n)}var o=(0,u.default)(y,e),a=o.leaveRoutes,s=o.changeRoutes,l=o.enterRoutes;(0,c.runLeaveHooks)(a,y),a.filter(function(e){return l.indexOf(e)===-1}).forEach(m),(0,c.runChangeHooks)(s,y,e,function(t,o){return t||o?r(t,o):void(0,c.runEnterHooks)(l,e,n)})}function s(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.__id__||t&&(e.__id__=M++)}function l(e){return e.map(function(e){return w[s(e)]}).filter(function(e){return e})}function d(e,n){(0,v.default)(t,e,function(t,r){if(null==r)return void n();_=i({},r,{location:e});for(var o=l((0,u.default)(y,_).leaveRoutes),a=void 0,s=0,c=o.length;null==a&&s<c;++s)a=o[s](e);n(a)})}function p(){if(y.routes){for(var e=l(y.routes),t=void 0,n=0,r=e.length;"string"!=typeof t&&n<r;++n)t=e[n]();return t}}function m(e){var t=s(e);t&&(delete w[t],o(w)||(S&&(S(),S=null),C&&(C(),C=null)))}function b(t,n){var r=!o(w),a=s(t,!0);return w[a]=n,r&&(S=e.listenBefore(d),e.listenBeforeUnload&&(C=e.listenBeforeUnload(p))),function(){m(t)}}function g(t){function n(n){y.location===n?t(null,y):r(n,function(n,r,o){n?t(n):r?e.replace(r):o&&t(null,o)})}var o=e.listen(n);return y.location?t(null,y):n(e.getCurrentLocation()),o}var y={},_=void 0,M=1,w=Object.create(null),S=void 0,C=void 0;return{isActive:n,match:r,listenBeforeLeavingRoute:b,listen:g}}n.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.default=a;var s=e("./routerWarning"),l=(r(s),e("./computeChangedRoutes")),u=r(l),c=e("./TransitionUtils"),d=e("./isActive"),f=r(d),p=e("./getComponents"),h=r(p),m=e("./matchRoutes"),v=r(m);t.exports=n.default},{"./TransitionUtils":1167,"./computeChangedRoutes":1168,"./getComponents":1171,"./isActive":1174,"./matchRoutes":1175,"./routerWarning":1176}],1171:[function(e,t,n){"use strict";function r(e,t,n){if(t.component||t.components)return void n(null,t.component||t.components);var r=t.getComponent||t.getComponents;if(r){var o=r.call(t,e,n);(0,i.isPromise)(o)&&o.then(function(e){return n(null,e)},n)}else n()}function o(e,t){(0,a.mapAsync)(e.routes,function(t,n,o){r(e,t,o)},t)}n.__esModule=!0;var a=e("./AsyncUtils"),i=e("./PromiseUtils");n.default=o,t.exports=n.default},{"./AsyncUtils":1156,"./PromiseUtils":1161}],1172:[function(e,t,n){"use strict";function r(e,t){var n={};return e.path?((0,o.getParamNames)(e.path).forEach(function(e){Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])}),n):n}n.__esModule=!0;var o=e("./PatternUtils");n.default=r,t.exports=n.default},{"./PatternUtils":1160}],1173:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0;var o=e("history/lib/createHashHistory"),a=r(o),i=e("./createRouterHistory"),s=r(i);n.default=(0,s.default)(a.default),t.exports=n.default},{"./createRouterHistory":1169,"history/lib/createHashHistory":316}],1174:[function(e,t,n){"use strict";function r(e,t){if(e==t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(e,n){return r(e,t[n])});if("object"===("undefined"==typeof e?"undefined":l(e))){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n))if(void 0===e[n]){if(void 0!==t[n])return!1}else{if(!Object.prototype.hasOwnProperty.call(t,n))return!1;if(!r(e[n],t[n]))return!1}return!0}return String(e)===String(t)}function o(e,t){return"/"!==t.charAt(0)&&(t="/"+t),"/"!==e.charAt(e.length-1)&&(e+="/"),"/"!==t.charAt(t.length-1)&&(t+="/"),t===e}function a(e,t,n){for(var r=e,o=[],a=[],i=0,s=t.length;i<s;++i){var l=t[i],c=l.path||"";if("/"===c.charAt(0)&&(r=e,o=[],a=[]),null!==r&&c){var d=(0,u.matchPattern)(c,r);if(d?(r=d.remainingPathname,o=[].concat(o,d.paramNames),a=[].concat(a,d.paramValues)):r=null,""===r)return o.every(function(e,t){return String(a[t])===String(n[e])})}}return!1}function i(e,t){return null==t?null==e:null==e||r(e,t)}function s(e,t,n,r,s){var l=e.pathname,u=e.query;return null!=n&&("/"!==l.charAt(0)&&(l="/"+l),!!(o(l,n.pathname)||!t&&a(l,r,s))&&i(u,n.query))}n.__esModule=!0;var l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n.default=s;var u=e("./PatternUtils");t.exports=n.default},{"./PatternUtils":1160}],1175:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o){if(e.childRoutes)return[null,e.childRoutes];if(!e.getChildRoutes)return[];var a=!0,i=void 0,l={location:t,params:s(n,r)},u=e.getChildRoutes(l,function(e,t){return t=!e&&(0,v.createRoutes)(t),a?void(i=[e,t]):void o(e,t)});return(0,p.isPromise)(u)&&u.then(function(e){return o(null,(0,v.createRoutes)(e))},o),a=!1,i}function a(e,t,n,r,o){if(e.indexRoute)o(null,e.indexRoute);else if(e.getIndexRoute){var i={location:t,params:s(n,r)},l=e.getIndexRoute(i,function(e,t){o(e,!e&&(0,v.createRoutes)(t)[0])});(0,p.isPromise)(l)&&l.then(function(e){return o(null,(0,v.createRoutes)(e)[0])},o)}else e.childRoutes?!function(){var i=e.childRoutes.filter(function(e){return!e.path});(0,f.loopAsync)(i.length,function(e,o,s){a(i[e],t,n,r,function(t,n){if(t||n){var r=[i[e]].concat(Array.isArray(n)?n:[n]);s(t,r)}else o()})},function(e,t){o(null,t)})}():o()}function i(e,t,n){return t.reduce(function(e,t,r){var o=n&&n[r];return Array.isArray(e[t])?e[t].push(o):t in e?e[t]=[e[t],o]:e[t]=o,e},e)}function s(e,t){return i({},e,t)}function l(e,t,n,r,i,l){var c=e.path||"";if("/"===c.charAt(0)&&(n=t.pathname,r=[],i=[]),null!==n&&c){try{var f=(0,h.matchPattern)(c,n);f?(n=f.remainingPathname,r=[].concat(r,f.paramNames),i=[].concat(i,f.paramValues)):n=null}catch(e){l(e)}if(""===n){var p=function(){var n={routes:[e],params:s(r,i)};return a(e,t,r,i,function(e,t){if(e)l(e);else{if(Array.isArray(t)){var r;(r=n.routes).push.apply(r,t)}else t&&n.routes.push(t);l(null,n)}}),{v:void 0}}();if("object"===("undefined"==typeof p?"undefined":d(p)))return p.v}}if(null!=n||e.childRoutes){var m=function(o,a){o?l(o):a?u(a,t,function(t,n){t?l(t):n?(n.routes.unshift(e),l(null,n)):l()},n,r,i):l()},v=o(e,t,r,i,m);v&&m.apply(void 0,v)}else l()}function u(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];void 0===r&&("/"!==t.pathname.charAt(0)&&(t=c({},t,{pathname:"/"+t.pathname})),r=t.pathname),(0,f.loopAsync)(e.length,function(n,i,s){l(e[n],t,r,o,a,function(e,t){e||t?s(e,t):i()})},n)}n.__esModule=!0;var c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n.default=u;var f=e("./AsyncUtils"),p=e("./PromiseUtils"),h=e("./PatternUtils"),m=e("./routerWarning"),v=(r(m),e("./RouteUtils"));t.exports=n.default},{"./AsyncUtils":1156,"./PatternUtils":1160,"./PromiseUtils":1161,"./RouteUtils":1163,"./routerWarning":1176}],1176:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(t.indexOf("deprecated")!==-1){if(l[t])return;l[t]=!0}t="[react-router] "+t;for(var n=arguments.length,r=Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];s.default.apply(void 0,[e,t].concat(r))}function a(){l={}}n.__esModule=!0,n.default=o,n._resetWarned=a;var i=e("warning"),s=r(i),l={}},{warning:1371}],1177:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(t){var n=(0,i.default)((0,l.default)(e))(t);return n}}n.__esModule=!0,n.default=o;var a=e("history/lib/useQueries"),i=r(a),s=e("history/lib/useBasename"),l=r(s);t.exports=n.default},{"history/lib/useBasename":319,"history/lib/useQueries":320}],1178:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(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)}function s(e){return f.default.createElement(h.default,e)}Object.defineProperty(n,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=function(e,t,n){for(var r=!0;r;){var o=e,a=t,i=n;r=!1,null===o&&(o=Function.prototype);var s=Object.getOwnPropertyDescriptor(o,a);if(void 0!==s){if("value"in s)return s.value;var l=s.get;if(void 0===l)return;return l.call(i)}var u=Object.getPrototypeOf(o);if(null===u)return;e=u,t=a,n=i,r=!0,s=u=void 0}},d=e("react"),f=r(d),p=e("./Select"),h=r(p),m=e("./utils/stripDiacritics"),v=r(m),b={autoload:f.default.PropTypes.bool.isRequired,cache:f.default.PropTypes.any,children:f.default.PropTypes.func.isRequired,ignoreAccents:f.default.PropTypes.bool,ignoreCase:f.default.PropTypes.bool,loadingPlaceholder:f.default.PropTypes.oneOfType([f.default.PropTypes.string,f.default.PropTypes.node]),loadOptions:f.default.PropTypes.func.isRequired,options:d.PropTypes.array.isRequired,placeholder:f.default.PropTypes.oneOfType([f.default.PropTypes.string,f.default.PropTypes.node]),noResultsText:f.default.PropTypes.oneOfType([f.default.PropTypes.string,f.default.PropTypes.node]),onChange:f.default.PropTypes.func,searchPromptText:f.default.PropTypes.oneOfType([f.default.PropTypes.string,f.default.PropTypes.node]),onInputChange:f.default.PropTypes.func,value:f.default.PropTypes.any},g={},y={autoload:!0,cache:g,children:s,ignoreAccents:!0,ignoreCase:!0,loadingPlaceholder:"Loading...",options:[],searchPromptText:"Type to search"},_=function(e){function t(e,n){a(this,t),c(Object.getPrototypeOf(t.prototype),"constructor",this).call(this,e,n),this._cache=e.cache===g?{}:e.cache,this.state={isLoading:!1,options:e.options},this._onInputChange=this._onInputChange.bind(this)}return i(t,e),u(t,[{key:"componentDidMount",value:function(){var e=this.props.autoload;e&&this.loadOptions("")}},{key:"componentWillUpdate",value:function(e,t){var n=this,r=["options"];r.forEach(function(t){n.props[t]!==e[t]&&n.setState(o({},t,e[t]))})}},{key:"clearOptions",value:function(){this.setState({options:[]})}},{key:"loadOptions",value:function e(t){var n=this,e=this.props.loadOptions,r=this._cache;if(r&&r.hasOwnProperty(t))return void this.setState({options:r[t]});var o=function e(o,a){if(e===n._callback){n._callback=null;var i=a&&a.options||[];r&&(r[t]=i),n.setState({isLoading:!1,options:i})}};this._callback=o;var a=e(t,o);return a&&a.then(function(e){return o(null,e)},function(e){return o(e)}),this._callback&&!this.state.isLoading&&this.setState({isLoading:!0}),t}},{key:"_onInputChange",value:function(e){var t=this.props,n=t.ignoreAccents,r=t.ignoreCase,o=t.onInputChange;return n&&(e=(0,v.default)(e)),r&&(e=e.toLowerCase()),o&&o(e),this.loadOptions(e)}},{key:"inputValue",value:function(){return this.select?this.select.state.inputValue:""}},{key:"noResultsText",value:function e(){var t=this.props,n=t.loadingPlaceholder,e=t.noResultsText,r=t.searchPromptText,o=this.state.isLoading,a=this.inputValue();return o?n:a&&e?e:r}},{key:"focus",value:function(){this.select.focus()}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.loadingPlaceholder,o=t.placeholder,a=this.state,i=a.isLoading,s=a.options,u={noResultsText:this.noResultsText(),placeholder:i?r:o,options:i&&r?[]:s,ref:function(t){return e.select=t},onChange:function(t){e.props.multi&&e.props.value&&t.length>e.props.value.length&&e.clearOptions(),e.props.onChange(t)}};return n(l({},this.props,u,{isLoading:i,onInputChange:this._onInputChange}))}}]),t}(d.Component);n.default=_,_.propTypes=b,_.defaultProps=y,t.exports=n.default},{"./Select":1182,"./utils/stripDiacritics":1188,react:1269}],1179:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return Object.keys(e).reduce(function(t,n){var r=e[n];return void 0!==r&&(t[n]=r),t},t)}var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=e("react"),s=r(i),l=e("./Select"),u=r(l),c=s.default.createClass({displayName:"AsyncCreatableSelect",render:function(){var e=this;return s.default.createElement(u.default.Async,this.props,function(t){return s.default.createElement(u.default.Creatable,e.props,function(e){return s.default.createElement(u.default,a({},o(t,o(e,{})),{onInputChange:function(n){return e.onInputChange(n),t.onInputChange(n)},ref:function(n){e.ref(n),t.ref(n)}}))})})}});t.exports=c},{"./Select":1182,react:1269}],1180:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e){return p.default.createElement(m.default,e)}function i(e){var t=e.option,n=e.options,r=e.labelKey,o=e.valueKey;return 0===n.filter(function(e){return e[r]===t[r]||e[o]===t[o]}).length}function s(e){var t=e.label;return!!t}function l(e){var t=e.label,n=e.labelKey,r=e.valueKey,o={};return o[r]=t,o[n]=t,o.className="Select-create-option-placeholder",o}function u(e){return'Create option "'+e+'"'}function c(e){var t=e.keyCode;switch(t){case 9:case 13:case 188:return!0}return!1}var d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=e("react"),p=r(f),h=e("./Select"),m=r(h),v=e("./utils/defaultFilterOptions"),b=r(v),g=e("./utils/defaultMenuRenderer"),y=r(g),_=p.default.createClass({displayName:"CreatableSelect",propTypes:{children:p.default.PropTypes.func,filterOptions:p.default.PropTypes.any,isOptionUnique:p.default.PropTypes.func,isValidNewOption:p.default.PropTypes.func,menuRenderer:p.default.PropTypes.any,newOptionCreator:p.default.PropTypes.func,onInputChange:p.default.PropTypes.func,onInputKeyDown:p.default.PropTypes.func,onNewOptionClick:p.default.PropTypes.func,options:p.default.PropTypes.array,promptTextCreator:p.default.PropTypes.func,shouldKeyDownEventCreateNewOption:p.default.PropTypes.func},statics:{isOptionUnique:i,isValidNewOption:s,newOptionCreator:l,promptTextCreator:u,shouldKeyDownEventCreateNewOption:c},getDefaultProps:function(){return{filterOptions:b.default,isOptionUnique:i,isValidNewOption:s,menuRenderer:y.default,newOptionCreator:l,promptTextCreator:u,shouldKeyDownEventCreateNewOption:c}},createNewOption:function(){var e=this.props,t=e.isValidNewOption,n=e.newOptionCreator,r=e.onNewOptionClick,o=e.options,a=void 0===o?[]:o;e.shouldKeyDownEventCreateNewOption;if(t({label:this.inputValue})){var i=n({label:this.inputValue,labelKey:this.labelKey,valueKey:this.valueKey}),s=this.isOptionUnique({option:i});s&&(r?r(i):(a.unshift(i),this.select.selectValue(i)))}},filterOptions:function e(){var t=this.props,e=t.filterOptions,n=t.isValidNewOption,r=(t.options,t.promptTextCreator),o=arguments[2]||[],a=e.apply(void 0,arguments)||[];if(n({label:this.inputValue})){var i=this.props.newOptionCreator,s=i({label:this.inputValue,labelKey:this.labelKey,valueKey:this.valueKey}),l=this.isOptionUnique({option:s,options:o.concat(a)});if(l){var u=r(this.inputValue);this._createPlaceholderOption=i({label:u,labelKey:this.labelKey,valueKey:this.valueKey}),a.unshift(this._createPlaceholderOption)}}return a},isOptionUnique:function e(t){var n=t.option,r=t.options,e=this.props.isOptionUnique;return r=r||this.select.filterOptions(),e({labelKey:this.labelKey,option:n,options:r,valueKey:this.valueKey})},menuRenderer:function e(t){var e=this.props.menuRenderer;return e(d({},t,{onSelect:this.onOptionSelect,selectValue:this.onOptionSelect}))},onInputChange:function e(t){var e=this.props.onInputChange;e&&e(t),this.inputValue=t},onInputKeyDown:function e(t){var n=this.props,r=n.shouldKeyDownEventCreateNewOption,e=n.onInputKeyDown,o=this.select.getFocusedOption();o&&o===this._createPlaceholderOption&&r({keyCode:t.keyCode})?(this.createNewOption(),t.preventDefault()):e&&e(t)},onOptionSelect:function(e,t){e===this._createPlaceholderOption?this.createNewOption():this.select.selectValue(e)},render:function(){var e=this,t=this.props,n=(t.newOptionCreator,t.shouldKeyDownEventCreateNewOption,o(t,["newOptionCreator","shouldKeyDownEventCreateNewOption"])),r=this.props.children;r||(r=a);var i=d({},n,{allowCreate:!0,filterOptions:this.filterOptions,menuRenderer:this.menuRenderer,onInputChange:this.onInputChange,onInputKeyDown:this.onInputKeyDown,ref:function(t){e.select=t,t&&(e.labelKey=t.props.labelKey,e.valueKey=t.props.valueKey)}});return r(i)}});t.exports=_},{"./Select":1182,"./utils/defaultFilterOptions":1186,"./utils/defaultMenuRenderer":1187,react:1269}],1181:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=e("react"),a=r(o),i=e("classnames"),s=r(i),l=a.default.createClass({displayName:"Option",propTypes:{children:a.default.PropTypes.node,className:a.default.PropTypes.string,instancePrefix:a.default.PropTypes.string.isRequired,isDisabled:a.default.PropTypes.bool,isFocused:a.default.PropTypes.bool,isSelected:a.default.PropTypes.bool,onFocus:a.default.PropTypes.func,onSelect:a.default.PropTypes.func,onUnfocus:a.default.PropTypes.func,option:a.default.PropTypes.object.isRequired,optionIndex:a.default.PropTypes.number},blockEvent:function(e){e.preventDefault(),e.stopPropagation(),"A"===e.target.tagName&&"href"in e.target&&(e.target.target?window.open(e.target.href,e.target.target):window.location.href=e.target.href)},handleMouseDown:function(e){e.preventDefault(),e.stopPropagation(),this.props.onSelect(this.props.option,e)},handleMouseEnter:function(e){this.onFocus(e)},handleMouseMove:function(e){this.onFocus(e)},handleTouchEnd:function(e){this.dragging||this.handleMouseDown(e)},handleTouchMove:function(e){this.dragging=!0},handleTouchStart:function(e){this.dragging=!1},onFocus:function(e){this.props.isFocused||this.props.onFocus(this.props.option,e)},render:function(){var e=this.props,t=e.option,n=e.instancePrefix,r=e.optionIndex,o=(0,s.default)(this.props.className,t.className);return t.disabled?a.default.createElement("div",{className:o,onMouseDown:this.blockEvent,onClick:this.blockEvent},this.props.children):a.default.createElement("div",{className:o,style:t.style,role:"option",onMouseDown:this.handleMouseDown,onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,id:n+"-option-"+r,title:t.title},this.props.children)}});t.exports=l},{classnames:157,react:1269}],1182:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}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}function i(e){var t=typeof e;return"string"===t?e:"object"===t?JSON.stringify(e):"number"===t||"boolean"===t?String(e):""}Object.defineProperty(n,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=e("react"),u=r(l),c=e("react-dom"),d=r(c),f=e("react-input-autosize"),p=r(f),h=e("classnames"),m=r(h),v=e("./utils/defaultArrowRenderer"),b=r(v),g=e("./utils/defaultFilterOptions"),y=r(g),_=e("./utils/defaultMenuRenderer"),M=r(_),w=e("./utils/defaultClearRenderer"),S=r(w),C=e("./Async"),x=r(C),k=e("./AsyncCreatable"),T=r(k),A=e("./Creatable"),P=r(A),N=e("./Option"),O=r(N),E=e("./Value"),z=r(E),R=u.default.PropTypes.oneOfType([u.default.PropTypes.string,u.default.PropTypes.node]),j=1,L=u.default.createClass({displayName:"Select",propTypes:{addLabelText:u.default.PropTypes.string,"aria-label":u.default.PropTypes.string,"aria-labelledby":u.default.PropTypes.string,arrowRenderer:u.default.PropTypes.func,autoBlur:u.default.PropTypes.bool,autofocus:u.default.PropTypes.bool,autosize:u.default.PropTypes.bool,backspaceRemoves:u.default.PropTypes.bool,backspaceToRemoveMessage:u.default.PropTypes.string,className:u.default.PropTypes.string,clearAllText:R,clearRenderer:u.default.PropTypes.func,clearValueText:R,clearable:u.default.PropTypes.bool,deleteRemoves:u.default.PropTypes.bool,delimiter:u.default.PropTypes.string,disabled:u.default.PropTypes.bool,escapeClearsValue:u.default.PropTypes.bool,filterOption:u.default.PropTypes.func,filterOptions:u.default.PropTypes.any,ignoreAccents:u.default.PropTypes.bool,ignoreCase:u.default.PropTypes.bool,inputProps:u.default.PropTypes.object,inputRenderer:u.default.PropTypes.func,instanceId:u.default.PropTypes.string,isLoading:u.default.PropTypes.bool,joinValues:u.default.PropTypes.bool,labelKey:u.default.PropTypes.string,matchPos:u.default.PropTypes.string,matchProp:u.default.PropTypes.string,menuBuffer:u.default.PropTypes.number,menuContainerStyle:u.default.PropTypes.object,menuRenderer:u.default.PropTypes.func,menuStyle:u.default.PropTypes.object,multi:u.default.PropTypes.bool,name:u.default.PropTypes.string,noResultsText:R,onBlur:u.default.PropTypes.func,onBlurResetsInput:u.default.PropTypes.bool,onChange:u.default.PropTypes.func,onClose:u.default.PropTypes.func,onCloseResetsInput:u.default.PropTypes.bool,onFocus:u.default.PropTypes.func,onInputChange:u.default.PropTypes.func,onInputKeyDown:u.default.PropTypes.func,onMenuScrollToBottom:u.default.PropTypes.func,onOpen:u.default.PropTypes.func,onValueClick:u.default.PropTypes.func,openAfterFocus:u.default.PropTypes.bool,openOnFocus:u.default.PropTypes.bool,optionClassName:u.default.PropTypes.string,optionComponent:u.default.PropTypes.func,optionRenderer:u.default.PropTypes.func,options:u.default.PropTypes.array,pageSize:u.default.PropTypes.number,placeholder:R,required:u.default.PropTypes.bool,resetValue:u.default.PropTypes.any,scrollMenuIntoView:u.default.PropTypes.bool,searchable:u.default.PropTypes.bool,simpleValue:u.default.PropTypes.bool,
|
50 | style:u.default.PropTypes.object,tabIndex:u.default.PropTypes.string,tabSelectsValue:u.default.PropTypes.bool,value:u.default.PropTypes.any,valueComponent:u.default.PropTypes.func,valueKey:u.default.PropTypes.string,valueRenderer:u.default.PropTypes.func,wrapperStyle:u.default.PropTypes.object},statics:{Async:x.default,AsyncCreatable:T.default,Creatable:P.default},getDefaultProps:function(){return{addLabelText:'Add "{label}"?',arrowRenderer:b.default,autosize:!0,backspaceRemoves:!0,backspaceToRemoveMessage:"Press backspace to remove {label}",clearable:!0,clearAllText:"Clear all",clearRenderer:S.default,clearValueText:"Clear value",deleteRemoves:!0,delimiter:",",disabled:!1,escapeClearsValue:!0,filterOptions:y.default,ignoreAccents:!0,ignoreCase:!0,inputProps:{},isLoading:!1,joinValues:!1,labelKey:"label",matchPos:"any",matchProp:"any",menuBuffer:0,menuRenderer:M.default,multi:!1,noResultsText:"No results found",onBlurResetsInput:!0,onCloseResetsInput:!0,openAfterFocus:!1,optionComponent:O.default,pageSize:5,placeholder:"Select...",required:!1,scrollMenuIntoView:!0,searchable:!0,simpleValue:!1,tabSelectsValue:!0,valueComponent:z.default,valueKey:"value"}},getInitialState:function(){return{inputValue:"",isFocused:!1,isOpen:!1,isPseudoFocused:!1,required:!1}},componentWillMount:function(){this._instancePrefix="react-select-"+(this.props.instanceId||++j)+"-";var e=this.getValueArray(this.props.value);this.props.required&&this.setState({required:this.handleRequired(e[0],this.props.multi)})},componentDidMount:function(){this.props.autofocus&&this.focus()},componentWillReceiveProps:function(e){var t=this.getValueArray(e.value,e);e.required&&this.setState({required:this.handleRequired(t[0],e.multi)})},componentWillUpdate:function(e,t){if(t.isOpen!==this.state.isOpen){this.toggleTouchOutsideEvent(t.isOpen);var n=t.isOpen?e.onOpen:e.onClose;n&&n()}},componentDidUpdate:function(e,t){if(this.menu&&this.focused&&this.state.isOpen&&!this.hasScrolledToOption){var n=d.default.findDOMNode(this.focused),r=d.default.findDOMNode(this.menu);r.scrollTop=n.offsetTop,this.hasScrolledToOption=!0}else this.state.isOpen||(this.hasScrolledToOption=!1);if(this._scrollToFocusedOptionOnUpdate&&this.focused&&this.menu){this._scrollToFocusedOptionOnUpdate=!1;var o=d.default.findDOMNode(this.focused),a=d.default.findDOMNode(this.menu),i=o.getBoundingClientRect(),s=a.getBoundingClientRect();(i.bottom>s.bottom||i.top<s.top)&&(a.scrollTop=o.offsetTop+o.clientHeight-a.offsetHeight)}if(this.props.scrollMenuIntoView&&this.menuContainer){var l=this.menuContainer.getBoundingClientRect();window.innerHeight<l.bottom+this.props.menuBuffer&&window.scrollBy(0,l.bottom+this.props.menuBuffer-window.innerHeight)}e.disabled!==this.props.disabled&&(this.setState({isFocused:!1}),this.closeMenu())},componentWillUnmount:function(){!document.removeEventListener&&document.detachEvent?document.detachEvent("ontouchstart",this.handleTouchOutside):document.removeEventListener("touchstart",this.handleTouchOutside)},toggleTouchOutsideEvent:function(e){e?!document.addEventListener&&document.attachEvent?document.attachEvent("ontouchstart",this.handleTouchOutside):document.addEventListener("touchstart",this.handleTouchOutside):!document.removeEventListener&&document.detachEvent?document.detachEvent("ontouchstart",this.handleTouchOutside):document.removeEventListener("touchstart",this.handleTouchOutside)},handleTouchOutside:function(e){this.wrapper&&!this.wrapper.contains(e.target)&&this.closeMenu()},focus:function(){this.input&&(this.input.focus(),this.props.openAfterFocus&&this.setState({isOpen:!0}))},blurInput:function(){this.input&&this.input.blur()},handleTouchMove:function(e){this.dragging=!0},handleTouchStart:function(e){this.dragging=!1},handleTouchEnd:function(e){this.dragging||this.handleMouseDown(e)},handleTouchEndClearValue:function(e){this.dragging||this.clearValue(e)},handleMouseDown:function(e){if(!(this.props.disabled||"mousedown"===e.type&&0!==e.button)&&"INPUT"!==e.target.tagName){if(e.stopPropagation(),e.preventDefault(),!this.props.searchable)return this.focus(),this.setState({isOpen:!this.state.isOpen});if(this.state.isFocused){this.focus();var t=this.input;"function"==typeof t.getInput&&(t=t.getInput()),t.value="",this.setState({isOpen:!0,isPseudoFocused:!1})}else this._openAfterFocus=!0,this.focus()}},handleMouseDownOnArrow:function(e){this.props.disabled||"mousedown"===e.type&&0!==e.button||this.state.isOpen&&(e.stopPropagation(),e.preventDefault(),this.closeMenu())},handleMouseDownOnMenu:function(e){this.props.disabled||"mousedown"===e.type&&0!==e.button||(e.stopPropagation(),e.preventDefault(),this._openAfterFocus=!0,this.focus())},closeMenu:function(){this.props.onCloseResetsInput?this.setState({isOpen:!1,isPseudoFocused:this.state.isFocused&&!this.props.multi,inputValue:""}):this.setState({isOpen:!1,isPseudoFocused:this.state.isFocused&&!this.props.multi,inputValue:this.state.inputValue}),this.hasScrolledToOption=!1},handleInputFocus:function(e){if(!this.props.disabled){var t=this.state.isOpen||this._openAfterFocus||this.props.openOnFocus;this.props.onFocus&&this.props.onFocus(e),this.setState({isFocused:!0,isOpen:t}),this._openAfterFocus=!1}},handleInputBlur:function(e){if(this.menu&&(this.menu===document.activeElement||this.menu.contains(document.activeElement)))return void this.focus();this.props.onBlur&&this.props.onBlur(e);var t={isFocused:!1,isOpen:!1,isPseudoFocused:!1};this.props.onBlurResetsInput&&(t.inputValue=""),this.setState(t)},handleInputChange:function(e){var t=e.target.value;if(this.state.inputValue!==e.target.value&&this.props.onInputChange){var n=this.props.onInputChange(t);null!=n&&"object"!=typeof n&&(t=""+n)}this.setState({isOpen:!0,isPseudoFocused:!1,inputValue:t})},handleKeyDown:function(e){if(!(this.props.disabled||"function"==typeof this.props.onInputKeyDown&&(this.props.onInputKeyDown(e),e.defaultPrevented))){switch(e.keyCode){case 8:return void(!this.state.inputValue&&this.props.backspaceRemoves&&(e.preventDefault(),this.popValue()));case 9:if(e.shiftKey||!this.state.isOpen||!this.props.tabSelectsValue)return;return void this.selectFocusedOption();case 13:if(!this.state.isOpen)return;e.stopPropagation(),this.selectFocusedOption();break;case 27:this.state.isOpen?(this.closeMenu(),e.stopPropagation()):this.props.clearable&&this.props.escapeClearsValue&&(this.clearValue(e),e.stopPropagation());break;case 38:this.focusPreviousOption();break;case 40:this.focusNextOption();break;case 33:this.focusPageUpOption();break;case 34:this.focusPageDownOption();break;case 35:if(e.shiftKey)return;this.focusEndOption();break;case 36:if(e.shiftKey)return;this.focusStartOption();break;case 46:return void(!this.state.inputValue&&this.props.deleteRemoves&&(e.preventDefault(),this.popValue()));default:return}e.preventDefault()}},handleValueClick:function(e,t){this.props.onValueClick&&this.props.onValueClick(e,t)},handleMenuScroll:function(e){if(this.props.onMenuScrollToBottom){var t=e.target;t.scrollHeight>t.offsetHeight&&!(t.scrollHeight-t.offsetHeight-t.scrollTop)&&this.props.onMenuScrollToBottom()}},handleRequired:function(e,t){return!e||(t?0===e.length:0===Object.keys(e).length)},getOptionLabel:function(e){return e[this.props.labelKey]},getValueArray:function(e,t){var n=this,r="object"==typeof t?t:this.props;if(r.multi){if("string"==typeof e&&(e=e.split(r.delimiter)),!Array.isArray(e)){if(null===e||void 0===e)return[];e=[e]}return e.map(function(e){return n.expandValue(e,r)}).filter(function(e){return e})}var o=this.expandValue(e,r);return o?[o]:[]},expandValue:function(e,t){var n=typeof e;if("string"!==n&&"number"!==n&&"boolean"!==n)return e;var r=t.options,o=t.valueKey;if(r)for(var a=0;a<r.length;a++)if(r[a][o]===e)return r[a]},setValue:function(e){var t=this;if(this.props.autoBlur&&this.blurInput(),this.props.onChange){if(this.props.required){var n=this.handleRequired(e,this.props.multi);this.setState({required:n})}this.props.simpleValue&&e&&(e=this.props.multi?e.map(function(e){return e[t.props.valueKey]}).join(this.props.delimiter):e[this.props.valueKey]),this.props.onChange(e)}},selectValue:function(e){var t=this;this.hasScrolledToOption=!1,this.props.multi?this.setState({inputValue:"",focusedIndex:null},function(){t.addValue(e)}):this.setState({isOpen:!1,inputValue:"",isPseudoFocused:this.state.isFocused},function(){t.setValue(e)})},addValue:function(e){var t=this.getValueArray(this.props.value),n=this._visibleOptions.filter(function(e){return!e.disabled}),r=n.indexOf(e);this.setValue(t.concat(e)),n.length-1===r?this.focusOption(n[r-1]):n.length>r&&this.focusOption(n[r+1])},popValue:function(){var e=this.getValueArray(this.props.value);e.length&&e[e.length-1].clearableValue!==!1&&this.setValue(e.slice(0,e.length-1))},removeValue:function(e){var t=this.getValueArray(this.props.value);this.setValue(t.filter(function(t){return t!==e})),this.focus()},clearValue:function(e){e&&"mousedown"===e.type&&0!==e.button||(e.stopPropagation(),e.preventDefault(),this.setValue(this.getResetValue()),this.setState({isOpen:!1,inputValue:""},this.focus))},getResetValue:function(){return void 0!==this.props.resetValue?this.props.resetValue:this.props.multi?[]:null},focusOption:function(e){this.setState({focusedOption:e})},focusNextOption:function(){this.focusAdjacentOption("next")},focusPreviousOption:function(){this.focusAdjacentOption("previous")},focusPageUpOption:function(){this.focusAdjacentOption("page_up")},focusPageDownOption:function(){this.focusAdjacentOption("page_down")},focusStartOption:function(){this.focusAdjacentOption("start")},focusEndOption:function(){this.focusAdjacentOption("end")},focusAdjacentOption:function(e){var t=this._visibleOptions.map(function(e,t){return{option:e,index:t}}).filter(function(e){return!e.option.disabled});if(this._scrollToFocusedOptionOnUpdate=!0,!this.state.isOpen)return void this.setState({isOpen:!0,inputValue:"",focusedOption:this._focusedOption||(t.length?t["next"===e?0:t.length-1].option:null)});if(t.length){for(var n=-1,r=0;r<t.length;r++)if(this._focusedOption===t[r].option){n=r;break}if("next"===e&&n!==-1)n=(n+1)%t.length;else if("previous"===e)n>0?n-=1:n=t.length-1;else if("start"===e)n=0;else if("end"===e)n=t.length-1;else if("page_up"===e){var o=n-this.props.pageSize;n=o<0?0:o}else if("page_down"===e){var o=n+this.props.pageSize;n=o>t.length-1?t.length-1:o}n===-1&&(n=0),this.setState({focusedIndex:t[n].index,focusedOption:t[n].option})}},getFocusedOption:function(){return this._focusedOption},getInputValue:function(){return this.state.inputValue},selectFocusedOption:function(){if(this._focusedOption)return this.selectValue(this._focusedOption)},renderLoading:function(){if(this.props.isLoading)return u.default.createElement("span",{className:"Select-loading-zone","aria-hidden":"true"},u.default.createElement("span",{className:"Select-loading"}))},renderValue:function(e,t){var n=this,r=this.props.valueRenderer||this.getOptionLabel,o=this.props.valueComponent;if(!e.length)return this.state.inputValue?null:u.default.createElement("div",{className:"Select-placeholder"},this.props.placeholder);var a=this.props.onValueClick?this.handleValueClick:null;return this.props.multi?e.map(function(e,t){return u.default.createElement(o,{id:n._instancePrefix+"-value-"+t,instancePrefix:n._instancePrefix,disabled:n.props.disabled||e.clearableValue===!1,key:"value-"+t+"-"+e[n.props.valueKey],onClick:a,onRemove:n.removeValue,value:e},r(e,t),u.default.createElement("span",{className:"Select-aria-only"}," "))}):this.state.inputValue?void 0:(t&&(a=null),u.default.createElement(o,{id:this._instancePrefix+"-value-item",disabled:this.props.disabled,instancePrefix:this._instancePrefix,onClick:a,value:e[0]},r(e[0])))},renderInput:function(e,t){var n,r=this,i=(0,m.default)("Select-input",this.props.inputProps.className),l=!!this.state.isOpen,c=(0,m.default)((n={},a(n,this._instancePrefix+"-list",l),a(n,this._instancePrefix+"-backspace-remove-message",this.props.multi&&!this.props.disabled&&this.state.isFocused&&!this.state.inputValue),n)),d=s({},this.props.inputProps,{role:"combobox","aria-expanded":""+l,"aria-owns":c,"aria-haspopup":""+l,"aria-activedescendant":l?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value","aria-labelledby":this.props["aria-labelledby"],"aria-label":this.props["aria-label"],className:i,tabIndex:this.props.tabIndex,onBlur:this.handleInputBlur,onChange:this.handleInputChange,onFocus:this.handleInputFocus,ref:function(e){return r.input=e},required:this.state.required,value:this.state.inputValue});if(this.props.inputRenderer)return this.props.inputRenderer(d);if(this.props.disabled||!this.props.searchable){var f=this.props.inputProps,h=(f.inputClassName,o(f,["inputClassName"]));return u.default.createElement("div",s({},h,{role:"combobox","aria-expanded":l,"aria-owns":l?this._instancePrefix+"-list":this._instancePrefix+"-value","aria-activedescendant":l?this._instancePrefix+"-option-"+t:this._instancePrefix+"-value",className:i,tabIndex:this.props.tabIndex||0,onBlur:this.handleInputBlur,onFocus:this.handleInputFocus,ref:function(e){return r.input=e},"aria-readonly":""+!!this.props.disabled,style:{border:0,width:1,display:"inline-block"}}))}return this.props.autosize?u.default.createElement(p.default,s({},d,{minWidth:"5"})):u.default.createElement("div",{className:i},u.default.createElement("input",d))},renderClear:function(){if(this.props.clearable&&this.props.value&&0!==this.props.value&&(!this.props.multi||this.props.value.length)&&!this.props.disabled&&!this.props.isLoading){var e=this.props.clearRenderer();return u.default.createElement("span",{className:"Select-clear-zone",title:this.props.multi?this.props.clearAllText:this.props.clearValueText,"aria-label":this.props.multi?this.props.clearAllText:this.props.clearValueText,onMouseDown:this.clearValue,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEndClearValue},e)}},renderArrow:function(){var e=this.handleMouseDownOnArrow,t=this.state.isOpen,n=this.props.arrowRenderer({onMouseDown:e,isOpen:t});return u.default.createElement("span",{className:"Select-arrow-zone",onMouseDown:e},n)},filterOptions:function e(t){var n=this.state.inputValue,r=this.props.options||[];if(this.props.filterOptions){var e="function"==typeof this.props.filterOptions?this.props.filterOptions:y.default;return e(r,n,t,{filterOption:this.props.filterOption,ignoreAccents:this.props.ignoreAccents,ignoreCase:this.props.ignoreCase,labelKey:this.props.labelKey,matchPos:this.props.matchPos,matchProp:this.props.matchProp,valueKey:this.props.valueKey})}return r},onOptionRef:function(e,t){t&&(this.focused=e)},renderMenu:function(e,t,n){return e&&e.length?this.props.menuRenderer({focusedOption:n,focusOption:this.focusOption,instancePrefix:this._instancePrefix,labelKey:this.props.labelKey,onFocus:this.focusOption,onSelect:this.selectValue,optionClassName:this.props.optionClassName,optionComponent:this.props.optionComponent,optionRenderer:this.props.optionRenderer||this.getOptionLabel,options:e,selectValue:this.selectValue,valueArray:t,valueKey:this.props.valueKey,onOptionRef:this.onOptionRef}):this.props.noResultsText?u.default.createElement("div",{className:"Select-noresults"},this.props.noResultsText):null},renderHiddenField:function(e){var t=this;if(this.props.name){if(this.props.joinValues){var n=e.map(function(e){return i(e[t.props.valueKey])}).join(this.props.delimiter);return u.default.createElement("input",{type:"hidden",ref:function(e){return t.value=e},name:this.props.name,value:n,disabled:this.props.disabled})}return e.map(function(e,n){return u.default.createElement("input",{key:"hidden."+n,type:"hidden",ref:"value"+n,name:t.props.name,value:i(e[t.props.valueKey]),disabled:t.props.disabled})})}},getFocusableOptionIndex:function(e){var t=this._visibleOptions;if(!t.length)return null;var n=this.state.focusedOption||e;if(n&&!n.disabled){var r=t.indexOf(n);if(r!==-1)return r}for(var o=0;o<t.length;o++)if(!t[o].disabled)return o;return null},renderOuter:function(e,t,n){var r=this,o=this.renderMenu(e,t,n);return o?u.default.createElement("div",{ref:function(e){return r.menuContainer=e},className:"Select-menu-outer",style:this.props.menuContainerStyle},u.default.createElement("div",{ref:function(e){return r.menu=e},role:"listbox",className:"Select-menu",id:this._instancePrefix+"-list",style:this.props.menuStyle,onScroll:this.handleMenuScroll,onMouseDown:this.handleMouseDownOnMenu},o)):null},render:function(){var e=this,t=this.getValueArray(this.props.value),n=this._visibleOptions=this.filterOptions(this.props.multi?this.getValueArray(this.props.value):null),r=this.state.isOpen;this.props.multi&&!n.length&&t.length&&!this.state.inputValue&&(r=!1);var o=this.getFocusableOptionIndex(t[0]),a=null;a=null!==o?this._focusedOption=n[o]:this._focusedOption=null;var i=(0,m.default)("Select",this.props.className,{"Select--multi":this.props.multi,"Select--single":!this.props.multi,"is-disabled":this.props.disabled,"is-focused":this.state.isFocused,"is-loading":this.props.isLoading,"is-open":r,"is-pseudo-focused":this.state.isPseudoFocused,"is-searchable":this.props.searchable,"has-value":t.length}),s=null;return this.props.multi&&!this.props.disabled&&t.length&&!this.state.inputValue&&this.state.isFocused&&this.props.backspaceRemoves&&(s=u.default.createElement("span",{id:this._instancePrefix+"-backspace-remove-message",className:"Select-aria-only","aria-live":"assertive"},this.props.backspaceToRemoveMessage.replace("{label}",t[t.length-1][this.props.labelKey]))),u.default.createElement("div",{ref:function(t){return e.wrapper=t},className:i,style:this.props.wrapperStyle},this.renderHiddenField(t),u.default.createElement("div",{ref:function(t){return e.control=t},className:"Select-control",style:this.props.style,onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,onTouchEnd:this.handleTouchEnd,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove},u.default.createElement("span",{className:"Select-multi-value-wrapper",id:this._instancePrefix+"-value"},this.renderValue(t,r),this.renderInput(t,o)),s,this.renderLoading(),this.renderClear(),this.renderArrow()),r?this.renderOuter(n,this.props.multi?null:t,a):null)}});n.default=L,t.exports=n.default},{"./Async":1178,"./AsyncCreatable":1179,"./Creatable":1180,"./Option":1181,"./Value":1183,"./utils/defaultArrowRenderer":1184,"./utils/defaultClearRenderer":1185,"./utils/defaultFilterOptions":1186,"./utils/defaultMenuRenderer":1187,classnames:157,react:1269,"react-dom":974,"react-input-autosize":1102}],1183:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=e("react"),a=r(o),i=e("classnames"),s=r(i),l=a.default.createClass({displayName:"Value",propTypes:{children:a.default.PropTypes.node,disabled:a.default.PropTypes.bool,id:a.default.PropTypes.string,onClick:a.default.PropTypes.func,onRemove:a.default.PropTypes.func,value:a.default.PropTypes.object.isRequired},handleMouseDown:function(e){if("mousedown"!==e.type||0===e.button)return this.props.onClick?(e.stopPropagation(),void this.props.onClick(this.props.value,e)):void(this.props.value.href&&e.stopPropagation())},onRemove:function(e){e.preventDefault(),e.stopPropagation(),this.props.onRemove(this.props.value)},handleTouchEndRemove:function(e){this.dragging||this.onRemove(e)},handleTouchMove:function(e){this.dragging=!0},handleTouchStart:function(e){this.dragging=!1},renderRemoveIcon:function(){if(!this.props.disabled&&this.props.onRemove)return a.default.createElement("span",{className:"Select-value-icon","aria-hidden":"true",onMouseDown:this.onRemove,onTouchEnd:this.handleTouchEndRemove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove},"×")},renderLabel:function(){var e="Select-value-label";return this.props.onClick||this.props.value.href?a.default.createElement("a",{className:e,href:this.props.value.href,target:this.props.value.target,onMouseDown:this.handleMouseDown,onTouchEnd:this.handleMouseDown},this.props.children):a.default.createElement("span",{className:e,role:"option","aria-selected":"true",id:this.props.id},this.props.children)},render:function(){return a.default.createElement("div",{className:(0,s.default)("Select-value",this.props.value.className),style:this.props.value.style,title:this.props.value.title},this.renderRemoveIcon(),this.renderLabel())}});t.exports=l},{classnames:157,react:1269}],1184:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.onMouseDown;return i.default.createElement("span",{className:"Select-arrow",onMouseDown:t})}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var a=e("react"),i=r(a);t.exports=n.default},{react:1269}],1185:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return i.default.createElement("span",{className:"Select-clear",dangerouslySetInnerHTML:{__html:"×"}})}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var a=e("react"),i=r(a);t.exports=n.default},{react:1269}],1186:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r){var o=this;return r.ignoreAccents&&(t=(0,i.default)(t)),r.ignoreCase&&(t=t.toLowerCase()),n&&(n=n.map(function(e){return e[r.valueKey]})),e.filter(function(e){if(n&&n.indexOf(e[r.valueKey])>-1)return!1;if(r.filterOption)return r.filterOption.call(o,e,t);if(!t)return!0;var a=String(e[r.valueKey]),s=String(e[r.labelKey]);return r.ignoreAccents&&("label"!==r.matchProp&&(a=(0,i.default)(a)),"value"!==r.matchProp&&(s=(0,i.default)(s))),r.ignoreCase&&("label"!==r.matchProp&&(a=a.toLowerCase()),"value"!==r.matchProp&&(s=s.toLowerCase())),"start"===r.matchPos?"label"!==r.matchProp&&a.substr(0,t.length)===t||"value"!==r.matchProp&&s.substr(0,t.length)===t:"label"!==r.matchProp&&a.indexOf(t)>=0||"value"!==r.matchProp&&s.indexOf(t)>=0})}var a=e("./stripDiacritics"),i=r(a);t.exports=o},{"./stripDiacritics":1188}],1187:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.focusedOption,n=e.instancePrefix,r=(e.labelKey,e.onFocus),o=e.onSelect,a=e.optionClassName,s=e.optionComponent,u=e.optionRenderer,c=e.options,d=e.valueArray,f=e.valueKey,p=e.onOptionRef,h=s;return c.map(function(e,s){var c=d&&d.indexOf(e)>-1,m=e===t,v=(0,i.default)(a,{"Select-option":!0,"is-selected":c,"is-focused":m,"is-disabled":e.disabled});return l.default.createElement(h,{className:v,instancePrefix:n,isDisabled:e.disabled,isFocused:m,isSelected:c,key:"option-"+s+"-"+e[f],onFocus:r,onSelect:o,option:e,optionIndex:s,ref:function(e){p(e,m)}},u(e,s))})}var a=e("classnames"),i=r(a),s=e("react"),l=r(s);t.exports=o},{classnames:157,react:1269}],1188:[function(e,t,n){"use strict";var r=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}];t.exports=function(e){for(var t=0;t<r.length;t++)e=e.replace(r[t].letters,r[t].base);return e}},{}],1189:[function(e,t,n){"use strict";t.exports=e("./shortcuts")},{"./shortcuts":1190}],1190:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=e("react"),u=r(l),c=e("invariant"),d=r(c),f=e("combokeys"),p=r(f),h=e("../helpers"),m=r(h),v=u.default.createFactory("shortcuts"),b=function(e){function t(){var e,n,r,i;o(this,t);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return n=r=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r._combokeys=null,r._lastEvent=null,r._bindShortcuts=function(e){var t=r._getElementToBind();t.setAttribute("tabindex",r.props.tabIndex||-1),r._combokeys=new p.default(t),r._decorateCombokeys(),r._combokeys.bind(e,r._handleShortcuts,r.props.eventType),r.props.global&&t.addEventListener("shortcuts:global",r._customGlobalHandler)},r._customGlobalHandler=function(e){
|
51 | var t=e.detail,n=t.character,o=t.modifiers,a=t.event,i=null;r.props.targetNodeSelector&&(i=document.querySelector(r.props.targetNodeSelector)),e.target!==r._domNode&&e.target!==i&&r._combokeys.handleKey(n,o,a,!0)},r._decorateCombokeys=function(){var e=r._getElementToBind(),t=r._combokeys.handleKey.bind(r._combokeys);r._combokeys.stopCallback=function(e,t,n){var r="INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.contentEditable&&"true"===t.contentEditable,o=void 0;return o=e.key?1===e.key.length:Boolean(m.default.getCharacter(e)),!(!r||!o)},r._combokeys.handleKey=function(n,o,a,i){if(!r._lastEvent||a.timeStamp!==r._lastEvent.timeStamp||a.type!==r._lastEvent.type)return r._lastEvent=a,r.props.isolate&&(a.__isolateShortcuts=!0),i||e.dispatchEvent(new CustomEvent("shortcuts:global",{detail:{character:n,modifiers:o,event:a},bubbles:!0,cancelable:!0})),a.__isolateShortcuts?void((r.props.global||r.props.isolate)&&t(n,o,a)):(r.props.preventDefault&&a.preventDefault(),r.props.stopPropagation&&!i&&a.stopPropagation(),void t(n,o,a))}},r._getElementToBind=function(){var e=null;return r.props.targetNodeSelector?(e=document.querySelector(r.props.targetNodeSelector),(0,d.default)(e,"Node selector '"+r.props.targetNodeSelector+"' was not found.")):e=r._domNode,e},r._unbindShortcuts=function(){r._combokeys&&(r._combokeys.detach(),r._combokeys.reset())},r._onUpdate=function(){var e=r.props.name&&r.context.shortcuts.getShortcuts(r.props.name);r._unbindShortcuts(),r._bindShortcuts(e||[])},r._handleShortcuts=function(e,t){if(r.props.name){var n=r.context.shortcuts.findShortcutName(t,r.props.name);r.props.handler&&r.props.handler(n,e)}},i=n,a(r,i)}return i(t,e),s(t,[{key:"componentDidMount",value:function(){this._onUpdate(),this.props.name&&this.context.shortcuts.addUpdateListener(this._onUpdate)}},{key:"componentWillUnmount",value:function(){if(this._unbindShortcuts(),this.props.name&&this.context.shortcuts.removeUpdateListener(this._onUpdate),this.props.global){var e=this._getElementToBind();e.removeEventListener("shortcuts:global",this._customGlobalHandler)}}},{key:"render",value:function(){var e=this;return v({ref:function(t){e._domNode=t},tabIndex:this.props.tabIndex||-1,className:this.props.className},this.props.children)}}]),t}(u.default.Component);b.displayName="Shortcuts",b.contextTypes={shortcuts:u.default.PropTypes.object.isRequired},b.propTypes={children:u.default.PropTypes.node,handler:u.default.PropTypes.func,name:u.default.PropTypes.string,tabIndex:u.default.PropTypes.number,className:u.default.PropTypes.string,eventType:u.default.PropTypes.string,stopPropagation:u.default.PropTypes.bool,preventDefault:u.default.PropTypes.bool,targetNodeSelector:u.default.PropTypes.string,global:u.default.PropTypes.bool,isolate:u.default.PropTypes.bool},b.defaultProps={tabIndex:null,className:null,eventType:null,stopPropagation:!0,preventDefault:!1,targetNodeSelector:null,global:!1,isolate:!1},n.default=b,t.exports=n.default},{"../helpers":1191,combokeys:158,invariant:361,react:1269}],1191:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("platform"),a=r(o),i=function(){var e=a.default.os.family||"";return e=e.toLowerCase().replace(/ /g,""),e=/\bwin/.test(e)?"windows":/darwin|osx/.test(e)?"osx":/linux|freebsd|sunos|ubuntu|debian|fedora|redhat|suse/.test(e)?"linux":"other"},s=function(e){return null==e.which?String.fromCharCode(e.keyCode):0!==e.which&&0!==e.charCode?String.fromCharCode(e.which):null};n.default={getPlatformName:i,getCharacter:s},t.exports=n.default},{platform:826}],1192:[function(e,t,n){"use strict";t.exports={ShortcutManager:e("./shortcut-manager"),Shortcuts:e("./component/")}},{"./component/":1189,"./shortcut-manager":1193}],1193:[function(e,t,n){(function(r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(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)}Object.defineProperty(n,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=e("lodash"),c=o(u),d=e("invariant"),f=o(d),p=e("events"),h=e("./helpers"),m=o(h),v=function(e){r&&"production"!==r.env.NODE_ENV&&console.warn(e)},b=function(e){function t(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];a(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return n._platformName=m.default.getPlatformName(),n._parseShortcutDescriptor=function(e){return c.default.isPlainObject(e)?c.default.get(e,n._platformName):e},n._keymap=e,n}return s(t,e),l(t,[{key:"addUpdateListener",value:function(e){(0,f.default)(e,"addUpdateListener: callback argument is not defined or falsy"),this.on(t.CHANGE_EVENT,e)}},{key:"removeUpdateListener",value:function(e){this.removeListener(t.CHANGE_EVENT,e)}},{key:"setKeymap",value:function(e){(0,f.default)(e,"setKeymap: keymap argument is not defined or falsy."),this._keymap=e,this.emit(t.CHANGE_EVENT)}},{key:"extendKeymap",value:function(e){(0,f.default)(e,"extendKeymap: keymap argument is not defined or falsy."),this._keymap=Object.assign({},this._keymap,e),this.emit(t.CHANGE_EVENT)}},{key:"getAllShortcuts",value:function(){return this._keymap}},{key:"getAllShortcutsForPlatform",value:function(e){var t=function t(n){return c.default.reduce(n,function(n,r,o){if(c.default.isPlainObject(r)){if(!r[e])return n[o]=t(r),n;r=r[e]}return n[o]=r,n},{})};return t(this._keymap)}},{key:"getAllShortcutsForCurrentPlatform",value:function(){return this.getAllShortcutsForPlatform(this._platformName)}},{key:"getShortcuts",value:function(e){(0,f.default)(e,"getShortcuts: name argument is not defined or falsy.");var t=this._keymap[e];if(!t)return void v("getShortcuts: There are no shortcuts with name "+e+".");var n=(0,c.default)(t).map(this._parseShortcutDescriptor).flatten().compact().value();return n}},{key:"_parseShortcutKeyName",value:function(e,t){var n=this,r=c.default.findKey(e,function(e){if(c.default.isPlainObject(e)&&(e=c.default.get(e,n._platformName)),c.default.isArray(e)){var r=e.indexOf(t);r>=0&&(e=e[r])}return e===t});return r}},{key:"findShortcutName",value:function(e,t){(0,f.default)(e,"findShortcutName: keyName argument is not defined or falsy."),(0,f.default)(t,"findShortcutName: componentName argument is not defined or falsy.");var n=this._keymap[t],r=this._parseShortcutKeyName(n,e);return r}}]),t}(p.EventEmitter);b.CHANGE_EVENT="shortcuts:update",n.default=b,t.exports=n.default}).call(this,e("_process"))},{"./helpers":1191,_process:828,events:279,invariant:361,lodash:753}],1194:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=e("react"),l=r(s),u=e("exenv"),c=r(u),d=e("shallowequal"),f=r(d);t.exports=function(e,t,n){function r(e){return e.displayName||e.name||"Component"}if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if("undefined"!=typeof n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(u){function d(){h=e(p.map(function(e){return e.props})),m.canUseDOM?t(h):n&&(h=n(h))}if("function"!=typeof u)throw new Error("Expected WrappedComponent to be a React component.");var p=[],h=void 0,m=function(e){function t(){o(this,t),e.apply(this,arguments)}return a(t,e),t.peek=function(){return h},t.rewind=function(){if(t.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=h;return h=void 0,p=[],e},t.prototype.shouldComponentUpdate=function(e){return!f.default(e,this.props)},t.prototype.componentWillMount=function(){p.push(this),d()},t.prototype.componentDidUpdate=function(){d()},t.prototype.componentWillUnmount=function(){var e=p.indexOf(this);p.splice(e,1),d()},t.prototype.render=function(){return l.default.createElement(u,this.props)},i(t,null,[{key:"displayName",value:"SideEffect("+r(u)+")",enumerable:!0},{key:"canUseDOM",value:c.default.canUseDOM,enumerable:!0}]),t}(s.Component);return m}}},{exenv:280,react:1269,shallowequal:1294}],1195:[function(e,t,n){!function(r,o){"object"==typeof n&&"object"==typeof t?t.exports=o(e("react")):"function"==typeof define&&define.amd?define(["react"],o):"object"==typeof n?n.ReactSparklines=o(e("react")):r.ReactSparklines=o(r.React)}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/",t(t.s=21)}([function(t,n){t.exports=e},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.reduce(function(e,t){return e+t})/e.length}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.min.apply(Math,e)}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Math.max.apply(Math,e)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=r(o);t.default=function(e){var t=(0,a.default)(e),n=e.map(function(e){return Math.pow(e-t,2)}),r=(0,a.default)(n);return Math.sqrt(r)}},function(e,t,n){"use strict";e.exports=n(6)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(t,"__esModule",{value:!0}),t.SparklinesNormalBand=t.SparklinesReferenceLine=t.SparklinesSpots=t.SparklinesBars=t.SparklinesCurve=t.SparklinesLine=t.Sparklines=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=r(l),c=n(9),d=r(c),f=n(8),p=r(f),h=n(7),m=r(h),v=n(12),b=r(v),g=n(11),y=r(g),_=n(10),M=r(_),w=n(13),S=r(w),C=n(19),x=r(C),k=function(e){function t(e){return o(this,t),a(this,Object.getPrototypeOf(t).call(this,e))}return i(t,e),s(t,[{key:"shouldComponentUpdate",value:function(e){return(0,x.default)(this,e)}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.limit,r=e.width,o=e.height,a=e.svgWidth,i=e.svgHeight,s=e.preserveAspectRatio,l=e.margin,c=e.style,d=e.max,f=e.min;if(0===t.length)return null;var p=(0,S.default)({data:t,limit:n,width:r,height:o,margin:l,max:d,min:f}),h={style:c,viewBox:"0 0 "+r+" "+o,preserveAspectRatio:s};return a>0&&(h.width=a),i>0&&(h.height=i),u.default.createElement("svg",h,u.default.Children.map(this.props.children,function(e){return u.default.cloneElement(e,{points:p,width:r,height:o,margin:l})}))}}]),t}(u.default.Component);k.propTypes={data:u.default.PropTypes.array,limit:u.default.PropTypes.number,width:u.default.PropTypes.number,height:u.default.PropTypes.number,svgWidth:u.default.PropTypes.number,svgHeight:u.default.PropTypes.number,preserveAspectRatio:u.default.PropTypes.string,margin:u.default.PropTypes.number,style:u.default.PropTypes.object,min:u.default.PropTypes.number,max:u.default.PropTypes.number},k.defaultProps={data:[],width:240,height:60,preserveAspectRatio:"none",margin:2},t.Sparklines=k,t.SparklinesLine=d.default,t.SparklinesCurve=p.default,t.SparklinesBars=m.default,t.SparklinesSpots=b.default,t.SparklinesReferenceLine=y.default,t.SparklinesNormalBand=M.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=r(l),c=function(e){function t(){return o(this,t),a(this,Object.getPrototypeOf(t).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.points,n=e.height,r=e.style,o=e.barWidth,a=1*(r&&r.strokeWidth||0),i=o||(t&&t.length>=2?Math.ceil(Math.max(0,t[1].x-t[0].x-a)):0);return u.default.createElement("g",null,t.map(function(e,t){return u.default.createElement("rect",{key:t,x:Math.ceil(e.x-a*t),y:Math.ceil(e.y),width:Math.ceil(i),height:Math.ceil(Math.max(0,n-e.y)),style:r})}))}}]),t}(u.default.Component);c.propTypes={points:u.default.PropTypes.arrayOf(u.default.PropTypes.object),height:u.default.PropTypes.number,style:u.default.PropTypes.object,barWidth:u.default.PropTypes.number},c.defaultProps={style:{fill:"slategray"}},t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=r(l),c=function(e){function t(){return o(this,t),a(this,Object.getPrototypeOf(t).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.points,n=(e.width,e.height),r=e.margin,o=e.color,a=e.style,i=e.divisor,s=void 0===i?.25:i,l=void 0,c=function(e){var t=void 0;if(l){var n=(e.x-l.x)*s;t=["C",l.x+n,l.y,e.x-n,e.y,e.x,e.y]}else t=[e.x,e.y];return l=e,t},d=t.map(function(e){return c(e)}).reduce(function(e,t){return e.concat(t)}),f=["L"+t[t.length-1].x,n-r,r,n-r,r,t[0].y],p=d.concat(f),h={stroke:o||a.stroke||"slategray",strokeWidth:a.strokeWidth||"1",strokeLinejoin:a.strokeLinejoin||"round",strokeLinecap:a.strokeLinecap||"round",fill:"none"},m={stroke:a.stroke||"none",strokeWidth:"0",fillOpacity:a.fillOpacity||".1",fill:a.fill||o||"slategray"};return u.default.createElement("g",null,u.default.createElement("path",{d:"M"+p.join(" "),style:m}),u.default.createElement("path",{d:"M"+d.join(" "),style:h}))}}]),t}(u.default.Component);c.propTypes={color:u.default.PropTypes.string,style:u.default.PropTypes.object},c.defaultProps={style:{}},t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=r(l),c=function(e){function t(){return o(this,t),a(this,Object.getPrototypeOf(t).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.points,n=(e.width,e.height),r=e.margin,o=e.color,a=e.style,i=t.map(function(e){return[e.x,e.y]}).reduce(function(e,t){return e.concat(t)}),s=[t[t.length-1].x,n-r,r,n-r,r,t[0].y],l=i.concat(s),c={stroke:o||a.stroke||"slategray",strokeWidth:a.strokeWidth||"1",strokeLinejoin:a.strokeLinejoin||"round",strokeLinecap:a.strokeLinecap||"round",fill:"none"},d={stroke:a.stroke||"none",strokeWidth:"0",fillOpacity:a.fillOpacity||".1",fill:a.fill||o||"slategray"};return u.default.createElement("g",null,u.default.createElement("polyline",{points:l.join(" "),style:d}),u.default.createElement("polyline",{points:i.join(" "),style:c}))}}]),t}(u.default.Component);c.propTypes={color:u.default.PropTypes.string,style:u.default.PropTypes.object},c.defaultProps={style:{}},t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=r(l),c=n(1),d=r(c),f=n(4),p=r(f),h=function(e){function t(){return o(this,t),a(this,Object.getPrototypeOf(t).apply(this,arguments))}return i(t,e),s(t,[{key:"render",value:function(){var e=this.props,t=e.points,n=e.margin,r=e.style,o=t.map(function(e){return e.y}),a=(0,d.default)(o),i=(0,p.default)(o);return u.default.createElement("rect",{x:t[0].x,y:a-i+n,width:t[t.length-1].x-t[0].x,height:2*p.default,style:r})}}]),t}(u.default.Component);h.propTypes={style:u.default.PropTypes.object},h.defaultProps={style:{fill:"red",fillOpacity:.1}},t.default=h},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(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)}Object.defineProperty(t,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(0),c=o(u),d=n(14),f=r(d),p=function(e){function t(){return a(this,t),i(this,Object.getPrototypeOf(t).apply(this,arguments))}return s(t,e),l(t,[{key:"render",value:function(){var e=this.props,t=e.points,n=e.margin,r=e.type,o=e.style,a=e.value,i=t.map(function(e){return e.y}),s="custom"==r?a:f[r](i);return c.default.createElement("line",{x1:t[0].x,y1:s+n,x2:t[t.length-1].x,y2:s+n,style:o})}}]),t}(c.default.Component);p.propTypes={type:c.default.PropTypes.oneOf(["max","min","mean","avg","median","custom"]),value:c.default.PropTypes.number,style:c.default.PropTypes.object},p.defaultProps={type:"mean",style:{stroke:"red",strokeOpacity:.75,strokeDasharray:"2, 2"}},t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(0),u=r(l),c=function(e){function t(){return o(this,t),a(this,Object.getPrototypeOf(t).apply(this,arguments))}return i(t,e),s(t,[{key:"lastDirection",value:function(e){return Math.sign=Math.sign||function(e){return e>0?1:-1},e.length<2?0:Math.sign(e[e.length-2].y-e[e.length-1].y)}},{key:"render",value:function(){var e=this.props,t=e.points,n=(e.width,e.height,e.size),r=e.style,o=e.spotColors,a=u.default.createElement("circle",{cx:t[0].x,cy:t[0].y,r:n,style:r}),i=u.default.createElement("circle",{cx:t[t.length-1].x,cy:t[t.length-1].y,r:n,style:r||{fill:o[this.lastDirection(t)]}});return u.default.createElement("g",null,r&&a,i)}}]),t}(u.default.Component);c.propTypes={size:u.default.PropTypes.number,style:u.default.PropTypes.object,spotColors:u.default.PropTypes.object},c.defaultProps={size:2,spotColors:{"-1":"red",0:"black",1:"green"}},t.default=c},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),a=r(o),i=n(3),s=r(i);t.default=function(e){var t=e.data,n=e.limit,r=e.width,o=void 0===r?1:r,i=e.height,l=void 0===i?1:i,u=e.margin,c=void 0===u?0:u,d=e.max,f=void 0===d?(0,s.default)(t):d,p=e.min,h=void 0===p?(0,a.default)(t):p,m=t.length;n&&n<m&&(t=t.slice(m-n));var v=(l-2*c)/(f-h||2),b=(o-2*c)/((n||m)-(m>1?1:0));return t.map(function(e,t){return{x:t*b+c,y:(f===h?1:f-e)*v+c}})}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.variance=t.stdev=t.median=t.midRange=t.avg=t.mean=t.max=t.min=void 0;var o=n(2),a=r(o),i=n(1),s=r(i),l=n(16),u=r(l),c=n(15),d=r(c),f=n(4),p=r(f),h=n(17),m=r(h);t.min=a.default,t.max=a.default,t.mean=s.default,t.avg=s.default,t.midRange=u.default,t.median=d.default,t.stdev=p.default,t.variance=m.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.sort(function(e,t){return e-t})[Math.floor(e.length/2)]}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(2),a=r(o),i=n(3),s=r(i);t.default=function(e){return(0,s.default)(e)-(0,a.default)(e)/2}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(1),a=r(o);t.default=function(e){var t=(0,a.default)(e),n=e.map(function(e){return Math.pow(e-t,2)});return(0,a.default)(n)}},function(e,t){"use strict";function n(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function r(e,t){if(n(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),a=Object.keys(t);if(r.length!==a.length)return!1;for(var i=0;i<r.length;i++)if(!o.call(t,r[i])||!n(e[r[i]],t[r[i]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;e.exports=r},function(e,t,n){e.exports=n(20)},function(e,t,n){"use strict";function r(e,t,n){return!o(e.props,t)||!o(e.state,n)}var o=n(18);e.exports=r},function(e,t,n){e.exports=n(5)}])})},{react:1269}],1196:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=e("react"),u=r(l),c=e("react-addons-shallow-compare"),d=r(c),f=function(e){function t(e,n){o(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.state={scrollToColumn:e.scrollToColumn,scrollToRow:e.scrollToRow},r._columnStartIndex=0,r._columnStopIndex=0,r._rowStartIndex=0,r._rowStopIndex=0,r._onKeyDown=r._onKeyDown.bind(r),r._onSectionRendered=r._onSectionRendered.bind(r),r}return i(t,e),s(t,[{key:"componentWillUpdate",value:function(e,t){var n=e.scrollToColumn,r=e.scrollToRow;this.props.scrollToColumn!==n&&this.setState({scrollToColumn:n}),this.props.scrollToRow!==r&&this.setState({scrollToRow:r})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.children,r=this.state,o=r.scrollToColumn,a=r.scrollToRow;return u.default.createElement("div",{className:t,onKeyDown:this._onKeyDown},n({onSectionRendered:this._onSectionRendered,scrollToColumn:o,scrollToRow:a}))}},{key:"shouldComponentUpdate",value:function(e,t){return(0,d.default)(this,e,t)}},{key:"_onKeyDown",value:function(e){var t=this.props,n=t.columnCount,r=t.disabled,o=t.mode,a=t.rowCount;if(!r){var i=this.state,s=i.scrollToColumn,l=i.scrollToRow,u=this.state,c=u.scrollToColumn,d=u.scrollToRow;switch(e.key){case"ArrowDown":d="cells"===o?Math.min(d+1,a-1):Math.min(this._rowStopIndex+1,a-1);break;case"ArrowLeft":c="cells"===o?Math.max(c-1,0):Math.max(this._columnStartIndex-1,0);break;case"ArrowRight":c="cells"===o?Math.min(c+1,n-1):Math.min(this._columnStopIndex+1,n-1);break;case"ArrowUp":d="cells"===o?Math.max(d-1,0):Math.max(this._rowStartIndex-1,0)}c===s&&d===l||(e.preventDefault(),this.setState({scrollToColumn:c,scrollToRow:d}))}}},{key:"_onSectionRendered",value:function(e){var t=e.columnStartIndex,n=e.columnStopIndex,r=e.rowStartIndex,o=e.rowStopIndex;this._columnStartIndex=t,this._columnStopIndex=n,this._rowStartIndex=r,this._rowStopIndex=o}}]),t}(l.Component);f.defaultProps={disabled:!1,mode:"edges",scrollToColumn:0,scrollToRow:0},n.default=f},{react:1269,"react-addons-shallow-compare":836}],1197:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.ArrowKeyStepper=n.default=void 0;var o=e("./ArrowKeyStepper"),a=r(o);n.default=a.default,n.ArrowKeyStepper=a.default},{"./ArrowKeyStepper":1196}],1198:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=e("react"),u=r(l),c=e("react-addons-shallow-compare"),d=r(c),f=e("../vendor/detectElementResize"),p=r(f),h=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={height:0,width:0},n._onResize=n._onResize.bind(n),n._setRef=n._setRef.bind(n),n}return i(t,e),s(t,[{key:"componentDidMount",value:function(){this._parentNode=this._autoSizer.parentNode,this._detectElementResize=(0,p.default)(),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize()}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.disableHeight,r=e.disableWidth,o=this.state,a=o.height,i=o.width,s={overflow:"visible"};return n||(s.height=0),r||(s.width=0),u.default.createElement("div",{ref:this._setRef,style:s},t({height:a,width:i}))}},{key:"shouldComponentUpdate",value:function(e,t){return(0,d.default)(this,e,t)}},{key:"_onResize",value:function(){var e=this.props.onResize,t=this._parentNode.getBoundingClientRect(),n=t.height||0,r=t.width||0,o=window.getComputedStyle(this._parentNode)||{},a=parseInt(o.paddingLeft,10)||0,i=parseInt(o.paddingRight,10)||0,s=parseInt(o.paddingTop,10)||0,l=parseInt(o.paddingBottom,10)||0;this.setState({height:n-s-l,
|
52 | width:r-a-i}),e({height:n,width:r})}},{key:"_setRef",value:function(e){this._autoSizer=e}}]),t}(l.Component);h.defaultProps={onResize:function(){}},n.default=h},{"../vendor/detectElementResize":1242,react:1269,"react-addons-shallow-compare":836}],1199:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.AutoSizer=n.default=void 0;var o=e("./AutoSizer"),a=r(o);n.default=a.default,n.AutoSizer=a.default},{"./AutoSizer":1198}],1200:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=e("react"),u=(r(l),e("react-addons-shallow-compare")),c=r(u),d=e("react-dom"),f=r(d),p=e("./defaultCellSizeCache"),h=r(p),m=function(e){function t(e,n){o(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r._cellSizeCache=e.cellSizeCache||new h.default,r.getColumnWidth=r.getColumnWidth.bind(r),r.getRowHeight=r.getRowHeight.bind(r),r.resetMeasurements=r.resetMeasurements.bind(r),r.resetMeasurementForColumn=r.resetMeasurementForColumn.bind(r),r.resetMeasurementForRow=r.resetMeasurementForRow.bind(r),r}return i(t,e),s(t,[{key:"getColumnWidth",value:function(e){var t=e.index,n=this._cellSizeCache.getColumnWidth(t);if(null!=n)return n;for(var r=this.props.rowCount,o=0,a=0;a<r;a++){var i=this._measureCell({clientWidth:!0,columnIndex:t,rowIndex:a}),s=i.width;o=Math.max(o,s)}return this._cellSizeCache.setColumnWidth(t,o),o}},{key:"getRowHeight",value:function(e){var t=e.index,n=this._cellSizeCache.getRowHeight(t);if(null!=n)return n;for(var r=this.props.columnCount,o=0,a=0;a<r;a++){var i=this._measureCell({clientHeight:!0,columnIndex:a,rowIndex:t}),s=i.height;o=Math.max(o,s)}return this._cellSizeCache.setRowHeight(t,o),o}},{key:"resetMeasurementForColumn",value:function(e){this._cellSizeCache.clearColumnWidth(e)}},{key:"resetMeasurementForRow",value:function(e){this._cellSizeCache.clearRowHeight(e)}},{key:"resetMeasurements",value:function(){this._cellSizeCache.clearAllColumnWidths(),this._cellSizeCache.clearAllRowHeights()}},{key:"componentDidMount",value:function(){this._renderAndMount()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.cellSizeCache;t!==e.cellSizeCache&&(this._cellSizeCache=e.cellSizeCache),this._updateDivDimensions(e)}},{key:"componentWillUnmount",value:function(){this._unmountContainer()}},{key:"render",value:function(){var e=this.props.children;return e({getColumnWidth:this.getColumnWidth,getRowHeight:this.getRowHeight,resetMeasurements:this.resetMeasurements,resetMeasurementForColumn:this.resetMeasurementForColumn,resetMeasurementForRow:this.resetMeasurementForRow})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"_getContainerNode",value:function(e){var t=e.container;return t?f.default.findDOMNode("function"==typeof t?t():t):document.body}},{key:"_measureCell",value:function(e){var t=e.clientHeight,n=void 0!==t&&t,r=e.clientWidth,o=void 0===r||r,a=e.columnIndex,i=e.rowIndex,s=this.props.cellRenderer,l=s({columnIndex:a,index:i,rowIndex:i});this._renderAndMount(),f.default.unstable_renderSubtreeIntoContainer(this,l,this._div);var u={height:n&&this._div.clientHeight,width:o&&this._div.clientWidth};return f.default.unmountComponentAtNode(this._div),u}},{key:"_renderAndMount",value:function(){this._div||(this._div=document.createElement("div"),this._div.style.display="inline-block",this._div.style.position="absolute",this._div.style.visibility="hidden",this._div.style.zIndex=-1,this._updateDivDimensions(this.props),this._containerNode=this._getContainerNode(this.props),this._containerNode.appendChild(this._div))}},{key:"_unmountContainer",value:function(){this._div&&(this._containerNode.removeChild(this._div),this._div=null),this._containerNode=null}},{key:"_updateDivDimensions",value:function(e){var t=e.height,n=e.width;t&&t!==this._divHeight&&(this._divHeight=t,this._div.style.height=t+"px"),n&&n!==this._divWidth&&(this._divWidth=n,this._div.style.width=n+"px")}}]),t}(l.Component);n.default=m},{"./defaultCellSizeCache":1201,react:1269,"react-addons-shallow-compare":836,"react-dom":974}],1201:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.uniformRowHeight,o=void 0!==n&&n,a=t.uniformColumnWidth,i=void 0!==a&&a;r(this,e),this._uniformRowHeight=o,this._uniformColumnWidth=i,this._cachedColumnWidth=void 0,this._cachedRowHeight=void 0,this._cachedColumnWidths={},this._cachedRowHeights={}}return o(e,[{key:"clearAllColumnWidths",value:function(){this._cachedColumnWidth=void 0,this._cachedColumnWidths={}}},{key:"clearAllRowHeights",value:function(){this._cachedRowHeight=void 0,this._cachedRowHeights={}}},{key:"clearColumnWidth",value:function(e){this._cachedColumnWidth=void 0,delete this._cachedColumnWidths[e]}},{key:"clearRowHeight",value:function(e){this._cachedRowHeight=void 0,delete this._cachedRowHeights[e]}},{key:"getColumnWidth",value:function(e){return this._uniformColumnWidth?this._cachedColumnWidth:this._cachedColumnWidths[e]}},{key:"getRowHeight",value:function(e){return this._uniformRowHeight?this._cachedRowHeight:this._cachedRowHeights[e]}},{key:"setColumnWidth",value:function(e,t){this._cachedColumnWidth=t,this._cachedColumnWidths[e]=t}},{key:"setRowHeight",value:function(e,t){this._cachedRowHeight=t,this._cachedRowHeights[e]=t}}]),e}();n.default=a},{}],1202:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.defaultCellSizeCache=n.CellMeasurer=n.default=void 0;var o=e("./CellMeasurer"),a=r(o),i=e("./defaultCellSizeCache"),s=r(i);n.default=a.default,n.CellMeasurer=a.default,n.defaultCellSizeCache=s.default},{"./CellMeasurer":1200,"./defaultCellSizeCache":1201}],1203:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(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)}function l(e){var t=e.cellCache,n=e.cellRenderer,r=e.cellSizeAndPositionGetter,o=e.indices,a=e.isScrolling;return o.map(function(e){var o=r({index:e}),i={index:e,isScrolling:a,key:e,style:{height:o.height,left:o.x,position:"absolute",top:o.y,width:o.width}};return a?(e in t||(t[e]=n(i)),t[e]):n(i)}).filter(function(e){return!!e})}Object.defineProperty(n,"__esModule",{value:!0});var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),d=e("react"),f=r(d),p=e("./CollectionView"),h=r(p),m=e("./utils/calculateSizeAndPositionData"),v=r(m),b=e("../utils/getUpdatedOffsetForIndex"),g=r(b),y=e("react-addons-shallow-compare"),_=r(y),M=function(e){function t(e,n){a(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r._cellMetadata=[],r._lastRenderedCellIndices=[],r._cellCache=[],r._isScrollingChange=r._isScrollingChange.bind(r),r}return s(t,e),c(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._cellCache=[],this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function(){var e=this,t=o(this.props,[]);return f.default.createElement(h.default,u({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:function(t){e._collectionView=t}},t))}},{key:"shouldComponentUpdate",value:function(e,t){return(0,_.default)(this,e,t)}},{key:"calculateSizeAndPositionData",value:function(){var e=this.props,t=e.cellCount,n=e.cellSizeAndPositionGetter,r=e.sectionSize,o=(0,v.default)({cellCount:t,cellSizeAndPositionGetter:n,sectionSize:r});this._cellMetadata=o.cellMetadata,this._sectionManager=o.sectionManager,this._height=o.height,this._width=o.width}},{key:"getLastRenderedIndices",value:function(){return this._lastRenderedCellIndices}},{key:"getScrollPositionForCell",value:function(e){var t=e.align,n=e.cellIndex,r=e.height,o=e.scrollLeft,a=e.scrollTop,i=e.width,s=this.props.cellCount;if(n>=0&&n<s){var l=this._cellMetadata[n];o=(0,g.default)({align:t,cellOffset:l.x,cellSize:l.width,containerSize:i,currentOffset:o,targetIndex:n}),a=(0,g.default)({align:t,cellOffset:l.y,cellSize:l.height,containerSize:r,currentOffset:a,targetIndex:n})}return{scrollLeft:o,scrollTop:a}}},{key:"getTotalSize",value:function(){return{height:this._height,width:this._width}}},{key:"cellRenderers",value:function(e){var t=this,n=e.height,r=e.isScrolling,o=e.width,a=e.x,i=e.y,s=this.props,l=s.cellGroupRenderer,u=s.cellRenderer;return this._lastRenderedCellIndices=this._sectionManager.getCellIndices({height:n,width:o,x:a,y:i}),l({cellCache:this._cellCache,cellRenderer:u,cellSizeAndPositionGetter:function(e){var n=e.index;return t._sectionManager.getCellMetadata({index:n})},indices:this._lastRenderedCellIndices,isScrolling:r})}},{key:"_isScrollingChange",value:function(e){e||(this._cellCache=[])}}]),t}(d.Component);M.defaultProps={"aria-label":"grid",cellGroupRenderer:l},n.default=M},{"../utils/getUpdatedOffsetForIndex":1241,"./CollectionView":1204,"./utils/calculateSizeAndPositionData":1208,react:1269,"react-addons-shallow-compare":836}],1204:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=e("react"),c=r(u),d=e("classnames"),f=r(d),p=e("../utils/createCallbackMemoizer"),h=r(p),m=e("dom-helpers/util/scrollbarSize"),v=r(m),b=e("react-addons-shallow-compare"),g=r(b),y=150,_={OBSERVED:"observed",REQUESTED:"requested"},M=function(e){function t(e,n){o(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.state={calculateSizeAndPositionDataOnNextUpdate:!1,isScrolling:!1,scrollLeft:0,scrollTop:0},r._onSectionRenderedMemoizer=(0,h.default)(),r._onScrollMemoizer=(0,h.default)(!1),r._invokeOnSectionRenderedHelper=r._invokeOnSectionRenderedHelper.bind(r),r._onScroll=r._onScroll.bind(r),r._updateScrollPositionForScrollToCell=r._updateScrollPositionForScrollToCell.bind(r),r}return i(t,e),l(t,[{key:"recomputeCellSizesAndPositions",value:function(){this.setState({calculateSizeAndPositionDataOnNextUpdate:!0})}},{key:"componentDidMount",value:function(){var e=this.props,t=e.cellLayoutManager,n=e.scrollLeft,r=e.scrollToCell,o=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=(0,v.default)(),this._scrollbarSizeMeasured=!0,this.setState({})),r>=0?this._updateScrollPositionForScrollToCell():(n>=0||o>=0)&&this._setScrollPosition({scrollLeft:n,scrollTop:o}),this._invokeOnSectionRenderedHelper();var a=t.getTotalSize(),i=a.height,s=a.width;this._invokeOnScrollMemoizer({scrollLeft:n||0,scrollTop:o||0,totalHeight:i,totalWidth:s})}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.height,o=n.scrollToAlignment,a=n.scrollToCell,i=n.width,s=this.state,l=s.scrollLeft,u=s.scrollPositionChangeReason,c=s.scrollTop;u===_.REQUESTED&&(l>=0&&l!==t.scrollLeft&&l!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=l),c>=0&&c!==t.scrollTop&&c!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=c)),r===e.height&&o===e.scrollToAlignment&&a===e.scrollToCell&&i===e.width||this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillMount",value:function(){var e=this.props.cellLayoutManager;e.calculateSizeAndPositionData(),this._scrollbarSize=(0,v.default)(),void 0===this._scrollbarSize?(this._scrollbarSizeMeasured=!1,this._scrollbarSize=0):this._scrollbarSizeMeasured=!0}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"componentWillUpdate",value:function(e,t){0!==e.cellCount||0===t.scrollLeft&&0===t.scrollTop?e.scrollLeft===this.props.scrollLeft&&e.scrollTop===this.props.scrollTop||this._setScrollPosition({scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}):this._setScrollPosition({scrollLeft:0,scrollTop:0}),(e.cellCount!==this.props.cellCount||e.cellLayoutManager!==this.props.cellLayoutManager||t.calculateSizeAndPositionDataOnNextUpdate)&&e.cellLayoutManager.calculateSizeAndPositionData(),t.calculateSizeAndPositionDataOnNextUpdate&&this.setState({calculateSizeAndPositionDataOnNextUpdate:!1})}},{key:"render",value:function(){var e=this,t=this.props,n=t.autoHeight,r=t.cellCount,o=t.cellLayoutManager,a=t.className,i=t.height,l=t.horizontalOverscanSize,u=t.id,d=t.noContentRenderer,p=t.style,h=t.verticalOverscanSize,m=t.width,v=this.state,b=v.isScrolling,g=v.scrollLeft,y=v.scrollTop,_=o.getTotalSize(),M=_.height,w=_.width,S=Math.max(0,g-l),C=Math.max(0,y-h),x=Math.min(w,g+m+l),k=Math.min(M,y+i+h),T=i>0&&m>0?o.cellRenderers({height:k-C,isScrolling:b,width:x-S,x:S,y:C}):[],A={boxSizing:"border-box",direction:"ltr",height:n?"auto":i,position:"relative",WebkitOverflowScrolling:"touch",width:m,willChange:"transform"},P=M>i?this._scrollbarSize:0,N=w>m?this._scrollbarSize:0;return A.overflowX=w+P<=m?"hidden":"auto",A.overflowY=M+N<=i?"hidden":"auto",c.default.createElement("div",{ref:function(t){e._scrollingContainer=t},"aria-label":this.props["aria-label"],className:(0,f.default)("ReactVirtualized__Collection",a),id:u,onScroll:this._onScroll,role:"grid",style:s({},A,p),tabIndex:0},r>0&&c.default.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:M,maxHeight:M,maxWidth:w,overflow:"hidden",pointerEvents:b?"none":"",width:w}},T),0===r&&d())}},{key:"shouldComponentUpdate",value:function(e,t){return(0,g.default)(this,e,t)}},{key:"_enablePointerEventsAfterDelay",value:function(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(function(){var t=e.props.isScrollingChange;t(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})},y)}},{key:"_invokeOnSectionRenderedHelper",value:function(){var e=this.props,t=e.cellLayoutManager,n=e.onSectionRendered;this._onSectionRenderedMemoizer({callback:n,indices:{indices:t.getLastRenderedIndices()}})}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,n=e.scrollLeft,r=e.scrollTop,o=e.totalHeight,a=e.totalWidth;this._onScrollMemoizer({callback:function(e){var n=e.scrollLeft,r=e.scrollTop,i=t.props,s=i.height,l=i.onScroll,u=i.width;l({clientHeight:s,clientWidth:u,scrollHeight:o,scrollLeft:n,scrollTop:r,scrollWidth:a})},indices:{scrollLeft:n,scrollTop:r}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,n=e.scrollTop,r={scrollPositionChangeReason:_.REQUESTED};t>=0&&(r.scrollLeft=t),n>=0&&(r.scrollTop=n),(t>=0&&t!==this.state.scrollLeft||n>=0&&n!==this.state.scrollTop)&&this.setState(r)}},{key:"_updateScrollPositionForScrollToCell",value:function(){var e=this.props,t=e.cellLayoutManager,n=e.height,r=e.scrollToAlignment,o=e.scrollToCell,a=e.width,i=this.state,s=i.scrollLeft,l=i.scrollTop;if(o>=0){var u=t.getScrollPositionForCell({align:r,cellIndex:o,height:n,scrollLeft:s,scrollTop:l,width:a});u.scrollLeft===s&&u.scrollTop===l||this._setScrollPosition(u)}}},{key:"_onScroll",value:function(e){if(e.target===this._scrollingContainer){this._enablePointerEventsAfterDelay();var t=this.props,n=t.cellLayoutManager,r=t.height,o=t.isScrollingChange,a=t.width,i=this._scrollbarSize,s=n.getTotalSize(),l=s.height,u=s.width,c=Math.max(0,Math.min(u-a+i,e.target.scrollLeft)),d=Math.max(0,Math.min(l-r+i,e.target.scrollTop));if(this.state.scrollLeft!==c||this.state.scrollTop!==d){var f=e.cancelable?_.OBSERVED:_.REQUESTED;this.state.isScrolling||o(!0),this.setState({isScrolling:!0,scrollLeft:c,scrollPositionChangeReason:f,scrollTop:d})}this._invokeOnScrollMemoizer({scrollLeft:c,scrollTop:d,totalWidth:u,totalHeight:l})}}}]),t}(u.Component);M.defaultProps={"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",style:{},verticalOverscanSize:0},n.default=M},{"../utils/createCallbackMemoizer":1240,classnames:157,"dom-helpers/util/scrollbarSize":275,react:1269,"react-addons-shallow-compare":836}],1205:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(){function e(t){var n=t.height,o=t.width,a=t.x,i=t.y;r(this,e),this.height=n,this.width=o,this.x=a,this.y=i,this._indexMap={},this._indices=[]}return o(e,[{key:"addCellIndex",value:function(e){var t=e.index;this._indexMap[t]||(this._indexMap[t]=!0,this._indices.push(t))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return this.x+","+this.y+" "+this.width+"x"+this.height}}]),e}();n.default=a},{}],1206:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=e("./Section"),s=r(i),l=100,u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l;o(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return a(e,[{key:"getCellIndices",value:function(e){var t=e.height,n=e.width,r=e.x,o=e.y,a={};return this.getSections({height:t,width:n,x:r,y:o}).forEach(function(e){return e.getCellIndices().forEach(function(e){a[e]=e})}),Object.keys(a).map(function(e){return a[e]})}},{key:"getCellMetadata",value:function(e){var t=e.index;return this._cellMetadata[t]}},{key:"getSections",value:function(e){for(var t=e.height,n=e.width,r=e.x,o=e.y,a=Math.floor(r/this._sectionSize),i=Math.floor((r+n-1)/this._sectionSize),l=Math.floor(o/this._sectionSize),u=Math.floor((o+t-1)/this._sectionSize),c=[],d=a;d<=i;d++)for(var f=l;f<=u;f++){var p=d+"."+f;this._sections[p]||(this._sections[p]=new s.default({height:this._sectionSize,width:this._sectionSize,x:d*this._sectionSize,y:f*this._sectionSize})),c.push(this._sections[p])}return c}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var e=this;return Object.keys(this._sections).map(function(t){return e._sections[t].toString()})}},{key:"registerCell",value:function(e){var t=e.cellMetadatum,n=e.index;this._cellMetadata[n]=t,this.getSections(t).forEach(function(e){return e.addCellIndex({index:n})})}}]),e}();n.default=u},{"./Section":1205}],1207:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Collection=n.default=void 0;var o=e("./Collection"),a=r(o);n.default=a.default,n.Collection=a.default},{"./Collection":1203}],1208:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){for(var t=e.cellCount,n=e.cellSizeAndPositionGetter,r=e.sectionSize,o=[],a=new i.default(r),s=0,l=0,u=0;u<t;u++){var c=n({index:u});if(null==c.height||isNaN(c.height)||null==c.width||isNaN(c.width)||null==c.x||isNaN(c.x)||null==c.y||isNaN(c.y))throw Error("Invalid metadata returned for cell "+u+":\n x:"+c.x+", y:"+c.y+", width:"+c.width+", height:"+c.height);s=Math.max(s,c.y+c.height),l=Math.max(l,c.x+c.width),o[u]=c,a.registerCell({cellMetadatum:c,index:u})}return{cellMetadata:o,height:s,sectionManager:a,width:l}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var a=e("../SectionManager"),i=r(a)},{"../SectionManager":1206}],1209:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=e("react"),u=e("react-addons-shallow-compare"),c=r(u),d=function(e){function t(e,n){o(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r._registerChild=r._registerChild.bind(r),r}return i(t,e),s(t,[{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.columnMaxWidth,o=n.columnMinWidth,a=n.columnCount,i=n.width;r===e.columnMaxWidth&&o===e.columnMinWidth&&a===e.columnCount&&i===e.width||this._registeredChild&&this._registeredChild.recomputeGridSize()}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.columnMaxWidth,r=e.columnMinWidth,o=e.columnCount,a=e.width,i=r||1,s=n?Math.min(n,a):a,l=a/o;l=Math.max(i,l),l=Math.min(s,l),l=Math.floor(l);var u=Math.min(a,l*o);return t({adjustedWidth:u,getColumnWidth:function(){return l},registerChild:this._registerChild})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"_registerChild",value:function(e){if(e&&e.constructor&&"Grid"!==e.constructor.name&&"MultiGrid"!==e.constructor.name)throw Error("Unexpected child type registered; only Grid/MultiGrid children are supported.");this._registeredChild=e,this._registeredChild&&this._registeredChild.recomputeGridSize()}}]),t}(l.Component);n.default=d},{react:1269,"react-addons-shallow-compare":836}],1210:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.ColumnSizer=n.default=void 0;var o=e("./ColumnSizer"),a=r(o);n.default=a.default,n.ColumnSizer=a.default},{"./ColumnSizer":1209}],1211:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0}),n.DEFAULT_SCROLLING_RESET_TIME_INTERVAL=void 0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=e("react"),c=r(u),d=e("classnames"),f=r(d),p=e("./utils/calculateSizeAndPositionDataAndUpdateScrollOffset"),h=r(p),m=e("./utils/ScalingCellSizeAndPositionManager"),v=r(m),b=e("../utils/createCallbackMemoizer"),g=r(b),y=e("./utils/getOverscanIndices"),_=r(y),M=e("dom-helpers/util/scrollbarSize"),w=r(M),S=e("react-addons-shallow-compare"),C=r(S),x=e("./utils/updateScrollIndexHelper"),k=r(x),T=e("./defaultCellRangeRenderer"),A=r(T),P=n.DEFAULT_SCROLLING_RESET_TIME_INTERVAL=150,N={OBSERVED:"observed",REQUESTED:"requested"},O=function(e){function t(e,n){o(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.state={isScrolling:!1,scrollDirectionHorizontal:y.SCROLL_DIRECTION_FORWARD,scrollDirectionVertical:y.SCROLL_DIRECTION_FORWARD,scrollLeft:0,scrollTop:0},r._onGridRenderedMemoizer=(0,g.default)(),r._onScrollMemoizer=(0,g.default)(!1),r._debounceScrollEndedCallback=r._debounceScrollEndedCallback.bind(r),r._invokeOnGridRenderedHelper=r._invokeOnGridRenderedHelper.bind(r),r._onScroll=r._onScroll.bind(r),r._updateScrollLeftForScrollToColumn=r._updateScrollLeftForScrollToColumn.bind(r),r._updateScrollTopForScrollToRow=r._updateScrollTopForScrollToRow.bind(r),r._columnWidthGetter=r._wrapSizeGetter(e.columnWidth),r._rowHeightGetter=r._wrapSizeGetter(e.rowHeight),r._columnSizeAndPositionManager=new v.default({cellCount:e.columnCount,cellSizeGetter:function(e){return r._columnWidthGetter(e)},estimatedCellSize:r._getEstimatedColumnSize(e)}),r._rowSizeAndPositionManager=new v.default({cellCount:e.rowCount,cellSizeGetter:function(e){return r._rowHeightGetter(e)},estimatedCellSize:r._getEstimatedRowSize(e)}),r._cellCache={},r._styleCache={},r}return i(t,e),l(t,[{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,n=e.rowCount;this._columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),this._rowSizeAndPositionManager.getSizeAndPositionOfCell(n-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r;this._columnSizeAndPositionManager.resetCell(n),this._rowSizeAndPositionManager.resetCell(o),this._cellCache={},this._styleCache={},this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,t=e.scrollLeft,n=e.scrollToColumn,r=e.scrollTop,o=e.scrollToRow;this._scrollbarSizeMeasured||(this._scrollbarSize=(0,w.default)(),this._scrollbarSizeMeasured=!0,this.setState({})),(t>=0||r>=0)&&this._setScrollPosition({scrollLeft:t,scrollTop:r}),(n>=0||o>=0)&&(this._updateScrollLeftForScrollToColumn(),this._updateScrollTopForScrollToRow()),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:t||0,scrollTop:r||0,totalColumnsWidth:this._columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:this._rowSizeAndPositionManager.getTotalSize()})}},{key:"componentDidUpdate",value:function(e,t){var n=this,r=this.props,o=r.autoHeight,a=r.columnCount,i=r.height,l=r.rowCount,u=r.scrollToAlignment,c=r.scrollToColumn,d=r.scrollToRow,f=r.width,p=this.state,h=p.scrollLeft,m=p.scrollPositionChangeReason,v=p.scrollTop,b=a>0&&0===e.columnCount||l>0&&0===e.rowCount;if(m===N.REQUESTED&&(h>=0&&(h!==t.scrollLeft&&h!==this._scrollingContainer.scrollLeft||b)&&(this._scrollingContainer.scrollLeft=h),!o&&v>=0&&(v!==t.scrollTop&&v!==this._scrollingContainer.scrollTop||b)&&(this._scrollingContainer.scrollTop=v)),(0,k.default)({cellSizeAndPositionManager:this._columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:h,scrollToAlignment:u,scrollToIndex:c,size:f,updateScrollIndexCallback:function(e){return n._updateScrollLeftForScrollToColumn(s({},n.props,{scrollToColumn:e}))}}),(0,k.default)({cellSizeAndPositionManager:this._rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:v,scrollToAlignment:u,scrollToIndex:d,size:i,updateScrollIndexCallback:function(e){return n._updateScrollTopForScrollToRow(s({},n.props,{scrollToRow:e}))}}),this._invokeOnGridRenderedHelper(),h!==t.scrollLeft||v!==t.scrollTop){var g=this._rowSizeAndPositionManager.getTotalSize(),y=this._columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:h,scrollTop:v,totalColumnsWidth:y,totalRowsHeight:g})}}},{key:"componentWillMount",value:function(){this._scrollbarSize=(0,w.default)(),void 0===this._scrollbarSize?(this._scrollbarSizeMeasured=!1,this._scrollbarSize=0):this._scrollbarSizeMeasured=!0,this._calculateChildrenToRender()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"componentWillUpdate",value:function(e,t){var n=this;if(0===e.columnCount&&0!==t.scrollLeft||0===e.rowCount&&0!==t.scrollTop)this._setScrollPosition({scrollLeft:0,scrollTop:0});else if(e.scrollLeft!==this.props.scrollLeft||e.scrollTop!==this.props.scrollTop){var r={};null!=e.scrollLeft&&(r.scrollLeft=e.scrollLeft),null!=e.scrollTop&&(r.scrollTop=e.scrollTop),this._setScrollPosition(r)}e.columnWidth===this.props.columnWidth&&e.rowHeight===this.props.rowHeight||(this._styleCache={}),
|
53 | this._columnWidthGetter=this._wrapSizeGetter(e.columnWidth),this._rowHeightGetter=this._wrapSizeGetter(e.rowHeight),this._columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:this._getEstimatedColumnSize(e)}),this._rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:this._getEstimatedRowSize(e)}),(0,h.default)({cellCount:this.props.columnCount,cellSize:this.props.columnWidth,computeMetadataCallback:function(){return n._columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:e.columnWidth,nextScrollToIndex:e.scrollToColumn,scrollToIndex:this.props.scrollToColumn,updateScrollOffsetForScrollToIndex:function(){return n._updateScrollLeftForScrollToColumn(e,t)}}),(0,h.default)({cellCount:this.props.rowCount,cellSize:this.props.rowHeight,computeMetadataCallback:function(){return n._rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:e.rowHeight,nextScrollToIndex:e.scrollToRow,scrollToIndex:this.props.scrollToRow,updateScrollOffsetForScrollToIndex:function(){return n._updateScrollTopForScrollToRow(e,t)}}),this._calculateChildrenToRender(e,t)}},{key:"render",value:function(){var e=this,t=this.props,n=t.autoContainerWidth,r=t.autoHeight,o=t.className,a=t.containerStyle,i=t.height,l=t.id,u=t.noContentRenderer,d=t.style,p=t.tabIndex,h=t.width,m=this.state.isScrolling,v={boxSizing:"border-box",direction:"ltr",height:r?"auto":i,position:"relative",width:h,WebkitOverflowScrolling:"touch",willChange:"transform"},b=this._columnSizeAndPositionManager.getTotalSize(),g=this._rowSizeAndPositionManager.getTotalSize(),y=g>i?this._scrollbarSize:0,_=b>h?this._scrollbarSize:0;v.overflowX=b+y<=h?"hidden":"auto",v.overflowY=g+_<=i?"hidden":"auto";var M=this._childrenToDisplay,w=0===M.length&&i>0&&h>0;return c.default.createElement("div",{ref:function(t){e._scrollingContainer=t},"aria-label":this.props["aria-label"],className:(0,f.default)("ReactVirtualized__Grid",o),id:l,onScroll:this._onScroll,role:"grid",style:s({},v,d),tabIndex:p},M.length>0&&c.default.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",style:s({width:n?"auto":b,height:g,maxWidth:b,maxHeight:g,overflow:"hidden",pointerEvents:m?"none":""},a)},M),w&&u())}},{key:"shouldComponentUpdate",value:function(e,t){return(0,C.default)(this,e,t)}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,a=e.height,i=e.overscanColumnCount,s=e.overscanRowCount,l=e.rowCount,u=e.width,c=t.isScrolling,d=t.scrollDirectionHorizontal,f=t.scrollDirectionVertical,p=t.scrollLeft,h=t.scrollTop;if(this._childrenToDisplay=[],a>0&&u>0){var m=this._columnSizeAndPositionManager.getVisibleCellRange({containerSize:u,offset:p}),v=this._rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:h}),b=this._columnSizeAndPositionManager.getOffsetAdjustment({containerSize:u,offset:p}),g=this._rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:h});this._renderedColumnStartIndex=m.start,this._renderedColumnStopIndex=m.stop,this._renderedRowStartIndex=v.start,this._renderedRowStopIndex=v.stop;var y=(0,_.default)({cellCount:o,overscanCellsCount:i,scrollDirection:d,startIndex:this._renderedColumnStartIndex,stopIndex:this._renderedColumnStopIndex}),M=(0,_.default)({cellCount:l,overscanCellsCount:s,scrollDirection:f,startIndex:this._renderedRowStartIndex,stopIndex:this._renderedRowStopIndex});this._columnStartIndex=y.overscanStartIndex,this._columnStopIndex=y.overscanStopIndex,this._rowStartIndex=M.overscanStartIndex,this._rowStopIndex=M.overscanStopIndex,this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:n,columnSizeAndPositionManager:this._columnSizeAndPositionManager,columnStartIndex:this._columnStartIndex,columnStopIndex:this._columnStopIndex,horizontalOffsetAdjustment:b,isScrolling:c,rowSizeAndPositionManager:this._rowSizeAndPositionManager,rowStartIndex:this._rowStartIndex,rowStopIndex:this._rowStopIndex,scrollLeft:p,scrollTop:h,styleCache:this._styleCache,verticalOffsetAdjustment:g,visibleColumnIndices:m,visibleRowIndices:v})}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout(this._debounceScrollEndedCallback,e)}},{key:"_debounceScrollEndedCallback",value:function(){this._disablePointerEventsTimeoutId=null;var e=this._styleCache;this._cellCache={},this._styleCache={};for(var t=this._rowStartIndex;t<=this._rowStopIndex;t++)for(var n=this._columnStartIndex;n<=this._columnStopIndex;n++){var r=t+"-"+n;this._styleCache[r]=e[r]}this.setState({isScrolling:!1})}},{key:"_getEstimatedColumnSize",value:function(e){return"number"==typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"==typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_invokeOnGridRenderedHelper",value:function(){var e=this.props.onSectionRendered;this._onGridRenderedMemoizer({callback:e,indices:{columnOverscanStartIndex:this._columnStartIndex,columnOverscanStopIndex:this._columnStopIndex,columnStartIndex:this._renderedColumnStartIndex,columnStopIndex:this._renderedColumnStopIndex,rowOverscanStartIndex:this._rowStartIndex,rowOverscanStopIndex:this._rowStopIndex,rowStartIndex:this._renderedRowStartIndex,rowStopIndex:this._renderedRowStopIndex}})}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,n=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,a=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var n=e.scrollLeft,r=e.scrollTop,i=t.props,s=i.height,l=i.onScroll,u=i.width;l({clientHeight:s,clientWidth:u,scrollHeight:a,scrollLeft:n,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:n,scrollTop:r}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,n=e.scrollTop,r={scrollPositionChangeReason:N.REQUESTED};t>=0&&(r.scrollDirectionHorizontal=t>this.state.scrollLeft?y.SCROLL_DIRECTION_FORWARD:y.SCROLL_DIRECTION_BACKWARD,r.scrollLeft=t),n>=0&&(r.scrollDirectionVertical=n>this.state.scrollTop?y.SCROLL_DIRECTION_FORWARD:y.SCROLL_DIRECTION_BACKWARD,r.scrollTop=n),(t>=0&&t!==this.state.scrollLeft||n>=0&&n!==this.state.scrollTop)&&this.setState(r)}},{key:"_wrapPropertyGetter",value:function(e){return e instanceof Function?e:function(){return e}}},{key:"_wrapSizeGetter",value:function(e){return this._wrapPropertyGetter(e)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=e.columnCount,r=e.scrollToAlignment,o=e.scrollToColumn,a=e.width,i=t.scrollLeft;if(o>=0&&n>0){var s=Math.max(0,Math.min(n-1,o)),l=this._columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:r,containerSize:a,currentOffset:i,targetIndex:s});i!==l&&this._setScrollPosition({scrollLeft:l})}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=e.height,r=e.rowCount,o=e.scrollToAlignment,a=e.scrollToRow,i=t.scrollTop;if(a>=0&&r>0){var s=Math.max(0,Math.min(r-1,a)),l=this._rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:n,currentOffset:i,targetIndex:s});i!==l&&this._setScrollPosition({scrollTop:l})}}},{key:"_onScroll",value:function(e){if(e.target===this._scrollingContainer){this._debounceScrollEnded();var t=this.props,n=t.autoHeight,r=t.height,o=t.width,a=this._scrollbarSize,i=this._rowSizeAndPositionManager.getTotalSize(),s=this._columnSizeAndPositionManager.getTotalSize(),l=Math.min(Math.max(0,s-o+a),e.target.scrollLeft),u=Math.min(Math.max(0,i-r+a),e.target.scrollTop);if(this.state.scrollLeft!==l||this.state.scrollTop!==u){var c=l>this.state.scrollLeft?y.SCROLL_DIRECTION_FORWARD:y.SCROLL_DIRECTION_BACKWARD,d=u>this.state.scrollTop?y.SCROLL_DIRECTION_FORWARD:y.SCROLL_DIRECTION_BACKWARD,f={isScrolling:!0,scrollDirectionHorizontal:c,scrollDirectionVertical:d,scrollLeft:l,scrollPositionChangeReason:N.OBSERVED};n||(f.scrollTop=u),this.setState(f)}this._invokeOnScrollMemoizer({scrollLeft:l,scrollTop:u,totalColumnsWidth:s,totalRowsHeight:i})}}}]),t}(u.Component);O.defaultProps={"aria-label":"grid",cellRangeRenderer:A.default,estimatedColumnSize:100,estimatedRowSize:30,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},overscanColumnCount:0,overscanRowCount:10,scrollingResetTimeInterval:P,scrollToAlignment:"auto",style:{},tabIndex:0},n.default=O},{"../utils/createCallbackMemoizer":1240,"./defaultCellRangeRenderer":1212,"./utils/ScalingCellSizeAndPositionManager":1215,"./utils/calculateSizeAndPositionDataAndUpdateScrollOffset":1216,"./utils/getOverscanIndices":1217,"./utils/updateScrollIndexHelper":1218,classnames:157,"dom-helpers/util/scrollbarSize":275,react:1269,"react-addons-shallow-compare":836}],1212:[function(e,t,n){"use strict";function r(e){for(var t=e.cellCache,n=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,a=e.columnStopIndex,i=e.horizontalOffsetAdjustment,s=e.isScrolling,l=e.rowSizeAndPositionManager,u=e.rowStartIndex,c=e.rowStopIndex,d=(e.scrollLeft,e.scrollTop,e.styleCache),f=e.verticalOffsetAdjustment,p=e.visibleColumnIndices,h=e.visibleRowIndices,m=[],v=f||i,b=!s||!v,g=u;g<=c;g++)for(var y=l.getSizeAndPositionOfCell(g),_=o;_<=a;_++){var M=r.getSizeAndPositionOfCell(_),w=_>=p.start&&_<=p.stop&&g>=h.start&&g<=h.stop,S=g+"-"+_,C=void 0;b&&d[S]?C=d[S]:(C={height:y.size,left:M.offset+i,position:"absolute",top:y.offset+f,width:M.size},d[S]=C);var x={columnIndex:_,isScrolling:s,isVisible:w,key:S,rowIndex:g,style:C},k=void 0;!s||i||f?k=n(x):(t[S]||(t[S]=n(x)),k=t[S]),null!=k&&k!==!1&&m.push(k)}return m}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r},{}],1213:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.defaultCellRangeRenderer=n.Grid=n.default=void 0;var o=e("./Grid"),a=r(o),i=e("./defaultCellRangeRenderer"),s=r(i);n.default=a.default,n.Grid=a.default,n.defaultCellRangeRenderer=s.default},{"./Grid":1211,"./defaultCellRangeRenderer":1212}],1214:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(){function e(t){var n=t.cellCount,o=t.cellSizeGetter,a=t.estimatedCellSize;r(this,e),this._cellSizeGetter=o,this._cellCount=n,this._estimatedCellSize=a,this._cellSizeAndPositionData={},this._lastMeasuredIndex=-1}return o(e,[{key:"configure",value:function(e){var t=e.cellCount,n=e.estimatedCellSize;this._cellCount=t,this._estimatedCellSize=n}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index "+e+" is outside of range 0.."+this._cellCount);if(e>this._lastMeasuredIndex){for(var t=this.getSizeAndPositionOfLastMeasuredCell(),n=t.offset+t.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(null==o||isNaN(o))throw Error("Invalid size returned for cell "+r+" of value "+o);this._cellSizeAndPositionData[r]={offset:n,size:o},n+=o}this._lastMeasuredIndex=e}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,r=e.containerSize,o=e.currentOffset,a=e.targetIndex;if(r<=0)return 0;var i=this.getSizeAndPositionOfCell(a),s=i.offset,l=s-r+i.size,u=void 0;switch(n){case"start":u=s;break;case"end":u=l;break;case"center":u=s-(r-i.size)/2;break;default:u=Math.max(l,Math.min(s,o))}var c=this.getTotalSize();return Math.max(0,Math.min(c-r,u))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset,r=this.getTotalSize();if(0===r)return{};var o=n+t,a=this._findNearestCell(n),i=this.getSizeAndPositionOfCell(a);n=i.offset+i.size;for(var s=a;n<o&&s<this._cellCount-1;)s++,n+=this.getSizeAndPositionOfCell(s).size;return{start:a,stop:s}}},{key:"resetCell",value:function(e){this._lastMeasuredIndex=Math.min(this._lastMeasuredIndex,e-1)}},{key:"_binarySearch",value:function(e){for(var t=e.high,n=e.low,r=e.offset,o=void 0,a=void 0;n<=t;){if(o=n+Math.floor((t-n)/2),a=this.getSizeAndPositionOfCell(o).offset,a===r)return o;a<r?n=o+1:a>r&&(t=o-1)}if(n>0)return n-1}},{key:"_exponentialSearch",value:function(e){for(var t=e.index,n=e.offset,r=1;t<this._cellCount&&this.getSizeAndPositionOfCell(t).offset<n;)t+=r,r*=2;return this._binarySearch({high:Math.min(t,this._cellCount-1),low:Math.floor(t/2),offset:n})}},{key:"_findNearestCell",value:function(e){if(isNaN(e))throw Error("Invalid offset "+e+" specified");e=Math.max(0,e);var t=this.getSizeAndPositionOfLastMeasuredCell(),n=Math.max(0,this._lastMeasuredIndex);return t.offset>=e?this._binarySearch({high:n,low:0,offset:e}):this._exponentialSearch({index:n,offset:e})}}]),e}();n.default=a},{}],1215:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0}),n.DEFAULT_MAX_SCROLL_SIZE=void 0;var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=e("./CellSizeAndPositionManager"),l=r(s),u=n.DEFAULT_MAX_SCROLL_SIZE=15e5,c=function(){function e(t){var n=t.maxScrollSize,r=void 0===n?u:n,i=o(t,["maxScrollSize"]);a(this,e),this._cellSizeAndPositionManager=new l.default(i),this._maxScrollSize=r}return i(e,[{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,n=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),a=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:o});return Math.round(a*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,r=e.containerSize,o=e.currentOffset,a=e.targetIndex,i=e.totalSize;o=this._safeOffsetToOffset({containerSize:r,offset:o});var s=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:n,containerSize:r,currentOffset:o,targetIndex:a,totalSize:i});return this._offsetToSafeOffset({containerSize:r,offset:s})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset;return n=this._safeOffsetToOffset({containerSize:t,offset:n}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:n})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,n=e.offset,r=e.totalSize;return r<=t?0:n/(r-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,n=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return n;var a=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:r});return Math.round(a*(o-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,n=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return n;var a=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:o});return Math.round(a*(r-t))}}]),e}();n.default=c},{"./CellSizeAndPositionManager":1214}],1216:[function(e,t,n){"use strict";function r(e){var t=e.cellCount,n=e.cellSize,r=e.computeMetadataCallback,o=e.computeMetadataCallbackProps,a=e.nextCellsCount,i=e.nextCellSize,s=e.nextScrollToIndex,l=e.scrollToIndex,u=e.updateScrollOffsetForScrollToIndex;t===a&&("number"!=typeof n&&"number"!=typeof i||n===i)||(r(o),l>=0&&l===s&&u())}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r},{}],1217:[function(e,t,n){"use strict";function r(e){var t=e.cellCount,n=e.overscanCellsCount,r=e.scrollDirection,i=e.startIndex,s=e.stopIndex,l=void 0,u=void 0;switch(r){case a:l=i,u=s+n;break;case o:l=i-n,u=s}return{overscanStartIndex:Math.max(0,l),overscanStopIndex:Math.min(t-1,u)}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r;var o=n.SCROLL_DIRECTION_BACKWARD=-1,a=n.SCROLL_DIRECTION_FORWARD=1},{}],1218:[function(e,t,n){"use strict";function r(e){var t=e.cellSize,n=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,a=e.previousScrollToAlignment,i=e.previousScrollToIndex,s=e.previousSize,l=e.scrollOffset,u=e.scrollToAlignment,c=e.scrollToIndex,d=e.size,f=e.updateScrollIndexCallback,p=n.getCellCount(),h=c>=0&&c<p,m=d!==s||!o||"number"==typeof t&&t!==o;h&&(m||u!==a||c!==i)?f(c):!h&&p>0&&(d<s||p<r)&&l>n.getTotalSize()-d&&f(p-1)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r},{}],1219:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}function s(e){var t=e.lastRenderedStartIndex,n=e.lastRenderedStopIndex,r=e.startIndex,o=e.stopIndex;return!(r>n||o<t)}function l(e){for(var t=e.isRowLoaded,n=e.minimumBatchSize,r=e.rowCount,o=e.startIndex,a=e.stopIndex,i=[],s=null,l=null,u=o;u<=a;u++){var c=t({index:u});c?null!==l&&(i.push({startIndex:s,stopIndex:l}),s=l=null):(l=u,null===s&&(s=u))}if(null!==l){for(var d=Math.min(Math.max(l,s+n-1),r-1),f=l+1;f<=d&&!t({index:f});f++)l=f;i.push({startIndex:s,stopIndex:l})}if(i.length)for(var p=i[0];p.stopIndex-p.startIndex+1<n&&p.startIndex>0;){var h=p.startIndex-1;if(t({index:h}))break;p.startIndex=h}return i}function u(e){var t="function"==typeof e.recomputeGridSize?e.recomputeGridSize:e.recomputeRowHeights;t?t.call(e):e.forceUpdate()}Object.defineProperty(n,"__esModule",{value:!0});var c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();n.isRangeVisible=s,n.scanForUnloadedRanges=l,n.forceUpdateReactVirtualizedComponent=u;var d=e("react"),f=e("react-addons-shallow-compare"),p=r(f),h=e("../utils/createCallbackMemoizer"),m=r(h),v=function(e){function t(e,n){o(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r._loadMoreRowsMemoizer=(0,m.default)(),r._onRowsRendered=r._onRowsRendered.bind(r),r._registerChild=r._registerChild.bind(r),r}return i(t,e),c(t,[{key:"render",value:function(){var e=this.props.children;return e({onRowsRendered:this._onRowsRendered,registerChild:this._registerChild})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,p.default)(this,e,t)}},{key:"_loadUnloadedRanges",value:function(e){var t=this,n=this.props.loadMoreRows;e.forEach(function(e){var r=n(e);r&&r.then(function(){s({lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:e.startIndex,stopIndex:e.stopIndex})&&t._registeredChild&&u(t._registeredChild)})})}},{key:"_onRowsRendered",value:function(e){var t=this,n=e.startIndex,r=e.stopIndex,o=this.props,a=o.isRowLoaded,i=o.minimumBatchSize,s=o.rowCount,u=o.threshold;this._lastRenderedStartIndex=n,this._lastRenderedStopIndex=r;var c=l({isRowLoaded:a,minimumBatchSize:i,rowCount:s,startIndex:Math.max(0,n-u),stopIndex:Math.min(s-1,r+u)}),d=c.reduce(function(e,t){return e.concat([t.startIndex,t.stopIndex])},[]);this._loadMoreRowsMemoizer({callback:function(){t._loadUnloadedRanges(c)},indices:{squashedUnloadedRanges:d}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}]),t}(d.Component);v.defaultProps={minimumBatchSize:10,rowCount:0,threshold:15},n.default=v},{"../utils/createCallbackMemoizer":1240,react:1269,"react-addons-shallow-compare":836}],1220:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.InfiniteLoader=n.default=void 0;var o=e("./InfiniteLoader"),a=r(o);n.default=a.default,n.InfiniteLoader=a.default},{"./InfiniteLoader":1219}],1221:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(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)}Object.defineProperty(n,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=e("../Grid"),d=r(c),f=e("react"),p=r(f),h=e("classnames"),m=r(h),v=e("react-addons-shallow-compare"),b=r(v),g=function(e){function t(e,n){a(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r._cellRenderer=r._cellRenderer.bind(r),r._onScroll=r._onScroll.bind(r),r._onSectionRendered=r._onSectionRendered.bind(r),r}return s(t,e),u(t,[{key:"forceUpdateGrid",value:function(){this.Grid.forceUpdate()}},{key:"measureAllRows",value:function(){this.Grid.measureAllCells()}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid.recomputeGridSize({rowIndex:e}),this.forceUpdateGrid()}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,r=t.noRowsRenderer,o=t.scrollToIndex,a=t.width,i=(0,m.default)("ReactVirtualized__List",n);return p.default.createElement(d.default,l({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:i,columnWidth:a,columnCount:1,noContentRenderer:r,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:function(t){e.Grid=t},scrollToRow:o}))}},{key:"shouldComponentUpdate",value:function(e,t){return(0,b.default)(this,e,t)}},{key:"_cellRenderer",value:function(e){var t=e.rowIndex,n=e.style,r=o(e,["rowIndex","style"]),a=this.props.rowRenderer;return n.width="100%",a(l({index:t,style:n},r))}},{key:"_onScroll",value:function(e){var t=e.clientHeight,n=e.scrollHeight,r=e.scrollTop,o=this.props.onScroll;o({clientHeight:t,scrollHeight:n,scrollTop:r})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,n=e.rowOverscanStopIndex,r=e.rowStartIndex,o=e.rowStopIndex,a=this.props.onRowsRendered;a({overscanStartIndex:t,overscanStopIndex:n,startIndex:r,stopIndex:o})}}]),t}(f.Component);g.defaultProps={estimatedRowSize:30,noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanRowCount:10,scrollToAlignment:"auto",style:{}},n.default=g},{"../Grid":1213,classnames:157,react:1269,"react-addons-shallow-compare":836}],1222:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.List=n.default=void 0;var o=e("./List"),a=r(o);n.default=a.default,n.List=a.default},{"./List":1221}],1223:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(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)}Object.defineProperty(n,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=e("react"),d=r(c),f=e("react-addons-shallow-compare"),p=r(f),h=e("../Grid"),m=r(h),v=function(e){function t(e,n){a(this,t);var r=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.state={scrollLeft:0,scrollTop:0},r._bottomLeftGridRef=r._bottomLeftGridRef.bind(r),r._bottomRightGridRef=r._bottomRightGridRef.bind(r),r._cellRendererBottomLeftGrid=r._cellRendererBottomLeftGrid.bind(r),r._cellRendererBottomRightGrid=r._cellRendererBottomRightGrid.bind(r),r._cellRendererTopRightGrid=r._cellRendererTopRightGrid.bind(r),r._columnWidthRightGrid=r._columnWidthRightGrid.bind(r),r._onScroll=r._onScroll.bind(r),r._rowHeightBottomGrid=r._rowHeightBottomGrid.bind(r),r._topLeftGridRef=r._topLeftGridRef.bind(r),r._topRightGridRef=r._topRightGridRef.bind(r),r}return s(t,e),u(t,[{key:"measureAllRows",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r,a=this.props,i=a.fixedColumnCount,s=a.fixedRowCount;this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells({columnIndex:n,rowIndex:o-s}),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells({columnIndex:n-i,rowIndex:o-s}),this._topLeftGrid&&this._topLeftGrid.measureAllCells({columnIndex:n,rowIndex:o}),this._topRightGrid&&this._topRightGrid.measureAllCells({columnIndex:n-i,rowIndex:o})}},{key:"componentWillMount",value:function(){this._maybeCalculateCachedStyles(null,this.props)}},{key:"componentWillReceiveProps",value:function(e){var t=this.props,n=t.columnWidth,r=t.fixedColumnCount,o=t.fixedRowCount,a=t.rowHeight;n===e.columnWidth&&r===e.fixedColumnCount||(this._leftGridWidth=null),o===e.fixedRowCount&&a===e.rowHeight||(this._topGridHeight=null),this._maybeCalculateCachedStyles(this.props,e)}},{key:"render",value:function(){var e=this.props,t=e.onScroll,n=e.onSectionRendered,r=(e.scrollLeft,e.scrollToColumn),a=(e.scrollTop,e.scrollToRow),i=o(e,["onScroll","onSectionRendered","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]),s=this.state,u=s.scrollLeft,c=s.scrollTop;return d.default.createElement("div",{style:this._containerOuterStyle},d.default.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(i),this._renderTopRightGrid(l({},i,{scrollLeft:u}))),d.default.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(l({},i,{scrollTop:c})),this._renderBottomRightGrid(l({},i,{onScroll:t,onSectionRendered:n,scrollLeft:u,scrollToColumn:r,scrollToRow:a,scrollTop:c}))))}},{key:"shouldComponentUpdate",value:function(e,t){return(0,p.default)(this,e,t)}},{key:"_bottomLeftGridRef",value:function(e){this._bottomLeftGrid=e}},{key:"_bottomRightGridRef",value:function(e){this._bottomRightGrid=e}},{key:"_cellRendererBottomLeftGrid",value:function(e){var t=e.rowIndex,n=o(e,["rowIndex"]),r=this.props,a=r.cellRenderer,i=r.fixedRowCount;return a(l({},n,{rowIndex:t+i}))}},{key:"_cellRendererBottomRightGrid",value:function(e){var t=e.columnIndex,n=e.rowIndex,r=o(e,["columnIndex","rowIndex"]),a=this.props,i=a.cellRenderer,s=a.fixedColumnCount,u=a.fixedRowCount;return i(l({},r,{columnIndex:t+s,rowIndex:n+u}))}},{key:"_cellRendererTopRightGrid",value:function(e){var t=e.columnIndex,n=o(e,["columnIndex"]),r=this.props,a=r.cellRenderer,i=r.fixedColumnCount;return a(l({},n,{columnIndex:t+i}))}},{key:"_columnWidthRightGrid",value:function(e){var t=e.index,n=this.props,r=n.fixedColumnCount,o=n.columnWidth;return o instanceof Function?o({index:t+r}):o}},{key:"_getBottomGridHeight",value:function(e){var t=e.height,n=this._getTopGridHeight(e);return t-n}},{key:"_getLeftGridWidth",value:function(e){var t=e.fixedColumnCount,n=e.columnWidth;if(null==this._leftGridWidth)if(n instanceof Function){for(var r=0,o=0;o<t;o++)r+=n({index:o});this._leftGridWidth=r}else this._leftGridWidth=n*t;return this._leftGridWidth}},{key:"_getRightGridWidth",value:function(e){var t=e.width,n=this._getLeftGridWidth(e);return t-n}},{key:"_getTopGridHeight",value:function(e){var t=e.fixedRowCount,n=e.rowHeight;if(null==this._topGridHeight)if(n instanceof Function){for(var r=0,o=0;o<t;o++)r+=n({index:o});this._topGridHeight=r}else this._topGridHeight=n*t;return this._topGridHeight}},{key:"_maybeCalculateCachedStyles",value:function(e,t){var n=t.columnWidth,r=t.height,o=t.fixedColumnCount,a=t.fixedRowCount,i=t.rowHeight,s=t.style,u=t.styleBottomLeftGrid,c=t.styleBottomRightGrid,d=t.styleTopLeftGrid,f=t.styleTopRightGrid,p=t.width,h=!e,m=h||r!==e.height||p!==e.width,v=h||n!==e.columnWidth||o!==e.fixedColumnCount,b=h||a!==e.fixedRowCount||i!==e.rowHeight;
|
54 | (h||m||s!==e.style)&&(this._containerOuterStyle=l({height:r,width:p},s)),(h||m||b)&&(this._containerTopStyle={height:this._getTopGridHeight(t),position:"relative",width:p},this._containerBottomStyle={height:r-this._getTopGridHeight(t),overflow:"hidden",position:"relative",width:p}),(h||u!==e.styleBottomLeftGrid)&&(this._bottomLeftGridStyle=l({left:0,outline:0,overflow:"hidden",position:"absolute"},u)),(h||v||c!==e.styleBottomRightGrid)&&(this._bottomRightGridStyle=l({left:this._getLeftGridWidth(t),outline:0,position:"absolute"},c)),(h||d!==e.styleTopLeftGrid)&&(this._topLeftGridStyle=l({left:0,outline:0,overflow:"hidden",position:"absolute",top:0},d)),(h||v||f!==e.styleTopRightGrid)&&(this._topRightGridStyle=l({left:this._getLeftGridWidth(t),outline:0,overflow:"hidden",position:"absolute",top:0},f))}},{key:"_onScroll",value:function(e){var t=e.scrollLeft,n=e.scrollTop;this.setState({scrollLeft:t,scrollTop:n})}},{key:"_renderBottomLeftGrid",value:function(e){var t=e.fixedColumnCount,n=e.fixedRowCount,r=e.rowCount,o=e.scrollTop;return t?d.default.createElement(m.default,l({},e,{cellRenderer:this._cellRendererBottomLeftGrid,columnCount:t,height:this._getBottomGridHeight(e),ref:this._bottomLeftGridRef,rowCount:r-n,rowHeight:this._rowHeightBottomGrid,scrollTop:o,style:this._bottomLeftGridStyle,width:this._getLeftGridWidth(e)})):null}},{key:"_renderBottomRightGrid",value:function(e){var t=e.columnCount,n=e.fixedColumnCount,r=e.fixedRowCount,o=e.rowCount,a=e.scrollToColumn,i=e.scrollToRow;return d.default.createElement(m.default,l({},e,{cellRenderer:this._cellRendererBottomRightGrid,columnCount:t-n,columnWidth:this._columnWidthRightGrid,height:this._getBottomGridHeight(e),onScroll:this._onScroll,ref:this._bottomRightGridRef,rowCount:o-r,rowHeight:this._rowHeightBottomGrid,scrollToColumn:a-n,scrollToRow:i-r,style:this._bottomRightGridStyle,width:this._getRightGridWidth(e)}))}},{key:"_renderTopLeftGrid",value:function(e){var t=e.fixedColumnCount,n=e.fixedRowCount;return t&&n?d.default.createElement(m.default,l({},e,{columnCount:t,height:this._getTopGridHeight(e),ref:this._topLeftGridRef,rowCount:n,style:this._topLeftGridStyle,width:this._getLeftGridWidth(e)})):null}},{key:"_renderTopRightGrid",value:function(e){var t=e.columnCount,n=e.fixedColumnCount,r=e.fixedRowCount,o=e.scrollLeft;return r?d.default.createElement(m.default,l({},e,{cellRenderer:this._cellRendererTopRightGrid,columnCount:t-n,columnWidth:this._columnWidthRightGrid,height:this._getTopGridHeight(e),ref:this._topRightGridRef,rowCount:r,scrollLeft:o,style:this._topRightGridStyle,width:this._getRightGridWidth(e)})):null}},{key:"_rowHeightBottomGrid",value:function(e){var t=e.index,n=this.props,r=n.fixedRowCount,o=n.rowHeight;return o instanceof Function?o({index:t+r}):o}},{key:"_topLeftGridRef",value:function(e){this._topLeftGrid=e}},{key:"_topRightGridRef",value:function(e){this._topRightGrid=e}}]),t}(c.Component);v.defaultProps={fixedColumnCount:0,fixedRowCount:0,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{}},n.default=v},{"../Grid":1213,react:1269,"react-addons-shallow-compare":836}],1224:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.MultiGrid=n.default=void 0;var o=e("./MultiGrid"),a=r(o);n.default=a.default,n.MultiGrid=a.default},{"./MultiGrid":1223}],1225:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=e("react"),u=e("react-addons-shallow-compare"),c=r(u),d=function(e){function t(e,n){o(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},r._onScroll=r._onScroll.bind(r),r}return i(t,e),s(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.clientHeight,r=t.clientWidth,o=t.scrollHeight,a=t.scrollLeft,i=t.scrollTop,s=t.scrollWidth;return e({clientHeight:n,clientWidth:r,onScroll:this._onScroll,scrollHeight:o,scrollLeft:a,scrollTop:i,scrollWidth:s})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,c.default)(this,e,t)}},{key:"_onScroll",value:function(e){var t=e.clientHeight,n=e.clientWidth,r=e.scrollHeight,o=e.scrollLeft,a=e.scrollTop,i=e.scrollWidth;this.setState({clientHeight:t,clientWidth:n,scrollHeight:r,scrollLeft:o,scrollTop:a,scrollWidth:i})}}]),t}(l.Component);n.default=d},{react:1269,"react-addons-shallow-compare":836}],1226:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.ScrollSync=n.default=void 0;var o=e("./ScrollSync"),a=r(o);n.default=a.default,n.ScrollSync=a.default},{"./ScrollSync":1225}],1227:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=e("react"),l=e("./defaultHeaderRenderer"),u=r(l),c=e("./defaultCellRenderer"),d=r(c),f=e("./defaultCellDataGetter"),p=r(f),h=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),t}(s.Component);h.defaultProps={cellDataGetter:p.default,cellRenderer:d.default,flexGrow:0,flexShrink:1,headerRenderer:u.default,style:{}},n.default=h},{"./defaultCellDataGetter":1231,"./defaultCellRenderer":1232,"./defaultHeaderRenderer":1233,react:1269}],1228:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={ASC:"ASC",DESC:"DESC"};n.default=r},{}],1229:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.sortDirection,n=(0,l.default)("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===c.default.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===c.default.DESC});return i.default.createElement("svg",{className:n,width:18,height:18,viewBox:"0 0 24 24"},t===c.default.ASC?i.default.createElement("path",{d:"M7 14l5-5 5 5z"}):i.default.createElement("path",{d:"M7 10l5 5 5-5z"}),i.default.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var a=e("react"),i=r(a),s=e("classnames"),l=r(s),u=e("./SortDirection"),c=r(u)},{"./SortDirection":1228,classnames:157,react:1269}],1230:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=e("classnames"),c=r(u),d=e("./Column"),f=(r(d),e("react")),p=r(f),h=e("react-dom"),m=e("react-addons-shallow-compare"),v=r(m),b=e("../Grid"),g=r(b),y=e("./defaultRowRenderer"),_=r(y),M=e("./SortDirection"),w=r(M),S=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={scrollbarWidth:0},n._createColumn=n._createColumn.bind(n),n._createRow=n._createRow.bind(n),n._onScroll=n._onScroll.bind(n),n._onSectionRendered=n._onSectionRendered.bind(n),n}return i(t,e),l(t,[{key:"forceUpdateGrid",value:function(){this.Grid.forceUpdate()}},{key:"measureAllRows",value:function(){this.Grid.measureAllCells()}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid.recomputeGridSize({rowIndex:e}),this.forceUpdateGrid()}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.className,o=t.disableHeader,a=t.gridClassName,i=t.gridStyle,l=t.headerHeight,u=t.height,d=t.id,f=t.noRowsRenderer,h=t.rowClassName,m=t.rowStyle,v=t.scrollToIndex,b=t.style,y=t.width,_=this.state.scrollbarWidth,M=o?u:u-l,w=h instanceof Function?h({index:-1}):h,S=m instanceof Function?m({index:-1}):m;return this._cachedColumnStyles=[],p.default.Children.toArray(n).forEach(function(t,n){var r=e._getFlexStyleForColumn(t,t.props.style);e._cachedColumnStyles[n]=s({},r,{overflow:"hidden"})}),p.default.createElement("div",{className:(0,c.default)("ReactVirtualized__Table",r),id:d,style:b},!o&&p.default.createElement("div",{className:(0,c.default)("ReactVirtualized__Table__headerRow",w),style:s({},S,{height:l,overflow:"hidden",paddingRight:_,width:y})},this._getRenderedHeaderRow()),p.default.createElement(g.default,s({},this.props,{autoContainerWidth:!0,className:(0,c.default)("ReactVirtualized__Table__Grid",a),cellRenderer:this._createRow,columnWidth:y,columnCount:1,height:M,id:void 0,noContentRenderer:f,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:function(t){e.Grid=t},scrollbarWidth:_,scrollToRow:v,style:s({},i,{overflowX:"hidden"})})))}},{key:"shouldComponentUpdate",value:function(e,t){return(0,v.default)(this,e,t)}},{key:"_createColumn",value:function(e){var t=e.column,n=e.columnIndex,r=e.isScrolling,o=e.rowData,a=e.rowIndex,i=t.props,s=i.cellDataGetter,l=i.cellRenderer,u=i.className,d=i.columnData,f=i.dataKey,h=s({columnData:d,dataKey:f,rowData:o}),m=l({cellData:h,columnData:d,dataKey:f,isScrolling:r,rowData:o,rowIndex:a}),v=this._cachedColumnStyles[n],b="string"==typeof m?m:null;return p.default.createElement("div",{key:"Row"+a+"-Col"+n,className:(0,c.default)("ReactVirtualized__Table__rowColumn",u),style:v,title:b},m)}},{key:"_createHeader",value:function(e){var t=e.column,n=e.index,r=this.props,o=r.headerClassName,a=r.headerStyle,i=r.onHeaderClick,l=r.sort,u=r.sortBy,d=r.sortDirection,f=t.props,h=f.dataKey,m=f.disableSort,v=f.headerRenderer,b=f.label,g=f.columnData,y=!m&&l,_=(0,c.default)("ReactVirtualized__Table__headerColumn",o,t.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:y}),M=this._getFlexStyleForColumn(t,a),S=v({columnData:g,dataKey:h,disableSort:m,label:b,sortBy:u,sortDirection:d}),C={};return(y||i)&&!function(){var e=u!==h||d===w.default.DESC?w.default.ASC:w.default.DESC,n=function(){y&&l({sortBy:h,sortDirection:e}),i&&i({columnData:g,dataKey:h})},r=function(e){"Enter"!==e.key&&" "!==e.key||n()};C["aria-label"]=t.props["aria-label"]||b||h,C.role="rowheader",C.tabIndex=0,C.onClick=n,C.onKeyDown=r}(),p.default.createElement("div",s({},C,{key:"Header-Col"+n,className:_,style:M}),S)}},{key:"_createRow",value:function(e){var t=this,n=e.rowIndex,r=e.isScrolling,o=e.key,a=e.style,i=this.props,l=i.children,u=i.onRowClick,d=i.onRowDoubleClick,f=i.onRowMouseOver,h=i.onRowMouseOut,m=i.rowClassName,v=i.rowGetter,b=i.rowRenderer,g=i.rowStyle,y=this.state.scrollbarWidth,_=m instanceof Function?m({index:n}):m,M=g instanceof Function?g({index:n}):g,w=v({index:n}),S=p.default.Children.toArray(l).map(function(e,o){return t._createColumn({column:e,columnIndex:o,isScrolling:r,rowData:w,rowIndex:n,scrollbarWidth:y})}),C=(0,c.default)("ReactVirtualized__Table__row",_),x=s({},a,M,{height:this._getRowHeight(n),overflow:"hidden",paddingRight:y});return b({className:C,columns:S,index:n,isScrolling:r,key:o,onRowClick:u,onRowDoubleClick:d,onRowMouseOver:f,onRowMouseOut:h,rowData:w,style:x})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.props.flexGrow+" "+e.props.flexShrink+" "+e.props.width+"px",r=s({},t,{flex:n,msFlex:n,WebkitFlex:n});return e.props.maxWidth&&(r.maxWidth=e.props.maxWidth),e.props.minWidth&&(r.minWidth=e.props.minWidth),r}},{key:"_getRenderedHeaderRow",value:function(){var e=this,t=this.props,n=t.children,r=t.disableHeader,o=r?[]:p.default.Children.toArray(n);return o.map(function(t,n){return e._createHeader({column:t,index:n})})}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return t instanceof Function?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,n=e.scrollHeight,r=e.scrollTop,o=this.props.onScroll;o({clientHeight:t,scrollHeight:n,scrollTop:r})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,n=e.rowOverscanStopIndex,r=e.rowStartIndex,o=e.rowStopIndex,a=this.props.onRowsRendered;a({overscanStartIndex:t,overscanStopIndex:n,startIndex:r,stopIndex:o})}},{key:"_setScrollbarWidth",value:function(){var e=(0,h.findDOMNode)(this.Grid),t=e.clientWidth||0,n=e.offsetWidth||0,r=n-t;this.setState({scrollbarWidth:r})}}]),t}(f.Component);S.defaultProps={disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanRowCount:10,rowRenderer:_.default,rowStyle:{},scrollToAlignment:"auto",style:{}},n.default=S},{"../Grid":1213,"./Column":1227,"./SortDirection":1228,"./defaultRowRenderer":1234,classnames:157,react:1269,"react-addons-shallow-compare":836,"react-dom":974}],1231:[function(e,t,n){"use strict";function r(e){var t=(e.columnData,e.dataKey),n=e.rowData;return n.get instanceof Function?n.get(t):n[t]}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r},{}],1232:[function(e,t,n){"use strict";function r(e){var t=e.cellData;e.cellDataKey,e.columnData,e.rowData,e.rowIndex;return null==t?"":String(t)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r},{}],1233:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(e.columnData,e.dataKey),n=(e.disableSort,e.label),r=e.sortBy,o=e.sortDirection,a=r===t,s=[i.default.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:n},n)];return a&&s.push(i.default.createElement(l.default,{key:"SortIndicator",sortDirection:o})),s}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var a=e("react"),i=r(a),s=e("./SortIndicator"),l=r(s)},{"./SortIndicator":1229,react:1269}],1234:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.className,n=e.columns,r=e.index,o=(e.isScrolling,e.key),i=e.onRowClick,l=e.onRowDoubleClick,u=e.onRowMouseOver,c=e.onRowMouseOut,d=e.rowData,f=e.style,p={};return(i||l||u||c)&&(p["aria-label"]="row",p.role="row",p.tabIndex=0,i&&(p.onClick=function(){return i({index:r,rowData:d})}),l&&(p.onDoubleClick=function(){return l({index:r,rowData:d})}),c&&(p.onMouseOut=function(){return c({index:r,rowData:d})}),u&&(p.onMouseOver=function(){return u({index:r,rowData:d})})),s.default.createElement("div",a({},p,{className:t,key:o,style:f}),n)}Object.defineProperty(n,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.default=o;var i=e("react"),s=r(i)},{react:1269}],1235:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.SortIndicator=n.SortDirection=n.Column=n.Table=n.defaultRowRenderer=n.defaultHeaderRenderer=n.defaultCellRenderer=n.defaultCellDataGetter=n.default=void 0;var o=e("./Table"),a=r(o),i=e("./defaultCellDataGetter"),s=r(i),l=e("./defaultCellRenderer"),u=r(l),c=e("./defaultHeaderRenderer"),d=r(c),f=e("./defaultRowRenderer"),p=r(f),h=e("./Column"),m=r(h),v=e("./SortDirection"),b=r(v),g=e("./SortIndicator"),y=r(g);n.default=a.default,n.defaultCellDataGetter=s.default,n.defaultCellRenderer=u.default,n.defaultHeaderRenderer=d.default,n.defaultRowRenderer=p.default,n.Table=a.default,n.Column=m.default,n.SortDirection=b.default,n.SortIndicator=y.default},{"./Column":1227,"./SortDirection":1228,"./SortIndicator":1229,"./Table":1230,"./defaultCellDataGetter":1231,"./defaultCellRenderer":1232,"./defaultHeaderRenderer":1233,"./defaultRowRenderer":1234}],1236:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=e("react"),u=e("react-dom"),c=r(u),d=e("react-addons-shallow-compare"),f=r(d),p=e("./utils/onScroll"),h=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r="undefined"!=typeof window?window.innerHeight:0;return n.state={isScrolling:!1,height:r,scrollTop:0},n._onScrollWindow=n._onScrollWindow.bind(n),n._onResizeWindow=n._onResizeWindow.bind(n),n._enablePointerEventsAfterDelayCallback=n._enablePointerEventsAfterDelayCallback.bind(n),n}return i(t,e),s(t,[{key:"updatePosition",value:function(){this._positionFromTop=c.default.findDOMNode(this).getBoundingClientRect().top-document.documentElement.getBoundingClientRect().top}},{key:"componentDidMount",value:function(){var e=this.state.height;this.updatePosition(),e!==window.innerHeight&&this.setState({height:window.innerHeight}),(0,p.registerScrollListener)(this),window.addEventListener("resize",this._onResizeWindow,!1)}},{key:"componentWillUnmount",value:function(){(0,p.unregisterScrollListener)(this),window.removeEventListener("resize",this._onResizeWindow,!1)}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.isScrolling,r=t.scrollTop,o=t.height;return e({height:o,isScrolling:n,scrollTop:r})}},{key:"shouldComponentUpdate",value:function(e,t){return(0,f.default)(this,e,t)}},{key:"_enablePointerEventsAfterDelayCallback",value:function(){this.setState({isScrolling:!1})}},{key:"_onResizeWindow",value:function(e){var t=this.props.onResize;this.updatePosition();var n=window.innerHeight||0;this.setState({height:n}),t({height:n})}},{key:"_onScrollWindow",value:function(e){var t=this.props.onScroll,n="scrollY"in window?window.scrollY:document.documentElement.scrollTop,r=Math.max(0,n-this._positionFromTop);this.setState({isScrolling:!0,scrollTop:r}),t({scrollTop:r})}}]),t}(l.Component);h.defaultProps={onResize:function(){},onScroll:function(){}},n.default=h},{"./utils/onScroll":1238,react:1269,"react-addons-shallow-compare":836,"react-dom":974}],1237:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.IS_SCROLLING_TIMEOUT=n.WindowScroller=n.default=void 0;var o=e("./utils/onScroll");Object.defineProperty(n,"IS_SCROLLING_TIMEOUT",{enumerable:!0,get:function(){return o.IS_SCROLLING_TIMEOUT}});var a=e("./WindowScroller"),i=r(a);n.default=i.default,n.WindowScroller=i.default},{"./WindowScroller":1236,"./utils/onScroll":1238}],1238:[function(e,t,n){"use strict";function r(){d&&(d=null,document.body.style.pointerEvents=c,c=null)}function o(){r(),u.forEach(function(e){return e._enablePointerEventsAfterDelayCallback()})}function a(){d&&clearTimeout(d),d=setTimeout(o,f)}function i(e){null==c&&(c=document.body.style.pointerEvents,document.body.style.pointerEvents="none",a()),u.forEach(function(t){return t._onScrollWindow(e)})}function s(e){u.length||window.addEventListener("scroll",i),u.push(e)}function l(e){u=u.filter(function(t){return t!==e}),u.length||(window.removeEventListener("scroll",i),d&&(clearTimeout(d),r()))}Object.defineProperty(n,"__esModule",{value:!0}),n.registerScrollListener=s,n.unregisterScrollListener=l;var u=[],c=null,d=null,f=n.IS_SCROLLING_TIMEOUT=150},{}],1239:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e("./ArrowKeyStepper");Object.defineProperty(n,"ArrowKeyStepper",{enumerable:!0,get:function(){return r.ArrowKeyStepper}});var o=e("./AutoSizer");Object.defineProperty(n,"AutoSizer",{enumerable:!0,get:function(){return o.AutoSizer}});var a=e("./CellMeasurer");Object.defineProperty(n,"CellMeasurer",{enumerable:!0,get:function(){return a.CellMeasurer}}),Object.defineProperty(n,"defaultCellMeasurerCellSizeCache",{enumerable:!0,get:function(){return a.defaultCellSizeCache}}),Object.defineProperty(n,"uniformSizeCellMeasurerCellSizeCache",{enumerable:!0,get:function(){return a.defaultCellSizeCache}});var i=e("./Collection");Object.defineProperty(n,"Collection",{enumerable:!0,get:function(){return i.Collection}});var s=e("./ColumnSizer");Object.defineProperty(n,"ColumnSizer",{enumerable:!0,get:function(){return s.ColumnSizer}});var l=e("./Table");Object.defineProperty(n,"defaultTableCellDataGetter",{enumerable:!0,get:function(){return l.defaultCellDataGetter}}),Object.defineProperty(n,"defaultTableCellRenderer",{enumerable:!0,get:function(){return l.defaultCellRenderer}}),Object.defineProperty(n,"defaultTableHeaderRenderer",{enumerable:!0,get:function(){return l.defaultHeaderRenderer}}),Object.defineProperty(n,"defaultTableRowRenderer",{enumerable:!0,get:function(){return l.defaultRowRenderer}}),Object.defineProperty(n,"Table",{enumerable:!0,get:function(){return l.Table}}),Object.defineProperty(n,"Column",{enumerable:!0,get:function(){return l.Column}}),Object.defineProperty(n,"SortDirection",{enumerable:!0,get:function(){return l.SortDirection}}),Object.defineProperty(n,"SortIndicator",{enumerable:!0,get:function(){return l.SortIndicator}});var u=e("./Grid");Object.defineProperty(n,"defaultCellRangeRenderer",{enumerable:!0,get:function(){return u.defaultCellRangeRenderer}}),Object.defineProperty(n,"Grid",{enumerable:!0,get:function(){return u.Grid}});var c=e("./InfiniteLoader");Object.defineProperty(n,"InfiniteLoader",{enumerable:!0,get:function(){return c.InfiniteLoader}});var d=e("./List");Object.defineProperty(n,"List",{enumerable:!0,get:function(){return d.List}});var f=e("./MultiGrid");Object.defineProperty(n,"MultiGrid",{enumerable:!0,get:function(){return f.MultiGrid}});var p=e("./ScrollSync");Object.defineProperty(n,"ScrollSync",{enumerable:!0,get:function(){return p.ScrollSync}});var h=e("./WindowScroller");Object.defineProperty(n,"WindowScroller",{enumerable:!0,get:function(){return h.WindowScroller}})},{"./ArrowKeyStepper":1197,"./AutoSizer":1199,"./CellMeasurer":1202,"./Collection":1207,"./ColumnSizer":1210,"./Grid":1213,"./InfiniteLoader":1220,"./List":1222,"./MultiGrid":1224,"./ScrollSync":1226,"./Table":1235,"./WindowScroller":1237}],1240:[function(e,t,n){"use strict";function r(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t={};return function(n){var r=n.callback,o=n.indices,a=Object.keys(o),i=!e||a.every(function(e){var t=o[e];return Array.isArray(t)?t.length>0:t>=0}),s=a.length!==Object.keys(t).length||a.some(function(e){var n=t[e],r=o[e];return Array.isArray(r)?n.join(",")!==r.join(","):n!==r});t=o,i&&s&&r(o)}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r},{}],1241:[function(e,t,n){"use strict";function r(e){var t=e.align,n=void 0===t?"auto":t,r=e.cellOffset,o=e.cellSize,a=e.containerSize,i=e.currentOffset,s=r,l=s-a+o;switch(n){case"start":return s;case"end":return l;case"center":return s-(a-o)/2;default:return Math.max(l,Math.min(s,i))}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r},{}],1242:[function(e,t,n){"use strict";function r(){var e;e="undefined"!=typeof window?window:"undefined"!=typeof self?self:this;var t="undefined"!=typeof document&&document.attachEvent;if(!t){var n=function(){var t=e.requestAnimationFrame||e.mozRequestAnimationFrame||e.webkitRequestAnimationFrame||function(t){return e.setTimeout(t,20)};return function(e){return t(e)}}(),r=function(){var t=e.cancelAnimationFrame||e.mozCancelAnimationFrame||e.webkitCancelAnimationFrame||e.clearTimeout;return function(e){return t(e)}}(),o=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},a=function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height},i=function(e){if(!(e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;o(this),this.__resizeRAF__&&r(this.__resizeRAF__),this.__resizeRAF__=n(function(){a(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach(function(n){n.call(t,e)}))})}},s=!1,l="animation",u="",c="animationstart",d="Webkit Moz O ms".split(" "),f="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),p="",h=document.createElement("fakeelement");if(void 0!==h.style.animationName&&(s=!0),s===!1)for(var m=0;m<d.length;m++)if(void 0!==h.style[d[m]+"AnimationName"]){p=d[m],l=p+"Animation",u="-"+p.toLowerCase()+"-",c=f[m],s=!0;break}var v="resizeanim",b="@"+u+"keyframes "+v+" { from { opacity: 0; } to { opacity: 0; } } ",g=u+"animation: 1ms "+v+"; "}var y=function(){if(!document.getElementById("detectElementResize")){var e=(b?b:"")+".resize-triggers { "+(g?g:"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.id="detectElementResize",n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)),t.appendChild(n)}},_=function(n,r){if(t)n.attachEvent("onresize",r);else{if(!n.__resizeTriggers__){var a=e.getComputedStyle(n);a&&"static"==a.position&&(n.style.position="relative"),y(),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=document.createElement("div")).className="resize-triggers",n.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>',n.appendChild(n.__resizeTriggers__),o(n),n.addEventListener("scroll",i,!0),c&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&o(n)},n.__resizeTriggers__.addEventListener(c,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(r)}},M=function(e,n){t?e.detachEvent("onresize",n):(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(n),1),e.__resizeListeners__.length||(e.removeEventListener("scroll",i,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(c,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null),e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)))};return{addResizeListener:_,removeResizeListener:M}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r},{}],1243:[function(e,t,n){arguments[4][996][0].apply(n,arguments)},{dup:996}],1244:[function(e,t,n){arguments[4][998][0].apply(n,arguments)},{"./reactProdInvariant":1266,dup:998,"fbjs/lib/invariant":296}],1245:[function(e,t,n){"use strict";var r=e("object-assign"),o=e("./ReactChildren"),a=e("./ReactComponent"),i=e("./ReactPureComponent"),s=e("./ReactClass"),l=e("./ReactDOMFactories"),u=e("./ReactElement"),c=e("./ReactPropTypes"),d=e("./ReactVersion"),f=e("./onlyChild"),p=(e("fbjs/lib/warning"),u.createElement),h=u.createFactory,m=u.cloneElement,v=r,b={Children:{map:o.map,forEach:o.forEach,count:o.count,toArray:o.toArray,only:f},Component:a,PureComponent:i,createElement:p,cloneElement:m,isValidElement:u.isValidElement,PropTypes:c,createClass:s.createClass,createFactory:h,createMixin:function(e){return e},DOM:l,version:d,__spread:v};t.exports=b},{"./ReactChildren":1246,"./ReactClass":1247,"./ReactComponent":1248,"./ReactDOMFactories":1252,"./ReactElement":1253,"./ReactElementValidator":1255,"./ReactPropTypes":1258,"./ReactPureComponent":1260,"./ReactVersion":1261,"./onlyChild":1265,"fbjs/lib/warning":303,"object-assign":823}],1246:[function(e,t,n){"use strict";function r(e){return(""+e).replace(_,"$&/")}function o(e,t){this.func=e,this.context=t,this.count=0}function a(e,t,n){var r=e.func,o=e.context;r.call(o,t,e.count++)}function i(e,t,n){if(null==e)return e;var r=o.getPooled(t,n);b(e,a,r),o.release(r)}function s(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function l(e,t,n){var o=e.result,a=e.keyPrefix,i=e.func,s=e.context,l=i.call(s,t,e.count++);Array.isArray(l)?u(l,o,n,v.thatReturnsArgument):null!=l&&(m.isValidElement(l)&&(l=m.cloneAndReplaceKey(l,a+(!l.key||t&&t.key===l.key?"":r(l.key)+"/")+n)),o.push(l))}function u(e,t,n,o,a){var i="";null!=n&&(i=r(n)+"/");var u=s.getPooled(t,i,o,a);b(e,l,u),s.release(u)}function c(e,t,n){if(null==e)return e;var r=[];return u(e,r,null,t,n),r}function d(e,t,n){return null}function f(e,t){return b(e,d,null)}function p(e){var t=[];return u(e,t,null,v.thatReturnsArgument),t}var h=e("./PooledClass"),m=e("./ReactElement"),v=e("fbjs/lib/emptyFunction"),b=e("./traverseAllChildren"),g=h.twoArgumentPooler,y=h.fourArgumentPooler,_=/\/+/g;o.prototype.destructor=function(){this.func=null,this.context=null,this.count=0},h.addPoolingTo(o,g),s.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},h.addPoolingTo(s,y);var M={forEach:i,map:c,mapIntoWithKeyPrefixInternal:u,count:f,toArray:p
|
55 | };t.exports=M},{"./PooledClass":1244,"./ReactElement":1253,"./traverseAllChildren":1268,"fbjs/lib/emptyFunction":288}],1247:[function(e,t,n){"use strict";function r(e){return e}function o(e,t){var n=_.hasOwnProperty(t)?_[t]:null;w.hasOwnProperty(t)&&("OVERRIDE_BASE"!==n?f("73",t):void 0),e&&("DEFINE_MANY"!==n&&"DEFINE_MANY_MERGED"!==n?f("74",t):void 0)}function a(e,t){if(t){"function"==typeof t?f("75"):void 0,m.isValidElement(t)?f("76"):void 0;var n=e.prototype,r=n.__reactAutoBindPairs;t.hasOwnProperty(g)&&M.mixins(e,t.mixins);for(var a in t)if(t.hasOwnProperty(a)&&a!==g){var i=t[a],s=n.hasOwnProperty(a);if(o(s,a),M.hasOwnProperty(a))M[a](e,i);else{var c=_.hasOwnProperty(a),d="function"==typeof i,p=d&&!c&&!s&&t.autobind!==!1;if(p)r.push(a,i),n[a]=i;else if(s){var h=_[a];!c||"DEFINE_MANY_MERGED"!==h&&"DEFINE_MANY"!==h?f("77",h,a):void 0,"DEFINE_MANY_MERGED"===h?n[a]=l(n[a],i):"DEFINE_MANY"===h&&(n[a]=u(n[a],i))}else n[a]=i}}}else;}function i(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){var o=n in M;o?f("78",n):void 0;var a=n in e;a?f("79",n):void 0,e[n]=r}}}function s(e,t){e&&t&&"object"==typeof e&&"object"==typeof t?void 0:f("80");for(var n in t)t.hasOwnProperty(n)&&(void 0!==e[n]?f("81",n):void 0,e[n]=t[n]);return e}function l(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return s(o,n),s(o,r),o}}function u(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function c(e,t){var n=t.bind(e);return n}function d(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=c(e,o)}}var f=e("./reactProdInvariant"),p=e("object-assign"),h=e("./ReactComponent"),m=e("./ReactElement"),v=(e("./ReactPropTypeLocationNames"),e("./ReactNoopUpdateQueue")),b=e("fbjs/lib/emptyObject"),g=(e("fbjs/lib/invariant"),e("fbjs/lib/warning"),"mixins"),y=[],_={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},M={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)a(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=p({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=p({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=l(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=p({},e.propTypes,t)},statics:function(e,t){i(e,t)},autobind:function(){}},w={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e),t&&this.updater.enqueueCallback(this,t,"replaceState")},isMounted:function(){return this.updater.isMounted(this)}},S=function(){};p(S.prototype,h.prototype,w);var C={createClass:function(e){var t=r(function(e,n,r){this.__reactAutoBindPairs.length&&d(this),this.props=e,this.context=n,this.refs=b,this.updater=r||v,this.state=null;var o=this.getInitialState?this.getInitialState():null;"object"!=typeof o||Array.isArray(o)?f("82",t.displayName||"ReactCompositeComponent"):void 0,this.state=o});t.prototype=new S,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],y.forEach(a.bind(null,t)),a(t,e),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),t.prototype.render?void 0:f("83");for(var n in _)t.prototype[n]||(t.prototype[n]=null);return t},injection:{injectMixin:function(e){y.push(e)}}};t.exports=C},{"./ReactComponent":1248,"./ReactElement":1253,"./ReactNoopUpdateQueue":1256,"./ReactPropTypeLocationNames":1257,"./reactProdInvariant":1266,"fbjs/lib/emptyObject":289,"fbjs/lib/invariant":296,"fbjs/lib/warning":303,"object-assign":823}],1248:[function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=i,this.updater=n||a}var o=e("./reactProdInvariant"),a=e("./ReactNoopUpdateQueue"),i=(e("./canDefineProperty"),e("fbjs/lib/emptyObject"));e("fbjs/lib/invariant"),e("fbjs/lib/warning");r.prototype.isReactComponent={},r.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e?o("85"):void 0,this.updater.enqueueSetState(this,e),t&&this.updater.enqueueCallback(this,t,"setState")},r.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e,"forceUpdate")};t.exports=r},{"./ReactNoopUpdateQueue":1256,"./canDefineProperty":1262,"./reactProdInvariant":1266,"fbjs/lib/emptyObject":289,"fbjs/lib/invariant":296,"fbjs/lib/warning":303}],1249:[function(e,t,n){"use strict";function r(e){var t=Function.prototype.toString,n=Object.prototype.hasOwnProperty,r=RegExp("^"+t.call(n).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");try{var o=t.call(e);return r.test(o)}catch(e){return!1}}function o(e){var t=u(e);if(t){var n=t.childIDs;c(e),n.forEach(o)}}function a(e,t,n){return"\n in "+(e||"Unknown")+(t?" (at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+")":n?" (created by "+n+")":"")}function i(e){return null==e?"#empty":"string"==typeof e||"number"==typeof e?"#text":"string"==typeof e.type?e.type:e.type.displayName||e.type.name||"Unknown"}function s(e){var t,n=x.getDisplayName(e),r=x.getElement(e),o=x.getOwnerID(e);return o&&(t=x.getDisplayName(o)),a(n,r&&r._source,t)}var l,u,c,d,f,p,h,m=e("./reactProdInvariant"),v=e("./ReactCurrentOwner"),b=(e("fbjs/lib/invariant"),e("fbjs/lib/warning"),"function"==typeof Array.from&&"function"==typeof Map&&r(Map)&&null!=Map.prototype&&"function"==typeof Map.prototype.keys&&r(Map.prototype.keys)&&"function"==typeof Set&&r(Set)&&null!=Set.prototype&&"function"==typeof Set.prototype.keys&&r(Set.prototype.keys));if(b){var g=new Map,y=new Set;l=function(e,t){g.set(e,t)},u=function(e){return g.get(e)},c=function(e){g.delete(e)},d=function(){return Array.from(g.keys())},f=function(e){y.add(e)},p=function(e){y.delete(e)},h=function(){return Array.from(y.keys())}}else{var _={},M={},w=function(e){return"."+e},S=function(e){return parseInt(e.substr(1),10)};l=function(e,t){var n=w(e);_[n]=t},u=function(e){var t=w(e);return _[t]},c=function(e){var t=w(e);delete _[t]},d=function(){return Object.keys(_).map(S)},f=function(e){var t=w(e);M[t]=!0},p=function(e){var t=w(e);delete M[t]},h=function(){return Object.keys(M).map(S)}}var C=[],x={onSetChildren:function(e,t){var n=u(e);n?void 0:m("144"),n.childIDs=t;for(var r=0;r<t.length;r++){var o=t[r],a=u(o);a?void 0:m("140"),null==a.childIDs&&"object"==typeof a.element&&null!=a.element?m("141"):void 0,a.isMounted?void 0:m("71"),null==a.parentID&&(a.parentID=e),a.parentID!==e?m("142",o,a.parentID,e):void 0}},onBeforeMountComponent:function(e,t,n){var r={element:t,parentID:n,text:null,childIDs:[],isMounted:!1,updateCount:0};l(e,r)},onBeforeUpdateComponent:function(e,t){var n=u(e);n&&n.isMounted&&(n.element=t)},onMountComponent:function(e){var t=u(e);t?void 0:m("144"),t.isMounted=!0;var n=0===t.parentID;n&&f(e)},onUpdateComponent:function(e){var t=u(e);t&&t.isMounted&&t.updateCount++},onUnmountComponent:function(e){var t=u(e);if(t){t.isMounted=!1;var n=0===t.parentID;n&&p(e)}C.push(e)},purgeUnmountedComponents:function(){if(!x._preventPurging){for(var e=0;e<C.length;e++){var t=C[e];o(t)}C.length=0}},isMounted:function(e){var t=u(e);return!!t&&t.isMounted},getCurrentStackAddendum:function(e){var t="";if(e){var n=i(e),r=e._owner;t+=a(n,e._source,r&&r.getName())}var o=v.current,s=o&&o._debugID;return t+=x.getStackAddendumByID(s)},getStackAddendumByID:function(e){for(var t="";e;)t+=s(e),e=x.getParentID(e);return t},getChildIDs:function(e){var t=u(e);return t?t.childIDs:[]},getDisplayName:function(e){var t=x.getElement(e);return t?i(t):null},getElement:function(e){var t=u(e);return t?t.element:null},getOwnerID:function(e){var t=x.getElement(e);return t&&t._owner?t._owner._debugID:null},getParentID:function(e){var t=u(e);return t?t.parentID:null},getSource:function(e){var t=u(e),n=t?t.element:null,r=null!=n?n._source:null;return r},getText:function(e){var t=x.getElement(e);return"string"==typeof t?t:"number"==typeof t?""+t:null},getUpdateCount:function(e){var t=u(e);return t?t.updateCount:0},getRootIDs:h,getRegisteredIDs:d};t.exports=x},{"./ReactCurrentOwner":1251,"./reactProdInvariant":1266,"fbjs/lib/invariant":296,"fbjs/lib/warning":303}],1250:[function(e,t,n){"use strict";var r=e("./shallowCompare"),o={shouldComponentUpdate:function(e,t){return r(this,e,t)}};t.exports=o},{"./shallowCompare":1267}],1251:[function(e,t,n){"use strict";var r={current:null};t.exports=r},{}],1252:[function(e,t,n){"use strict";var r=e("./ReactElement"),o=r.createFactory,a={a:o("a"),abbr:o("abbr"),address:o("address"),area:o("area"),article:o("article"),aside:o("aside"),audio:o("audio"),b:o("b"),base:o("base"),bdi:o("bdi"),bdo:o("bdo"),big:o("big"),blockquote:o("blockquote"),body:o("body"),br:o("br"),button:o("button"),canvas:o("canvas"),caption:o("caption"),cite:o("cite"),code:o("code"),col:o("col"),colgroup:o("colgroup"),data:o("data"),datalist:o("datalist"),dd:o("dd"),del:o("del"),details:o("details"),dfn:o("dfn"),dialog:o("dialog"),div:o("div"),dl:o("dl"),dt:o("dt"),em:o("em"),embed:o("embed"),fieldset:o("fieldset"),figcaption:o("figcaption"),figure:o("figure"),footer:o("footer"),form:o("form"),h1:o("h1"),h2:o("h2"),h3:o("h3"),h4:o("h4"),h5:o("h5"),h6:o("h6"),head:o("head"),header:o("header"),hgroup:o("hgroup"),hr:o("hr"),html:o("html"),i:o("i"),iframe:o("iframe"),img:o("img"),input:o("input"),ins:o("ins"),kbd:o("kbd"),keygen:o("keygen"),label:o("label"),legend:o("legend"),li:o("li"),link:o("link"),main:o("main"),map:o("map"),mark:o("mark"),menu:o("menu"),menuitem:o("menuitem"),meta:o("meta"),meter:o("meter"),nav:o("nav"),noscript:o("noscript"),object:o("object"),ol:o("ol"),optgroup:o("optgroup"),option:o("option"),output:o("output"),p:o("p"),param:o("param"),picture:o("picture"),pre:o("pre"),progress:o("progress"),q:o("q"),rp:o("rp"),rt:o("rt"),ruby:o("ruby"),s:o("s"),samp:o("samp"),script:o("script"),section:o("section"),select:o("select"),small:o("small"),source:o("source"),span:o("span"),strong:o("strong"),style:o("style"),sub:o("sub"),summary:o("summary"),sup:o("sup"),table:o("table"),tbody:o("tbody"),td:o("td"),textarea:o("textarea"),tfoot:o("tfoot"),th:o("th"),thead:o("thead"),time:o("time"),title:o("title"),tr:o("tr"),track:o("track"),u:o("u"),ul:o("ul"),var:o("var"),video:o("video"),wbr:o("wbr"),circle:o("circle"),clipPath:o("clipPath"),defs:o("defs"),ellipse:o("ellipse"),g:o("g"),image:o("image"),line:o("line"),linearGradient:o("linearGradient"),mask:o("mask"),path:o("path"),pattern:o("pattern"),polygon:o("polygon"),polyline:o("polyline"),radialGradient:o("radialGradient"),rect:o("rect"),stop:o("stop"),svg:o("svg"),text:o("text"),tspan:o("tspan")};t.exports=a},{"./ReactElement":1253,"./ReactElementValidator":1255}],1253:[function(e,t,n){"use strict";function r(e){return void 0!==e.ref}function o(e){return void 0!==e.key}var a=e("object-assign"),i=e("./ReactCurrentOwner"),s=(e("fbjs/lib/warning"),e("./canDefineProperty"),Object.prototype.hasOwnProperty),l=e("./ReactElementSymbol"),u={key:!0,ref:!0,__self:!0,__source:!0},c=function(e,t,n,r,o,a,i){var s={$$typeof:l,type:e,key:t,ref:n,props:i,_owner:a};return s};c.createElement=function(e,t,n){var a,l={},d=null,f=null,p=null,h=null;if(null!=t){r(t)&&(f=t.ref),o(t)&&(d=""+t.key),p=void 0===t.__self?null:t.__self,h=void 0===t.__source?null:t.__source;for(a in t)s.call(t,a)&&!u.hasOwnProperty(a)&&(l[a]=t[a])}var m=arguments.length-2;if(1===m)l.children=n;else if(m>1){for(var v=Array(m),b=0;b<m;b++)v[b]=arguments[b+2];l.children=v}if(e&&e.defaultProps){var g=e.defaultProps;for(a in g)void 0===l[a]&&(l[a]=g[a])}return c(e,d,f,p,h,i.current,l)},c.createFactory=function(e){var t=c.createElement.bind(null,e);return t.type=e,t},c.cloneAndReplaceKey=function(e,t){var n=c(e.type,t,e.ref,e._self,e._source,e._owner,e.props);return n},c.cloneElement=function(e,t,n){var l,d=a({},e.props),f=e.key,p=e.ref,h=e._self,m=e._source,v=e._owner;if(null!=t){r(t)&&(p=t.ref,v=i.current),o(t)&&(f=""+t.key);var b;e.type&&e.type.defaultProps&&(b=e.type.defaultProps);for(l in t)s.call(t,l)&&!u.hasOwnProperty(l)&&(void 0===t[l]&&void 0!==b?d[l]=b[l]:d[l]=t[l])}var g=arguments.length-2;if(1===g)d.children=n;else if(g>1){for(var y=Array(g),_=0;_<g;_++)y[_]=arguments[_+2];d.children=y}return c(e.type,f,p,h,m,v,d)},c.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===l},t.exports=c},{"./ReactCurrentOwner":1251,"./ReactElementSymbol":1254,"./canDefineProperty":1262,"fbjs/lib/warning":303,"object-assign":823}],1254:[function(e,t,n){arguments[4][1025][0].apply(n,arguments)},{dup:1025}],1255:[function(e,t,n){"use strict";function r(){if(l.current){var e=l.current.getName();if(e)return" Check the render method of `"+e+"`."}return""}function o(e){var t=r();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t=" Check the top-level render call using <"+n+">.")}return t}function a(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=f.uniqueKey||(f.uniqueKey={}),r=o(t);if(!n[r]){n[r]=!0;var a="";e&&e._owner&&e._owner!==l.current&&(a=" It was passed a child from "+e._owner.getName()+".")}}}function i(e,t){if("object"==typeof e)if(Array.isArray(e))for(var n=0;n<e.length;n++){var r=e[n];u.isValidElement(r)&&a(r,t)}else if(u.isValidElement(e))e._store&&(e._store.validated=!0);else if(e){var o=d(e);if(o&&o!==e.entries)for(var i,s=o.call(e);!(i=s.next()).done;)u.isValidElement(i.value)&&a(i.value,t)}}function s(e){var t=e.type;if("function"==typeof t){var n=t.displayName||t.name;t.propTypes&&c(t.propTypes,e.props,"prop",n,e,null),"function"==typeof t.getDefaultProps}}var l=e("./ReactCurrentOwner"),u=(e("./ReactComponentTreeHook"),e("./ReactElement")),c=e("./checkReactTypeSpec"),d=(e("./canDefineProperty"),e("./getIteratorFn")),f=(e("fbjs/lib/warning"),{}),p={createElement:function(e,t,n){var o="string"==typeof e||"function"==typeof e;if(!o&&"function"!=typeof e&&"string"!=typeof e){var a="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(a+=" You likely forgot to export your component from the file it's defined in."),a+=r()}var l=u.createElement.apply(this,arguments);if(null==l)return l;if(o)for(var c=2;c<arguments.length;c++)i(arguments[c],e);return s(l),l},createFactory:function(e){var t=p.createElement.bind(null,e);return t.type=e,t},cloneElement:function(e,t,n){for(var r=u.cloneElement.apply(this,arguments),o=2;o<arguments.length;o++)i(arguments[o],r.type);return s(r),r}};t.exports=p},{"./ReactComponentTreeHook":1249,"./ReactCurrentOwner":1251,"./ReactElement":1253,"./canDefineProperty":1262,"./checkReactTypeSpec":1263,"./getIteratorFn":1264,"fbjs/lib/warning":303}],1256:[function(e,t,n){"use strict";function r(e,t){}var o=(e("fbjs/lib/warning"),{isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){r(e,"forceUpdate")},enqueueReplaceState:function(e,t){r(e,"replaceState")},enqueueSetState:function(e,t){r(e,"setState")}});t.exports=o},{"fbjs/lib/warning":303}],1257:[function(e,t,n){arguments[4][1043][0].apply(n,arguments)},{dup:1043}],1258:[function(e,t,n){"use strict";function r(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function o(e){this.message=e,this.stack=""}function a(e){function t(t,n,r,a,i,s,l){a=a||k,s=s||r;if(null==n[r]){var u=w[i];return t?new o(null===n[r]?"The "+u+" `"+s+"` is marked as required "+("in `"+a+"`, but its value is `null`."):"The "+u+" `"+s+"` is marked as required in "+("`"+a+"`, but its value is `undefined`.")):null}return e(n,r,a,i,s)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function i(e){function t(t,n,r,a,i,s){var l=t[n],u=g(l);if(u!==e){var c=w[a],d=y(l);return new o("Invalid "+c+" `"+i+"` of type "+("`"+d+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return a(t)}function s(){return a(C.thatReturns(null))}function l(e){function t(t,n,r,a,i){if("function"!=typeof e)return new o("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s)){var l=w[a],u=g(s);return new o("Invalid "+l+" `"+i+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an array."))}for(var c=0;c<s.length;c++){var d=e(s,c,r,a,i+"["+c+"]",S);if(d instanceof Error)return d}return null}return a(t)}function u(){function e(e,t,n,r,a){var i=e[t];if(!M.isValidElement(i)){var s=w[r],l=g(i);return new o("Invalid "+s+" `"+a+"` of type "+("`"+l+"` supplied to `"+n+"`, expected a single ReactElement."))}return null}return a(e)}function c(e){function t(t,n,r,a,i){if(!(t[n]instanceof e)){var s=w[a],l=e.name||k,u=_(t[n]);return new o("Invalid "+s+" `"+i+"` of type "+("`"+u+"` supplied to `"+r+"`, expected ")+("instance of `"+l+"`."))}return null}return a(t)}function d(e){function t(t,n,a,i,s){for(var l=t[n],u=0;u<e.length;u++)if(r(l,e[u]))return null;var c=w[i],d=JSON.stringify(e);return new o("Invalid "+c+" `"+s+"` of value `"+l+"` "+("supplied to `"+a+"`, expected one of "+d+"."))}return Array.isArray(e)?a(t):C.thatReturnsNull}function f(e){function t(t,n,r,a,i){if("function"!=typeof e)return new o("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],l=g(s);if("object"!==l){var u=w[a];return new o("Invalid "+u+" `"+i+"` of type "+("`"+l+"` supplied to `"+r+"`, expected an object."))}for(var c in s)if(s.hasOwnProperty(c)){var d=e(s,c,r,a,i+"."+c,S);if(d instanceof Error)return d}return null}return a(t)}function p(e){function t(t,n,r,a,i){for(var s=0;s<e.length;s++){var l=e[s];if(null==l(t,n,r,a,i,S))return null}var u=w[a];return new o("Invalid "+u+" `"+i+"` supplied to "+("`"+r+"`."))}return Array.isArray(e)?a(t):C.thatReturnsNull}function h(){function e(e,t,n,r,a){if(!v(e[t])){var i=w[r];return new o("Invalid "+i+" `"+a+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return a(e)}function m(e){function t(t,n,r,a,i){var s=t[n],l=g(s);if("object"!==l){var u=w[a];return new o("Invalid "+u+" `"+i+"` of type `"+l+"` "+("supplied to `"+r+"`, expected `object`."))}for(var c in e){var d=e[c];if(d){var f=d(s,c,r,a,i+"."+c,S);if(f)return f}}return null}return a(t)}function v(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(v);if(null===e||M.isValidElement(e))return!0;var t=x(e);if(!t)return!1;var n,r=t.call(e);if(t!==e.entries){for(;!(n=r.next()).done;)if(!v(n.value))return!1}else for(;!(n=r.next()).done;){var o=n.value;if(o&&!v(o[1]))return!1}return!0;default:return!1}}function b(e,t){return"symbol"===e||("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}function g(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":b(t,e)?"symbol":t}function y(e){var t=g(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function _(e){return e.constructor&&e.constructor.name?e.constructor.name:k}var M=e("./ReactElement"),w=e("./ReactPropTypeLocationNames"),S=e("./ReactPropTypesSecret"),C=e("fbjs/lib/emptyFunction"),x=e("./getIteratorFn"),k=(e("fbjs/lib/warning"),"<<anonymous>>"),T={array:i("array"),bool:i("boolean"),func:i("function"),number:i("number"),object:i("object"),string:i("string"),symbol:i("symbol"),any:s(),arrayOf:l,element:u(),instanceOf:c,node:h(),objectOf:f,oneOf:d,oneOfType:p,shape:m};o.prototype=Error.prototype,t.exports=T},{"./ReactElement":1253,"./ReactPropTypeLocationNames":1257,"./ReactPropTypesSecret":1259,"./getIteratorFn":1264,"fbjs/lib/emptyFunction":288,"fbjs/lib/warning":303}],1259:[function(e,t,n){arguments[4][1044][0].apply(n,arguments)},{dup:1044}],1260:[function(e,t,n){"use strict";function r(e,t,n){this.props=e,this.context=t,this.refs=l,this.updater=n||s}function o(){}var a=e("object-assign"),i=e("./ReactComponent"),s=e("./ReactNoopUpdateQueue"),l=e("fbjs/lib/emptyObject");o.prototype=i.prototype,r.prototype=new o,r.prototype.constructor=r,a(r.prototype,i.prototype),r.prototype.isPureReactComponent=!0,t.exports=r},{"./ReactComponent":1248,"./ReactNoopUpdateQueue":1256,"fbjs/lib/emptyObject":289,"object-assign":823}],1261:[function(e,t,n){arguments[4][1052][0].apply(n,arguments)},{dup:1052}],1262:[function(e,t,n){"use strict";var r=!1;t.exports=r},{}],1263:[function(e,t,n){(function(n){"use strict";function r(e,t,n,r,l,u){for(var c in e)if(e.hasOwnProperty(c)){var d;try{"function"!=typeof e[c]?o("84",r||"React class",a[n],c):void 0,d=e[c](t,c,r,n,null,i)}catch(e){d=e}if(d instanceof Error&&!(d.message in s)){s[d.message]=!0}}}var o=e("./reactProdInvariant"),a=e("./ReactPropTypeLocationNames"),i=e("./ReactPropTypesSecret");e("fbjs/lib/invariant"),e("fbjs/lib/warning");"undefined"!=typeof n&&n.env,1;var s={};t.exports=r}).call(this,e("_process"))},{"./ReactComponentTreeHook":1249,"./ReactPropTypeLocationNames":1257,"./ReactPropTypesSecret":1259,"./reactProdInvariant":1266,_process:828,"fbjs/lib/invariant":296,"fbjs/lib/warning":303}],1264:[function(e,t,n){arguments[4][1085][0].apply(n,arguments)},{dup:1085}],1265:[function(e,t,n){"use strict";function r(e){return a.isValidElement(e)?void 0:o("143"),e}var o=e("./reactProdInvariant"),a=e("./ReactElement");e("fbjs/lib/invariant");t.exports=r},{"./ReactElement":1253,"./reactProdInvariant":1266,"fbjs/lib/invariant":296}],1266:[function(e,t,n){arguments[4][1094][0].apply(n,arguments)},{dup:1094}],1267:[function(e,t,n){"use strict";function r(e,t,n){return!o(e.props,t)||!o(e.state,n)}var o=e("fbjs/lib/shallowEqual");t.exports=r},{"fbjs/lib/shallowEqual":302}],1268:[function(e,t,n){"use strict";function r(e,t){return e&&"object"==typeof e&&null!=e.key?u.escape(e.key):t.toString(36)}function o(e,t,n,a){var f=typeof e;if("undefined"!==f&&"boolean"!==f||(e=null),null===e||"string"===f||"number"===f||"object"===f&&e.$$typeof===s)return n(a,e,""===t?c+r(e,0):t),1;var p,h,m=0,v=""===t?c:t+d;if(Array.isArray(e))for(var b=0;b<e.length;b++)p=e[b],h=v+r(p,b),m+=o(p,h,n,a);else{var g=l(e);if(g){var y,_=g.call(e);if(g!==e.entries)for(var M=0;!(y=_.next()).done;)p=y.value,h=v+r(p,M++),m+=o(p,h,n,a);else for(;!(y=_.next()).done;){var w=y.value;w&&(p=w[1],h=v+u.escape(w[0])+d+r(p,0),m+=o(p,h,n,a))}}else if("object"===f){var S="",C=String(e);i("31","[object Object]"===C?"object with keys {"+Object.keys(e).join(", ")+"}":C,S)}}return m}function a(e,t,n){return null==e?0:o(e,"",t,n)}var i=e("./reactProdInvariant"),s=(e("./ReactCurrentOwner"),e("./ReactElementSymbol")),l=e("./getIteratorFn"),u=(e("fbjs/lib/invariant"),e("./KeyEscapeUtils")),c=(e("fbjs/lib/warning"),"."),d=":";t.exports=a},{"./KeyEscapeUtils":1243,"./ReactCurrentOwner":1251,"./ReactElementSymbol":1254,"./getIteratorFn":1264,"./reactProdInvariant":1266,"fbjs/lib/invariant":296,"fbjs/lib/warning":303}],1269:[function(e,t,n){"use strict";t.exports=e("./lib/React")},{"./lib/React":1245}],1270:[function(e,t,n){t.exports=e("./lib/_stream_duplex.js")},{"./lib/_stream_duplex.js":1271}],1271:[function(e,t,n){"use strict";function r(e){return this instanceof r?(u.call(this,e),c.call(this,e),e&&e.readable===!1&&(this.readable=!1),e&&e.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,e&&e.allowHalfOpen===!1&&(this.allowHalfOpen=!1),void this.once("end",o)):new r(e)}function o(){this.allowHalfOpen||this._writableState.ended||s(a,this)}function a(e){e.end()}var i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=r;var s=e("process-nextick-args"),l=e("core-util-is");l.inherits=e("inherits");var u=e("./_stream_readable"),c=e("./_stream_writable");l.inherits(r,u);for(var d=i(c.prototype),f=0;f<d.length;f++){var p=d[f];r.prototype[p]||(r.prototype[p]=c.prototype[p])}},{"./_stream_readable":1273,"./_stream_writable":1275,"core-util-is":218,inherits:325,"process-nextick-args":827}],1272:[function(e,t,n){"use strict";function r(e){return this instanceof r?void o.call(this,e):new r(e)}t.exports=r;var o=e("./_stream_transform"),a=e("core-util-is");a.inherits=e("inherits"),a.inherits(r,o),r.prototype._transform=function(e,t,n){n(null,e)}},{"./_stream_transform":1274,"core-util-is":218,inherits:325}],1273:[function(e,t,n){(function(n){"use strict";function r(e,t,n){return"function"==typeof e.prependListener?e.prependListener(t,n):void(e._events&&e._events[t]?O(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n))}function o(t,n){P=P||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,n instanceof P&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var r=t.highWaterMark,o=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:o,this.highWaterMark=~~this.highWaterMark,this.buffer=new V,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(B||(B=e("string_decoder/").StringDecoder),this.decoder=new B(t.encoding),this.encoding=t.encoding)}function a(t){return P=P||e("./_stream_duplex"),this instanceof a?(this._readableState=new o(t,this),this.readable=!0,t&&"function"==typeof t.read&&(this._read=t.read),void E.call(this)):new a(t)}function i(e,t,n,r,o){var a=c(t,n);if(a)e.emit("error",a);else if(null===n)t.reading=!1,d(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!o){var i=new Error("stream.push() after EOF");e.emit("error",i)}else if(t.endEmitted&&o){var l=new Error("stream.unshift() after end event");e.emit("error",l)}else{var u;!t.decoder||o||r||(n=t.decoder.write(n),u=!t.objectMode&&0===n.length),o||(t.reading=!1),u||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,o?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&f(e))),h(e,t)}else o||(t.reading=!1);return s(t)}function s(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function l(e){return e>=q?e=q:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function u(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!==e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=l(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function c(e,t){var n=null;return R.isBuffer(t)||"string"==typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}function d(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,f(e)}}function f(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(I("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?N(p,e):p(e))}function p(e){I("emit readable"),e.emit("readable"),_(e)}function h(e,t){t.readingMore||(t.readingMore=!0,N(m,e,t))}function m(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(I("maybeReadMore read 0"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function v(e){return function(){var t=e._readableState;I("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&z(e,"data")&&(t.flowing=!0,_(e))}}function b(e){I("readable nexttick read 0"),e.read(0)}function g(e,t){t.resumeScheduled||(t.resumeScheduled=!0,N(y,e,t))}function y(e,t){t.reading||(I("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),_(e),t.flowing&&!t.reading&&e.read(0)}function _(e){var t=e._readableState;for(I("flow",t.flowing);t.flowing&&null!==e.read(););}function M(e,t){if(0===t.length)return null;var n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=w(e,t.buffer,t.decoder),n}function w(e,t,n){var r;return e<t.head.data.length?(r=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):r=e===t.head.data.length?t.shift():n?S(e,t):C(e,t),r}function S(e,t){var n=t.head,r=1,o=n.data;for(e-=o.length;n=n.next;){var a=n.data,i=e>a.length?a.length:e;if(o+=i===a.length?a:a.slice(0,e),e-=i,0===e){i===a.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=a.slice(i));break}++r}return t.length-=r,o}function C(e,t){var n=j.allocUnsafe(e),r=t.head,o=1;for(r.data.copy(n),e-=r.data.length;r=r.next;){var a=r.data,i=e>a.length?a.length:e;if(a.copy(n,n.length-e,0,i),e-=i,0===e){i===a.length?(++o,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=a.slice(i));break}++o}return t.length-=o,n}function x(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,N(k,t,e))}function k(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function T(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)}function A(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}t.exports=a;var P,N=e("process-nextick-args"),O=e("isarray");a.ReadableState=o;var E,z=(e("events").EventEmitter,function(e,t){return e.listeners(t).length});!function(){try{E=e("stream")}catch(e){}finally{E||(E=e("events").EventEmitter)}}();var R=e("buffer").Buffer,j=e("buffer-shims"),L=e("core-util-is");L.inherits=e("inherits");var D=e("util"),I=void 0;I=D&&D.debuglog?D.debuglog("stream"):function(){};var B,V=e("./internal/streams/BufferList");L.inherits(a,E),a.prototype.push=function(e,t){var n=this._readableState;return n.objectMode||"string"!=typeof e||(t=t||n.defaultEncoding,t!==n.encoding&&(e=j.from(e,t),t="")),i(this,n,e,t,!1)},a.prototype.unshift=function(e){var t=this._readableState;return i(this,t,e,"",!0)},a.prototype.isPaused=function(){return this._readableState.flowing===!1},a.prototype.setEncoding=function(t){return B||(B=e("string_decoder/").StringDecoder),this._readableState.decoder=new B(t),this._readableState.encoding=t,this};var q=8388608;a.prototype.read=function(e){I("read",e),e=parseInt(e,10);var t=this._readableState,n=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return I("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?x(this):f(this),null;if(e=u(e,t),0===e&&t.ended)return 0===t.length&&x(this),null;var r=t.needReadable;I("need readable",r),(0===t.length||t.length-e<t.highWaterMark)&&(r=!0,I("length less than watermark",r)),t.ended||t.reading?(r=!1,I("reading or ended",r)):r&&(I("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=u(n,t)));var o;return o=e>0?M(e,t):null,null===o?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&x(this)),null!==o&&this.emit("data",o),o},a.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},a.prototype.pipe=function(e,t){function o(e){I("onunpipe"),e===f&&i()}function a(){I("onend"),e.end()}function i(){I("cleanup"),e.removeListener("close",u),e.removeListener("finish",c),e.removeListener("drain",b),e.removeListener("error",l),e.removeListener("unpipe",o),f.removeListener("end",a),f.removeListener("end",i),f.removeListener("data",s),g=!0,!p.awaitDrain||e._writableState&&!e._writableState.needDrain||b()}function s(t){I("ondata"),y=!1;var n=e.write(t);!1!==n||y||((1===p.pipesCount&&p.pipes===e||p.pipesCount>1&&A(p.pipes,e)!==-1)&&!g&&(I("false write response, pause",f._readableState.awaitDrain),f._readableState.awaitDrain++,y=!0),f.pause())}function l(t){I("onerror",t),d(),e.removeListener("error",l),0===z(e,"error")&&e.emit("error",t)}function u(){e.removeListener("finish",c),d()}function c(){
|
56 | I("onfinish"),e.removeListener("close",u),d()}function d(){I("unpipe"),f.unpipe(e)}var f=this,p=this._readableState;switch(p.pipesCount){case 0:p.pipes=e;break;case 1:p.pipes=[p.pipes,e];break;default:p.pipes.push(e)}p.pipesCount+=1,I("pipe count=%d opts=%j",p.pipesCount,t);var h=(!t||t.end!==!1)&&e!==n.stdout&&e!==n.stderr,m=h?a:i;p.endEmitted?N(m):f.once("end",m),e.on("unpipe",o);var b=v(f);e.on("drain",b);var g=!1,y=!1;return f.on("data",s),r(e,"error",l),e.once("close",u),e.once("finish",c),e.emit("pipe",f),p.flowing||(I("pipe resume"),f.resume()),e},a.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<r;o++)n[o].emit("unpipe",this);return this}var a=A(t.pipes,e);return a===-1?this:(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this),this)},a.prototype.on=function(e,t){var n=E.prototype.on.call(this,e,t);if("data"===e)this._readableState.flowing!==!1&&this.resume();else if("readable"===e){var r=this._readableState;r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.emittedReadable=!1,r.reading?r.length&&f(this,r):N(b,this))}return n},a.prototype.addListener=a.prototype.on,a.prototype.resume=function(){var e=this._readableState;return e.flowing||(I("resume"),e.flowing=!0,g(this,e)),this},a.prototype.pause=function(){return I("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(I("pause"),this._readableState.flowing=!1,this.emit("pause")),this},a.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on("end",function(){if(I("wrapped end"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on("data",function(o){if(I("wrapped data"),t.decoder&&(o=t.decoder.write(o)),(!t.objectMode||null!==o&&void 0!==o)&&(t.objectMode||o&&o.length)){var a=r.push(o);a||(n=!0,e.pause())}});for(var o in e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));var a=["error","close","destroy","pause","resume"];return T(a,function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){I("wrapped _read",t),n&&(n=!1,e.resume())},r},a._fromList=M}).call(this,e("_process"))},{"./_stream_duplex":1271,"./internal/streams/BufferList":1276,_process:828,buffer:153,"buffer-shims":152,"core-util-is":218,events:279,inherits:325,isarray:367,"process-nextick-args":827,"string_decoder/":1297,util:151}],1274:[function(e,t,n){"use strict";function r(e){this.afterTransform=function(t,n){return o(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function o(e,t,n){var r=e._transformState;r.transforming=!1;var o=r.writecb;if(!o)return e.emit("error",new Error("no writecb in Transform class"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n),o(t);var a=e._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&e._read(a.highWaterMark)}function a(e){if(!(this instanceof a))return new a(e);s.call(this,e),this._transformState=new r(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.once("prefinish",function(){"function"==typeof this._flush?this._flush(function(e,n){i(t,e,n)}):i(t)})}function i(e,t,n){if(t)return e.emit("error",t);null!==n&&void 0!==n&&e.push(n);var r=e._writableState,o=e._transformState;if(r.length)throw new Error("Calling transform done when ws.length != 0");if(o.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}t.exports=a;var s=e("./_stream_duplex"),l=e("core-util-is");l.inherits=e("inherits"),l.inherits(a,s),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,n){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var o=this._readableState;(r.needTransform||o.needReadable||o.length<o.highWaterMark)&&this._read(o.highWaterMark)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0}},{"./_stream_duplex":1271,"core-util-is":218,inherits:325}],1275:[function(e,t,n){(function(n){"use strict";function r(){}function o(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function a(t,n){S=S||e("./_stream_duplex"),t=t||{},this.objectMode=!!t.objectMode,n instanceof S&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var r=t.highWaterMark,o=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:o,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var a=t.decodeStrings===!1;this.decodeStrings=!a,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){h(n,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new w(this)}function i(t){return S=S||e("./_stream_duplex"),O.call(i,this)||this instanceof S?(this._writableState=new a(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev)),void T.call(this)):new i(t)}function s(e,t){var n=new Error("write after end");e.emit("error",n),C(t,n)}function l(e,t,n,r){var o=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):P.isBuffer(n)||"string"==typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),C(r,a),o=!1),o}function u(e,t,n){return e.objectMode||e.decodeStrings===!1||"string"!=typeof t||(t=N.from(t,n)),t}function c(e,t,n,r,a){n=u(t,n,r),P.isBuffer(n)&&(r="buffer");var i=t.objectMode?1:n.length;t.length+=i;var s=t.length<t.highWaterMark;if(s||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest=new o(n,r,a),l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else d(e,t,!1,i,n,r,a);return s}function d(e,t,n,r,o,a,i){t.writelen=r,t.writecb=i,t.writing=!0,t.sync=!0,n?e._writev(o,t.onwrite):e._write(o,a,t.onwrite),t.sync=!1}function f(e,t,n,r,o){--t.pendingcb,n?C(o,r):o(r),e._writableState.errorEmitted=!0,e.emit("error",r)}function p(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function h(e,t){var n=e._writableState,r=n.sync,o=n.writecb;if(p(n),t)f(e,n,r,t,o);else{var a=g(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||b(e,n),r?x(m,e,n,a,o):m(e,n,a,o)}}function m(e,t,n,r){n||v(e,t),t.pendingcb--,r(),_(e,t)}function v(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function b(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,o=new Array(r),a=t.corkedRequestsFree;a.entry=n;for(var i=0;n;)o[i]=n,n=n.next,i+=1;d(e,t,!0,t.length,o,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new w(t)}else{for(;n;){var s=n.chunk,l=n.encoding,u=n.callback,c=t.objectMode?1:s.length;if(d(e,t,!1,c,s,l,u),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function g(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function y(e,t){t.prefinished||(t.prefinished=!0,e.emit("prefinish"))}function _(e,t){var n=g(t);return n&&(0===t.pendingcb?(y(e,t),t.finished=!0,e.emit("finish")):y(e,t)),n}function M(e,t,n){t.ending=!0,_(e,t),n&&(t.finished?C(n):e.once("finish",n)),t.ended=!0,e.writable=!1}function w(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var o=r.callback;e.pendingcb--,o(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}t.exports=i;var S,C=e("process-nextick-args"),x=!n.browser&&["v0.10","v0.9."].indexOf(n.version.slice(0,5))>-1?setImmediate:C;i.WritableState=a;var k=e("core-util-is");k.inherits=e("inherits");var T,A={deprecate:e("util-deprecate")};!function(){try{T=e("stream")}catch(e){}finally{T||(T=e("events").EventEmitter)}}();var P=e("buffer").Buffer,N=e("buffer-shims");k.inherits(i,T),a.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(a.prototype,"buffer",{get:A.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.")})}catch(e){}}();var O;"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(O=Function.prototype[Symbol.hasInstance],Object.defineProperty(i,Symbol.hasInstance,{value:function(e){return!!O.call(this,e)||e&&e._writableState instanceof a}})):O=function(e){return e instanceof this},i.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},i.prototype.write=function(e,t,n){var o=this._writableState,a=!1;return"function"==typeof t&&(n=t,t=null),P.isBuffer(e)?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=r),o.ended?s(this,n):l(this,o,e,n)&&(o.pendingcb++,a=c(this,o,e,t,n)),a},i.prototype.cork=function(){var e=this._writableState;e.corked++},i.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||b(this,e))},i.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},i.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},i.prototype._writev=null,i.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||M(this,r,n)}}).call(this,e("_process"))},{"./_stream_duplex":1271,_process:828,buffer:153,"buffer-shims":152,"core-util-is":218,events:279,inherits:325,"process-nextick-args":827,"util-deprecate":1367}],1276:[function(e,t,n){"use strict";function r(){this.head=null,this.tail=null,this.length=0}var o=(e("buffer").Buffer,e("buffer-shims"));t.exports=r,r.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},r.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},r.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},r.prototype.clear=function(){this.head=this.tail=null,this.length=0},r.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},r.prototype.concat=function(e){if(0===this.length)return o.alloc(0);if(1===this.length)return this.head.data;for(var t=o.allocUnsafe(e>>>0),n=this.head,r=0;n;)n.data.copy(t,r),r+=n.data.length,n=n.next;return t}},{buffer:153,"buffer-shims":152}],1277:[function(e,t,n){t.exports=e("./lib/_stream_passthrough.js")},{"./lib/_stream_passthrough.js":1272}],1278:[function(e,t,n){(function(r){var o=function(){try{return e("stream")}catch(e){}}();n=t.exports=e("./lib/_stream_readable.js"),n.Stream=o||n,n.Readable=n,n.Writable=e("./lib/_stream_writable.js"),n.Duplex=e("./lib/_stream_duplex.js"),n.Transform=e("./lib/_stream_transform.js"),n.PassThrough=e("./lib/_stream_passthrough.js"),!r.browser&&"disable"===r.env.READABLE_STREAM&&o&&(t.exports=o)}).call(this,e("_process"))},{"./lib/_stream_duplex.js":1271,"./lib/_stream_passthrough.js":1272,"./lib/_stream_readable.js":1273,"./lib/_stream_transform.js":1274,"./lib/_stream_writable.js":1275,_process:828}],1279:[function(e,t,n){t.exports=e("./lib/_stream_transform.js")},{"./lib/_stream_transform.js":1274}],1280:[function(e,t,n){t.exports=e("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":1275}],1281:[function(e,t,n){"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}n.__esModule=!0;var o=r();o.withExtraArgument=r,n.default=o},{}],1282:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r,o){var i=e(n,r,o),l=i.dispatch,u=[],c={getState:i.getState,dispatch:function(e){return l(e)}};return u=t.map(function(e){return e(c)}),l=s.default.apply(void 0,u)(i.dispatch),a({},i,{dispatch:l})}}}n.__esModule=!0;var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.default=o;var i=e("./compose"),s=r(i)},{"./compose":1285}],1283:[function(e,t,n){"use strict";function r(e,t){return function(){return t(e.apply(void 0,arguments))}}function o(e,t){if("function"==typeof e)return r(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),o={},a=0;a<n.length;a++){var i=n[a],s=e[i];"function"==typeof s&&(o[i]=r(s,t))}return o}n.__esModule=!0,n.default=o},{}],1284:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t&&t.type,r=n&&'"'+n.toString()+'"'||"an action";return"Given action "+r+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state.'}function a(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:s.ActionTypes.INIT});if("undefined"==typeof r)throw new Error('Reducer "'+t+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var o="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if("undefined"==typeof n(void 0,{type:o}))throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+s.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function i(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];"function"==typeof e[i]&&(n[i]=e[i])}var s,l=Object.keys(n);try{a(n)}catch(e){s=e}return function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=arguments[1];if(s)throw s;for(var r=!1,a={},i=0;i<l.length;i++){var u=l[i],c=n[u],d=e[u],f=c(d,t);if("undefined"==typeof f){var p=o(u,t);throw new Error(p)}a[u]=f,r=r||f!==d}return r?a:e}}n.__esModule=!0,n.default=i;var s=e("./createStore"),l=e("lodash/isPlainObject"),u=(r(l),e("./utils/warning"));r(u)},{"./createStore":1286,"./utils/warning":1288,"lodash/isPlainObject":743}],1285:[function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return function(e){return e};if(1===t.length)return t[0];var r=t[t.length-1],o=t.slice(0,-1);return function(){return o.reduceRight(function(e,t){return t(e)},r.apply(void 0,arguments))}}n.__esModule=!0,n.default=r},{}],1286:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){function r(){b===v&&(b=v.slice())}function a(){return m}function s(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return r(),b.push(e),function(){if(t){t=!1,r();var n=b.indexOf(e);b.splice(n,1)}}}function c(e){if(!(0,i.default)(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if("undefined"==typeof e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(g)throw new Error("Reducers may not dispatch actions.");try{g=!0,m=h(m,e)}finally{g=!1}for(var t=v=b,n=0;n<t.length;n++)t[n]();return e}function d(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");h=e,c({type:u.INIT})}function f(){var e,t=s;return e={subscribe:function(e){function n(){e.next&&e.next(a())}if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");n();var r=t(n);return{unsubscribe:r}}},e[l.default]=function(){return this},e}var p;if("function"==typeof t&&"undefined"==typeof n&&(n=t,t=void 0),"undefined"!=typeof n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var h=e,m=t,v=[],b=v,g=!1;return c({type:u.INIT}),p={dispatch:c,subscribe:s,getState:a,replaceReducer:d},p[l.default]=f,p}n.__esModule=!0,n.ActionTypes=void 0,n.default=o;var a=e("lodash/isPlainObject"),i=r(a),s=e("symbol-observable"),l=r(s),u=n.ActionTypes={INIT:"@@redux/INIT"}},{"lodash/isPlainObject":743,"symbol-observable":1352}],1287:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}n.__esModule=!0,n.compose=n.applyMiddleware=n.bindActionCreators=n.combineReducers=n.createStore=void 0;var o=e("./createStore"),a=r(o),i=e("./combineReducers"),s=r(i),l=e("./bindActionCreators"),u=r(l),c=e("./applyMiddleware"),d=r(c),f=e("./compose"),p=r(f),h=e("./utils/warning");r(h);n.createStore=a.default,n.combineReducers=s.default,n.bindActionCreators=u.default,n.applyMiddleware=d.default,n.compose=p.default},{"./applyMiddleware":1282,"./bindActionCreators":1283,"./combineReducers":1284,"./compose":1285,"./createStore":1286,"./utils/warning":1288}],1288:[function(e,t,n){"use strict";function r(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}n.__esModule=!0,n.default=r},{}],1289:[function(e,t,n){(function(n){var r="object"==typeof n?n:"object"==typeof window?window:"object"==typeof self?self:this,o=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,a=o&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,t.exports=e("./runtime"),o)r.regeneratorRuntime=a;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./runtime":1290}],1290:[function(e,t,n){(function(e,n){!function(n){"use strict";function r(e,t,n,r){var o=t&&t.prototype instanceof a?t:a,i=Object.create(o.prototype),s=new p(r||[]);return i._invoke=c(e,n,s),i}function o(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function a(){}function i(){}function s(){}function l(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function u(t){function n(e,r,a,i){var s=o(t[e],t,r);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&g.call(u,"__await")?Promise.resolve(u.__await).then(function(e){n("next",e,a,i)},function(e){n("throw",e,a,i)}):Promise.resolve(u).then(function(e){l.value=e,a(l)},i)}i(s.arg)}function r(e,t){function r(){return new Promise(function(r,o){n(e,t,r,o)})}return a=a?a.then(r,r):r()}"object"==typeof e&&e.domain&&(n=e.domain.bind(n));var a;this._invoke=r}function c(e,t,n){var r=C;return function(a,i){if(r===k)throw new Error("Generator is already running");if(r===T){if("throw"===a)throw i;return m()}for(;;){var s=n.delegate;if(s){if("return"===a||"throw"===a&&s.iterator[a]===v){n.delegate=null;var l=s.iterator.return;if(l){var u=o(l,s.iterator,i);if("throw"===u.type){a="throw",i=u.arg;continue}}if("return"===a)continue}var u=o(s.iterator[a],s.iterator,i);if("throw"===u.type){n.delegate=null,a="throw",i=u.arg;continue}a="next",i=v;var c=u.arg;if(!c.done)return r=x,c;n[s.resultName]=c.value,n.next=s.nextLoc,n.delegate=null}if("next"===a)n.sent=n._sent=i;else if("throw"===a){if(r===C)throw r=T,i;n.dispatchException(i)&&(a="next",i=v)}else"return"===a&&n.abrupt("return",i);r=k;var u=o(e,t,n);if("normal"===u.type){r=n.done?T:x;var c={value:u.arg,done:n.done};if(u.arg!==A)return c;n.delegate&&"next"===a&&(i=v)}else"throw"===u.type&&(r=T,a="throw",i=u.arg)}}}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function f(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function h(e){if(e){var t=e[_];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(g.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=v,t.done=!0,t};return r.next=r}}return{next:m}}function m(){return{value:v,done:!0}}var v,b=Object.prototype,g=b.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},_=y.iterator||"@@iterator",M=y.toStringTag||"@@toStringTag",w="object"==typeof t,S=n.regeneratorRuntime;if(S)return void(w&&(t.exports=S));S=n.regeneratorRuntime=w?t.exports:{},S.wrap=r;var C="suspendedStart",x="suspendedYield",k="executing",T="completed",A={},P={};P[_]=function(){return this};var N=Object.getPrototypeOf,O=N&&N(N(h([])));O&&O!==b&&g.call(O,_)&&(P=O);var E=s.prototype=a.prototype=Object.create(P);i.prototype=E.constructor=s,s.constructor=i,s[M]=i.displayName="GeneratorFunction",S.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},S.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,s):(e.__proto__=s,M in e||(e[M]="GeneratorFunction")),e.prototype=Object.create(E),e},S.awrap=function(e){return{__await:e}},l(u.prototype),S.AsyncIterator=u,S.async=function(e,t,n,o){var a=new u(r(e,t,n,o));return S.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},l(E),E[M]="Generator",E.toString=function(){return"[object Generator]"},S.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},S.values=h,p.prototype={constructor:p,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.tryEntries.forEach(f),!e)for(var t in this)"t"===t.charAt(0)&&g.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=v)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return a.type="throw",a.arg=e,n.next=t,!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var i=g.call(o,"catchLoc"),s=g.call(o,"finallyLoc");if(i&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(i){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=e,a.arg=t,o?this.next=o.finallyLoc:this.complete(a),A},complete:function(e,t){if("throw"===e.type)throw e.arg;"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=e.arg,this.next="end"):"normal"===e.type&&t&&(this.next=t)},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),f(n),A}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;f(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},A}}}("object"==typeof n?n:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:828}],1291:[function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e,t){return e===t}function a(e){var t=arguments.length<=1||void 0===arguments[1]?o:arguments[1],n=null,r=null;return function(){for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return null!==n&&n.length===a.length&&a.every(function(e,r){return t(e,n[r])})||(r=e.apply(void 0,a)),n=a,r}}function i(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"==typeof e})){var n=t.map(function(e){return typeof e}).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, "+("instead received the following types: ["+n+"]"))}return t}function s(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return function(){for(var t=arguments.length,o=Array(t),a=0;a<t;a++)o[a]=arguments[a];var s=0,l=o.pop(),u=i(o),c=e.apply(void 0,[function(){return s++,l.apply(void 0,arguments)}].concat(n)),d=function(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];var i=u.map(function(n){return n.apply(void 0,[e,t].concat(o))});return c.apply(void 0,r(i))};return d.resultFunc=l,d.recomputations=function(){return s},d.resetRecomputations=function(){return s=0},d}}function l(e){var t=arguments.length<=1||void 0===arguments[1]?u:arguments[1];if("object"!=typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t,r){return e[n[r]]=t,e},{})})}n.__esModule=!0,n.defaultMemoize=a,n.createSelectorCreator=s,n.createStructuredSelector=l;var u=n.createSelector=s(a)},{}],1292:[function(e,t,n){(function(t){!function(n){function r(e,t){if(!(this instanceof r))return new r(e,t);var o=this;a(o),o.q=o.c="",o.bufferCheckPosition=n.MAX_BUFFER_LENGTH,o.opt=t||{},o.opt.lowercase=o.opt.lowercase||o.opt.lowercasetags,o.looseCase=o.opt.lowercase?"toLowerCase":"toUpperCase",o.tags=[],o.closed=o.closedRoot=o.sawRoot=!1,o.tag=o.error=null,o.strict=!!e,o.noscript=!(!e&&!o.opt.noscript),o.state=X.BEGIN,o.strictEntities=o.opt.strictEntities,o.ENTITIES=o.strictEntities?Object.create(n.XML_ENTITIES):Object.create(n.ENTITIES),o.attribList=[],o.opt.xmlns&&(o.ns=Object.create(q)),o.trackPosition=o.opt.position!==!1,o.trackPosition&&(o.position=o.line=o.column=0),p(o,"onready")}function o(e){for(var t=Math.max(n.MAX_BUFFER_LENGTH,10),r=0,o=0,a=P.length;o<a;o++){var i=e[P[o]].length;if(i>t)switch(P[o]){case"textNode":m(e);break;case"cdata":h(e,"oncdata",e.cdata),e.cdata="";break;case"script":h(e,"onscript",e.script),e.script="";break;default:b(e,"Max buffer length exceeded: "+P[o])}r=Math.max(r,i)}var s=n.MAX_BUFFER_LENGTH-r;e.bufferCheckPosition=s+e.position}function a(e){for(var t=0,n=P.length;t<n;t++)e[P[t]]=""}function i(e){m(e),""!==e.cdata&&(h(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(h(e,"onscript",e.script),e.script="")}function s(e,t){return new l(e,t)}function l(e,t){if(!(this instanceof l))return new l(e,t);N.apply(this),this._parser=new r(e,t),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(e){n.emit("error",e),n._parser.error=null},this._decoder=null,O.forEach(function(e){Object.defineProperty(n,"on"+e,{get:function(){return n._parser["on"+e]},set:function(t){return t?void n.on(e,t):(n.removeAllListeners(e),n._parser["on"+e]=t,t)},enumerable:!0,configurable:!1})})}function u(e){return e.split("").reduce(function(e,t){return e[t]=!0,e},{})}function c(e){return"[object RegExp]"===Object.prototype.toString.call(e)}function d(e,t){return c(e)?!!t.match(e):e[t]}function f(e,t){return!d(e,t)}function p(e,t,n){e[t]&&e[t](n)}function h(e,t,n){e.textNode&&m(e),p(e,t,n)}function m(e){e.textNode=v(e.opt,e.textNode),e.textNode&&p(e,"ontext",e.textNode),e.textNode=""}function v(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function b(e,t){return m(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=new Error(t),e.error=t,p(e,"onerror",t),e}function g(e){return e.sawRoot&&!e.closedRoot&&y(e,"Unclosed root tag"),e.state!==X.BEGIN&&e.state!==X.BEGIN_WHITESPACE&&e.state!==X.TEXT&&b(e,"Unexpected end"),m(e),e.c="",e.closed=!0,p(e,"onend"),r.call(e,e.strict,e.opt),e}function y(e,t){if("object"!=typeof e||!(e instanceof r))throw new Error("bad call to strictFail");e.strict&&b(e,t)}function _(e){e.strict||(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,h(e,"onopentagstart",n)}function M(e,t){var n=e.indexOf(":"),r=n<0?["",e]:e.split(":"),o=r[0],a=r[1];return t&&"xmlns"===e&&(o="xmlns",a=""),{prefix:o,local:a}}function w(e){if(e.strict||(e.attribName=e.attribName[e.looseCase]()),e.attribList.indexOf(e.attribName)!==-1||e.tag.attributes.hasOwnProperty(e.attribName))return void(e.attribName=e.attribValue="");if(e.opt.xmlns){var t=M(e.attribName,!0),n=t.prefix,r=t.local;if("xmlns"===n)if("xml"===r&&e.attribValue!==B)y(e,"xml: prefix must be bound to "+B+"\nActual: "+e.attribValue);else if("xmlns"===r&&e.attribValue!==V)y(e,"xmlns: prefix must be bound to "+V+"\nActual: "+e.attribValue);else{var o=e.tag,a=e.tags[e.tags.length-1]||e;o.ns===a.ns&&(o.ns=Object.create(a.ns)),o.ns[r]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,h(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}function S(e,t){if(e.opt.xmlns){var n=e.tag,r=M(e.tagName);n.prefix=r.prefix,n.local=r.local,n.uri=n.ns[r.prefix]||"",n.prefix&&!n.uri&&(y(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),n.uri=r.prefix);var o=e.tags[e.tags.length-1]||e;n.ns&&o.ns!==n.ns&&Object.keys(n.ns).forEach(function(t){h(e,"onopennamespace",{prefix:t,uri:n.ns[t]})});for(var a=0,i=e.attribList.length;a<i;a++){var s=e.attribList[a],l=s[0],u=s[1],c=M(l,!0),d=c.prefix,f=c.local,p=""===d?"":n.ns[d]||"",m={name:l,value:u,prefix:d,local:f,uri:p};d&&"xmlns"!==d&&!p&&(y(e,"Unbound namespace prefix: "+JSON.stringify(d)),m.uri=d),e.tag.attributes[l]=m,h(e,"onattribute",m)}e.attribList.length=0}e.tag.isSelfClosing=!!t,
|
57 | e.sawRoot=!0,e.tags.push(e.tag),h(e,"onopentag",e.tag),t||(e.noscript||"script"!==e.tagName.toLowerCase()?e.state=X.TEXT:e.state=X.SCRIPT,e.tag=null,e.tagName=""),e.attribName=e.attribValue="",e.attribList.length=0}function C(e){if(!e.tagName)return y(e,"Weird empty close tag."),e.textNode+="</>",void(e.state=X.TEXT);if(e.script){if("script"!==e.tagName)return e.script+="</"+e.tagName+">",e.tagName="",void(e.state=X.SCRIPT);h(e,"onscript",e.script),e.script=""}var t=e.tags.length,n=e.tagName;e.strict||(n=n[e.looseCase]());for(var r=n;t--;){var o=e.tags[t];if(o.name===r)break;y(e,"Unexpected close tag")}if(t<0)return y(e,"Unmatched closing tag: "+e.tagName),e.textNode+="</"+e.tagName+">",void(e.state=X.TEXT);e.tagName=n;for(var a=e.tags.length;a-- >t;){var i=e.tag=e.tags.pop();e.tagName=e.tag.name,h(e,"onclosetag",e.tagName);var s={};for(var l in i.ns)s[l]=i.ns[l];var u=e.tags[e.tags.length-1]||e;e.opt.xmlns&&i.ns!==u.ns&&Object.keys(i.ns).forEach(function(t){var n=i.ns[t];h(e,"onclosenamespace",{prefix:t,uri:n})})}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=X.TEXT}function x(e){var t,n=e.entity,r=n.toLowerCase(),o="";return e.ENTITIES[n]?e.ENTITIES[n]:e.ENTITIES[r]?e.ENTITIES[r]:(n=r,"#"===n.charAt(0)&&("x"===n.charAt(1)?(n=n.slice(2),t=parseInt(n,16),o=t.toString(16)):(n=n.slice(1),t=parseInt(n,10),o=t.toString(10))),n=n.replace(/^0+/,""),o.toLowerCase()!==n?(y(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t))}function k(e,t){"<"===t?(e.state=X.OPEN_WAKA,e.startTagPosition=e.position):f(E,t)&&(y(e,"Non-whitespace before first tag."),e.textNode=t,e.state=X.TEXT)}function T(e,t){var n="";return t<e.length&&(n=e.charAt(t)),n}function A(e){var t=this;if(this.error)throw this.error;if(t.closed)return b(t,"Cannot write after close. Assign an onready handler.");if(null===e)return g(t);"object"==typeof e&&(e=e.toString());for(var n=0,r="";;){if(r=T(e,n++),t.c=r,!r)break;switch(t.trackPosition&&(t.position++,"\n"===r?(t.line++,t.column=0):t.column++),t.state){case X.BEGIN:if(t.state=X.BEGIN_WHITESPACE,"\ufeff"===r)continue;k(t,r);continue;case X.BEGIN_WHITESPACE:k(t,r);continue;case X.TEXT:if(t.sawRoot&&!t.closedRoot){for(var a=n-1;r&&"<"!==r&&"&"!==r;)r=T(e,n++),r&&t.trackPosition&&(t.position++,"\n"===r?(t.line++,t.column=0):t.column++);t.textNode+=e.substring(a,n-1)}"<"!==r||t.sawRoot&&t.closedRoot&&!t.strict?(!f(E,r)||t.sawRoot&&!t.closedRoot||y(t,"Text data outside of root node."),"&"===r?t.state=X.TEXT_ENTITY:t.textNode+=r):(t.state=X.OPEN_WAKA,t.startTagPosition=t.position);continue;case X.SCRIPT:"<"===r?t.state=X.SCRIPT_ENDING:t.script+=r;continue;case X.SCRIPT_ENDING:"/"===r?t.state=X.CLOSE_TAG:(t.script+="<"+r,t.state=X.SCRIPT);continue;case X.OPEN_WAKA:if("!"===r)t.state=X.SGML_DECL,t.sgmlDecl="";else if(d(E,r));else if(d(F,r))t.state=X.OPEN_TAG,t.tagName=r;else if("/"===r)t.state=X.CLOSE_TAG,t.tagName="";else if("?"===r)t.state=X.PROC_INST,t.procInstName=t.procInstBody="";else{if(y(t,"Unencoded <"),t.startTagPosition+1<t.position){var i=t.position-t.startTagPosition;r=new Array(i).join(" ")+r}t.textNode+="<"+r,t.state=X.TEXT}continue;case X.SGML_DECL:(t.sgmlDecl+r).toUpperCase()===D?(h(t,"onopencdata"),t.state=X.CDATA,t.sgmlDecl="",t.cdata=""):t.sgmlDecl+r==="--"?(t.state=X.COMMENT,t.comment="",t.sgmlDecl=""):(t.sgmlDecl+r).toUpperCase()===I?(t.state=X.DOCTYPE,(t.doctype||t.sawRoot)&&y(t,"Inappropriately located doctype declaration"),t.doctype="",t.sgmlDecl=""):">"===r?(h(t,"onsgmldeclaration",t.sgmlDecl),t.sgmlDecl="",t.state=X.TEXT):d(j,r)?(t.state=X.SGML_DECL_QUOTED,t.sgmlDecl+=r):t.sgmlDecl+=r;continue;case X.SGML_DECL_QUOTED:r===t.q&&(t.state=X.SGML_DECL,t.q=""),t.sgmlDecl+=r;continue;case X.DOCTYPE:">"===r?(t.state=X.TEXT,h(t,"ondoctype",t.doctype),t.doctype=!0):(t.doctype+=r,"["===r?t.state=X.DOCTYPE_DTD:d(j,r)&&(t.state=X.DOCTYPE_QUOTED,t.q=r));continue;case X.DOCTYPE_QUOTED:t.doctype+=r,r===t.q&&(t.q="",t.state=X.DOCTYPE);continue;case X.DOCTYPE_DTD:t.doctype+=r,"]"===r?t.state=X.DOCTYPE:d(j,r)&&(t.state=X.DOCTYPE_DTD_QUOTED,t.q=r);continue;case X.DOCTYPE_DTD_QUOTED:t.doctype+=r,r===t.q&&(t.state=X.DOCTYPE_DTD,t.q="");continue;case X.COMMENT:"-"===r?t.state=X.COMMENT_ENDING:t.comment+=r;continue;case X.COMMENT_ENDING:"-"===r?(t.state=X.COMMENT_ENDED,t.comment=v(t.opt,t.comment),t.comment&&h(t,"oncomment",t.comment),t.comment=""):(t.comment+="-"+r,t.state=X.COMMENT);continue;case X.COMMENT_ENDED:">"!==r?(y(t,"Malformed comment"),t.comment+="--"+r,t.state=X.COMMENT):t.state=X.TEXT;continue;case X.CDATA:"]"===r?t.state=X.CDATA_ENDING:t.cdata+=r;continue;case X.CDATA_ENDING:"]"===r?t.state=X.CDATA_ENDING_2:(t.cdata+="]"+r,t.state=X.CDATA);continue;case X.CDATA_ENDING_2:">"===r?(t.cdata&&h(t,"oncdata",t.cdata),h(t,"onclosecdata"),t.cdata="",t.state=X.TEXT):"]"===r?t.cdata+="]":(t.cdata+="]]"+r,t.state=X.CDATA);continue;case X.PROC_INST:"?"===r?t.state=X.PROC_INST_ENDING:d(E,r)?t.state=X.PROC_INST_BODY:t.procInstName+=r;continue;case X.PROC_INST_BODY:if(!t.procInstBody&&d(E,r))continue;"?"===r?t.state=X.PROC_INST_ENDING:t.procInstBody+=r;continue;case X.PROC_INST_ENDING:">"===r?(h(t,"onprocessinginstruction",{name:t.procInstName,body:t.procInstBody}),t.procInstName=t.procInstBody="",t.state=X.TEXT):(t.procInstBody+="?"+r,t.state=X.PROC_INST_BODY);continue;case X.OPEN_TAG:d(U,r)?t.tagName+=r:(_(t),">"===r?S(t):"/"===r?t.state=X.OPEN_TAG_SLASH:(f(E,r)&&y(t,"Invalid character in tag name"),t.state=X.ATTRIB));continue;case X.OPEN_TAG_SLASH:">"===r?(S(t,!0),C(t)):(y(t,"Forward-slash in opening tag not followed by >"),t.state=X.ATTRIB);continue;case X.ATTRIB:if(d(E,r))continue;">"===r?S(t):"/"===r?t.state=X.OPEN_TAG_SLASH:d(F,r)?(t.attribName=r,t.attribValue="",t.state=X.ATTRIB_NAME):y(t,"Invalid attribute name");continue;case X.ATTRIB_NAME:"="===r?t.state=X.ATTRIB_VALUE:">"===r?(y(t,"Attribute without value"),t.attribValue=t.attribName,w(t),S(t)):d(E,r)?t.state=X.ATTRIB_NAME_SAW_WHITE:d(U,r)?t.attribName+=r:y(t,"Invalid attribute name");continue;case X.ATTRIB_NAME_SAW_WHITE:if("="===r)t.state=X.ATTRIB_VALUE;else{if(d(E,r))continue;y(t,"Attribute without value"),t.tag.attributes[t.attribName]="",t.attribValue="",h(t,"onattribute",{name:t.attribName,value:""}),t.attribName="",">"===r?S(t):d(F,r)?(t.attribName=r,t.state=X.ATTRIB_NAME):(y(t,"Invalid attribute name"),t.state=X.ATTRIB)}continue;case X.ATTRIB_VALUE:if(d(E,r))continue;d(j,r)?(t.q=r,t.state=X.ATTRIB_VALUE_QUOTED):(y(t,"Unquoted attribute value"),t.state=X.ATTRIB_VALUE_UNQUOTED,t.attribValue=r);continue;case X.ATTRIB_VALUE_QUOTED:if(r!==t.q){"&"===r?t.state=X.ATTRIB_VALUE_ENTITY_Q:t.attribValue+=r;continue}w(t),t.q="",t.state=X.ATTRIB_VALUE_CLOSED;continue;case X.ATTRIB_VALUE_CLOSED:d(E,r)?t.state=X.ATTRIB:">"===r?S(t):"/"===r?t.state=X.OPEN_TAG_SLASH:d(F,r)?(y(t,"No whitespace between attributes"),t.attribName=r,t.attribValue="",t.state=X.ATTRIB_NAME):y(t,"Invalid attribute name");continue;case X.ATTRIB_VALUE_UNQUOTED:if(f(L,r)){"&"===r?t.state=X.ATTRIB_VALUE_ENTITY_U:t.attribValue+=r;continue}w(t),">"===r?S(t):t.state=X.ATTRIB;continue;case X.CLOSE_TAG:if(t.tagName)">"===r?C(t):d(U,r)?t.tagName+=r:t.script?(t.script+="</"+t.tagName,t.tagName="",t.state=X.SCRIPT):(f(E,r)&&y(t,"Invalid tagname in closing tag"),t.state=X.CLOSE_TAG_SAW_WHITE);else{if(d(E,r))continue;f(F,r)?t.script?(t.script+="</"+r,t.state=X.SCRIPT):y(t,"Invalid tagname in closing tag."):t.tagName=r}continue;case X.CLOSE_TAG_SAW_WHITE:if(d(E,r))continue;">"===r?C(t):y(t,"Invalid characters in closing tag");continue;case X.TEXT_ENTITY:case X.ATTRIB_VALUE_ENTITY_Q:case X.ATTRIB_VALUE_ENTITY_U:var s,l;switch(t.state){case X.TEXT_ENTITY:s=X.TEXT,l="textNode";break;case X.ATTRIB_VALUE_ENTITY_Q:s=X.ATTRIB_VALUE_QUOTED,l="attribValue";break;case X.ATTRIB_VALUE_ENTITY_U:s=X.ATTRIB_VALUE_UNQUOTED,l="attribValue"}";"===r?(t[l]+=x(t),t.entity="",t.state=s):d(t.entity.length?H:W,r)?t.entity+=r:(y(t,"Invalid character in entity name"),t[l]+="&"+t.entity+r,t.entity="",t.state=s);continue;default:throw new Error(t,"Unknown state: "+t.state)}}return t.position>=t.bufferCheckPosition&&o(t),t}n.parser=function(e,t){return new r(e,t)},n.SAXParser=r,n.SAXStream=l,n.createStream=s,n.MAX_BUFFER_LENGTH=65536;var P=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];n.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"],Object.create||(Object.create=function(e){function t(){}t.prototype=e;var n=new t;return n}),Object.keys||(Object.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}),r.prototype={end:function(){g(this)},write:A,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){i(this)}};var N;try{N=e("stream").Stream}catch(e){N=function(){}}var O=n.EVENTS.filter(function(e){return"error"!==e&&"end"!==e});l.prototype=Object.create(N.prototype,{constructor:{value:l}}),l.prototype.write=function(n){if("function"==typeof t&&"function"==typeof t.isBuffer&&t.isBuffer(n)){if(!this._decoder){var r=e("string_decoder").StringDecoder;this._decoder=new r("utf8")}n=this._decoder.write(n)}return this._parser.write(n.toString()),this.emit("data",n),!0},l.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},l.prototype.on=function(e,t){var n=this;return n._parser["on"+e]||O.indexOf(e)===-1||(n._parser["on"+e]=function(){var t=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),n.emit.apply(n,t)}),N.prototype.on.call(n,e,t)};var E="\r\n\t ",z="0124356789",R="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",j="'\"",L=E+">",D="[CDATA[",I="DOCTYPE",B="http://www.w3.org/XML/1998/namespace",V="http://www.w3.org/2000/xmlns/",q={xml:B,xmlns:V};E=u(E),z=u(z),R=u(R);var F=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,U=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/,W=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,H=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/;j=u(j),L=u(L);var X=0;n.STATE={BEGIN:X++,BEGIN_WHITESPACE:X++,TEXT:X++,TEXT_ENTITY:X++,OPEN_WAKA:X++,SGML_DECL:X++,SGML_DECL_QUOTED:X++,DOCTYPE:X++,DOCTYPE_QUOTED:X++,DOCTYPE_DTD:X++,DOCTYPE_DTD_QUOTED:X++,COMMENT_STARTING:X++,COMMENT:X++,COMMENT_ENDING:X++,COMMENT_ENDED:X++,CDATA:X++,CDATA_ENDING:X++,CDATA_ENDING_2:X++,PROC_INST:X++,PROC_INST_BODY:X++,PROC_INST_ENDING:X++,OPEN_TAG:X++,OPEN_TAG_SLASH:X++,ATTRIB:X++,ATTRIB_NAME:X++,ATTRIB_NAME_SAW_WHITE:X++,ATTRIB_VALUE:X++,ATTRIB_VALUE_QUOTED:X++,ATTRIB_VALUE_CLOSED:X++,ATTRIB_VALUE_UNQUOTED:X++,ATTRIB_VALUE_ENTITY_Q:X++,ATTRIB_VALUE_ENTITY_U:X++,CLOSE_TAG:X++,CLOSE_TAG_SAW_WHITE:X++,SCRIPT:X++,SCRIPT_ENDING:X++},n.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},n.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(n.ENTITIES).forEach(function(e){var t=n.ENTITIES[e],r="number"==typeof t?String.fromCharCode(t):t;n.ENTITIES[e]=r});for(var K in n.STATE)n.STATE[n.STATE[K]]=K;X=n.STATE,String.fromCodePoint||!function(){var e=String.fromCharCode,t=Math.floor,n=function(){var n,r,o=16384,a=[],i=-1,s=arguments.length;if(!s)return"";for(var l="";++i<s;){var u=Number(arguments[i]);if(!isFinite(u)||u<0||u>1114111||t(u)!==u)throw RangeError("Invalid code point: "+u);u<=65535?a.push(u):(u-=65536,n=(u>>10)+55296,r=u%1024+56320,a.push(n,r)),(i+1===s||a.length>o)&&(l+=e.apply(null,a),a.length=0)}return l};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()}("undefined"==typeof n?this.sax={}:n)}).call(this,e("buffer").Buffer)},{buffer:153,stream:1295,string_decoder:1297}],1293:[function(e,t,n){(function(e){function r(e,t){if(e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>Y)return null;var n=t?Q[he]:Q[de];if(!n.test(e))return null;try{return new i(e,t)}catch(e){return null}}function o(e,t){var n=r(e,t);return n?n.version:null}function a(e,t){var n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}function i(e,t){if(e instanceof i){if(e.loose===t)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>Y)throw new TypeError("version is longer than "+Y+" characters");if(!(this instanceof i))return new i(e,t);G("SemVer",e,t),this.loose=t;var n=e.trim().match(t?Q[he]:Q[de]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>$||this.major<0)throw new TypeError("Invalid major version");if(this.minor>$||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>$||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<$)return t}return e}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}function s(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new i(e,n).inc(t,r).version}catch(e){return null}}function l(e,t){if(M(e,t))return null;var n=r(e),o=r(t);if(n.prerelease.length||o.prerelease.length){for(var a in n)if(("major"===a||"minor"===a||"patch"===a)&&n[a]!==o[a])return"pre"+a;return"prerelease"}for(var a in n)if(("major"===a||"minor"===a||"patch"===a)&&n[a]!==o[a])return a}function u(e,t){var n=Ve.test(e),r=Ve.test(t);return n&&r&&(e=+e,t=+t),n&&!r?-1:r&&!n?1:e<t?-1:e>t?1:0}function c(e,t){return u(t,e)}function d(e,t){return new i(e,t).major}function f(e,t){return new i(e,t).minor}function p(e,t){return new i(e,t).patch}function h(e,t,n){return new i(e,n).compare(t)}function m(e,t){return h(e,t,!0)}function v(e,t,n){return h(t,e,n)}function b(e,t){return e.sort(function(e,r){return n.compare(e,r,t)})}function g(e,t){return e.sort(function(e,r){return n.rcompare(e,r,t)})}function y(e,t,n){return h(e,t,n)>0}function _(e,t,n){return h(e,t,n)<0}function M(e,t,n){return 0===h(e,t,n)}function w(e,t,n){return 0!==h(e,t,n)}function S(e,t,n){return h(e,t,n)>=0}function C(e,t,n){return h(e,t,n)<=0}function x(e,t,n,r){var o;switch(t){case"===":"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),o=e===n;break;case"!==":"object"==typeof e&&(e=e.version),"object"==typeof n&&(n=n.version),o=e!==n;break;case"":case"=":case"==":o=M(e,n,r);break;case"!=":o=w(e,n,r);break;case">":o=y(e,n,r);break;case">=":o=S(e,n,r);break;case"<":o=_(e,n,r);break;case"<=":o=C(e,n,r);break;default:throw new TypeError("Invalid operator: "+t)}return o}function k(e,t){if(e instanceof k){if(e.loose===t)return e;e=e.value}return this instanceof k?(G("comparator",e,t),this.loose=t,this.parse(e),this.semver===qe?this.value="":this.value=this.operator+this.semver.version,void G("comp",this)):new k(e,t)}function T(e,t){if(e instanceof T&&e.loose===t)return e;if(!(this instanceof T))return new T(e,t);if(this.loose=t,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map(function(e){return this.parseRange(e.trim())},this).filter(function(e){return e.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function A(e,t){return new T(e,t).set.map(function(e){return e.map(function(e){return e.value}).join(" ").trim().split(" ")})}function P(e,t){return G("comp",e),e=z(e,t),G("caret",e),e=O(e,t),G("tildes",e),e=j(e,t),G("xrange",e),e=D(e,t),G("stars",e),e}function N(e){return!e||"x"===e.toLowerCase()||"*"===e}function O(e,t){return e.trim().split(/\s+/).map(function(e){return E(e,t)}).join(" ")}function E(e,t){var n=t?Q[ke]:Q[xe];return e.replace(n,function(t,n,r,o,a){G("tilde",e,t,n,r,o,a);var i;return N(n)?i="":N(r)?i=">="+n+".0.0 <"+(+n+1)+".0.0":N(o)?i=">="+n+"."+r+".0 <"+n+"."+(+r+1)+".0":a?(G("replaceTilde pr",a),"-"!==a.charAt(0)&&(a="-"+a),i=">="+n+"."+r+"."+o+a+" <"+n+"."+(+r+1)+".0"):i=">="+n+"."+r+"."+o+" <"+n+"."+(+r+1)+".0",G("tilde return",i),i})}function z(e,t){return e.trim().split(/\s+/).map(function(e){return R(e,t)}).join(" ")}function R(e,t){G("caret",e,t);var n=t?Q[Oe]:Q[Ne];return e.replace(n,function(t,n,r,o,a){G("caret",e,t,n,r,o,a);var i;return N(n)?i="":N(r)?i=">="+n+".0.0 <"+(+n+1)+".0.0":N(o)?i="0"===n?">="+n+"."+r+".0 <"+n+"."+(+r+1)+".0":">="+n+"."+r+".0 <"+(+n+1)+".0.0":a?(G("replaceCaret pr",a),"-"!==a.charAt(0)&&(a="-"+a),i="0"===n?"0"===r?">="+n+"."+r+"."+o+a+" <"+n+"."+r+"."+(+o+1):">="+n+"."+r+"."+o+a+" <"+n+"."+(+r+1)+".0":">="+n+"."+r+"."+o+a+" <"+(+n+1)+".0.0"):(G("no pr"),i="0"===n?"0"===r?">="+n+"."+r+"."+o+" <"+n+"."+r+"."+(+o+1):">="+n+"."+r+"."+o+" <"+n+"."+(+r+1)+".0":">="+n+"."+r+"."+o+" <"+(+n+1)+".0.0"),G("caret return",i),i})}function j(e,t){return G("replaceXRanges",e,t),e.split(/\s+/).map(function(e){return L(e,t)}).join(" ")}function L(e,t){e=e.trim();var n=t?Q[Me]:Q[_e];return e.replace(n,function(t,n,r,o,a,i){G("xRange",e,t,n,r,o,a,i);var s=N(r),l=s||N(o),u=l||N(a),c=u;return"="===n&&c&&(n=""),s?t=">"===n||"<"===n?"<0.0.0":"*":n&&c?(l&&(o=0),u&&(a=0),">"===n?(n=">=",l?(r=+r+1,o=0,a=0):u&&(o=+o+1,a=0)):"<="===n&&(n="<",l?r=+r+1:o=+o+1),t=n+r+"."+o+"."+a):l?t=">="+r+".0.0 <"+(+r+1)+".0.0":u&&(t=">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0"),G("xRange return",t),t})}function D(e,t){return G("replaceStars",e,t),e.trim().replace(Q[Ie],"")}function I(e,t,n,r,o,a,i,s,l,u,c,d,f){return t=N(n)?"":N(r)?">="+n+".0.0":N(o)?">="+n+"."+r+".0":">="+t,s=N(l)?"":N(u)?"<"+(+l+1)+".0.0":N(c)?"<"+l+"."+(+u+1)+".0":d?"<="+l+"."+u+"."+c+"-"+d:"<="+s,(t+" "+s).trim()}function B(e,t){for(var n=0;n<e.length;n++)if(!e[n].test(t))return!1;if(t.prerelease.length){for(var n=0;n<e.length;n++)if(G(e[n].semver),e[n].semver!==qe&&e[n].semver.prerelease.length>0){var r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}function V(e,t,n){try{t=new T(t,n)}catch(e){return!1}return t.test(e)}function q(e,t,n){return e.filter(function(e){return V(e,t,n)}).sort(function(e,t){return v(e,t,n)})[0]||null}function F(e,t,n){return e.filter(function(e){return V(e,t,n)}).sort(function(e,t){return h(e,t,n)})[0]||null}function U(e,t){try{return new T(e,t).range||"*"}catch(e){return null}}function W(e,t,n){return X(e,t,"<",n)}function H(e,t,n){return X(e,t,">",n)}function X(e,t,n,r){e=new i(e,r),t=new T(t,r);var o,a,s,l,u;switch(n){case">":o=y,a=C,s=_,l=">",u=">=";break;case"<":o=_,a=S,s=y,l="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(V(e,t,r))return!1;for(var c=0;c<t.set.length;++c){var d=t.set[c],f=null,p=null;if(d.forEach(function(e){e.semver===qe&&(e=new k(">=0.0.0")),f=f||e,p=p||e,o(e.semver,f.semver,r)?f=e:s(e.semver,p.semver,r)&&(p=e)}),f.operator===l||f.operator===u)return!1;if((!p.operator||p.operator===l)&&a(e,p.semver))return!1;if(p.operator===u&&s(e,p.semver))return!1}return!0}function K(e,t){var n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}n=t.exports=i;var G;G="object"==typeof e&&e.env&&e.env.NODE_DEBUG&&/\bsemver\b/i.test(e.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},n.SEMVER_SPEC_VERSION="2.0.0";var Y=256,$=Number.MAX_SAFE_INTEGER||9007199254740991,Q=n.re=[],J=n.src=[],Z=0,ee=Z++;J[ee]="0|[1-9]\\d*";var te=Z++;J[te]="[0-9]+";var ne=Z++;J[ne]="\\d*[a-zA-Z-][a-zA-Z0-9-]*";var re=Z++;J[re]="("+J[ee]+")\\.("+J[ee]+")\\.("+J[ee]+")";var oe=Z++;J[oe]="("+J[te]+")\\.("+J[te]+")\\.("+J[te]+")";var ae=Z++;J[ae]="(?:"+J[ee]+"|"+J[ne]+")";var ie=Z++;J[ie]="(?:"+J[te]+"|"+J[ne]+")";var se=Z++;J[se]="(?:-("+J[ae]+"(?:\\."+J[ae]+")*))";var le=Z++;J[le]="(?:-?("+J[ie]+"(?:\\."+J[ie]+")*))";var ue=Z++;J[ue]="[0-9A-Za-z-]+";var ce=Z++;J[ce]="(?:\\+("+J[ue]+"(?:\\."+J[ue]+")*))";var de=Z++,fe="v?"+J[re]+J[se]+"?"+J[ce]+"?";J[de]="^"+fe+"$";var pe="[v=\\s]*"+J[oe]+J[le]+"?"+J[ce]+"?",he=Z++;J[he]="^"+pe+"$";var me=Z++;J[me]="((?:<|>)?=?)";var ve=Z++;J[ve]=J[te]+"|x|X|\\*";var be=Z++;J[be]=J[ee]+"|x|X|\\*";var ge=Z++;J[ge]="[v=\\s]*("+J[be]+")(?:\\.("+J[be]+")(?:\\.("+J[be]+")(?:"+J[se]+")?"+J[ce]+"?)?)?";var ye=Z++;J[ye]="[v=\\s]*("+J[ve]+")(?:\\.("+J[ve]+")(?:\\.("+J[ve]+")(?:"+J[le]+")?"+J[ce]+"?)?)?";var _e=Z++;J[_e]="^"+J[me]+"\\s*"+J[ge]+"$";var Me=Z++;J[Me]="^"+J[me]+"\\s*"+J[ye]+"$";var we=Z++;J[we]="(?:~>?)";var Se=Z++;J[Se]="(\\s*)"+J[we]+"\\s+",Q[Se]=new RegExp(J[Se],"g");var Ce="$1~",xe=Z++;J[xe]="^"+J[we]+J[ge]+"$";var ke=Z++;J[ke]="^"+J[we]+J[ye]+"$";var Te=Z++;J[Te]="(?:\\^)";var Ae=Z++;J[Ae]="(\\s*)"+J[Te]+"\\s+",Q[Ae]=new RegExp(J[Ae],"g");var Pe="$1^",Ne=Z++;J[Ne]="^"+J[Te]+J[ge]+"$";var Oe=Z++;J[Oe]="^"+J[Te]+J[ye]+"$";var Ee=Z++;J[Ee]="^"+J[me]+"\\s*("+pe+")$|^$";var ze=Z++;J[ze]="^"+J[me]+"\\s*("+fe+")$|^$";var Re=Z++;J[Re]="(\\s*)"+J[me]+"\\s*("+pe+"|"+J[ge]+")",Q[Re]=new RegExp(J[Re],"g");var je="$1$2$3",Le=Z++;J[Le]="^\\s*("+J[ge]+")\\s+-\\s+("+J[ge]+")\\s*$";var De=Z++;J[De]="^\\s*("+J[ye]+")\\s+-\\s+("+J[ye]+")\\s*$";var Ie=Z++;J[Ie]="(<|>)?=?\\s*\\*";for(var Be=0;Be<Z;Be++)G(Be,J[Be]),Q[Be]||(Q[Be]=new RegExp(J[Be]));n.parse=r,n.valid=o,n.clean=a,n.SemVer=i,i.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},i.prototype.toString=function(){return this.version},i.prototype.compare=function(e){return G("SemVer.compare",this.version,this.loose,e),e instanceof i||(e=new i(e,this.loose)),this.compareMain(e)||this.comparePre(e)},i.prototype.compareMain=function(e){return e instanceof i||(e=new i(e,this.loose)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)},i.prototype.comparePre=function(e){if(e instanceof i||(e=new i(e,this.loose)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var n=this.prerelease[t],r=e.prerelease[t];if(G("prerelease compare",t,n,r),void 0===n&&void 0===r)return 0;if(void 0===r)return 1;if(void 0===n)return-1;if(n!==r)return u(n,r)}while(++t)},i.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);n===-1&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},n.inc=s,n.diff=l,n.compareIdentifiers=u;var Ve=/^[0-9]+$/;n.rcompareIdentifiers=c,n.major=d,n.minor=f,n.patch=p,n.compare=h,n.compareLoose=m,n.rcompare=v,n.sort=b,n.rsort=g,n.gt=y,n.lt=_,n.eq=M,n.neq=w,n.gte=S,n.lte=C,n.cmp=x,n.Comparator=k;var qe={};k.prototype.parse=function(e){var t=this.loose?Q[Ee]:Q[ze],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=n[1],"="===this.operator&&(this.operator=""),n[2]?this.semver=new i(n[2],this.loose):this.semver=qe},k.prototype.toString=function(){return this.value},k.prototype.test=function(e){return G("Comparator.test",e,this.loose),this.semver===qe||("string"==typeof e&&(e=new i(e,this.loose)),x(e,this.operator,this.semver,this.loose))},n.Range=T,T.prototype.format=function(){return this.range=this.set.map(function(e){return e.join(" ").trim()}).join("||").trim(),this.range},T.prototype.toString=function(){return this.range},T.prototype.parseRange=function(e){var t=this.loose;e=e.trim(),G("range",e,t);var n=t?Q[De]:Q[Le];e=e.replace(n,I),G("hyphen replace",e),e=e.replace(Q[Re],je),G("comparator trim",e,Q[Re]),e=e.replace(Q[Se],Ce),e=e.replace(Q[Ae],Pe),e=e.split(/\s+/).join(" ");var r=t?Q[Ee]:Q[ze],o=e.split(" ").map(function(e){return P(e,t)}).join(" ").split(/\s+/);return this.loose&&(o=o.filter(function(e){return!!e.match(r)})),o=o.map(function(e){return new k(e,t)})},n.toComparators=A,T.prototype.test=function(e){if(!e)return!1;"string"==typeof e&&(e=new i(e,this.loose));for(var t=0;t<this.set.length;t++)if(B(this.set[t],e))return!0;return!1},n.satisfies=V,n.maxSatisfying=q,n.minSatisfying=F,n.validRange=U,n.ltr=W,n.gtr=H,n.outside=X,n.prerelease=K}).call(this,e("_process"))},{_process:828}],1294:[function(e,t,n){"use strict";var r=e("lodash.keys");t.exports=function(e,t,n,o){var a=n?n.call(o,e,t):void 0;if(void 0!==a)return!!a;if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var i=r(e),s=r(t),l=i.length;if(l!==s.length)return!1;o=o||null;for(var u=Object.prototype.hasOwnProperty.bind(t),c=0;c<l;c++){var d=i[c];if(!u(d))return!1;var f=e[d],p=t[d],h=n?n.call(o,f,p,d):void 0;if(h===!1||void 0===h&&f!==p)return!1}return!0}},{"lodash.keys":457}],1295:[function(e,t,n){function r(){o.call(this)}t.exports=r;var o=e("events").EventEmitter,a=e("inherits");a(r,o),r.Readable=e("readable-stream/readable.js"),r.Writable=e("readable-stream/writable.js"),r.Duplex=e("readable-stream/duplex.js"),r.Transform=e("readable-stream/transform.js"),r.PassThrough=e("readable-stream/passthrough.js"),r.Stream=r,r.prototype.pipe=function(e,t){function n(t){e.writable&&!1===e.write(t)&&u.pause&&u.pause()}function r(){u.readable&&u.resume&&u.resume()}function a(){c||(c=!0,e.end())}function i(){c||(c=!0,"function"==typeof e.destroy&&e.destroy())}function s(e){if(l(),0===o.listenerCount(this,"error"))throw e}function l(){u.removeListener("data",n),e.removeListener("drain",r),u.removeListener("end",a),u.removeListener("close",i),u.removeListener("error",s),e.removeListener("error",s),u.removeListener("end",l),u.removeListener("close",l),e.removeListener("close",l)}var u=this;u.on("data",n),e.on("drain",r),e._isStdio||t&&t.end===!1||(u.on("end",a),u.on("close",i));var c=!1;return u.on("error",s),e.on("error",s),u.on("end",l),u.on("close",l),e.on("close",l),e.emit("pipe",u),e}},{events:279,inherits:325,"readable-stream/duplex.js":1270,"readable-stream/passthrough.js":1277,"readable-stream/readable.js":1278,"readable-stream/transform.js":1279,"readable-stream/writable.js":1280}],1296:[function(e,t,n){"use strict";t.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}},{}],1297:[function(e,t,n){function r(e){if(e&&!l(e))throw new Error("Unknown encoding: "+e)}function o(e){return e.toString(this.encoding)}function a(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function i(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}var s=e("buffer").Buffer,l=s.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}},u=n.StringDecoder=function(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),r(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=a;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=i;break;default:return void(this.write=o)}this.charBuffer=new s(6),this.charReceived=0,this.charLength=0};u.prototype.write=function(e){for(var t="";this.charLength;){var n=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,n),this.charReceived+=n,this.charReceived<this.charLength)return"";e=e.slice(n,e.length),t=this.charBuffer.slice(0,this.charLength).toString(this.encoding);var r=t.charCodeAt(t.length-1);if(!(r>=55296&&r<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var o=e.length;this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,o),o-=this.charReceived),t+=e.toString(this.encoding,0,o);var o=t.length-1,r=t.charCodeAt(o);if(r>=55296&&r<=56319){var a=this.surrogateSize;return this.charLength+=a,this.charReceived+=a,this.charBuffer.copy(this.charBuffer,a,0,a),e.copy(this.charBuffer,0,0,a),t.substring(0,o)}return t},u.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break;
|
58 | }}this.charReceived=t},u.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,r=this.charBuffer,o=this.encoding;t+=r.slice(0,n).toString(o)}return t}},{buffer:153}],1298:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("../utils/interleave"),a=r(o),i=e("../utils/flatten"),s=r(i);e("../types").babelPluginFlowReactPropTypes_proptype_RuleSet||e("react").PropTypes.any,e("../types").babelPluginFlowReactPropTypes_proptype_Interpolation||e("react").PropTypes.any;n.default=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return(0,s.default)((0,a.default)(e,n))},t.exports=n.default},{"../types":1310,"../utils/flatten":1314,"../utils/interleave":1316,react:1269}],1299:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("./css"),a=r(o),i=e("../models/GlobalStyle"),s=r(i),l=(e("../types").babelPluginFlowReactPropTypes_proptype_Interpolation||e("react").PropTypes.any,function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=new s.default(a.default.apply(void 0,[e].concat(n)));o.generateAndInject()});n.default=l,t.exports=n.default},{"../models/GlobalStyle":1306,"../types":1310,"./css":1298,react:1269}],1300:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("glamor/lib/hash"),a=r(o),i=e("./css"),s=r(i),l=e("../models/GlobalStyle"),u=r(l),c=(e("../types").babelPluginFlowReactPropTypes_proptype_NameGenerator||e("react").PropTypes.any,e("../types").babelPluginFlowReactPropTypes_proptype_Interpolation||e("react").PropTypes.any,function(e){return e.replace(/\s|\\n/g,"")});n.default=function(e){return function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var i=s.default.apply(void 0,[t].concat(r)),l=(0,a.default)(c(JSON.stringify(i))),d=e(l),f=new u.default(i,"@keyframes "+d);return f.generateAndInject(),d}},t.exports=n.default},{"../models/GlobalStyle":1306,"../types":1310,"./css":1298,"glamor/lib/hash":306,react:1269}],1301:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("./css"),a=r(o),i=e("../utils/domElements"),s=r(i);e("../types").babelPluginFlowReactPropTypes_proptype_Target||e("react").PropTypes.any,e("../types").babelPluginFlowReactPropTypes_proptype_Interpolation||e("react").PropTypes.any;n.default=function(e){var t=function(t){return function(n){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return e(t,a.default.apply(void 0,[n].concat(o)))}};return s.default.forEach(function(e){t[e]=t(e)}),t},t.exports=n.default},{"../types":1310,"../utils/domElements":1313,"./css":1298,react:1269}],1302:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(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)}Object.defineProperty(n,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=e("react"),d=r(c),f=e("../models/ThemeProvider");n.default=function(e){var t,n;return n=t=function(t){function n(){var e,t,r,o;a(this,n);for(var s=arguments.length,l=Array(s),u=0;u<s;u++)l[u]=arguments[u];return t=r=i(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(l))),r.state={},o=t,i(r,o)}return s(n,t),u(n,[{key:"componentWillMount",value:function(){var e=this;if(!this.context[f.CHANNEL])throw new Error("[withTheme] Please use ThemeProvider to be able to use withTheme");var t=this.context[f.CHANNEL];this.unsubscribe=t(function(t){e.setState({theme:t})})}},{key:"componentWillUnmount",value:function(){"function"==typeof this.unsubscribe&&this.unsubscribe()}},{key:"render",value:function(){var t=this.state.theme;return d.default.createElement(e,l({theme:t},this.props))}}]),n}(d.default.Component),t.contextTypes=o({},f.CHANNEL,d.default.PropTypes.func),n},t.exports=n.default},{"../models/ThemeProvider":1309,react:1269}],1303:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.withTheme=n.ThemeProvider=n.injectGlobal=n.keyframes=n.css=void 0;var o=e("./utils/generateAlphabeticName"),a=r(o),i=e("./constructors/css"),s=r(i),l=e("./constructors/injectGlobal"),u=r(l),c=e("./models/StyledComponent"),d=r(c),f=e("./constructors/styled"),p=r(f),h=e("./constructors/keyframes"),m=r(h),v=e("./models/ComponentStyle"),b=r(v),g=e("./models/ThemeProvider"),y=r(g),_=e("./hoc/withTheme"),M=r(_),w=(0,m.default)(a.default),S=(0,p.default)((0,d.default)((0,b.default)(a.default)));n.default=S,n.css=s.default,n.keyframes=w,n.injectGlobal=u.default,n.ThemeProvider=y.default,n.withTheme=M.default},{"./constructors/css":1298,"./constructors/injectGlobal":1299,"./constructors/keyframes":1300,"./constructors/styled":1301,"./hoc/withTheme":1302,"./models/ComponentStyle":1305,"./models/StyledComponent":1308,"./models/ThemeProvider":1309,"./utils/generateAlphabeticName":1315}],1304:[function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=e("react"),l=e("./ThemeProvider"),u=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),t}(s.Component);n.default=u,u.contextTypes=r({},l.CHANNEL,s.PropTypes.func),t.exports=n.default},{"./ThemeProvider":1309,react:1269}],1305:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=e("glamor/lib/hash"),s=r(i),l=e("../utils/flatten"),u=r(l),c=e("../vendor/postcss-safe-parser/parse"),d=r(c),f=e("../vendor/postcss-nested"),p=r(f),h=e("../utils/autoprefix"),m=r(h),v=e("./StyleSheet"),b=r(v);e("../types").babelPluginFlowReactPropTypes_proptype_GlamorInsertedRule||e("react").PropTypes.any,e("../types").babelPluginFlowReactPropTypes_proptype_NameGenerator||e("react").PropTypes.any,e("../types").babelPluginFlowReactPropTypes_proptype_RuleSet||e("react").PropTypes.any;n.default=function(e){var t={},n=function(){function n(e){o(this,n),this.rules=e,b.default.injected||b.default.inject(),this.insertedRule=b.default.insert("")}return a(n,[{key:"generateAndInjectStyles",value:function(n){var r=(0,u.default)(this.rules,n).join("").replace(/^\s*\/\/.*$/gm,""),o=(0,s.default)(r);if(!t[o]){var a=e(o);t[o]=a;var i=(0,d.default)("."+a+" { "+r+" }");(0,p.default)(i),(0,m.default)(i),this.insertedRule.appendRule(i.toResult().css)}return t[o]}}]),n}();return n},t.exports=n.default},{"../types":1310,"../utils/autoprefix":1311,"../utils/flatten":1314,"../vendor/postcss-nested":1320,"../vendor/postcss-safe-parser/parse":1321,"./StyleSheet":1307,"glamor/lib/hash":306,react:1269}],1306:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=e("../vendor/postcss-safe-parser/parse"),s=r(i),l=e("../vendor/postcss-nested"),u=r(l),c=e("../utils/flatten"),d=r(c),f=e("./StyleSheet"),p=r(f),h=(e("../types").babelPluginFlowReactPropTypes_proptype_RuleSet||e("react").PropTypes.any,function(){function e(t,n){o(this,e),this.rules=t,this.selector=n}return a(e,[{key:"generateAndInject",value:function(){p.default.injected||p.default.inject();var e=(0,d.default)(this.rules).join("");this.selector&&(e=this.selector+" {"+e+"\n}");var t=(0,s.default)(e);(0,u.default)(t),p.default.insert(t.toResult().css,{global:!0})}}]),e}());n.default=h,t.exports=n.default},{"../types":1310,"../utils/flatten":1314,"../vendor/postcss-nested":1320,"../vendor/postcss-safe-parser/parse":1321,"./StyleSheet":1307,react:1269}],1307:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=e("../vendor/glamor/sheet"),i=(e("../types").babelPluginFlowReactPropTypes_proptype_GlamorInsertedRule||e("react").PropTypes.any,e("../types").babelPluginFlowReactPropTypes_proptype_GlamorRule||e("react").PropTypes.any,function(){function e(){r(this,e),this.globalStyleSheet=new a.StyleSheet({speedy:!1}),this.componentStyleSheet=new a.StyleSheet({speedy:!1,maxLength:40})}return o(e,[{key:"inject",value:function(){this.globalStyleSheet.inject(),this.componentStyleSheet.inject()}},{key:"flush",value:function(){this.globalStyleSheet.sheet&&this.globalStyleSheet.flush(),this.componentStyleSheet.sheet&&this.componentStyleSheet.flush()}},{key:"insert",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!1},n=t.global?this.globalStyleSheet:this.componentStyleSheet;return n.insert(e)}},{key:"rules",value:function(){return this.globalStyleSheet.rules().concat(this.componentStyleSheet.rules())}},{key:"injected",get:function(){return this.globalStyleSheet.injected&&this.componentStyleSheet.injected}}]),e}());n.default=new i,t.exports=n.default},{"../types":1310,"../vendor/glamor/sheet":1319,react:1269}],1308:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=e("react"),c=e("../utils/validAttr"),d=r(c),f=e("../utils/isTag"),p=r(f),h=e("./AbstractStyledComponent"),m=r(h),v=e("./ThemeProvider");e("./ThemeProvider").babelPluginFlowReactPropTypes_proptype_Theme||e("react").PropTypes.any,e("../types").babelPluginFlowReactPropTypes_proptype_Target||e("react").PropTypes.any,e("../types").babelPluginFlowReactPropTypes_proptype_RuleSet||e("react").PropTypes.any;n.default=function(e){var t=function t(n,r,c){var f=m.default.isPrototypeOf(n);if(!(0,p.default)(n)&&f)return t(n.target,n.rules.concat(r),n);var h=new e(r),b=c||m.default,g=function(e){function t(){o(this,t);var e=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.state={theme:null,generatedClassName:""},e}return i(t,e),l(t,[{key:"generateAndInjectStyles",value:function(e,t){var n=s({},t,{theme:e});return h.generateAndInjectStyles(n)}},{key:"componentWillMount",value:function(){var e=this;if(this.context[v.CHANNEL]){var t=this.context[v.CHANNEL];this.unsubscribe=t(function(t){var n=e.constructor.defaultProps,r=n&&e.props.theme===n.theme,o=e.props.theme&&!r?e.props.theme:t,a=e.generateAndInjectStyles(o,e.props);e.setState({theme:o,generatedClassName:a})})}else{var n=this.props.theme||{},r=this.generateAndInjectStyles(n,this.props);this.setState({theme:n,generatedClassName:r})}}},{key:"componentWillReceiveProps",value:function(e){var t=this;this.setState(function(n){var r=t.constructor.defaultProps,o=r&&e.theme===r.theme,a=e.theme&&!o?e.theme:n.theme,i=t.generateAndInjectStyles(a,e);return{theme:a,generatedClassName:i}})}},{key:"componentWillUnmount",value:function(){this.unsubscribe&&this.unsubscribe()}},{key:"render",value:function(){var e=this,t=this.props,r=t.className,o=t.children,a=t.innerRef,i=this.state.generatedClassName,s={};return Object.keys(this.props).filter(function(e){return!(0,p.default)(n)||(0,d.default)(e)}).forEach(function(t){s[t]=e.props[t]}),s.className=[r,i].filter(function(e){return e}).join(" "),a&&(s.ref=a,(0,p.default)(n)&&delete s.innerRef),(0,u.createElement)(n,s,o)}}]),t}(b);return g.contextTypes=b.contextTypes,g.target=n,g.rules=r,g.displayName=(0,p.default)(n)?"styled."+n:"Styled("+(n.displayName||n.name||"Component")+")",g};return t},t.exports=n.default},{"../types":1310,"../utils/isTag":1317,"../utils/validAttr":1318,"./AbstractStyledComponent":1304,"./ThemeProvider":1309,react:1269}],1309:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(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)}Object.defineProperty(n,"__esModule",{value:!0}),n.CHANNEL=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=e("react"),d=r(c),f=e("is-function"),p=r(f),h=e("is-plain-object"),m=r(h),v=e("../utils/create-broadcast"),b=r(v),g=(e("../utils/create-broadcast").babelPluginFlowReactPropTypes_proptype_Broadcast||e("react").PropTypes.any,n.CHANNEL="__styled-components__");Object.defineProperty(t.exports,"babelPluginFlowReactPropTypes_proptype_Theme",{value:e("react").PropTypes.shape({})});var y=function(e){function t(){a(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.getTheme=e.getTheme.bind(e),e}return s(t,e),u(t,[{key:"componentWillMount",value:function(){var e=this;if(this.context[g]){var t=this.context[g];this.unsubscribeToOuter=t(function(t){e.outerTheme=t})}this.broadcast=(0,b.default)(this.getTheme())}},{key:"getChildContext",value:function(){return l({},this.context,o({},g,this.broadcast.subscribe))}},{key:"componentWillReceiveProps",value:function(e){this.props.theme!==e.theme&&this.broadcast.publish(this.getTheme(e.theme))}},{key:"componentWillUnmount",value:function(){this.context[g]&&this.unsubscribeToOuter()}},{key:"getTheme",value:function(e){var t=e||this.props.theme;if((0,p.default)(t)){var n=t(this.outerTheme);if(!(0,m.default)(n))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return n}if(!(0,m.default)(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return l({},this.outerTheme,t)}},{key:"render",value:function(){return this.props.children?d.default.Children.only(this.props.children):null}}]),t}(c.Component);y.propTypes={children:e("react").PropTypes.any,theme:e("react").PropTypes.oneOfType([e("react").PropTypes.shape({}),e("react").PropTypes.func]).isRequired},y.childContextTypes=o({},g,c.PropTypes.func.isRequired),y.contextTypes=o({},g,c.PropTypes.func),n.default=y},{"../utils/create-broadcast":1312,"is-function":364,"is-plain-object":366,react:1269}],1310:[function(e,t,n){"use strict";Object.defineProperty(t.exports,"babelPluginFlowReactPropTypes_proptype_GlamorRule",{value:e("react").PropTypes.shape({cssText:e("react").PropTypes.string.isRequired})})},{react:1269}],1311:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(n,"__esModule",{value:!0});var a=e("fbjs/lib/camelizeStyleName"),i=r(a),s=e("fbjs/lib/hyphenateStyleName"),l=r(s),u=e("inline-style-prefixer/static"),c=r(u);e("../vendor/postcss/container").babelPluginFlowReactPropTypes_proptype_Container||e("react").PropTypes.any;n.default=function(e){e.walkDecls(function(e){if(!/^--/.test(e.prop)){var t=o({},(0,i.default)(e.prop),e.value),n=(0,c.default)(t);Object.keys(n).reverse().forEach(function(t){var r=n[t],o=Array.isArray(r)?r:[r];o.forEach(function(n){e.cloneBefore({prop:(0,l.default)(t),value:n})})}),e.remove()}})},t.exports=n.default},{"../vendor/postcss/container":1325,"fbjs/lib/camelizeStyleName":284,"fbjs/lib/hyphenateStyleName":295,"inline-style-prefixer/static":342,react:1269}],1312:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(t.exports,"babelPluginFlowReactPropTypes_proptype_Broadcast",{value:e("react").PropTypes.shape({publish:e("react").PropTypes.func.isRequired,subscribe:e("react").PropTypes.func.isRequired})});var r=function(e){var t=[],n=e;return{publish:function(e){n=e,t.forEach(function(e){return e(n)})},subscribe:function(e){return t.push(e),e(n),function(){t=t.filter(function(t){return t!==e})}}}};n.default=r,t.exports=n.default},{react:1269}],1313:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],t.exports=n.default},{}],1314:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(n,"__esModule",{value:!0}),n.objToCss=void 0;var a=e("fbjs/lib/hyphenateStyleName"),i=r(a),s=e("is-plain-object"),l=r(s),u=(e("../types").babelPluginFlowReactPropTypes_proptype_Interpolation||e("react").PropTypes.any,n.objToCss=function e(t,n){var r=Object.keys(t).map(function(n){return(0,l.default)(t[n])?e(t[n],n):(0,i.default)(n)+": "+t[n]+";"}).join(" ");return n?n+" {\n "+r+"\n}":r}),c=function e(t,n){return t.reduce(function(t,r){return void 0===r||null===r||r===!1||""===r?t:Array.isArray(r)?[].concat(o(t),o(e(r,n))):"function"==typeof r?n?t.concat.apply(t,o(e([r(n)],n))):t.concat(r):t.concat((0,l.default)(r)?u(r):r.toString())},[])};n.default=c},{"../types":1310,"fbjs/lib/hyphenateStyleName":295,"is-plain-object":366,react:1269}],1315:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".split(""),o=function e(t){var n=r[t%r.length];return t>r.length?""+e(Math.floor(t/r.length))+n:n};n.default=o,t.exports=n.default},{}],1316:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});e("../types").babelPluginFlowReactPropTypes_proptype_Interpolation||e("react").PropTypes.any;n.default=function(e,t){return t.reduce(function(t,n,r){return t.concat(n,e[r+1])},[e[0]])},t.exports=n.default},{"../types":1310,react:1269}],1317:[function(e,t,n){"use strict";function r(e){return"string"==typeof e}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r;e("../types").babelPluginFlowReactPropTypes_proptype_Target||e("react").PropTypes.any;t.exports=n.default},{"../types":1310,react:1269}],1318:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={children:!0,dangerouslySetInnerHTML:!0,key:!0,ref:!0,autoFocus:!0,defaultValue:!0,valueLink:!0,defaultChecked:!0,checkedLink:!0,innerHTML:!0,suppressContentEditableWarning:!0,onFocusIn:!0,onFocusOut:!0,className:!0,onCopy:!0,onCut:!0,onPaste:!0,onCompositionEnd:!0,onCompositionStart:!0,onCompositionUpdate:!0,onKeyDown:!0,onKeyPress:!0,onKeyUp:!0,onFocus:!0,onBlur:!0,onChange:!0,onInput:!0,onSubmit:!0,onClick:!0,onContextMenu:!0,onDoubleClick:!0,onDrag:!0,onDragEnd:!0,onDragEnter:!0,onDragExit:!0,onDragLeave:!0,onDragOver:!0,onDragStart:!0,onDrop:!0,onMouseDown:!0,onMouseEnter:!0,onMouseLeave:!0,onMouseMove:!0,onMouseOut:!0,onMouseOver:!0,onMouseUp:!0,onSelect:!0,onTouchCancel:!0,onTouchEnd:!0,onTouchMove:!0,onTouchStart:!0,onScroll:!0,onWheel:!0,onAbort:!0,onCanPlay:!0,onCanPlayThrough:!0,onDurationChange:!0,onEmptied:!0,onEncrypted:!0,onEnded:!0,onError:!0,onLoadedData:!0,onLoadedMetadata:!0,onLoadStart:!0,onPause:!0,onPlay:!0,onPlaying:!0,onProgress:!0,onRateChange:!0,onSeeked:!0,onSeeking:!0,onStalled:!0,onSuspend:!0,onTimeUpdate:!0,onVolumeChange:!0,onWaiting:!0,onLoad:!0,onAnimationStart:!0,onAnimationEnd:!0,onAnimationIteration:!0,onTransitionEnd:!0,onCopyCapture:!0,onCutCapture:!0,onPasteCapture:!0,onCompositionEndCapture:!0,onCompositionStartCapture:!0,onCompositionUpdateCapture:!0,onKeyDownCapture:!0,onKeyPressCapture:!0,onKeyUpCapture:!0,onFocusCapture:!0,onBlurCapture:!0,onChangeCapture:!0,onInputCapture:!0,onSubmitCapture:!0,onClickCapture:!0,onContextMenuCapture:!0,onDoubleClickCapture:!0,onDragCapture:!0,onDragEndCapture:!0,onDragEnterCapture:!0,onDragExitCapture:!0,onDragLeaveCapture:!0,onDragOverCapture:!0,onDragStartCapture:!0,onDropCapture:!0,onMouseDownCapture:!0,onMouseEnterCapture:!0,onMouseLeaveCapture:!0,onMouseMoveCapture:!0,onMouseOutCapture:!0,onMouseOverCapture:!0,onMouseUpCapture:!0,onSelectCapture:!0,onTouchCancelCapture:!0,onTouchEndCapture:!0,onTouchMoveCapture:!0,onTouchStartCapture:!0,onScrollCapture:!0,onWheelCapture:!0,onAbortCapture:!0,onCanPlayCapture:!0,onCanPlayThroughCapture:!0,onDurationChangeCapture:!0,onEmptiedCapture:!0,onEncryptedCapture:!0,onEndedCapture:!0,onErrorCapture:!0,onLoadedDataCapture:!0,onLoadedMetadataCapture:!0,onLoadStartCapture:!0,onPauseCapture:!0,onPlayCapture:!0,onPlayingCapture:!0,onProgressCapture:!0,onRateChangeCapture:!0,onSeekedCapture:!0,onSeekingCapture:!0,onStalledCapture:!0,onSuspendCapture:!0,onTimeUpdateCapture:!0,onVolumeChangeCapture:!0,onWaitingCapture:!0,onLoadCapture:!0,onAnimationStartCapture:!0,onAnimationEndCapture:!0,onAnimationIterationCapture:!0,onTransitionEndCapture:!0},o={accept:!0,acceptCharset:!0,accessKey:!0,action:!0,allowFullScreen:!0,allowTransparency:!0,alt:!0,as:!0,async:!0,autoComplete:!0,autoPlay:!0,capture:!0,cellPadding:!0,cellSpacing:!0,charSet:!0,challenge:!0,checked:!0,cite:!0,classID:!0,className:!0,cols:!0,colSpan:!0,content:!0,contentEditable:!0,contextMenu:!0,controls:!0,coords:!0,crossOrigin:!0,data:!0,dateTime:!0,default:!0,defer:!0,dir:!0,disabled:!0,download:!0,draggable:!0,encType:!0,form:!0,formAction:!0,formEncType:!0,formMethod:!0,formNoValidate:!0,formTarget:!0,frameBorder:!0,headers:!0,height:!0,hidden:!0,high:!0,href:!0,hrefLang:!0,htmlFor:!0,httpEquiv:!0,icon:!0,id:!0,inputMode:!0,integrity:!0,is:!0,keyParams:!0,keyType:!0,kind:!0,label:!0,lang:!0,list:!0,loop:!0,low:!0,manifest:!0,marginHeight:!0,marginWidth:!0,max:!0,maxLength:!0,media:!0,mediaGroup:!0,method:!0,min:!0,minLength:!0,multiple:!0,muted:!0,name:!0,nonce:!0,noValidate:!0,open:!0,optimum:!0,pattern:!0,placeholder:!0,playsInline:!0,poster:!0,preload:!0,profile:!0,radioGroup:!0,readOnly:!0,referrerPolicy:!0,rel:!0,required:!0,reversed:!0,role:!0,rows:!0,rowSpan:!0,sandbox:!0,scope:!0,scoped:!0,scrolling:!0,seamless:!0,selected:!0,shape:!0,size:!0,sizes:!0,span:!0,spellCheck:!0,src:!0,srcDoc:!0,srcLang:!0,srcSet:!0,start:!0,step:!0,style:!0,summary:!0,tabIndex:!0,target:!0,title:!0,type:!0,useMap:!0,value:!0,width:!0,wmode:!0,wrap:!0,about:!0,datatype:!0,inlist:!0,prefix:!0,property:!0,resource:!0,typeof:!0,vocab:!0,autoCapitalize:!0,autoCorrect:!0,autoSave:!0,color:!0,itemProp:!0,itemScope:!0,itemType:!0,itemID:!0,itemRef:!0,results:!0,security:!0,unselectable:0},a={accentHeight:!0,accumulate:!0,additive:!0,alignmentBaseline:!0,allowReorder:!0,alphabetic:!0,amplitude:!0,arabicForm:!0,ascent:!0,attributeName:!0,attributeType:!0,autoReverse:!0,azimuth:!0,baseFrequency:!0,baseProfile:!0,baselineShift:!0,bbox:!0,begin:!0,bias:!0,by:!0,calcMode:!0,capHeight:!0,clip:!0,clipPath:!0,clipRule:!0,clipPathUnits:!0,colorInterpolation:!0,colorInterpolationFilters:!0,colorProfile:!0,colorRendering:!0,contentScriptType:!0,contentStyleType:!0,cursor:!0,cx:!0,cy:!0,d:!0,decelerate:!0,descent:!0,diffuseConstant:!0,direction:!0,display:!0,divisor:!0,dominantBaseline:!0,dur:!0,dx:!0,dy:!0,edgeMode:!0,elevation:!0,enableBackground:!0,end:!0,exponent:!0,externalResourcesRequired:!0,fill:!0,fillOpacity:!0,fillRule:!0,filter:!0,filterRes:!0,filterUnits:!0,floodColor:!0,floodOpacity:!0,focusable:!0,fontFamily:!0,fontSize:!0,fontSizeAdjust:!0,fontStretch:!0,fontStyle:!0,fontVariant:!0,fontWeight:!0,format:!0,from:!0,fx:!0,fy:!0,g1:!0,g2:!0,glyphName:!0,glyphOrientationHorizontal:!0,glyphOrientationVertical:!0,glyphRef:!0,gradientTransform:!0,gradientUnits:!0,hanging:!0,horizAdvX:!0,horizOriginX:!0,ideographic:!0,imageRendering:!0,in:!0,in2:!0,intercept:!0,k:!0,k1:!0,k2:!0,k3:!0,k4:!0,kernelMatrix:!0,kernelUnitLength:!0,kerning:!0,keyPoints:!0,keySplines:!0,keyTimes:!0,lengthAdjust:!0,letterSpacing:!0,lightingColor:!0,limitingConeAngle:!0,local:!0,markerEnd:!0,markerMid:!0,markerStart:!0,markerHeight:!0,markerUnits:!0,markerWidth:!0,mask:!0,maskContentUnits:!0,maskUnits:!0,mathematical:!0,mode:!0,numOctaves:!0,offset:!0,opacity:!0,operator:!0,order:!0,orient:!0,orientation:!0,origin:!0,overflow:!0,overlinePosition:!0,overlineThickness:!0,paintOrder:!0,panose1:!0,pathLength:!0,patternContentUnits:!0,patternTransform:!0,patternUnits:!0,pointerEvents:!0,points:!0,pointsAtX:!0,pointsAtY:!0,pointsAtZ:!0,preserveAlpha:!0,preserveAspectRatio:!0,primitiveUnits:!0,r:!0,radius:!0,refX:!0,refY:!0,renderingIntent:!0,repeatCount:!0,repeatDur:!0,requiredExtensions:!0,requiredFeatures:!0,restart:!0,result:!0,rotate:!0,rx:!0,ry:!0,scale:!0,seed:!0,shapeRendering:!0,slope:!0,spacing:!0,specularConstant:!0,specularExponent:!0,speed:!0,spreadMethod:!0,startOffset:!0,stdDeviation:!0,stemh:!0,stemv:!0,stitchTiles:!0,stopColor:!0,stopOpacity:!0,strikethroughPosition:!0,strikethroughThickness:!0,string:!0,stroke:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeLinecap:!0,strokeLinejoin:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0,surfaceScale:!0,systemLanguage:!0,tableValues:!0,targetX:!0,targetY:!0,textAnchor:!0,textDecoration:!0,textRendering:!0,textLength:!0,to:!0,transform:!0,u1:!0,u2:!0,underlinePosition:!0,underlineThickness:!0,unicode:!0,unicodeBidi:!0,unicodeRange:!0,unitsPerEm:!0,vAlphabetic:!0,vHanging:!0,vIdeographic:!0,vMathematical:!0,values:!0,vectorEffect:!0,version:!0,vertAdvY:!0,vertOriginX:!0,vertOriginY:!0,viewBox:!0,viewTarget:!0,visibility:!0,widths:!0,wordSpacing:!0,writingMode:!0,x:!0,xHeight:!0,x1:!0,x2:!0,xChannelSelector:!0,xlinkActuate:!0,xlinkArcrole:!0,xlinkHref:!0,xlinkRole:!0,xlinkShow:!0,xlinkTitle:!0,xlinkType:!0,xmlBase:!0,xmlns:!0,xmlnsXlink:!0,xmlLang:!0,xmlSpace:!0,y:!0,y1:!0,y2:!0,yChannelSelector:!0,z:!0,zoomAndPan:!0},i=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",s=i+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",l=RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+s+"]*$")),u={}.hasOwnProperty;n.default=function(e){return u.call(o,e)||u.call(a,e)||l(e.toLowerCase())||u.call(r,e)},t.exports=n.default},{}],1319:[function(e,t,n){(function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e){return e[e.length-1]}function a(e){for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function i(){var e=document.createElement("style");return e.type="text/css",e.appendChild(document.createTextNode("")),(document.head||document.getElementsByTagName("head")[0]).appendChild(e),e}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),
|
59 | t}}(),l="undefined"!=typeof document,u=function(e){return"development"===e||!e}(e.env.NODE_ENV),c="test"===e.env.NODE_ENV,d=function(){if(l){var e=document.createElement("div");return e.innerHTML="<!--[if lt IE 10]><i></i><![endif]-->",1===e.getElementsByTagName("i").length}}();n.StyleSheet=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.speedy,o=void 0===n?!u&&!c:n,a=t.maxLength,i=void 0===a?l&&d?4e3:65e3:a;r(this,e),this.isSpeedy=o,this.sheet=void 0,this.tags=[],this.maxLength=i,this.ctr=0}return s(e,[{key:"inject",value:function(){var e=this;if(this.injected)throw new Error("already injected stylesheet!");l?(this.tags[0]=i(),this.sheet=a(this.tags[0])):this.sheet={cssRules:[],insertRule:function(t){var n={cssText:t};return e.sheet.cssRules.push(n),{serverRule:n,appendRule:function(e){return n.cssText+=e}}}},this.injected=!0}},{key:"speedy",value:function(e){if(0!==this.ctr)throw new Error("cannot change speedy mode after inserting any rule to sheet. Either call speedy("+e+") earlier in your app, or call flush() before speedy("+e+")");this.isSpeedy=!!e}},{key:"_insert",value:function(e){try{this.sheet.insertRule(e,this.sheet.cssRules.length)}catch(t){u&&console.warn("whoops, illegal rule inserted",e)}}},{key:"insert",value:function(e){var t=void 0;if(l)if(this.isSpeedy&&this.sheet.insertRule)this._insert(e);else{var n=document.createTextNode(e);o(this.tags).appendChild(n),t={textNode:n,appendRule:function(e){return n.appendData(e)}},this.isSpeedy||(this.sheet=a(o(this.tags)))}else t=this.sheet.insertRule(e);return this.ctr++,l&&this.ctr%this.maxLength===0&&(this.tags.push(i()),this.sheet=a(o(this.tags))),t}},{key:"flush",value:function(){l?(this.tags.forEach(function(e){return e.parentNode.removeChild(e)}),this.tags=[],this.sheet=null,this.ctr=0):this.sheet.cssRules=[],this.injected=!1}},{key:"rules",value:function(){if(!l)return this.sheet.cssRules;var e=[];return this.tags.forEach(function(n){return e.splice.apply(e,[e.length,0].concat(t(Array.from(a(n).cssRules))))}),e}}]),e}()}).call(this,e("_process"))},{_process:828}],1320:[function(e,t,n){"use strict";function r(e,t){var n=[];return e.selectors.forEach(function(e){t.selectors.forEach(function(t){t.indexOf("&")===-1?n.push(e+" "+t):n.push(t.replace(/&/g,e))})}),n}function o(e,t){return e&&"comment"===e.type?e.moveAfter(t):t}function a(e,t){var n=[];if(t.each(function(t){"comment"===t.type&&n.push(t),"decl"===t.type?n.push(t):"rule"===t.type?t.selectors=r(e,t):"atrule"===t.type&&a(e,t)}),n.length){for(var o=e.clone({nodes:[]}),i=0;i<n.length;i++)n[i].moveTo(o);t.prepend(o)}}function i(e,t){var n=!1,i=e;e.each(function(s){"rule"===s.type?(n=!0,s.selectors=r(e,s),i=o(s.prev(),i),i=s.moveAfter(i)):"atrule"===s.type&&t.indexOf(s.name)!==-1&&(n=!0,a(e,s),i=o(s.prev(),i),i=s.moveAfter(i))}),n&&(e.raws.semicolon=!0,0===e.nodes.length&&e.remove())}Object.defineProperty(n,"__esModule",{value:!0});var s=["media","supports","document"],l=function e(t){t.each(function(t){"rule"===t.type?i(t,s):"atrule"===t.type&&e(t)})};n.default=l,t.exports=n.default},{}],1321:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=new i.default(e,t),r=new l.default(n);return r.tokenize(),r.loop(),r.root}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var a=e("../postcss/input"),i=r(a),s=e("./safe-parser"),l=r(s);t.exports=n.default},{"../postcss/input":1328,"./safe-parser":1322}],1322:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=e("../postcss/tokenize"),u=r(l),c=e("../postcss/comment"),d=r(c),f=e("../postcss/parser"),p=r(f),h=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),s(t,[{key:"tokenize",value:function(){this.tokens=(0,u.default)(this.input,{ignoreErrors:!0})}},{key:"comment",value:function(e){var t=new d.default;this.init(t,e[2],e[3]),t.source.end={line:e[4],column:e[5]};var n=e[1].slice(2);if("*/"===n.slice(-2)&&(n=n.slice(0,-2)),/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{var r=n.match(/^(\s*)([^]*[^\s])(\s*)$/);t.text=r[2],t.raws.left=r[1],t.raws.right=r[3]}}},{key:"unclosedBracket",value:function(){}},{key:"unknownWord",value:function(e){var t=this.tokens.slice(e,this.pos+1);this.spaces+=t.map(function(e){return e[1]}).join("")}},{key:"unexpectedClose",value:function(){this.current.raws.after+="}"}},{key:"doubleColon",value:function(){}},{key:"unnamedAtrule",value:function(e){e.name=""}},{key:"precheckMissedSemicolon",value:function(e){var t=this.colon(e);if(t!==!1){var n=void 0;for(n=t-1;n>=0&&"word"!==e[n][0];n--);for(n-=1;n>=0;n--)if("space"!==e[n][0]){n+=1;break}var r=e.splice(n,e.length-n);this.decl(r)}}},{key:"checkMissedSemicolon",value:function(){}},{key:"endFile",value:function(){for(this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.current.parent;)this.current=this.current.parent,this.current.raws.after=""}}]),t}(p.default);n.default=h,t.exports=n.default},{"../postcss/comment":1324,"../postcss/parser":1333,"../postcss/tokenize":1341}],1323:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;if(void 0!==i)return i.call(r)},u=e("./container"),c=r(u),d=e("./warn-once"),f=r(d),p=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.type="atrule",n}return i(t,e),s(t,[{key:"append",value:function(){var e;this.nodes||(this.nodes=[]);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"append",this)).call.apply(e,[this].concat(r))}},{key:"prepend",value:function(){var e;this.nodes||(this.nodes=[]);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"prepend",this)).call.apply(e,[this].concat(r))}},{key:"afterName",get:function(){return(0,f.default)("AtRule#afterName was deprecated. Use AtRule#raws.afterName"),this.raws.afterName},set:function(e){(0,f.default)("AtRule#afterName was deprecated. Use AtRule#raws.afterName"),this.raws.afterName=e}},{key:"_params",get:function(){return(0,f.default)("AtRule#_params was deprecated. Use AtRule#raws.params"),this.raws.params},set:function(e){(0,f.default)("AtRule#_params was deprecated. Use AtRule#raws.params"),this.raws.params=e}}]),t}(c.default);n.default=p,t.exports=n.default},{"./container":1325,"./warn-once":1342}],1324:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=e("./warn-once"),u=r(l),c=e("./node"),d=r(c),f=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.type="comment",n}return i(t,e),s(t,[{key:"left",get:function(){return(0,u.default)("Comment#left was deprecated. Use Comment#raws.left"),this.raws.left},set:function(e){(0,u.default)("Comment#left was deprecated. Use Comment#raws.left"),this.raws.left=e}},{key:"right",get:function(){return(0,u.default)("Comment#right was deprecated. Use Comment#raws.right"),this.raws.right},set:function(e){(0,u.default)("Comment#right was deprecated. Use Comment#raws.right"),this.raws.right=e}}]),t}(d.default);n.default=f,t.exports=n.default},{"./node":1331,"./warn-once":1342}],1325:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}function s(e){return e.map(function(e){return e.nodes&&(e.nodes=s(e.nodes)),delete e.source,e})}Object.defineProperty(n,"__esModule",{value:!0});var l=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;if(void 0!==i)return i.call(r)},c=e("./parse"),d=r(c),f=e("./root"),p=r(f),h=e("./rule"),m=r(h),v=e("./at-rule"),b=r(v),g=e("./declaration"),y=r(g),_=e("./warn-once"),M=r(_),w=e("./comment"),S=r(w),C=e("./node"),x=r(C),k=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),l(t,[{key:"push",value:function(e){return e.parent=this,this.nodes.push(e),this}},{key:"each",value:function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var t=this.lastEach;if(this.indexes[t]=0,this.nodes){for(var n=void 0,r=void 0;this.indexes[t]<this.nodes.length&&(n=this.indexes[t],r=e(this.nodes[n],n),r!==!1);)this.indexes[t]+=1;return delete this.indexes[t],r}}},{key:"walk",value:function(e){return this.each(function(t,n){var r=e(t,n);return r!==!1&&t.walk&&(r=t.walk(e)),r})}},{key:"walkDecls",value:function(e,t){return t?e instanceof RegExp?this.walk(function(n,r){if("decl"===n.type&&e.test(n.prop))return t(n,r)}):this.walk(function(n,r){if("decl"===n.type&&n.prop===e)return t(n,r)}):(t=e,this.walk(function(e,n){if("decl"===e.type)return t(e,n)}))}},{key:"walkRules",value:function(e,t){return t?e instanceof RegExp?this.walk(function(n,r){if("rule"===n.type&&e.test(n.selector))return t(n,r)}):this.walk(function(n,r){if("rule"===n.type&&n.selector===e)return t(n,r)}):(t=e,this.walk(function(e,n){if("rule"===e.type)return t(e,n)}))}},{key:"walkAtRules",value:function(e,t){return t?e instanceof RegExp?this.walk(function(n,r){if("atrule"===n.type&&e.test(n.name))return t(n,r)}):this.walk(function(n,r){if("atrule"===n.type&&n.name===e)return t(n,r)}):(t=e,this.walk(function(e,n){if("atrule"===e.type)return t(e,n)}))}},{key:"walkComments",value:function(e){return this.walk(function(t,n){if("comment"===t.type)return e(t,n)})}},{key:"append",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach(function(t){var n=e.normalize(t,e.last);n.forEach(function(t){return e.nodes.push(t)})}),this}},{key:"prepend",value:function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return n=n.reverse(),n.forEach(function(t){var n=e.normalize(t,e.first,"prepend").reverse();n.forEach(function(t){return e.nodes.unshift(t)});for(var r in e.indexes)e.indexes[r]=e.indexes[r]+n.length}),this}},{key:"cleanRaws",value:function(e){u(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"cleanRaws",this).call(this,e),this.nodes&&this.nodes.forEach(function(t){return t.cleanRaws(e)})}},{key:"insertBefore",value:function(e,t){var n=this;e=this.index(e);var r=0===e&&"prepend",o=this.normalize(t,this.nodes[e],r).reverse();o.forEach(function(t){return n.nodes.splice(e,0,t)});var a=void 0;for(var i in this.indexes)a=this.indexes[i],e<=a&&(this.indexes[i]=a+o.length);return this}},{key:"insertAfter",value:function(e,t){var n=this;e=this.index(e);var r=this.normalize(t,this.nodes[e]).reverse();r.forEach(function(t){return n.nodes.splice(e+1,0,t)});var o=void 0;for(var a in this.indexes)o=this.indexes[a],e<o&&(this.indexes[a]=o+r.length);return this}},{key:"remove",value:function(e){return"undefined"!=typeof e?((0,M.default)("Container#remove is deprecated. Use Container#removeChild"),this.removeChild(e)):u(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this),this}},{key:"removeChild",value:function(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);var t=void 0;for(var n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this}},{key:"removeAll",value:function(){return this.nodes.forEach(function(e){return e.parent=void 0}),this.nodes=[],this}},{key:"replaceValues",value:function(e,t,n){return n||(n=t,t={}),this.walkDecls(function(r){t.props&&t.props.indexOf(r.prop)===-1||t.fast&&r.value.indexOf(t.fast)===-1||(r.value=r.value.replace(e,n))}),this}},{key:"every",value:function(e){return this.nodes.every(e)}},{key:"some",value:function(e){return this.nodes.some(e)}},{key:"index",value:function(e){return"number"==typeof e?e:this.nodes.indexOf(e)}},{key:"normalize",value:function(e,t){var n=this;if("string"==typeof e)e=s((0,d.default)(e).nodes);else if(!Array.isArray(e))if("root"===e.type)e=e.nodes;else if(e.type)e=[e];else if(e.prop){if("undefined"==typeof e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new y.default(e)]}else if(e.selector)e=[new m.default(e)];else if(e.name)e=[new b.default(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new S.default(e)]}var r=e.map(function(e){return"undefined"==typeof e.raws&&(e=n.rebuild(e)),e.parent&&(e=e.clone()),"undefined"==typeof e.raws.before&&t&&"undefined"!=typeof t.raws.before&&(e.raws.before=t.raws.before.replace(/[^\s]/g,"")),e.parent=n,e});return r}},{key:"rebuild",value:function(e,t){var n=this,r=void 0;"root"===e.type?r=new p.default:"atrule"===e.type?r=new b.default:"rule"===e.type?r=new m.default:"decl"===e.type?r=new y.default:"comment"===e.type&&(r=new S.default);for(var o in e)"nodes"===o?r.nodes=e.nodes.map(function(e){return n.rebuild(e,r)}):"parent"===o&&t?r.parent=t:e.hasOwnProperty(o)&&(r[o]=e[o]);return r}},{key:"eachInside",value:function(e){return(0,M.default)("Container#eachInside is deprecated. Use Container#walk instead."),this.walk(e)}},{key:"eachDecl",value:function(e,t){return(0,M.default)("Container#eachDecl is deprecated. Use Container#walkDecls instead."),this.walkDecls(e,t)}},{key:"eachRule",value:function(e,t){return(0,M.default)("Container#eachRule is deprecated. Use Container#walkRules instead."),this.walkRules(e,t)}},{key:"eachAtRule",value:function(e,t){return(0,M.default)("Container#eachAtRule is deprecated. Use Container#walkAtRules instead."),this.walkAtRules(e,t)}},{key:"eachComment",value:function(e){return(0,M.default)("Container#eachComment is deprecated. Use Container#walkComments instead."),this.walkComments(e)}},{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}},{key:"semicolon",get:function(){return(0,M.default)("Node#semicolon is deprecated. Use Node#raws.semicolon"),this.raws.semicolon},set:function(e){(0,M.default)("Node#semicolon is deprecated. Use Node#raws.semicolon"),this.raws.semicolon=e}},{key:"after",get:function(){return(0,M.default)("Node#after is deprecated. Use Node#raws.after"),this.raws.after},set:function(e){(0,M.default)("Node#after is deprecated. Use Node#raws.after"),this.raws.after=e}}]),t}(x.default);n.default=k,t.exports=n.default},{"./at-rule":1323,"./comment":1324,"./declaration":1327,"./node":1331,"./parse":1332,"./root":1336,"./rule":1337,"./warn-once":1342}],1326:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=e("supports-color"),s=r(i),l=e("./terminal-highlight"),u=r(l),c=e("./warn-once"),d=r(c),f=function(){function e(t,n,r,a,i,s){o(this,e),this.name="CssSyntaxError",this.reason=t,i&&(this.file=i),a&&(this.source=a),s&&(this.plugin=s),"undefined"!=typeof n&&"undefined"!=typeof r&&(this.line=n,this.column=r),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}return a(e,[{key:"setMessage",value:function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>","undefined"!=typeof this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}},{key:"showSourceCode",value:function(e){var t=this;if(!this.source)return"";var n=this.source;"undefined"==typeof e&&(e=s.default),e&&(n=(0,u.default)(n));var r=n.split(/\r?\n/),o=Math.max(this.line-3,0),a=Math.min(this.line+2,r.length),i=String(a).length;return r.slice(o,a).map(function(e,n){var r=o+1+n,a=(" "+r).slice(-i),s=" "+a+" | ";if(r===t.line){var l=s.replace(/\d/g," ")+e.slice(0,t.column-1).replace(/[^\t]/g," ");return">"+s+e+"\n "+l+"^"}return" "+s+e}).join("\n")}},{key:"toString",value:function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}},{key:"generated",get:function(){return(0,d.default)("CssSyntaxError#generated is depreacted. Use input instead."),this.input}}]),e}();n.default=f,t.exports=n.default},{"./terminal-highlight":1340,"./warn-once":1342,"supports-color":1351}],1327:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=e("./warn-once"),u=r(l),c=e("./node"),d=r(c),f=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.type="decl",n}return i(t,e),s(t,[{key:"_value",get:function(){return(0,u.default)("Node#_value was deprecated. Use Node#raws.value"),this.raws.value},set:function(e){(0,u.default)("Node#_value was deprecated. Use Node#raws.value"),this.raws.value=e}},{key:"_important",get:function(){return(0,u.default)("Node#_important was deprecated. Use Node#raws.important"),this.raws.important},set:function(e){(0,u.default)("Node#_important was deprecated. Use Node#raws.important"),this.raws.important=e}}]),t}(d.default);n.default=f,t.exports=n.default},{"./node":1331,"./warn-once":1342}],1328:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();e("./root");var i=e("./css-syntax-error"),s=r(i),l=0,u=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,e),this.css=t.toString(),"\ufeff"!==this.css[0]&&""!==this.css[0]||(this.css=this.css.slice(1)),n.from&&(/^\w+:\/\//.test(n.from)?this.file=n.from:this.file=path.resolve(n.from)),this.file||(l+=1,this.id="<input css "+l+">"),this.map&&(this.map.file=this.from)}return a(e,[{key:"error",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0,a=this.origin(t,n);return o=a?new s.default(e,a.line,a.column,a.source,a.file,r.plugin):new s.default(e,t,n,this.css,this.file,r.plugin),o.input={line:t,column:n,source:this.css},this.file&&(o.input.file=this.file),o}},{key:"origin",value:function(e,t){if(!this.map)return!1;var n=this.map.consumer(),r=n.originalPositionFor({line:e,column:t});if(!r.source)return!1;var o={file:this.mapResolve(r.source),line:r.line,column:r.column},a=n.sourceContentFor(r.source);return a&&(o.source=a),o}},{key:"mapResolve",value:function(e){return/^\w+:\/\//.test(e)?e:path.resolve(this.map.consumer().sourceRoot||".",e)}},{key:"from",get:function(){return this.file||this.id}}]),e}();n.default=u,t.exports=n.default},{"./css-syntax-error":1326,"./root":1336}],1329:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e){return"object"===("undefined"==typeof e?"undefined":s(e))&&"function"==typeof e.then}Object.defineProperty(n,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l=e("./stringify"),u=r(l),c=e("./warn-once"),d=r(c),f=e("./result"),p=r(f),h=e("./parse"),m=r(h),v=function(){function e(t,n,r){o(this,e),this.stringified=!1,this.processed=!1;var a=void 0;if("object"===("undefined"==typeof n?"undefined":s(n))&&"root"===n.type)a=n;else if(n instanceof e||n instanceof p.default)a=n.root,n.map&&("undefined"==typeof r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{var i=m.default;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{a=i(n,r)}catch(e){this.error=e}}this.result=new p.default(t,a,r)}return i(e,[{key:"warnings",value:function(){return this.sync().warnings()}},{key:"toString",value:function(){return this.css}},{key:"then",value:function(e,t){return this.async().then(e,t)}},{key:"catch",value:function(e){return this.async().catch(e)}},{key:"handleError",value:function(e,t){try{if(this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(t.postcssVersion){var n=t.postcssPlugin,r=t.postcssVersion,o=this.result.processor.version,a=r.split("."),i=o.split(".");(a[0]!==i[0]||parseInt(a[1])>parseInt(i[1]))&&(0,d.default)("Your current PostCSS version is "+o+", but "+n+" uses "+r+". Perhaps this is the source of the error below.")}}else e.plugin=t.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}}},{key:"asyncTick",value:function(e,t){var n=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,e();try{var r=this.processor.plugins[this.plugin],o=this.run(r);this.plugin+=1,a(o)?o.then(function(){n.asyncTick(e,t)}).catch(function(e){n.handleError(e,r),n.processed=!0,t(e)}):this.asyncTick(e,t)}catch(e){this.processed=!0,t(e)}}},{key:"async",value:function(){var e=this;return this.processed?new Promise(function(t,n){e.error?n(e.error):t(e.stringify())}):this.processing?this.processing:(this.processing=new Promise(function(t,n){return e.error?n(e.error):(e.plugin=0,void e.asyncTick(t,n))}).then(function(){return e.processed=!0,e.stringify()}),this.processing)}},{key:"sync",value:function(){var e=this;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;return this.result.processor.plugins.forEach(function(t){var n=e.run(t);if(a(n))throw new Error("Use process(css).then(cb) to work with async plugins")}),this.result}},{key:"run",value:function(e){this.result.lastPlugin=e;try{return e(this.result.root,this.result)}catch(t){throw this.handleError(t,e),t}}},{key:"stringify",value:function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=u.default;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var n="";return t(this.root,function(e){n+=e}),this.result.css=n,this.result}},{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]),e}();n.default=v,t.exports=n.default},{"./parse":1332,"./result":1335,"./stringify":1339,"./warn-once":1342}],1330:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={split:function e(t,n,r){for(var o=[],a="",e=!1,i=0,s=!1,l=!1,u=0;u<t.length;u++){var c=t[u];s?l?l=!1:"\\"===c?l=!0:c===s&&(s=!1):'"'===c||"'"===c?s=c:"("===c?i+=1:")"===c?i>0&&(i-=1):0===i&&n.indexOf(c)!==-1&&(e=!0),e?(""!==a&&o.push(a.trim()),a="",e=!1):a+=c}return(r||""!==a)&&o.push(a.trim()),o},space:function(e){var t=[" ","\n","\t"];return r.split(e,t)},comma:function e(t){var e=",";return r.split(t,[e],!0)}};n.default=r,t.exports=n.default},{}],1331:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=e("./css-syntax-error"),l=r(s),u=e("./stringifier"),c=r(u),d=e("./stringify"),f=r(d),p=e("./warn-once"),h=r(p),m=function e(t,n){var r=new t.constructor;for(var o in t)if(t.hasOwnProperty(o)){var a=t[o],s="undefined"==typeof a?"undefined":i(a);"parent"===o&&"object"===s?n&&(r[o]=n):"source"===o?r[o]=a:a instanceof Array?r[o]=a.map(function(t){return e(t,r)}):"before"!==o&&"after"!==o&&"between"!==o&&"semicolon"!==o&&("object"===s&&null!==a&&(a=e(a)),r[o]=a)}return r},v=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,e),this.raws={};for(var n in t)this[n]=t[n]}return a(e,[{key:"error",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.source){var n=this.positionBy(t);return this.source.input.error(e,n.line,n.column,t)}return new l.default(e)}},{key:"warn",value:function(e,t,n){var r={node:this};for(var o in n)r[o]=n[o];return e.warn(t,r)}},{key:"remove",value:function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}},{key:"toString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:f.default;e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t}},{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=m(this);for(var n in e)t[n]=e[n];return t}},{key:"cloneBefore",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.clone(e);return this.parent.insertBefore(this,t),t}},{key:"cloneAfter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.clone(e);return this.parent.insertAfter(this,t),t}},{key:"replaceWith",value:function(){var e=this;if(this.parent){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];n.forEach(function(t){e.parent.insertBefore(e,t)}),this.remove()}return this}},{key:"moveTo",value:function(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this}},{key:"moveBefore",value:function(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this}},{key:"moveAfter",value:function(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this}},{key:"next",value:function(){var e=this.parent.index(this);return this.parent.nodes[e+1]}},{key:"prev",value:function(){var e=this.parent.index(this);return this.parent.nodes[e-1]}},{key:"toJSON",value:function(){var e={};for(var t in this)if(this.hasOwnProperty(t)&&"parent"!==t){var n=this[t];n instanceof Array?e[t]=n.map(function(e){return"object"===("undefined"==typeof e?"undefined":i(e))&&e.toJSON?e.toJSON():e}):"object"===("undefined"==typeof n?"undefined":i(n))&&n.toJSON?e[t]=n.toJSON():e[t]=n}return e}},{key:"raw",value:function(e,t){var n=new c.default;return n.raw(this,e,t)}},{key:"root",value:function(){
|
60 | for(var e=this;e.parent;)e=e.parent;return e}},{key:"cleanRaws",value:function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}},{key:"positionInside",value:function(e){for(var t=this.toString(),n=this.source.start.column,r=this.source.start.line,o=0;o<e;o++)"\n"===t[o]?(n=1,r+=1):n+=1;return{line:r,column:n}}},{key:"positionBy",value:function(e){var t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){var n=this.toString().indexOf(e.word);n!==-1&&(t=this.positionInside(n))}return t}},{key:"removeSelf",value:function(){return(0,h.default)("Node#removeSelf is deprecated. Use Node#remove."),this.remove()}},{key:"replace",value:function(e){return(0,h.default)("Node#replace is deprecated. Use Node#replaceWith"),this.replaceWith(e)}},{key:"style",value:function(e,t){return(0,h.default)("Node#style() is deprecated. Use Node#raw()"),this.raw(e,t)}},{key:"cleanStyles",value:function(e){return(0,h.default)("Node#cleanStyles() is deprecated. Use Node#cleanRaws()"),this.cleanRaws(e)}},{key:"before",get:function(){return(0,h.default)("Node#before is deprecated. Use Node#raws.before"),this.raws.before},set:function(e){(0,h.default)("Node#before is deprecated. Use Node#raws.before"),this.raws.before=e}},{key:"between",get:function(){return(0,h.default)("Node#between is deprecated. Use Node#raws.between"),this.raws.between},set:function(e){(0,h.default)("Node#between is deprecated. Use Node#raws.between"),this.raws.between=e}}]),e}();n.default=v,t.exports=n.default},{"./css-syntax-error":1326,"./stringifier":1338,"./stringify":1339,"./warn-once":1342}],1332:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(t&&t.safe)throw new Error('Option safe was removed. Use parser: require("postcss-safe-parser")');var n=new l.default(e,t),r=new i.default(n);try{r.tokenize(),r.loop()}catch(e){throw"CssSyntaxError"===e.name&&t&&t.from&&(/\.scss$/i.test(t.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.less$/i.test(t.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return r.root}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var a=e("./parser"),i=r(a),s=e("./input"),l=r(s);t.exports=n.default},{"./input":1328,"./parser":1333}],1333:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=e("./declaration"),s=r(i),l=e("./tokenize"),u=r(l),c=e("./comment"),d=r(c),f=e("./at-rule"),p=r(f),h=e("./root"),m=r(h),v=e("./rule"),b=r(v),g=function(){function e(t){o(this,e),this.input=t,this.pos=0,this.root=new m.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.root.source={input:t,start:{line:1,column:1}}}return a(e,[{key:"tokenize",value:function(){this.tokens=(0,u.default)(this.input)}},{key:"loop",value:function(){for(var e=void 0;this.pos<this.tokens.length;){switch(e=this.tokens[this.pos],e[0]){case"space":case";":this.spaces+=e[1];break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other()}this.pos+=1}this.endFile()}},{key:"comment",value:function(e){var t=new d.default;this.init(t,e[2],e[3]),t.source.end={line:e[4],column:e[5]};var n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{var r=n.match(/^(\s*)([^]*[^\s])(\s*)$/);t.text=r[2],t.raws.left=r[1],t.raws.right=r[3]}}},{key:"emptyRule",value:function(e){var t=new b.default;this.init(t,e[2],e[3]),t.selector="",t.raws.between="",this.current=t}},{key:"other",value:function(){for(var e=void 0,t=!1,n=null,r=!1,o=null,a=[],i=this.pos;this.pos<this.tokens.length;){if(e=this.tokens[this.pos],n=e[0],"("===n||"["===n)o||(o=e),a.push("("===n?")":"]");else if(0===a.length){if(";"===n){if(r)return void this.decl(this.tokens.slice(i,this.pos+1));break}if("{"===n)return void this.rule(this.tokens.slice(i,this.pos+1));if("}"===n){this.pos-=1,t=!0;break}":"===n&&(r=!0)}else n===a[a.length-1]&&(a.pop(),0===a.length&&(o=null));this.pos+=1}if(this.pos===this.tokens.length&&(this.pos-=1,t=!0),a.length>0&&this.unclosedBracket(o),t&&r){for(;this.pos>i&&(e=this.tokens[this.pos][0],"space"===e||"comment"===e);)this.pos-=1;return void this.decl(this.tokens.slice(i,this.pos+1))}this.unknownWord(i)}},{key:"rule",value:function(e){e.pop();var t=new b.default;this.init(t,e[0][2],e[0][3]),t.raws.between=this.spacesFromEnd(e),this.raw(t,"selector",e),this.current=t}},{key:"decl",value:function(e){var t=new s.default;this.init(t);var n=e[e.length-1];for(";"===n[0]&&(this.semicolon=!0,e.pop()),n[4]?t.source.end={line:n[4],column:n[5]}:t.source.end={line:n[2],column:n[3]};"word"!==e[0][0];)t.raws.before+=e.shift()[1];for(t.source.start={line:e[0][2],column:e[0][3]},t.prop="";e.length;){var r=e[0][0];if(":"===r||"space"===r||"comment"===r)break;t.prop+=e.shift()[1]}t.raws.between="";for(var o=void 0;e.length;){if(o=e.shift(),":"===o[0]){t.raws.between+=o[1];break}t.raws.between+=o[1]}"_"!==t.prop[0]&&"*"!==t.prop[0]||(t.raws.before+=t.prop[0],t.prop=t.prop.slice(1)),t.raws.between+=this.spacesFromStart(e),this.precheckMissedSemicolon(e);for(var a=e.length-1;a>0;a--){if(o=e[a],"!important"===o[1]){t.important=!0;var i=this.stringFrom(e,a);i=this.spacesFromEnd(e)+i," !important"!==i&&(t.raws.important=i);break}if("important"===o[1]){for(var l=e.slice(0),u="",c=a;c>0;c--){var d=l[c][0];if(0===u.trim().indexOf("!")&&"space"!==d)break;u=l.pop()[1]+u}0===u.trim().indexOf("!")&&(t.important=!0,t.raws.important=u,e=l)}if("space"!==o[0]&&"comment"!==o[0])break}this.raw(t,"value",e),t.value.indexOf(":")!==-1&&this.checkMissedSemicolon(e)}},{key:"atrule",value:function(e){var t=new p.default;t.name=e[1].slice(1),""===t.name&&this.unnamedAtrule(t,e),this.init(t,e[2],e[3]);var n=!1,r=!1,o=[];for(this.pos+=1;this.pos<this.tokens.length;){if(e=this.tokens[this.pos],";"===e[0]){t.source.end={line:e[2],column:e[3]},this.semicolon=!0;break}if("{"===e[0]){r=!0;break}if("}"===e[0]){this.end(e);break}o.push(e),this.pos+=1}this.pos===this.tokens.length&&(n=!0),t.raws.between=this.spacesFromEnd(o),o.length?(t.raws.afterName=this.spacesFromStart(o),this.raw(t,"params",o),n&&(e=o[o.length-1],t.source.end={line:e[4],column:e[5]},this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),r&&(t.nodes=[],this.current=t)}},{key:"end",value:function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end={line:e[2],column:e[3]},this.current=this.current.parent):this.unexpectedClose(e)}},{key:"endFile",value:function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}},{key:"init",value:function(e,t,n){this.current.push(e),e.source={start:{line:t,column:n},input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}},{key:"raw",value:function e(t,n,r){for(var o=void 0,a=void 0,i=r.length,s="",l=!0,u=0;u<i;u+=1)o=r[u],a=o[0],"comment"===a||"space"===a&&u===i-1?l=!1:s+=o[1];if(!l){var e=r.reduce(function(e,t){return e+t[1]},"");t.raws[n]={value:s,raw:e}}t[n]=s}},{key:"spacesFromEnd",value:function(e){for(var t=void 0,n="";e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)n=e.pop()[1]+n;return n}},{key:"spacesFromStart",value:function(e){for(var t=void 0,n="";e.length&&(t=e[0][0],"space"===t||"comment"===t);)n+=e.shift()[1];return n}},{key:"stringFrom",value:function(e,t){for(var n="",r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n}},{key:"colon",value:function(e){for(var t=0,n=void 0,r=void 0,o=void 0,a=0;a<e.length;a++){if(n=e[a],r=n[0],"("===r)t+=1;else if(")"===r)t-=1;else if(0===t&&":"===r){if(o){if("word"===o[0]&&"progid"===o[1])continue;return a}this.doubleColon(n)}o=n}return!1}},{key:"unclosedBracket",value:function(e){throw this.input.error("Unclosed bracket",e[2],e[3])}},{key:"unknownWord",value:function(e){var t=this.tokens[e];throw this.input.error("Unknown word",t[2],t[3])}},{key:"unexpectedClose",value:function(e){throw this.input.error("Unexpected }",e[2],e[3])}},{key:"unclosedBlock",value:function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}},{key:"doubleColon",value:function(e){throw this.input.error("Double colon",e[2],e[3])}},{key:"unnamedAtrule",value:function(e,t){throw this.input.error("At-rule without name",t[2],t[3])}},{key:"precheckMissedSemicolon",value:function(e){}},{key:"checkMissedSemicolon",value:function(e){var t=this.colon(e);if(t!==!1){for(var n=0,r=void 0,o=t-1;o>=0&&(r=e[o],"space"===r[0]||(n+=1,2!==n));o--);throw this.input.error("Missed semicolon",r[2],r[3])}}}]),e}();n.default=g,t.exports=n.default},{"./at-rule":1323,"./comment":1324,"./declaration":1327,"./root":1336,"./rule":1337,"./tokenize":1341}],1334:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=e("./lazy-result"),l=r(s),u=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];o(this,e),this.version="5.2.0",this.plugins=this.normalize(t)}return i(e,[{key:"use",value:function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}},{key:"process",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new l.default(this,e,t)}},{key:"normalize",value:function(e){var t=[];return e.forEach(function(e){if(e.postcss&&(e=e.postcss),"object"===("undefined"==typeof e?"undefined":a(e))&&Array.isArray(e.plugins))t=t.concat(e.plugins);else{if("function"!=typeof e)throw new Error(e+" is not a PostCSS plugin");t.push(e)}}),t}}]),e}();n.default=u,t.exports=n.default},{"./lazy-result":1329}],1335:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=e("./warning"),s=r(i),l=function(){function e(t,n,r){o(this,e),this.processor=t,this.messages=[],this.root=n,this.opts=r,this.css=void 0,this.map=void 0}return a(e,[{key:"toString",value:function(){return this.css}},{key:"warn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var n=new s.default(e,t);return this.messages.push(n),n}},{key:"warnings",value:function(){return this.messages.filter(function(e){return"warning"===e.type})}},{key:"content",get:function(){return this.css}}]),e}();n.default=l,t.exports=n.default},{"./warning":1343}],1336:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;if(void 0!==i)return i.call(r)};e("./rule");var u=e("./container"),c=r(u),d=e("./lazy-result"),f=r(d),p=e("./processor"),h=r(p),m=e("./warn-once"),v=r(m),b=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.type="root",n.nodes||(n.nodes=[]),n}return i(t,e),s(t,[{key:"removeChild",value:function(e){return e=this.index(e),0===e&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[e].raws.before),l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeChild",this).call(this,e)}},{key:"normalize",value:function(e,n,r){var o=l(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"normalize",this).call(this,e);return n&&("prepend"===r?this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before:this.first!==n&&o.forEach(function(e){e.raws.before=n.raws.before})),o}},{key:"toResult",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new f.default(new h.default,this,e);return t.stringify()}},{key:"remove",value:function(e){(0,v.default)("Root#remove is deprecated. Use Root#removeChild"),this.removeChild(e)}},{key:"prevMap",value:function(){return(0,v.default)("Root#prevMap is deprecated. Use Root#source.input.map"),this.source.input.map}}]),t}(c.default);n.default=b,t.exports=n.default},{"./container":1325,"./lazy-result":1329,"./processor":1334,"./rule":1337,"./warn-once":1342}],1337:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();e("./at-rule");var l=e("./container"),u=r(l),c=e("./warn-once"),d=r(c),f=e("./list"),p=r(f),h=function(e){function t(e){o(this,t);var n=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.type="rule",n.nodes||(n.nodes=[]),n}return i(t,e),s(t,[{key:"selectors",get:function(){return p.default.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}},{key:"_selector",get:function(){return(0,d.default)("Rule#_selector is deprecated. Use Rule#raws.selector"),this.raws.selector},set:function(e){(0,d.default)("Rule#_selector is deprecated. Use Rule#raws.selector"),this.raws.selector=e}}]),t}(u.default);n.default=h,t.exports=n.default},{"./at-rule":1323,"./container":1325,"./list":1330,"./warn-once":1342}],1338:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e){return e[0].toUpperCase()+e.slice(1)}Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" "},s=function(){function e(t){r(this,e),this.builder=t}return a(e,[{key:"stringify",value:function(e,t){this[e.type](e,t)}},{key:"root",value:function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}},{key:"comment",value:function(e){var t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)}},{key:"decl",value:function(e,t){var n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)}},{key:"rule",value:function(e){this.block(e,this.rawValue(e,"selector"))}},{key:"atrule",value:function(e,t){var n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if("undefined"!=typeof e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{var o=(e.raws.between||"")+(t?";":"");this.builder(n+r+o,e)}}},{key:"body",value:function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var n=this.raw(e,"semicolon"),r=0;r<e.nodes.length;r++){var o=e.nodes[r],a=this.raw(o,"before");a&&this.builder(a),this.stringify(o,t!==r||n)}}},{key:"block",value:function(e,t){var n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start");var r=void 0;e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")}},{key:"raw",value:function(e,t,n){var r=void 0;if(n||(n=t),t&&(r=e.raws[t],"undefined"!=typeof r))return r;var a=e.parent;if("before"===n&&(!a||"root"===a.type&&a.first===e))return"";if(!a)return i[n];var s=e.root();if(s.rawCache||(s.rawCache={}),"undefined"!=typeof s.rawCache[n])return s.rawCache[n];if("before"===n||"after"===n)return this.beforeAfter(e,n);var l="raw"+o(n);return this[l]?r=this[l](s,e):s.walk(function(e){if(r=e.raws[t],"undefined"!=typeof r)return!1}),"undefined"==typeof r&&(r=i[n]),s.rawCache[n]=r,r}},{key:"rawSemicolon",value:function(e){var t=void 0;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,"undefined"!=typeof t))return!1}),t}},{key:"rawEmptyBody",value:function(e){var t=void 0;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,"undefined"!=typeof t))return!1}),t}},{key:"rawIndent",value:function(e){if(e.raws.indent)return e.raws.indent;var t=void 0;return e.walk(function(n){var r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&"undefined"!=typeof n.raws.before){var o=n.raws.before.split("\n");return t=o[o.length-1],t=t.replace(/[^\s]/g,""),!1}}),t}},{key:"rawBeforeComment",value:function(e,t){var n=void 0;return e.walkComments(function(e){if("undefined"!=typeof e.raws.before)return n=e.raws.before,n.indexOf("\n")!==-1&&(n=n.replace(/[^\n]+$/,"")),!1}),"undefined"==typeof n&&(n=this.raw(t,null,"beforeDecl")),n}},{key:"rawBeforeDecl",value:function(e,t){var n=void 0;return e.walkDecls(function(e){if("undefined"!=typeof e.raws.before)return n=e.raws.before,n.indexOf("\n")!==-1&&(n=n.replace(/[^\n]+$/,"")),!1}),"undefined"==typeof n&&(n=this.raw(t,null,"beforeRule")),n}},{key:"rawBeforeRule",value:function(e){var t=void 0;return e.walk(function(n){if(n.nodes&&(n.parent!==e||e.first!==n)&&"undefined"!=typeof n.raws.before)return t=n.raws.before,t.indexOf("\n")!==-1&&(t=t.replace(/[^\n]+$/,"")),!1}),t}},{key:"rawBeforeClose",value:function(e){var t=void 0;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&"undefined"!=typeof e.raws.after)return t=e.raws.after,t.indexOf("\n")!==-1&&(t=t.replace(/[^\n]+$/,"")),!1}),t}},{key:"rawBeforeOpen",value:function(e){var t=void 0;return e.walk(function(e){if("decl"!==e.type&&(t=e.raws.between,"undefined"!=typeof t))return!1}),t}},{key:"rawColon",value:function(e){var t=void 0;return e.walkDecls(function(e){if("undefined"!=typeof e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t}},{key:"beforeAfter",value:function(e,t){var n=void 0;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var r=e.parent,o=0;r&&"root"!==r.type;)o+=1,r=r.parent;if(n.indexOf("\n")!==-1){var a=this.raw(e,null,"indent");if(a.length)for(var i=0;i<o;i++)n+=a}return n}},{key:"rawValue",value:function(e,t){var n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}}]),e}();n.default=s,t.exports=n.default},{}],1339:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=new i.default(t);n.stringify(e)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=o;var a=e("./stringifier"),i=r(a);t.exports=n.default},{"./stringifier":1338}],1340:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return"["+e+"m"}function a(e){var t=(0,s.default)(new u.default(e),{ignoreErrors:!0}),n=[];return t.forEach(function(e){var t=c[e[0]];t?n.push(e[1].split(/\r?\n/).map(function(e){return o(t[0])+e+o(t[1])}).join("\n")):n.push(e[1])}),n.join("")}Object.defineProperty(n,"__esModule",{value:!0});var i=e("./tokenize"),s=r(i),l=e("./input"),u=r(l),c={brackets:[36,39],string:[31,39],"at-word":[31,39],comment:[90,39],"{":[32,39],"}":[32,39],":":[1,22],";":[1,22],"(":[1,22],")":[1,22]};n.default=a,t.exports=n.default},{"./input":1328,"./tokenize":1341}],1341:[function(e,t,n){"use strict";function r(e){function t(t){throw e.error("Unclosed "+t,U,W-F)}for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=[],k=e.css.valueOf(),T=n.ignoreErrors,A=void 0,P=void 0,N=void 0,O=void 0,E=void 0,z=void 0,R=void 0,j=void 0,L=void 0,D=void 0,I=void 0,B=void 0,V=void 0,q=k.length,F=-1,U=1,W=0;W<q;){switch(A=k.charCodeAt(W),(A===l||A===c||A===f&&k.charCodeAt(W+1)!==l)&&(F=W,U+=1),A){case l:case u:case d:case f:case c:P=W;do P+=1,A=k.charCodeAt(P),A===l&&(F=P,U+=1);while(A===u||A===l||A===d||A===f||A===c);r.push(["space",k.slice(W,P)]),W=P-1;break;case p:r.push(["[","[",U,W-F]);break;case h:r.push(["]","]",U,W-F]);break;case b:r.push(["{","{",U,W-F]);break;case g:r.push(["}","}",U,W-F]);break;case M:r.push([":",":",U,W-F]);break;case y:r.push([";",";",U,W-F]);break;case m:if(B=r.length?r[r.length-1][1]:"",V=k.charCodeAt(W+1),"url"===B&&V!==o&&V!==a&&V!==u&&V!==l&&V!==d&&V!==c&&V!==f){P=W;do{if(D=!1,P=k.indexOf(")",P+1),P===-1){if(T){P=W;break}t("bracket")}for(I=P;k.charCodeAt(I-1)===i;)I-=1,D=!D}while(D);r.push(["brackets",k.slice(W,P+1),U,W-F,U,P-F]),W=P}else P=k.indexOf(")",W+1),z=k.slice(W,P+1),P===-1||x.test(z)?r.push(["(","(",U,W-F]):(r.push(["brackets",z,U,W-F,U,P-F]),W=P);break;case v:r.push([")",")",U,W-F]);break;case o:case a:N=A===o?"'":'"',P=W;do{if(D=!1,P=k.indexOf(N,P+1),P===-1){if(T){P=W+1;break}t("quote")}for(I=P;k.charCodeAt(I-1)===i;)I-=1,D=!D}while(D);z=k.slice(W,P+1),O=z.split("\n"),E=O.length-1,E>0?(j=U+E,L=P-O[E].length):(j=U,L=F),r.push(["string",k.slice(W,P+1),U,W-F,j,P-L]),F=L,U=j,W=P;break;case w:S.lastIndex=W+1,S.test(k),P=0===S.lastIndex?k.length-1:S.lastIndex-2,r.push(["at-word",k.slice(W,P+1),U,W-F,U,P-F]),W=P;break;case i:for(P=W,R=!0;k.charCodeAt(P+1)===i;)P+=1,R=!R;A=k.charCodeAt(P+1),R&&A!==s&&A!==u&&A!==l&&A!==d&&A!==f&&A!==c&&(P+=1),r.push(["word",k.slice(W,P+1),U,W-F,U,P-F]),W=P;break;default:A===s&&k.charCodeAt(W+1)===_?(P=k.indexOf("*/",W+2)+1,0===P&&(T?P=k.length:t("comment")),z=k.slice(W,P+1),O=z.split("\n"),E=O.length-1,E>0?(j=U+E,L=P-O[E].length):(j=U,L=F),r.push(["comment",z,U,W-F,j,P-L]),F=L,U=j,W=P):(C.lastIndex=W+1,C.test(k),P=0===C.lastIndex?k.length-1:C.lastIndex-2,r.push(["word",k.slice(W,P+1),U,W-F,U,P-F]),W=P)}W++}return r}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r;var o="'".charCodeAt(0),a='"'.charCodeAt(0),i="\\".charCodeAt(0),s="/".charCodeAt(0),l="\n".charCodeAt(0),u=" ".charCodeAt(0),c="\f".charCodeAt(0),d="\t".charCodeAt(0),f="\r".charCodeAt(0),p="[".charCodeAt(0),h="]".charCodeAt(0),m="(".charCodeAt(0),v=")".charCodeAt(0),b="{".charCodeAt(0),g="}".charCodeAt(0),y=";".charCodeAt(0),_="*".charCodeAt(0),M=":".charCodeAt(0),w="@".charCodeAt(0),S=/[ \n\t\r\f\{\(\)'"\\;\/\[\]#]/g,C=/[ \n\t\r\f\(\)\{\}:;@!'"\\\]\[#]|\/(?=\*)/g,x=/.[\\\/\("'\n]/;t.exports=n.default},{}],1342:[function(e,t,n){"use strict";function r(e){o[e]||(o[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r;var o={};t.exports=n.default},{}],1343:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(r(this,e),this.type="warning",this.text=t,n.node&&n.node.source){var o=n.node.positionBy(n);this.line=o.line,this.column=o.column}for(var a in n)this[a]=n[a]}return o(e,[{key:"toString",value:function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}]),e}();n.default=a,t.exports=n.default},{}],1344:[function(e,t,n){function r(){}function o(e){if(!m(e))return e;var t=[];for(var n in e)a(t,n,e[n]);return t.join("&")}function a(e,t,n){if(null!=n)if(Array.isArray(n))n.forEach(function(n){a(e,t,n)});else if(m(n))for(var r in n)a(e,t+"["+r+"]",n[r]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(n));else null===n&&e.push(encodeURIComponent(t))}function i(e){for(var t,n,r={},o=e.split("&"),a=0,i=o.length;a<i;++a)t=o[a],n=t.indexOf("="),n==-1?r[decodeURIComponent(t)]="":r[decodeURIComponent(t.slice(0,n))]=decodeURIComponent(t.slice(n+1));return r}function s(e){var t,n,r,o,a=e.split(/\r?\n/),i={};a.pop();for(var s=0,l=a.length;s<l;++s)n=a[s],t=n.indexOf(":"),r=n.slice(0,t).toLowerCase(),o=_(n.slice(t+1)),i[r]=o;return i}function l(e){return/[\/+]json\b/.test(e)}function u(e){this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||"undefined"==typeof this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var t=this.xhr.status;1223===t&&(t=204),this._setStatusProperties(t),this.header=this.headers=s(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&e._responseType?this.body=this.xhr.response:this.body="HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function c(e,t){var n=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",function(){var e=null,t=null;try{t=new u(n)}catch(t){return e=new Error("Parser is unable to parse the response"),e.parse=!0,e.original=t,n.xhr?(e.rawResponse="undefined"==typeof n.xhr.responseType?n.xhr.responseText:n.xhr.response,e.status=n.xhr.status?n.xhr.status:null,e.statusCode=e.status):(e.rawResponse=null,e.status=null),n.callback(e)}n.emit("response",t);var r;try{n._isResponseOK(t)||(r=new Error(t.statusText||"Unsuccessful HTTP response"),r.original=e,r.response=t,r.status=t.status)}catch(e){r=e}r?n.callback(r,t):n.callback(null,t)})}function d(e,t,n){var r=y("DELETE",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}var f;"undefined"!=typeof window?f=window:"undefined"!=typeof self?f=self:(console.warn("Using browser-only version of superagent in non-browser environment"),f=this);var p=e("component-emitter"),h=e("./request-base"),m=e("./is-object"),v=e("./is-function"),b=e("./response-base"),g=e("./should-retry"),y=n=t.exports=function(e,t){return"function"==typeof t?new n.Request("GET",e).end(t):1==arguments.length?new n.Request("GET",e):new n.Request(e,t)};n.Request=c,y.getXHR=function(){if(!(!f.XMLHttpRequest||f.location&&"file:"==f.location.protocol&&f.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("Browser-only verison of superagent could not find XHR")};var _="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};y.serializeObject=o,y.parseString=i,y.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},y.serialize={"application/x-www-form-urlencoded":o,"application/json":JSON.stringify},y.parse={"application/x-www-form-urlencoded":i,"application/json":JSON.parse},b(u.prototype),u.prototype._parseBody=function(e){var t=y.parse[this.type];return this.req._parser?this.req._parser(this,e):(!t&&l(this.type)&&(t=y.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null)},u.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot "+t+" "+n+" ("+this.status+")",o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},y.Response=u,p(c.prototype),h(c.prototype),c.prototype.type=function(e){return this.set("Content-Type",y.types[e]||e),this},c.prototype.accept=function(e){return this.set("Accept",y.types[e]||e),this},c.prototype.auth=function(e,t,n){switch("object"==typeof t&&null!==t&&(n=t),n||(n={type:"function"==typeof btoa?"basic":"auto"}),n.type){case"basic":this.set("Authorization","Basic "+btoa(e+":"+t));break;case"auto":this.username=e,this.password=t;break;case"bearer":this.set("Authorization","Bearer "+e)}return this},c.prototype.query=function(e){return"string"!=typeof e&&(e=o(e)),e&&this._query.push(e),this},c.prototype.attach=function(e,t,n){if(t){if(this._data)throw Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,n||t.name)}return this},c.prototype._getFormData=function(){return this._formData||(this._formData=new f.FormData),this._formData},c.prototype.callback=function(e,t){if(this._maxRetries&&this._retries++<this._maxRetries&&g(e,t))return this._retry();var n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},c.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},c.prototype.buffer=c.prototype.ca=c.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),
|
61 | this},c.prototype.pipe=c.prototype.write=function(){throw Error("Streaming is not supported in browser version of superagent")},c.prototype._appendQueryString=function(){var e=this._query.join("&");if(e&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+e),this._sort){var t=this.url.indexOf("?");if(t>=0){var n=this.url.substring(t+1).split("&");v(this._sort)?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,t)+"?"+n.join("&")}}},c.prototype._isHost=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},c.prototype.end=function(e){return this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||r,this._appendQueryString(),this._end()},c.prototype._end=function(){var e=this,t=this.xhr=y.getXHR(),n=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var n=t.readyState;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4==n){var r;try{r=t.status}catch(e){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.onprogress=r.bind(null,"download"),t.upload&&(t.upload.onprogress=r.bind(null,"upload"))}catch(e){}try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(e){return this.callback(e)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var o=this._header["content-type"],a=this._serializer||y.serialize[o?o.split(";")[0]:""];!a&&l(o)&&(a=y.serialize["application/json"]),a&&(n=a(n))}for(var i in this.header)null!=this.header[i]&&t.setRequestHeader(i,this.header[i]);return this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send("undefined"!=typeof n?n:null),this},y.get=function(e,t,n){var r=y("GET",e);return"function"==typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},y.head=function(e,t,n){var r=y("HEAD",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},y.options=function(e,t,n){var r=y("OPTIONS",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},y.del=d,y.delete=d,y.patch=function(e,t,n){var r=y("PATCH",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},y.post=function(e,t,n){var r=y("POST",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},y.put=function(e,t,n){var r=y("PUT",e);return"function"==typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},{"./is-function":1345,"./is-object":1346,"./request-base":1347,"./response-base":1348,"./should-retry":1349,"component-emitter":191}],1345:[function(e,t,n){function r(e){var t=o(e)?Object.prototype.toString.call(e):"";return"[object Function]"===t}var o=e("./is-object");t.exports=r},{"./is-object":1346}],1346:[function(e,t,n){function r(e){return null!==e&&"object"==typeof e}t.exports=r},{}],1347:[function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}var a=e("./is-object");t.exports=r,r.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},r.prototype.parse=function(e){return this._parser=e,this},r.prototype.responseType=function(e){return this._responseType=e,this},r.prototype.serialize=function(e){return this._serializer=e,this},r.prototype.timeout=function(e){if(!e||"object"!=typeof e)return this._timeout=e,this._responseTimeout=0,this;for(var t in e)switch(t){case"deadline":this._timeout=e.deadline;break;case"response":this._responseTimeout=e.response;break;default:console.warn("Unknown timeout option",t)}return this},r.prototype.retry=function(e){return 0!==arguments.length&&e!==!0||(e=1),e<=0&&(e=0),this._maxRetries=e,this._retries=0,this},r.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},r.prototype.then=function(e,t){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(e,t){n.end(function(n,r){n?t(n):e(r)})})}return this._fullfilledPromise.then(e,t)},r.prototype.catch=function(e){return this.then(void 0,e)},r.prototype.use=function(e){return e(this),this},r.prototype.ok=function(e){if("function"!=typeof e)throw Error("Callback required");return this._okCallback=e,this},r.prototype._isResponseOK=function(e){return!!e&&(this._okCallback?this._okCallback(e):e.status>=200&&e.status<300)},r.prototype.get=function(e){return this._header[e.toLowerCase()]},r.prototype.getHeader=r.prototype.get,r.prototype.set=function(e,t){if(a(e)){for(var n in e)this.set(n,e[n]);return this}return this._header[e.toLowerCase()]=t,this.header[e]=t,this},r.prototype.unset=function(e){return delete this._header[e.toLowerCase()],delete this.header[e],this},r.prototype.field=function(e,t){if(null===e||void 0===e)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),a(e)){for(var n in e)this.field(n,e[n]);return this}if(Array.isArray(t)){for(var r in t)this.field(e,t[r]);return this}if(null===t||void 0===t)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof t&&(t=""+t),this._getFormData().append(e,t),this},r.prototype.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},r.prototype.withCredentials=function(e){return void 0==e&&(e=!0),this._withCredentials=e,this},r.prototype.redirects=function(e){return this._maxRedirects=e,this},r.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},r.prototype.send=function(e){var t=a(e),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),t&&!this._data)Array.isArray(e)?this._data=[]:this._isHost(e)||(this._data={});else if(e&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(t&&a(this._data))for(var r in e)this._data[r]=e[r];else"string"==typeof e?(n||this.type("form"),n=this._header["content-type"],"application/x-www-form-urlencoded"==n?this._data=this._data?this._data+"&"+e:e:this._data=(this._data||"")+e):this._data=e;return!t||this._isHost(e)?this:(n||this.type("json"),this)},r.prototype.sortQuery=function(e){return this._sort="undefined"==typeof e||e,this},r.prototype._timeoutError=function(e,t,n){if(!this._aborted){var r=new Error(e+t+"ms exceeded");r.timeout=t,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.abort(),this.callback(r)}},r.prototype._setTimeouts=function(){var e=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){e._timeoutError("Timeout of ",e._timeout,"ETIME")},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){e._timeoutError("Response timeout of ",e._responseTimeout,"ETIMEDOUT")},this._responseTimeout))}},{"./is-object":1346}],1348:[function(e,t,n){function r(e){if(e)return o(e)}function o(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}var a=e("./utils");t.exports=r,r.prototype.get=function(e){return this.header[e.toLowerCase()]},r.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=a.type(t);var n=a.params(t);for(var r in n)this[r]=n[r];this.links={};try{e.link&&(this.links=a.parseLinks(e.link))}catch(e){}},r.prototype._setStatusProperties=function(e){var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.redirect=3==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.forbidden=403==e,this.notFound=404==e}},{"./utils":1350}],1349:[function(e,t,n){var r=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];t.exports=function(e,t){return!!(e&&e.code&&~r.indexOf(e.code))||(!!(t&&t.status&&t.status>=500)||!!(e&&"timeout"in e&&"ECONNABORTED"==e.code))}},{}],1350:[function(e,t,n){n.type=function(e){return e.split(/ *; */).shift()},n.params=function(e){return e.split(/ *; */).reduce(function(e,t){var n=t.split(/ *= */),r=n.shift(),o=n.shift();return r&&o&&(e[r]=o),e},{})},n.parseLinks=function(e){return e.split(/ *, */).reduce(function(e,t){var n=t.split(/ *; */),r=n[0].slice(1,-1),o=n[1].split(/ *= */)[1].slice(1,-1);return e[o]=r,e},{})},n.cleanHeader=function(e,t){return delete e["content-type"],delete e["content-length"],delete e["transfer-encoding"],delete e.host,t&&delete e.cookie,e}},{}],1351:[function(e,t,n){"use strict";t.exports=!1},{}],1352:[function(e,t,n){t.exports=e("./lib/index")},{"./lib/index":1353}],1353:[function(e,t,n){(function(r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var a,i=e("./ponyfill"),s=o(i);a="undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof r?r:"undefined"!=typeof t?t:Function("return this")();var l=(0,s.default)(a);n.default=l}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./ponyfill":1354}],1354:[function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r},{}],1355:[function(e,t,n){var r=e("util"),o=e("bl"),a=e("xtend"),i=e("./headers"),s=e("readable-stream").Writable,l=e("readable-stream").PassThrough,u=function(){},c=function(e){return e&=511,e&&512-e},d=function(e,t){var n=new p(e,t);return n.end(),n},f=function(e,t){return t.path&&(e.name=t.path),t.linkpath&&(e.linkname=t.linkpath),e.pax=t,e},p=function(e,t){this._parent=e,this.offset=t,l.call(this)};r.inherits(p,l),p.prototype.destroy=function(e){this._parent.destroy(e)};var h=function(e){if(!(this instanceof h))return new h(e);s.call(this,e),this._offset=0,this._buffer=o(),this._missing=0,this._onparse=u,this._header=null,this._stream=null,this._overflow=null,this._cb=null,this._locked=!1,this._destroyed=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null;var t=this,n=t._buffer,r=function(){t._continue()},l=function(e){return t._locked=!1,e?t.destroy(e):void(t._stream||r())},m=function(){t._stream=null;var e=c(t._header.size);e?t._parse(e,v):t._parse(512,M),t._locked||r()},v=function(){t._buffer.consume(c(t._header.size)),t._parse(512,M),r()},b=function(){var e=t._header.size;t._paxGlobal=i.decodePax(n.slice(0,e)),n.consume(e),m()},g=function(){var e=t._header.size;t._pax=i.decodePax(n.slice(0,e)),t._paxGlobal&&(t._pax=a(t._paxGlobal,t._pax)),n.consume(e),m()},y=function(){var e=t._header.size;this._gnuLongPath=i.decodeLongPath(n.slice(0,e)),n.consume(e),m()},_=function(){var e=t._header.size;this._gnuLongLinkPath=i.decodeLongPath(n.slice(0,e)),n.consume(e),m()},M=function(){var e,o=t._offset;try{e=t._header=i.decode(n.slice(0,512))}catch(e){t.emit("error",e)}return n.consume(512),e?"gnu-long-path"===e.type?(t._parse(e.size,y),void r()):"gnu-long-link-path"===e.type?(t._parse(e.size,_),void r()):"pax-global-header"===e.type?(t._parse(e.size,b),void r()):"pax-header"===e.type?(t._parse(e.size,g),void r()):(t._gnuLongPath&&(e.name=t._gnuLongPath,t._gnuLongPath=null),t._gnuLongLinkPath&&(e.linkname=t._gnuLongLinkPath,t._gnuLongLinkPath=null),t._pax&&(t._header=e=f(e,t._pax),t._pax=null),t._locked=!0,e.size?(t._stream=new p(t,o),t.emit("entry",e,t._stream,l),t._parse(e.size,m),void r()):(t._parse(512,M),void t.emit("entry",e,d(t,o),l))):(t._parse(512,M),void r())};this._parse(512,M)};r.inherits(h,s),h.prototype.destroy=function(e){this._destroyed||(this._destroyed=!0,e&&this.emit("error",e),this.emit("close"),this._stream&&this._stream.emit("close"))},h.prototype._parse=function(e,t){this._destroyed||(this._offset+=e,this._missing=e,this._onparse=t)},h.prototype._continue=function(){if(!this._destroyed){var e=this._cb;this._cb=u,this._overflow?this._write(this._overflow,void 0,e):e()}},h.prototype._write=function(e,t,n){if(!this._destroyed){var r=this._stream,o=this._buffer,a=this._missing;if(e.length<a)return this._missing-=e.length,this._overflow=null,r?r.write(e,n):(o.append(e),n());this._cb=n,this._missing=0;var i=null;e.length>a&&(i=e.slice(a),e=e.slice(0,a)),r?r.end(e):o.append(e),this._overflow=i,this._onparse()}},t.exports=h},{"./headers":1356,bl:149,"readable-stream":1278,util:1370,xtend:1398}],1356:[function(e,t,n){(function(e){function t(e){var t;if(128===e[0])t=!0;else{if(255!==e[0])return null;t=!1}for(var n=!1,r=[],o=e.length-1;o>0;o--){var a=e[o];t?r.push(a):n&&0===a?r.push(0):n?(n=!1,r.push(256-a)):r.push(255-a)}var i=0,s=r.length;for(o=0;o<s;o++)i+=r[o]*Math.pow(256,o);return t?i:-1*i}var r="0000000000000000000",o="0".charCodeAt(0),a="ustar\x0000",i=parseInt("7777",8),s=function(e,t,n){return"number"!=typeof e?n:(e=~~e,e>=t?t:e>=0?e:(e+=t,e>=0?e:0))},l=function(e){switch(e){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null},u=function(e){switch(e){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0},c=function(t){var n=new e(t);return n.fill(0),n},d=function(e,t,n,r){for(;n<r;n++)if(e[n]===t)return n;return r},f=function(e){for(var t=256,n=0;n<148;n++)t+=e[n];for(var r=156;r<512;r++)t+=e[r];return t},p=function(e,t){return e=e.toString(8),r.slice(0,t-e.length)+e+" "},h=function(e,n){if(128&e[n])return t(e.slice(n,n+8));for(;n<e.length&&32===e[n];)n++;for(var r=s(d(e,32,n,e.length),e.length,e.length);n<r&&0===e[n];)n++;return r===n?0:parseInt(e.slice(n,r).toString(),8)},m=function(e,t,n){return e.slice(t,d(e,0,t,t+n)).toString()},v=function(t){var n=e.byteLength(t),r=Math.floor(Math.log(n)/Math.log(10))+1;return n+r>Math.pow(10,r)&&r++,n+r+t};n.decodeLongPath=function(e){return m(e,0,e.length)},n.encodePax=function(t){var n="";t.name&&(n+=v(" path="+t.name+"\n")),t.linkname&&(n+=v(" linkpath="+t.linkname+"\n"));var r=t.pax;if(r)for(var o in r)n+=v(" "+o+"="+r[o]+"\n");return new e(n)},n.decodePax=function(e){for(var t={};e.length;){for(var n=0;n<e.length&&32!==e[n];)n++;var r=parseInt(e.slice(0,n).toString(),10);if(!r)return t;var o=e.slice(n+1,r-1).toString(),a=o.indexOf("=");if(a===-1)return t;t[o.slice(0,a)]=o.slice(a+1),e=e.slice(r)}return t},n.encode=function(t){var n=c(512),r=t.name,s="";if(5===t.typeflag&&"/"!==r[r.length-1]&&(r+="/"),e.byteLength(r)!==r.length)return null;for(;e.byteLength(r)>100;){var l=r.indexOf("/");if(l===-1)return null;s+=s?"/"+r.slice(0,l):r.slice(0,l),r=r.slice(l+1)}return e.byteLength(r)>100||e.byteLength(s)>155?null:t.linkname&&e.byteLength(t.linkname)>100?null:(n.write(r),n.write(p(t.mode&i,6),100),n.write(p(t.uid,6),108),n.write(p(t.gid,6),116),n.write(p(t.size,11),124),n.write(p(t.mtime.getTime()/1e3|0,11),136),n[156]=o+u(t.type),t.linkname&&n.write(t.linkname,157),n.write(a,257),t.uname&&n.write(t.uname,265),t.gname&&n.write(t.gname,297),n.write(p(t.devmajor||0,6),329),n.write(p(t.devminor||0,6),337),s&&n.write(s,345),n.write(p(f(n),6),148),n)},n.decode=function(e){var t=0===e[156]?0:e[156]-o,n=m(e,0,100),r=h(e,100),a=h(e,108),i=h(e,116),s=h(e,124),u=h(e,136),c=l(t),d=0===e[157]?null:m(e,157,100),p=m(e,265,32),v=m(e,297,32),b=h(e,329),g=h(e,337);e[345]&&(n=m(e,345,155)+"/"+n),0===t&&n&&"/"===n[n.length-1]&&(t=5);var y=f(e);if(256===y)return null;if(y!==h(e,148))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");return{name:n,mode:r,uid:a,gid:i,size:s,mtime:new Date(1e3*u),type:c,linkname:d,uname:p,gname:v,devmajor:b,devminor:g}}}).call(this,e("buffer").Buffer)},{buffer:153}],1357:[function(e,t,n){n.extract=e("./extract"),n.pack=e("./pack")},{"./extract":1355,"./pack":1358}],1358:[function(e,t,n){(function(n,r){function o(e){switch(e&a.S_IFMT){case a.S_IFBLK:return"block-device";case a.S_IFCHR:return"character-device";case a.S_IFDIR:return"directory";case a.S_IFIFO:return"fifo";case a.S_IFLNK:return"symlink"}return"file"}var a=e("constants"),i=e("end-of-stream"),s=e("util"),l=e("readable-stream").Readable,u=e("readable-stream").Writable,c=e("string_decoder").StringDecoder,d=e("./headers"),f=parseInt("755",8),p=parseInt("644",8),h=new r(1024);h.fill(0);var m=function(){},v=function(e,t){t&=511,t&&e.push(h.slice(0,512-t))},b=function(e){u.call(this),this.written=0,this._to=e,this._destroyed=!1};s.inherits(b,u),b.prototype._write=function(e,t,n){return this.written+=e.length,this._to.push(e)?n():void(this._to._drain=n)},b.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.emit("close"))};var g=function(){u.call(this),this.linkname="",this._decoder=new c("utf-8"),this._destroyed=!1};s.inherits(g,u),g.prototype._write=function(e,t,n){this.linkname+=this._decoder.write(e),n()},g.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.emit("close"))};var y=function(){u.call(this),this._destroyed=!1};s.inherits(y,u),y.prototype._write=function(e,t,n){n(new Error("No body allowed for this entry"))},y.prototype.destroy=function(){this._destroyed||(this._destroyed=!0,this.emit("close"))};var _=function(e){return this instanceof _?(l.call(this,e),this._drain=m,this._finalized=!1,this._finalizing=!1,this._destroyed=!1,void(this._stream=null)):new _(e)};s.inherits(_,l),_.prototype.entry=function(e,t,a){if(this._stream)throw new Error("already piping an entry");if(!this._finalized&&!this._destroyed){"function"==typeof t&&(a=t,t=null),a||(a=m);var s=this;if(e.size&&"symlink"!==e.type||(e.size=0),e.type||(e.type=o(e.mode)),e.mode||(e.mode="directory"===e.type?f:p),e.uid||(e.uid=0),e.gid||(e.gid=0),e.mtime||(e.mtime=new Date),"string"==typeof t&&(t=new r(t)),r.isBuffer(t))return e.size=t.length,this._encode(e),this.push(t),v(s,e.size),n.nextTick(a),new y;if("symlink"===e.type&&!e.linkname){var l=new g;return i(l,function(t){return t?(s.destroy(),a(t)):(e.linkname=l.linkname,s._encode(e),void a())}),l}if(this._encode(e),"file"!==e.type&&"contiguous-file"!==e.type)return n.nextTick(a),new y;var u=new b(this);return this._stream=u,i(u,function(t){return s._stream=null,t?(s.destroy(),a(t)):u.written!==e.size?(s.destroy(),a(new Error("size mismatch"))):(v(s,e.size),s._finalizing&&s.finalize(),void a())}),u}},_.prototype.finalize=function(){return this._stream?void(this._finalizing=!0):void(this._finalized||(this._finalized=!0,this.push(h),this.push(null)))},_.prototype.destroy=function(e){this._destroyed||(this._destroyed=!0,e&&this.emit("error",e),this.emit("close"),this._stream&&this._stream.destroy&&this._stream.destroy())},_.prototype._encode=function(e){if(!e.pax){var t=d.encode(e);if(t)return void this.push(t)}this._encodePax(e)},_.prototype._encodePax=function(e){var t=d.encodePax({name:e.name,linkname:e.linkname,pax:e.pax}),n={name:"PaxHeader",mode:e.mode,uid:e.uid,gid:e.gid,size:t.length,mtime:e.mtime,type:"pax-header",linkname:e.linkname&&"PaxHeader",uname:e.uname,gname:e.gname,devmajor:e.devmajor,devminor:e.devminor};this.push(d.encode(n)),this.push(t),v(this,t.length),n.size=e.size,n.type=e.type,this.push(d.encode(n))},_.prototype._read=function(e){var t=this._drain;this._drain=m,t()},t.exports=_}).call(this,e("_process"),e("buffer").Buffer)},{"./headers":1356,_process:828,buffer:153,constants:192,"end-of-stream":276,"readable-stream":1278,string_decoder:1297,util:1370}],1359:[function(e,t,n){function r(e,t){this._id=e,this._clearFn=t}var o=e("process/browser.js").nextTick,a=Function.prototype.apply,i=Array.prototype.slice,s={},l=0;n.setTimeout=function(){return new r(a.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new r(a.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},n.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n.setImmediate="function"==typeof setImmediate?setImmediate:function(e){var t=l++,r=!(arguments.length<2)&&i.call(arguments,1);return s[t]=!0,o(function(){s[t]&&(r?e.apply(null,r):e.call(null),n.clearImmediate(t))}),t},n.clearImmediate="function"==typeof clearImmediate?clearImmediate:function(e){delete s[e]}},{"process/browser.js":828}],1360:[function(e,t,n){t.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach(function(t){e.addRange(t)}),t&&t.focus()}}},{}],1361:[function(e,t,n){(function(t){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(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)}Object.defineProperty(n,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=e("react"),u=function(e){var t=void 0;return e&&(t=e.target)?"input"===t.nodeName.toLowerCase()&&"checkbox"===t.type.toLowerCase()?t.checked:t.value:e};n.default=function(e){return function(n){var c=function(c){function d(n){r(this,d);var a=o(this,(d.__proto__||Object.getPrototypeOf(d)).call(this)),i="function"==typeof e?e(n):e,s=a._controlled="value"in n;if(s){if("production"!==t.env.NODE_ENV&&"defaultValue"in n)throw new Error(a.constructor.name+": controlled component should not have a default value")}else{var l=n.defaultValue,c=void 0===l?i&&i.defaultValue:l;a.state={value:c},a._onChange=function(e){var t=!1,n=a.props.onChange;n&&(n(e),t=e&&e.defaultPrevented),t||a.setState({value:u(e)})}}return a}return a(d,c),s(d,[{key:"render",value:function(){var e=this.props;return this._controlled||(e=i({},e,{onChange:this._onChange,value:this.state.value}),delete e.defaultValue),(0,l.createElement)(n,e)}},{key:"value",get:function(){return this._controlled?this.props.value:this.state.value},set:function(e){if("production"!==t.env.NODE_ENV&&this._controlled)throw new Error(this.constructor.name+": should not set value on controlled component");this.setState({value:e})}}]),d}(l.PureComponent);return"production"!==t.env.NODE_ENV&&(c.prototype.componentWillReceiveProps=function(e){var t=this.constructor.name,n=this._controlled,r="value"in e;if(n){if(!r)throw new Error(t+": controlled component should not become uncontrolled")}else if(r)throw new Error(t+": uncontrolled component should not become controlled");if(e.defaultValue!==this.props.defaultValue)throw new Error(t+": default value should not change")}),c}}}).call(this,e("_process"))},{_process:828,react:1269}],1362:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){function n(r,o){function i(e,n){var r=p.getLinkName(e),a=this.props[o[e]];r&&l(this.props,r)&&!a&&(a=this.props[r].requestChange);for(var i=arguments.length,s=Array(i>2?i-2:0),u=2;u<i;u++)s[u-2]=arguments[u];t(this,e,a,n,s)}function l(e,t){return void 0!==e[t]}var c,f=arguments.length<=2||void 0===arguments[2]?[]:arguments[2],h=r.displayName||r.name||"Component",m=p.getType(r).propTypes,v=p.isReactComponent(r);c=p.uncontrolledPropTypes(o,m,h),(0,d.default)(v||!f.length,"[uncontrollable] stateless function components cannot pass through methods becasue they have no associated instances. Check component: "+h+", attempting to pass through methods: "+f.join(", ")),f=p.transform(f,function(e,t){e[t]=function(){var e;return(e=this.refs.inner)[t].apply(e,arguments)}},{});var b=u.default.createClass(s({displayName:"Uncontrolled("+h+")",mixins:e,propTypes:c},f,{componentWillMount:function(){var e=this.props,t=Object.keys(o);this._values=p.transform(t,function(t,n){t[n]=e[p.defaultKey(n)]},{})},componentWillReceiveProps:function(e){var t=this,n=this.props,r=Object.keys(o);r.forEach(function(r){void 0===p.getValue(e,r)&&void 0!==p.getValue(n,r)&&(t._values[r]=e[p.defaultKey(r)])})},render:function(){var e=this,t={},n=this.props,c=(n.valueLink,n.checkedLink,a(n,["valueLink","checkedLink"]));return p.each(o,function(n,r){var o=p.getLinkName(r),a=e.props[r];o&&!l(e.props,r)&&l(e.props,o)&&(a=e.props[o].value),t[r]=void 0!==a?a:e._values[r],t[n]=i.bind(e,r)}),t=s({},c,t,{ref:v?"inner":null}),u.default.createElement(r,t)}}));return b.ControlledComponent=r,b.deferControlTo=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],r=arguments[2];return n(e,s({},o,t),r)},b}return n}n.__esModule=!0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};n.default=i;var l=e("react"),u=o(l),c=e("invariant"),d=o(c),f=e("./utils"),p=r(f);t.exports=n.default},{"./utils":1364,invariant:361,react:1269}],1363:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n,r,o){n&&(e._notifying=!0,n.call.apply(n,[e,r].concat(o)),e._notifying=!1),e._values[t]=r,e.isMounted()&&e.forceUpdate()}n.__esModule=!0;var a=e("./createUncontrollable"),i=r(a),s={shouldComponentUpdate:function(){return!this._notifying}};n.default=(0,i.default)([s],o),t.exports=n.default},{"./createUncontrollable":1362}],1364:[function(e,t,n){(function(t){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return function(r,o){if(void 0!==r[o])return r[e]?t&&t(r,o,n):new Error("You have provided a `"+o+"` prop to `"+n+"` without an `"+e+"` handler. This will render a read-only field. If the field should be mutable use `"+c(o)+"`. Otherwise, set `"+e+"`")}}function a(e,n,r){var a={};return"production"!==t.env.NODE_ENV&&n&&f(e,function(e,t,a){var i=n[a];(0,y.default)("string"==typeof t&&t.trim().length,"Uncontrollable - [%s]: the prop `%s` needs a valid handler key name in order to make it uncontrollable",r,a),e[a]=o(t,i,r),void 0!==i&&(e[c(a)]=i)},a),a}function i(e){return _[0]>=15||0===_[0]&&_[1]>=13?e:e.type}function s(e,t){var n=u(t);return n&&!l(e,t)&&l(e,n)?e[n].value:e[t]}function l(e,t){return void 0!==e[t]}function u(e){return"value"===e?"valueLink":"checked"===e?"checkedLink":null}function c(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function d(e,t,n){return function(){for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];t&&t.call.apply(t,[e].concat(o)),n&&n.call.apply(n,[e].concat(o))}}function f(e,t,n){return p(e,t.bind(null,n=n||(Array.isArray(e)?[]:{}))),n}function p(e,t,n){if(Array.isArray(e))return e.forEach(t,n);for(var r in e)m(e,r)&&t.call(n,e[r],r,e)}function h(e){return!!(e&&e.prototype&&e.prototype.isReactComponent)}function m(e,t){return!!e&&Object.prototype.hasOwnProperty.call(e,t)}n.__esModule=!0,n.version=void 0,n.customPropType=o,n.uncontrolledPropTypes=a,n.getType=i,n.getValue=s,n.getLinkName=u,n.defaultKey=c,n.chain=d,n.transform=f,n.each=p,n.isReactComponent=h,n.has=m;var v=e("react"),b=r(v),g=e("invariant"),y=r(g),_=n.version=b.default.version.split(".").map(parseFloat)}).call(this,e("_process"))},{_process:828,invariant:361,react:1269}],1365:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function o(e,t,n){if(e&&u.isObject(e)&&e instanceof r)return e;var o=new r;return o.parse(e,t,n),o}function a(e){return u.isString(e)&&(e=o(e)),e instanceof r?e.format():r.prototype.format.call(e)}function i(e,t){return o(e,!1,!0).resolve(t)}function s(e,t){return e?o(e,!1,!0).resolveObject(t):t}var l=e("punycode"),u=e("./util");n.parse=o,n.resolve=i,n.resolveObject=s,n.format=a,n.Url=r;var c=/^([a-z0-9.+-]+:)/i,d=/:[0-9]*$/,f=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,p=["<",">",'"',"`"," ","\r","\n","\t"],h=["{","}","|","\\","^","`"].concat(p),m=["'"].concat(h),v=["%","/","?",";","#"].concat(m),b=["/","?","#"],g=255,y=/^[+a-z0-9A-Z_-]{0,63}$/,_=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,M={javascript:!0,"javascript:":!0},w={javascript:!0,"javascript:":!0},S={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},C=e("querystring");r.prototype.parse=function(e,t,n){if(!u.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),o=r!==-1&&r<e.indexOf("#")?"?":"#",a=e.split(o),i=/\\/g;a[0]=a[0].replace(i,"/"),e=a.join(o);var s=e;if(s=s.trim(),!n&&1===e.split("#").length){var d=f.exec(s);if(d)return this.path=s,this.href=s,this.pathname=d[1],d[2]?(this.search=d[2],t?this.query=C.parse(this.search.substr(1)):this.query=this.search.substr(1)):t&&(this.search="",this.query={}),this}var p=c.exec(s);if(p){p=p[0];var h=p.toLowerCase();this.protocol=h,s=s.substr(p.length)}if(n||p||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var x="//"===s.substr(0,2);!x||p&&w[p]||(s=s.substr(2),this.slashes=!0)}if(!w[p]&&(x||p&&!S[p])){for(var k=-1,T=0;T<b.length;T++){var A=s.indexOf(b[T]);A!==-1&&(k===-1||A<k)&&(k=A)}var P,N;N=k===-1?s.lastIndexOf("@"):s.lastIndexOf("@",k),N!==-1&&(P=s.slice(0,N),s=s.slice(N+1),this.auth=decodeURIComponent(P)),k=-1;for(var T=0;T<v.length;T++){var A=s.indexOf(v[T]);A!==-1&&(k===-1||A<k)&&(k=A)}k===-1&&(k=s.length),this.host=s.slice(0,k),s=s.slice(k),this.parseHost(),this.hostname=this.hostname||"";var O="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!O)for(var E=this.hostname.split(/\./),T=0,z=E.length;T<z;T++){var R=E[T];if(R&&!R.match(y)){for(var j="",L=0,D=R.length;L<D;L++)j+=R.charCodeAt(L)>127?"x":R[L];
|
62 | if(!j.match(y)){var I=E.slice(0,T),B=E.slice(T+1),V=R.match(_);V&&(I.push(V[1]),B.unshift(V[2])),B.length&&(s="/"+B.join(".")+s),this.hostname=I.join(".");break}}}this.hostname.length>g?this.hostname="":this.hostname=this.hostname.toLowerCase(),O||(this.hostname=l.toASCII(this.hostname));var q=this.port?":"+this.port:"",F=this.hostname||"";this.host=F+q,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!M[h])for(var T=0,z=m.length;T<z;T++){var U=m[T];if(s.indexOf(U)!==-1){var W=encodeURIComponent(U);W===U&&(W=escape(U)),s=s.split(U).join(W)}}var H=s.indexOf("#");H!==-1&&(this.hash=s.substr(H),s=s.slice(0,H));var X=s.indexOf("?");if(X!==-1?(this.search=s.substr(X),this.query=s.substr(X+1),t&&(this.query=C.parse(this.query)),s=s.slice(0,X)):t&&(this.search="",this.query={}),s&&(this.pathname=s),S[h]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var q=this.pathname||"",K=this.search||"";this.path=q+K}return this.href=this.format(),this},r.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",n=this.pathname||"",r=this.hash||"",o=!1,a="";this.host?o=e+this.host:this.hostname&&(o=e+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(o+=":"+this.port)),this.query&&u.isObject(this.query)&&Object.keys(this.query).length&&(a=C.stringify(this.query));var i=this.search||a&&"?"+a||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||S[t])&&o!==!1?(o="//"+(o||""),n&&"/"!==n.charAt(0)&&(n="/"+n)):o||(o=""),r&&"#"!==r.charAt(0)&&(r="#"+r),i&&"?"!==i.charAt(0)&&(i="?"+i),n=n.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),i=i.replace("#","%23"),t+o+n+i+r},r.prototype.resolve=function(e){return this.resolveObject(o(e,!1,!0)).format()},r.prototype.resolveObject=function(e){if(u.isString(e)){var t=new r;t.parse(e,!1,!0),e=t}for(var n=new r,o=Object.keys(this),a=0;a<o.length;a++){var i=o[a];n[i]=this[i]}if(n.hash=e.hash,""===e.href)return n.href=n.format(),n;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var c=s[l];"protocol"!==c&&(n[c]=e[c])}return S[n.protocol]&&n.hostname&&!n.pathname&&(n.path=n.pathname="/"),n.href=n.format(),n}if(e.protocol&&e.protocol!==n.protocol){if(!S[e.protocol]){for(var d=Object.keys(e),f=0;f<d.length;f++){var p=d[f];n[p]=e[p]}return n.href=n.format(),n}if(n.protocol=e.protocol,e.host||w[e.protocol])n.pathname=e.pathname;else{for(var h=(e.pathname||"").split("/");h.length&&!(e.host=h.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==h[0]&&h.unshift(""),h.length<2&&h.unshift(""),n.pathname=h.join("/")}if(n.search=e.search,n.query=e.query,n.host=e.host||"",n.auth=e.auth,n.hostname=e.hostname||e.host,n.port=e.port,n.pathname||n.search){var m=n.pathname||"",v=n.search||"";n.path=m+v}return n.slashes=n.slashes||e.slashes,n.href=n.format(),n}var b=n.pathname&&"/"===n.pathname.charAt(0),g=e.host||e.pathname&&"/"===e.pathname.charAt(0),y=g||b||n.host&&e.pathname,_=y,M=n.pathname&&n.pathname.split("/")||[],h=e.pathname&&e.pathname.split("/")||[],C=n.protocol&&!S[n.protocol];if(C&&(n.hostname="",n.port=null,n.host&&(""===M[0]?M[0]=n.host:M.unshift(n.host)),n.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===h[0]?h[0]=e.host:h.unshift(e.host)),e.host=null),y=y&&(""===h[0]||""===M[0])),g)n.host=e.host||""===e.host?e.host:n.host,n.hostname=e.hostname||""===e.hostname?e.hostname:n.hostname,n.search=e.search,n.query=e.query,M=h;else if(h.length)M||(M=[]),M.pop(),M=M.concat(h),n.search=e.search,n.query=e.query;else if(!u.isNullOrUndefined(e.search)){if(C){n.hostname=n.host=M.shift();var x=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");x&&(n.auth=x.shift(),n.host=n.hostname=x.shift())}return n.search=e.search,n.query=e.query,u.isNull(n.pathname)&&u.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.href=n.format(),n}if(!M.length)return n.pathname=null,n.search?n.path="/"+n.search:n.path=null,n.href=n.format(),n;for(var k=M.slice(-1)[0],T=(n.host||e.host||M.length>1)&&("."===k||".."===k)||""===k,A=0,P=M.length;P>=0;P--)k=M[P],"."===k?M.splice(P,1):".."===k?(M.splice(P,1),A++):A&&(M.splice(P,1),A--);if(!y&&!_)for(;A--;A)M.unshift("..");!y||""===M[0]||M[0]&&"/"===M[0].charAt(0)||M.unshift(""),T&&"/"!==M.join("/").substr(-1)&&M.push("");var N=""===M[0]||M[0]&&"/"===M[0].charAt(0);if(C){n.hostname=n.host=N?"":M.length?M.shift():"";var x=!!(n.host&&n.host.indexOf("@")>0)&&n.host.split("@");x&&(n.auth=x.shift(),n.host=n.hostname=x.shift())}return y=y||n.host&&M.length,y&&!N&&M.unshift(""),M.length?n.pathname=M.join("/"):(n.pathname=null,n.path=null),u.isNull(n.pathname)&&u.isNull(n.search)||(n.path=(n.pathname?n.pathname:"")+(n.search?n.search:"")),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},r.prototype.parseHost=function(){var e=this.host,t=d.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},{"./util":1366,punycode:830,querystring:834}],1366:[function(e,t,n){"use strict";t.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},{}],1367:[function(e,t,n){(function(e){function n(e,t){function n(){if(!o){if(r("throwDeprecation"))throw new Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),o=!0}return e.apply(this,arguments)}if(r("noDeprecation"))return e;var o=!1;return n}function r(t){try{if(!e.localStorage)return!1}catch(e){return!1}var n=e.localStorage[t];return null!=n&&"true"===String(n).toLowerCase()}t.exports=n}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],1368:[function(e,t,n){arguments[4][325][0].apply(n,arguments)},{dup:325}],1369:[function(e,t,n){t.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],1370:[function(e,t,n){(function(t,r){function o(e,t){var r={seen:[],stylize:i};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(t)?r.showHidden=t:t&&n._extend(r,t),M(r.showHidden)&&(r.showHidden=!1),M(r.depth)&&(r.depth=2),M(r.colors)&&(r.colors=!1),M(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=a),l(r,e,r.depth)}function a(e,t){var n=o.styles[t];return n?"["+o.colors[n][0]+"m"+e+"["+o.colors[n][1]+"m":e}function i(e,t){return e}function s(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function l(e,t,r){if(e.customInspect&&t&&k(t.inspect)&&t.inspect!==n.inspect&&(!t.constructor||t.constructor.prototype!==t)){var o=t.inspect(r,e);return y(o)||(o=l(e,o,r)),o}var a=u(e,t);if(a)return a;var i=Object.keys(t),m=s(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),x(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return c(t);if(0===i.length){if(k(t)){var v=t.name?": "+t.name:"";return e.stylize("[Function"+v+"]","special")}if(w(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(C(t))return e.stylize(Date.prototype.toString.call(t),"date");if(x(t))return c(t)}var b="",g=!1,_=["{","}"];if(h(t)&&(g=!0,_=["[","]"]),k(t)){var M=t.name?": "+t.name:"";b=" [Function"+M+"]"}if(w(t)&&(b=" "+RegExp.prototype.toString.call(t)),C(t)&&(b=" "+Date.prototype.toUTCString.call(t)),x(t)&&(b=" "+c(t)),0===i.length&&(!g||0==t.length))return _[0]+b+_[1];if(r<0)return w(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var S;return S=g?d(e,t,r,m,i):i.map(function(n){return f(e,t,r,m,n,g)}),e.seen.pop(),p(S,b,_)}function u(e,t){if(M(t))return e.stylize("undefined","undefined");if(y(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return g(t)?e.stylize(""+t,"number"):m(t)?e.stylize(""+t,"boolean"):v(t)?e.stylize("null","null"):void 0}function c(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,n,r,o){for(var a=[],i=0,s=t.length;i<s;++i)O(t,String(i))?a.push(f(e,t,n,r,String(i),!0)):a.push("");return o.forEach(function(o){o.match(/^\d+$/)||a.push(f(e,t,n,r,o,!0))}),a}function f(e,t,n,r,o,a){var i,s,u;if(u=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]},u.get?s=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(s=e.stylize("[Setter]","special")),O(r,o)||(i="["+o+"]"),s||(e.seen.indexOf(u.value)<0?(s=v(n)?l(e,u.value,null):l(e,u.value,n-1),s.indexOf("\n")>-1&&(s=a?s.split("\n").map(function(e){return" "+e}).join("\n").substr(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n"))):s=e.stylize("[Circular]","special")),M(i)){if(a&&o.match(/^\d+$/))return s;i=JSON.stringify(""+o),i.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+s}function p(e,t,n){var r=0,o=e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0);return o>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}function h(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function v(e){return null===e}function b(e){return null==e}function g(e){return"number"==typeof e}function y(e){return"string"==typeof e}function _(e){return"symbol"==typeof e}function M(e){return void 0===e}function w(e){return S(e)&&"[object RegExp]"===A(e)}function S(e){return"object"==typeof e&&null!==e}function C(e){return S(e)&&"[object Date]"===A(e)}function x(e){return S(e)&&("[object Error]"===A(e)||e instanceof Error)}function k(e){return"function"==typeof e}function T(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||"undefined"==typeof e}function A(e){return Object.prototype.toString.call(e)}function P(e){return e<10?"0"+e.toString(10):e.toString(10)}function N(){var e=new Date,t=[P(e.getHours()),P(e.getMinutes()),P(e.getSeconds())].join(":");return[e.getDate(),j[e.getMonth()],t].join(" ")}function O(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var E=/%[sdj%]/g;n.format=function(e){if(!y(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(o(arguments[n]));return t.join(" ")}for(var n=1,r=arguments,a=r.length,i=String(e).replace(E,function(e){if("%%"===e)return"%";if(n>=a)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),s=r[n];n<a;s=r[++n])i+=v(s)||!S(s)?" "+s:" "+o(s);return i},n.deprecate=function(e,o){function a(){if(!i){if(t.throwDeprecation)throw new Error(o);t.traceDeprecation?console.trace(o):console.error(o),i=!0}return e.apply(this,arguments)}if(M(r.process))return function(){return n.deprecate(e,o).apply(this,arguments)};if(t.noDeprecation===!0)return e;var i=!1;return a};var z,R={};n.debuglog=function(e){if(M(z)&&(z=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!R[e])if(new RegExp("\\b"+e+"\\b","i").test(z)){var r=t.pid;R[e]=function(){var t=n.format.apply(n,arguments);console.error("%s %d: %s",e,r,t)}}else R[e]=function(){};return R[e]},n.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},n.isArray=h,n.isBoolean=m,n.isNull=v,n.isNullOrUndefined=b,n.isNumber=g,n.isString=y,n.isSymbol=_,n.isUndefined=M,n.isRegExp=w,n.isObject=S,n.isDate=C,n.isError=x,n.isFunction=k,n.isPrimitive=T,n.isBuffer=e("./support/isBuffer");var j=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];n.log=function(){console.log("%s - %s",N(),n.format.apply(n,arguments))},n.inherits=e("inherits"),n._extend=function(e,t){if(!t||!S(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":1369,_process:828,inherits:1368}],1371:[function(e,t,n){arguments[4][936][0].apply(n,arguments)},{dup:936}],1372:[function(e,t,n){function r(e,t){function n(){for(var t=new Array(arguments.length),n=0;n<t.length;n++)t[n]=arguments[n];var r=e.apply(this,t),o=t[t.length-1];return"function"==typeof r&&r!==o&&Object.keys(o).forEach(function(e){r[e]=o[e]}),r}if(e&&t)return r(e)(t);if("function"!=typeof e)throw new TypeError("need wrapper function");return Object.keys(e).forEach(function(t){n[t]=e[t]}),n}t.exports=r},{}],1373:[function(e,t,n){(function(){"use strict";n.stripBOM=function(e){return"\ufeff"===e[0]?e.substring(1):e}}).call(this)},{}],1374:[function(e,t,n){(function(){"use strict";var e;e=new RegExp(/(?!xmlns)^.*:/),n.normalize=function(e){return e.toLowerCase()},n.firstCharLowerCase=function(e){return e.charAt(0).toLowerCase()+e.slice(1)},n.stripPrefix=function(t){return t.replace(e,"")},n.parseNumbers=function(e){return isNaN(e)||(e=e%1===0?parseInt(e,10):parseFloat(e)),e},n.parseBooleans=function(e){return/^(?:true|false)$/i.test(e)&&(e="true"===e.toLowerCase()),e}}).call(this)},{}],1375:[function(e,t,n){(function(){"use strict";var t,r,o,a,i,s,l,u,c,d,f,p=function(e,t){function n(){this.constructor=e}for(var r in t)h.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},h={}.hasOwnProperty,m=function(e,t){return function(){return e.apply(t,arguments)}};c=e("sax"),a=e("events"),r=e("xmlbuilder"),t=e("./bom"),l=e("./processors"),d=e("timers").setImmediate,i=function(e){return"object"==typeof e&&null!=e&&0===Object.keys(e).length},s=function(e,t){var n,r,o;for(n=0,r=e.length;n<r;n++)o=e[n],t=o(t);return t},u=function(e){return e.indexOf("&")>=0||e.indexOf(">")>=0||e.indexOf("<")>=0},f=function(e){return"<![CDATA["+o(e)+"]]>"},o=function(e){return e.replace("]]>","]]]]><![CDATA[>")},n.processors=l,n.defaults={.1:{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},.2:{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:"\n"},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}},n.ValidationError=function(e){function t(e){this.message=e}return p(t,e),t}(Error),n.Builder=function(){function e(e){var t,r,o;this.options={},r=n.defaults[.2];for(t in r)h.call(r,t)&&(o=r[t],this.options[t]=o);for(t in e)h.call(e,t)&&(o=e[t],this.options[t]=o)}return e.prototype.buildObject=function(e){var t,o,a,i,s;return t=this.options.attrkey,o=this.options.charkey,1===Object.keys(e).length&&this.options.rootName===n.defaults[.2].rootName?(s=Object.keys(e)[0],e=e[s]):s=this.options.rootName,a=function(e){return function(n,r){var i,s,l,c,d,p;if("object"!=typeof r)e.options.cdata&&u(r)?n.raw(f(r)):n.txt(r);else for(d in r)if(h.call(r,d))if(s=r[d],d===t){if("object"==typeof s)for(i in s)p=s[i],n=n.att(i,p)}else if(d===o)n=e.options.cdata&&u(s)?n.raw(f(s)):n.txt(s);else if(Array.isArray(s))for(c in s)h.call(s,c)&&(l=s[c],n="string"==typeof l?e.options.cdata&&u(l)?n.ele(d).raw(f(l)).up():n.ele(d,l).up():a(n.ele(d),l).up());else"object"==typeof s?n=a(n.ele(d),s).up():"string"==typeof s&&e.options.cdata&&u(s)?n=n.ele(d).raw(f(s)).up():(null==s&&(s=""),n=n.ele(d,s.toString()).up());return n}}(this),i=r.create(s,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),a(i,e).end(this.options.renderOpts)},e}(),n.Parser=function(e){function r(e){this.parseString=m(this.parseString,this),this.reset=m(this.reset,this),this.assignOrPush=m(this.assignOrPush,this),this.processAsync=m(this.processAsync,this);var t,r,o;if(!(this instanceof n.Parser))return new n.Parser(e);this.options={},r=n.defaults[.2];for(t in r)h.call(r,t)&&(o=r[t],this.options[t]=o);for(t in e)h.call(e,t)&&(o=e[t],this.options[t]=o);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(l.normalize)),this.reset()}return p(r,e),r.prototype.processAsync=function(){var e,t;try{return this.remaining.length<=this.options.chunkSize?(e=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(e),this.saxParser.close()):(e=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(e),d(this.processAsync))}catch(e){if(t=e,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(t)}},r.prototype.assignOrPush=function(e,t,n){return t in e?(e[t]instanceof Array||(e[t]=[e[t]]),e[t].push(n)):this.options.explicitArray?e[t]=[n]:e[t]=n},r.prototype.reset=function(){var e,t,n,r;return this.removeAllListeners(),this.saxParser=c.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(e){return function(t){if(e.saxParser.resume(),!e.saxParser.errThrown)return e.saxParser.errThrown=!0,e.emit("error",t)}}(this),this.saxParser.onend=function(e){return function(){if(!e.saxParser.ended)return e.saxParser.ended=!0,e.emit("end",e.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,r=[],e=this.options.attrkey,t=this.options.charkey,this.saxParser.onopentag=function(n){return function(o){var a,i,l,u,c;if(l={},l[t]="",!n.options.ignoreAttrs){c=o.attributes;for(a in c)h.call(c,a)&&(e in l||n.options.mergeAttrs||(l[e]={}),i=n.options.attrValueProcessors?s(n.options.attrValueProcessors,o.attributes[a]):o.attributes[a],u=n.options.attrNameProcessors?s(n.options.attrNameProcessors,a):a,n.options.mergeAttrs?n.assignOrPush(l,u,i):l[e][u]=i)}return l["#name"]=n.options.tagNameProcessors?s(n.options.tagNameProcessors,o.name):o.name,n.options.xmlns&&(l[n.options.xmlnskey]={uri:o.uri,local:o.local}),r.push(l)}}(this),this.saxParser.onclosetag=function(e){return function(){var n,o,a,l,u,c,d,f,p,m,v;if(d=r.pop(),c=d["#name"],e.options.explicitChildren&&e.options.preserveChildrenOrder||delete d["#name"],d.cdata===!0&&(n=d.cdata,delete d.cdata),m=r[r.length-1],d[t].match(/^\s*$/)&&!n?(o=d[t],delete d[t]):(e.options.trim&&(d[t]=d[t].trim()),e.options.normalize&&(d[t]=d[t].replace(/\s{2,}/g," ").trim()),d[t]=e.options.valueProcessors?s(e.options.valueProcessors,d[t]):d[t],1===Object.keys(d).length&&t in d&&!e.EXPLICIT_CHARKEY&&(d=d[t])),i(d)&&(d=""!==e.options.emptyTag?e.options.emptyTag:o),null!=e.options.validator){v="/"+function(){var e,t,n;for(n=[],e=0,t=r.length;e<t;e++)u=r[e],n.push(u["#name"]);return n}().concat(c).join("/");try{d=e.options.validator(v,m&&m[c],d)}catch(t){a=t,e.emit("error",a)}}if(e.options.explicitChildren&&!e.options.mergeAttrs&&"object"==typeof d)if(e.options.preserveChildrenOrder){if(m){m[e.options.childkey]=m[e.options.childkey]||[],f={};for(l in d)h.call(d,l)&&(f[l]=d[l]);m[e.options.childkey].push(f),delete d["#name"],1===Object.keys(d).length&&t in d&&!e.EXPLICIT_CHARKEY&&(d=d[t])}}else u={},e.options.attrkey in d&&(u[e.options.attrkey]=d[e.options.attrkey],delete d[e.options.attrkey]),!e.options.charsAsChildren&&e.options.charkey in d&&(u[e.options.charkey]=d[e.options.charkey],delete d[e.options.charkey]),Object.getOwnPropertyNames(d).length>0&&(u[e.options.childkey]=d),d=u;return r.length>0?e.assignOrPush(m,c,d):(e.options.explicitRoot&&(p=d,d={},d[c]=p),e.resultObject=d,e.saxParser.ended=!0,e.emit("end",e.resultObject))}}(this),n=function(e){return function(n){var o,a;if(a=r[r.length-1])return a[t]+=n,e.options.explicitChildren&&e.options.preserveChildrenOrder&&e.options.charsAsChildren&&(e.options.includeWhiteChars||""!==n.replace(/\\n/g,"").trim())&&(a[e.options.childkey]=a[e.options.childkey]||[],o={"#name":"__text__"},o[t]=n,e.options.normalize&&(o[t]=o[t].replace(/\s{2,}/g," ").trim()),a[e.options.childkey].push(o)),a}}(this),this.saxParser.ontext=n,this.saxParser.oncdata=function(e){return function(e){var t;if(t=n(e))return t.cdata=!0}}(this)},r.prototype.parseString=function(e,n){var r;null!=n&&"function"==typeof n&&(this.on("end",function(e){return this.reset(),n(null,e)}),this.on("error",function(e){return this.reset(),n(e)}));try{return e=e.toString(),""===e.trim()?(this.emit("end",null),!0):(e=t.stripBOM(e),this.options.async?(this.remaining=e,d(this.processAsync),this.saxParser):this.saxParser.write(e).close())}catch(e){if(r=e,!this.saxParser.errThrown&&!this.saxParser.ended)return this.emit("error",r),this.saxParser.errThrown=!0;if(this.saxParser.ended)throw r}},r}(a.EventEmitter),n.parseString=function(e,t,r){var o,a,i;return null!=r?("function"==typeof r&&(o=r),"object"==typeof t&&(a=t)):("function"==typeof t&&(o=t),a={}),i=new n.Parser(a),i.parseString(e,o)}}).call(this)},{"./bom":1373,"./processors":1374,events:279,sax:1292,timers:1359,xmlbuilder:1392}],1376:[function(e,t,n){(function(){var n,r;r=e("lodash/create"),t.exports=n=function(){function e(e,t,n){if(this.stringify=e.stringify,null==t)throw new Error("Missing attribute name of element "+e.name);if(null==n)throw new Error("Missing attribute value for attribute "+t+" of element "+e.name);this.name=this.stringify.attName(t),this.value=this.stringify.attValue(n)}return e.prototype.clone=function(){return r(e.prototype,this)},e.prototype.toString=function(e,t){return" "+this.name+'="'+this.value+'"'},e}()}).call(this)},{"lodash/create":699}],1377:[function(e,t,n){(function(){var n,r,o,a,i;i=e("./XMLStringifier"),r=e("./XMLDeclaration"),o=e("./XMLDocType"),a=e("./XMLElement"),t.exports=n=function(){function e(e,t){var n,r;if(null==e)throw new Error("Root element needs a name");null==t&&(t={}),this.options=t,this.stringify=new i(t),r=new a(this,"doc"),n=r.element(e),n.isRoot=!0,n.documentObject=this,this.rootObject=n,t.headless||(n.declaration(t),null==t.pubID&&null==t.sysID||n.doctype(t))}return e.prototype.root=function(){return this.rootObject},e.prototype.end=function(e){return this.toString(e)},e.prototype.toString=function(e){var t,n,r,o,a,i,s,l;return o=(null!=e?e.pretty:void 0)||!1,t=null!=(i=null!=e?e.indent:void 0)?i:" ",r=null!=(s=null!=e?e.offset:void 0)?s:0,n=null!=(l=null!=e?e.newline:void 0)?l:"\n",a="",null!=this.xmldec&&(a+=this.xmldec.toString(e)),null!=this.doctype&&(a+=this.doctype.toString(e)),a+=this.rootObject.toString(e),o&&a.slice(-n.length)===n&&(a=a.slice(0,-n.length)),a},e}()}).call(this)},{"./XMLDeclaration":1384,"./XMLDocType":1385,"./XMLElement":1386,"./XMLStringifier":1390}],1378:[function(e,t,n){(function(){var n,r,o,a=function(e,t){function n(){this.constructor=e}for(var r in t)i.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;o=e("lodash/create"),r=e("./XMLNode"),t.exports=n=function(e){function t(e,n){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing CDATA text");this.text=this.stringify.cdata(n)}return a(t,e),t.prototype.clone=function(){return o(t.prototype,this)},t.prototype.toString=function(e,t){var n,r,o,a,i,s,l,u,c;return a=(null!=e?e.pretty:void 0)||!1,n=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(l=null!=e?e.offset:void 0)?l:0,r=null!=(u=null!=e?e.newline:void 0)?u:"\n",t||(t=0),c=new Array(t+o+1).join(n),i="",a&&(i+=c),i+="<![CDATA["+this.text+"]]>",a&&(i+=r),i},t}(r)}).call(this)},{"./XMLNode":1387,"lodash/create":699}],1379:[function(e,t,n){(function(){var n,r,o,a=function(e,t){function n(){this.constructor=e}for(var r in t)i.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;o=e("lodash/create"),r=e("./XMLNode"),t.exports=n=function(e){function t(e,n){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing comment text");this.text=this.stringify.comment(n)}return a(t,e),t.prototype.clone=function(){return o(t.prototype,this)},t.prototype.toString=function(e,t){var n,r,o,a,i,s,l,u,c;return a=(null!=e?e.pretty:void 0)||!1,n=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(l=null!=e?e.offset:void 0)?l:0,r=null!=(u=null!=e?e.newline:void 0)?u:"\n",t||(t=0),c=new Array(t+o+1).join(n),i="",a&&(i+=c),i+="<!-- "+this.text+" -->",a&&(i+=r),i},t}(r)}).call(this)},{"./XMLNode":1387,"lodash/create":699}],1380:[function(e,t,n){(function(){var n,r;r=e("lodash/create"),t.exports=n=function(){function e(e,t,n,r,o,a){if(this.stringify=e.stringify,null==t)throw new Error("Missing DTD element name");if(null==n)throw new Error("Missing DTD attribute name");if(!r)throw new Error("Missing DTD attribute type");if(!o)throw new Error("Missing DTD attribute default");if(0!==o.indexOf("#")&&(o="#"+o),!o.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT");if(a&&!o.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT");this.elementName=this.stringify.eleName(t),this.attributeName=this.stringify.attName(n),this.attributeType=this.stringify.dtdAttType(r),this.defaultValue=this.stringify.dtdAttDefault(a),this.defaultValueType=o}return e.prototype.toString=function(e,t){var n,r,o,a,i,s,l,u,c;return a=(null!=e?e.pretty:void 0)||!1,n=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(l=null!=e?e.offset:void 0)?l:0,r=null!=(u=null!=e?e.newline:void 0)?u:"\n",t||(t=0),c=new Array(t+o+1).join(n),i="",a&&(i+=c),i+="<!ATTLIST "+this.elementName+" "+this.attributeName+" "+this.attributeType,"#DEFAULT"!==this.defaultValueType&&(i+=" "+this.defaultValueType),this.defaultValue&&(i+=' "'+this.defaultValue+'"'),i+=">",a&&(i+=r),i},e}()}).call(this)},{"lodash/create":699}],1381:[function(e,t,n){(function(){var n,r;r=e("lodash/create"),t.exports=n=function(){function e(e,t,n){if(this.stringify=e.stringify,null==t)throw new Error("Missing DTD element name");n||(n="(#PCDATA)"),Array.isArray(n)&&(n="("+n.join(",")+")"),this.name=this.stringify.eleName(t),this.value=this.stringify.dtdElementValue(n)}return e.prototype.toString=function(e,t){var n,r,o,a,i,s,l,u,c;return a=(null!=e?e.pretty:void 0)||!1,n=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(l=null!=e?e.offset:void 0)?l:0,r=null!=(u=null!=e?e.newline:void 0)?u:"\n",t||(t=0),c=new Array(t+o+1).join(n),i="",a&&(i+=c),i+="<!ELEMENT "+this.name+" "+this.value+">",a&&(i+=r),i},e}()}).call(this)},{"lodash/create":699}],1382:[function(e,t,n){(function(){var n,r,o;r=e("lodash/create"),o=e("lodash/isObject"),t.exports=n=function(){function e(e,t,n,r){if(this.stringify=e.stringify,null==n)throw new Error("Missing entity name");if(null==r)throw new Error("Missing entity value");if(this.pe=!!t,this.name=this.stringify.eleName(n),o(r)){if(!r.pubID&&!r.sysID)throw new Error("Public and/or system identifiers are required for an external entity");if(r.pubID&&!r.sysID)throw new Error("System identifier is required for a public external entity");if(null!=r.pubID&&(this.pubID=this.stringify.dtdPubID(r.pubID)),null!=r.sysID&&(this.sysID=this.stringify.dtdSysID(r.sysID)),null!=r.nData&&(this.nData=this.stringify.dtdNData(r.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity")}else this.value=this.stringify.dtdEntityValue(r)}return e.prototype.toString=function(e,t){var n,r,o,a,i,s,l,u,c;return a=(null!=e?e.pretty:void 0)||!1,n=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(l=null!=e?e.offset:void 0)?l:0,r=null!=(u=null!=e?e.newline:void 0)?u:"\n",t||(t=0),c=new Array(t+o+1).join(n),i="",a&&(i+=c),i+="<!ENTITY",this.pe&&(i+=" %"),i+=" "+this.name,this.value?i+=' "'+this.value+'"':(this.pubID&&this.sysID?i+=' PUBLIC "'+this.pubID+'" "'+this.sysID+'"':this.sysID&&(i+=' SYSTEM "'+this.sysID+'"'),this.nData&&(i+=" NDATA "+this.nData)),i+=">",a&&(i+=r),i},e}()}).call(this)},{"lodash/create":699,"lodash/isObject":741}],1383:[function(e,t,n){(function(){var n,r;r=e("lodash/create"),t.exports=n=function(){function e(e,t,n){if(this.stringify=e.stringify,null==t)throw new Error("Missing notation name");if(!n.pubID&&!n.sysID)throw new Error("Public or system identifiers are required for an external entity");this.name=this.stringify.eleName(t),null!=n.pubID&&(this.pubID=this.stringify.dtdPubID(n.pubID)),null!=n.sysID&&(this.sysID=this.stringify.dtdSysID(n.sysID))}return e.prototype.toString=function(e,t){var n,r,o,a,i,s,l,u,c;return a=(null!=e?e.pretty:void 0)||!1,n=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(l=null!=e?e.offset:void 0)?l:0,r=null!=(u=null!=e?e.newline:void 0)?u:"\n",t||(t=0),c=new Array(t+o+1).join(n),i="",a&&(i+=c),i+="<!NOTATION "+this.name,this.pubID&&this.sysID?i+=' PUBLIC "'+this.pubID+'" "'+this.sysID+'"':this.pubID?i+=' PUBLIC "'+this.pubID+'"':this.sysID&&(i+=' SYSTEM "'+this.sysID+'"'),i+=">",a&&(i+=r),i},e}()}).call(this)},{"lodash/create":699}],1384:[function(e,t,n){(function(){var n,r,o,a,i=function(e,t){function n(){this.constructor=e}for(var r in t)s.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},s={}.hasOwnProperty;o=e("lodash/create"),a=e("lodash/isObject"),r=e("./XMLNode"),t.exports=n=function(e){function t(e,n,r,o){var i;t.__super__.constructor.call(this,e),a(n)&&(i=n,n=i.version,r=i.encoding,o=i.standalone),n||(n="1.0"),this.version=this.stringify.xmlVersion(n),null!=r&&(this.encoding=this.stringify.xmlEncoding(r)),null!=o&&(this.standalone=this.stringify.xmlStandalone(o))}return i(t,e),t.prototype.toString=function(e,t){var n,r,o,a,i,s,l,u,c;return a=(null!=e?e.pretty:void 0)||!1,n=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(l=null!=e?e.offset:void 0)?l:0,r=null!=(u=null!=e?e.newline:void 0)?u:"\n",t||(t=0),c=new Array(t+o+1).join(n),i="",a&&(i+=c),i+="<?xml",i+=' version="'+this.version+'"',null!=this.encoding&&(i+=' encoding="'+this.encoding+'"'),null!=this.standalone&&(i+=' standalone="'+this.standalone+'"'),i+="?>",a&&(i+=r),i},t}(r)}).call(this)},{"./XMLNode":1387,"lodash/create":699,"lodash/isObject":741}],1385:[function(e,t,n){(function(){var n,r,o,a,i,s,l,u,c,d;c=e("lodash/create"),d=e("lodash/isObject"),n=e("./XMLCData"),r=e("./XMLComment"),o=e("./XMLDTDAttList"),i=e("./XMLDTDEntity"),a=e("./XMLDTDElement"),s=e("./XMLDTDNotation"),u=e("./XMLProcessingInstruction"),t.exports=l=function(){function e(e,t,n){var r,o;this.documentObject=e,this.stringify=this.documentObject.stringify,this.children=[],d(t)&&(r=t,t=r.pubID,n=r.sysID),null==n&&(o=[t,n],n=o[0],t=o[1]),null!=t&&(this.pubID=this.stringify.dtdPubID(t)),null!=n&&(this.sysID=this.stringify.dtdSysID(n))}return e.prototype.element=function(e,t){var n;return n=new a(this,e,t),this.children.push(n),this},e.prototype.attList=function(e,t,n,r,a){var i;return i=new o(this,e,t,n,r,a),this.children.push(i),this},e.prototype.entity=function(e,t){var n;return n=new i(this,(!1),e,t),this.children.push(n),this},e.prototype.pEntity=function(e,t){var n;return n=new i(this,(!0),e,t),this.children.push(n),this},e.prototype.notation=function(e,t){
|
63 | var n;return n=new s(this,e,t),this.children.push(n),this},e.prototype.cdata=function(e){var t;return t=new n(this,e),this.children.push(t),this},e.prototype.comment=function(e){var t;return t=new r(this,e),this.children.push(t),this},e.prototype.instruction=function(e,t){var n;return n=new u(this,e,t),this.children.push(n),this},e.prototype.root=function(){return this.documentObject.root()},e.prototype.document=function(){return this.documentObject},e.prototype.toString=function(e,t){var n,r,o,a,i,s,l,u,c,d,f,p,h;if(l=(null!=e?e.pretty:void 0)||!1,o=null!=(c=null!=e?e.indent:void 0)?c:" ",s=null!=(d=null!=e?e.offset:void 0)?d:0,i=null!=(f=null!=e?e.newline:void 0)?f:"\n",t||(t=0),h=new Array(t+s+1).join(o),u="",l&&(u+=h),u+="<!DOCTYPE "+this.root().name,this.pubID&&this.sysID?u+=' PUBLIC "'+this.pubID+'" "'+this.sysID+'"':this.sysID&&(u+=' SYSTEM "'+this.sysID+'"'),this.children.length>0){for(u+=" [",l&&(u+=i),p=this.children,r=0,a=p.length;r<a;r++)n=p[r],u+=n.toString(e,t+1);u+="]"}return u+=">",l&&(u+=i),u},e.prototype.ele=function(e,t){return this.element(e,t)},e.prototype.att=function(e,t,n,r,o){return this.attList(e,t,n,r,o)},e.prototype.ent=function(e,t){return this.entity(e,t)},e.prototype.pent=function(e,t){return this.pEntity(e,t)},e.prototype.not=function(e,t){return this.notation(e,t)},e.prototype.dat=function(e){return this.cdata(e)},e.prototype.com=function(e){return this.comment(e)},e.prototype.ins=function(e,t){return this.instruction(e,t)},e.prototype.up=function(){return this.root()},e.prototype.doc=function(){return this.document()},e}()}).call(this)},{"./XMLCData":1378,"./XMLComment":1379,"./XMLDTDAttList":1380,"./XMLDTDElement":1381,"./XMLDTDEntity":1382,"./XMLDTDNotation":1383,"./XMLProcessingInstruction":1388,"lodash/create":699,"lodash/isObject":741}],1386:[function(e,t,n){(function(){var n,r,o,a,i,s,l,u,c=function(e,t){function n(){this.constructor=e}for(var r in t)d.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},d={}.hasOwnProperty;i=e("lodash/create"),u=e("lodash/isObject"),l=e("lodash/isFunction"),s=e("lodash/every"),o=e("./XMLNode"),n=e("./XMLAttribute"),a=e("./XMLProcessingInstruction"),t.exports=r=function(e){function t(e,n,r){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing element name");this.name=this.stringify.eleName(n),this.children=[],this.instructions=[],this.attributes={},null!=r&&this.attribute(r)}return c(t,e),t.prototype.clone=function(){var e,n,r,o,a,s,l,u;r=i(t.prototype,this),r.isRoot&&(r.documentObject=null),r.attributes={},l=this.attributes;for(n in l)d.call(l,n)&&(e=l[n],r.attributes[n]=e.clone());for(r.instructions=[],u=this.instructions,o=0,a=u.length;o<a;o++)s=u[o],r.instructions.push(s.clone());return r.children=[],this.children.forEach(function(e){var t;return t=e.clone(),t.parent=r,r.children.push(t)}),r},t.prototype.attribute=function(e,t){var r,o;if(null!=e&&(e=e.valueOf()),u(e))for(r in e)d.call(e,r)&&(o=e[r],this.attribute(r,o));else l(t)&&(t=t.apply()),this.options.skipNullAttributes&&null==t||(this.attributes[e]=new n(this,e,t));return this},t.prototype.removeAttribute=function(e){var t,n,r;if(null==e)throw new Error("Missing attribute name");if(e=e.valueOf(),Array.isArray(e))for(n=0,r=e.length;n<r;n++)t=e[n],delete this.attributes[t];else delete this.attributes[e];return this},t.prototype.instruction=function(e,t){var n,r,o,i,s;if(null!=e&&(e=e.valueOf()),null!=t&&(t=t.valueOf()),Array.isArray(e))for(n=0,s=e.length;n<s;n++)r=e[n],this.instruction(r);else if(u(e))for(r in e)d.call(e,r)&&(o=e[r],this.instruction(r,o));else l(t)&&(t=t.apply()),i=new a(this,e,t),this.instructions.push(i);return this},t.prototype.toString=function(e,t){var n,r,o,a,i,l,u,c,f,p,h,m,v,b,g,y,_,M,w,S;for(m=(null!=e?e.pretty:void 0)||!1,a=null!=(b=null!=e?e.indent:void 0)?b:" ",h=null!=(g=null!=e?e.offset:void 0)?g:0,p=null!=(y=null!=e?e.newline:void 0)?y:"\n",t||(t=0),S=new Array(t+h+1).join(a),v="",_=this.instructions,o=0,u=_.length;o<u;o++)i=_[o],v+=i.toString(e,t);m&&(v+=S),v+="<"+this.name,M=this.attributes;for(f in M)d.call(M,f)&&(n=M[f],v+=n.toString(e));if(0===this.children.length||s(this.children,function(e){return""===e.value}))v+="/>",m&&(v+=p);else if(m&&1===this.children.length&&null!=this.children[0].value)v+=">",v+=this.children[0].value,v+="</"+this.name+">",v+=p;else{for(v+=">",m&&(v+=p),w=this.children,l=0,c=w.length;l<c;l++)r=w[l],v+=r.toString(e,t+1);m&&(v+=S),v+="</"+this.name+">",m&&(v+=p)}return v},t.prototype.att=function(e,t){return this.attribute(e,t)},t.prototype.ins=function(e,t){return this.instruction(e,t)},t.prototype.a=function(e,t){return this.attribute(e,t)},t.prototype.i=function(e,t){return this.instruction(e,t)},t}(o)}).call(this)},{"./XMLAttribute":1376,"./XMLNode":1387,"./XMLProcessingInstruction":1388,"lodash/create":699,"lodash/every":708,"lodash/isFunction":737,"lodash/isObject":741}],1387:[function(e,t,n){(function(){var n,r,o,a,i,s,l,u,c,d,f,p={}.hasOwnProperty;f=e("lodash/isObject"),d=e("lodash/isFunction"),c=e("lodash/isEmpty"),i=null,n=null,r=null,o=null,a=null,l=null,u=null,t.exports=s=function(){function t(t){this.parent=t,this.options=this.parent.options,this.stringify=this.parent.stringify,null===i&&(i=e("./XMLElement"),n=e("./XMLCData"),r=e("./XMLComment"),o=e("./XMLDeclaration"),a=e("./XMLDocType"),l=e("./XMLRaw"),u=e("./XMLText"))}return t.prototype.element=function(e,t,n){var r,o,a,i,s,l,u,h,m,v;if(l=null,null==t&&(t={}),t=t.valueOf(),f(t)||(m=[t,n],n=m[0],t=m[1]),null!=e&&(e=e.valueOf()),Array.isArray(e))for(a=0,u=e.length;a<u;a++)o=e[a],l=this.element(o);else if(d(e))l=this.element(e.apply());else if(f(e)){for(s in e)if(p.call(e,s))if(v=e[s],d(v)&&(v=v.apply()),f(v)&&c(v)&&(v=null),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&0===s.indexOf(this.stringify.convertAttKey))l=this.attribute(s.substr(this.stringify.convertAttKey.length),v);else if(!this.options.ignoreDecorators&&this.stringify.convertPIKey&&0===s.indexOf(this.stringify.convertPIKey))l=this.instruction(s.substr(this.stringify.convertPIKey.length),v);else if(!this.options.separateArrayItems&&Array.isArray(v))for(i=0,h=v.length;i<h;i++)o=v[i],r={},r[s]=o,l=this.element(r);else f(v)?(l=this.element(s),l.element(v)):l=this.element(s,v)}else l=!this.options.ignoreDecorators&&this.stringify.convertTextKey&&0===e.indexOf(this.stringify.convertTextKey)?this.text(n):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&0===e.indexOf(this.stringify.convertCDataKey)?this.cdata(n):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&0===e.indexOf(this.stringify.convertCommentKey)?this.comment(n):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&0===e.indexOf(this.stringify.convertRawKey)?this.raw(n):this.node(e,t,n);if(null==l)throw new Error("Could not create any elements with: "+e);return l},t.prototype.insertBefore=function(e,t,n){var r,o,a;if(this.isRoot)throw new Error("Cannot insert elements at root level");return o=this.parent.children.indexOf(this),a=this.parent.children.splice(o),r=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,a),r},t.prototype.insertAfter=function(e,t,n){var r,o,a;if(this.isRoot)throw new Error("Cannot insert elements at root level");return o=this.parent.children.indexOf(this),a=this.parent.children.splice(o+1),r=this.parent.element(e,t,n),Array.prototype.push.apply(this.parent.children,a),r},t.prototype.remove=function(){var e,t;if(this.isRoot)throw new Error("Cannot remove the root element");return e=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[e,e-e+1].concat(t=[])),t,this.parent},t.prototype.node=function(e,t,n){var r,o;return null!=e&&(e=e.valueOf()),null==t&&(t={}),t=t.valueOf(),f(t)||(o=[t,n],n=o[0],t=o[1]),r=new i(this,e,t),null!=n&&r.text(n),this.children.push(r),r},t.prototype.text=function(e){var t;return t=new u(this,e),this.children.push(t),this},t.prototype.cdata=function(e){var t;return t=new n(this,e),this.children.push(t),this},t.prototype.comment=function(e){var t;return t=new r(this,e),this.children.push(t),this},t.prototype.raw=function(e){var t;return t=new l(this,e),this.children.push(t),this},t.prototype.declaration=function(e,t,n){var r,a;return r=this.document(),a=new o(r,e,t,n),r.xmldec=a,r.root()},t.prototype.doctype=function(e,t){var n,r;return n=this.document(),r=new a(n,e,t),n.doctype=r,r},t.prototype.up=function(){if(this.isRoot)throw new Error("The root node has no parent. Use doc() if you need to get the document object.");return this.parent},t.prototype.root=function(){var e;if(this.isRoot)return this;for(e=this.parent;!e.isRoot;)e=e.parent;return e},t.prototype.document=function(){return this.root().documentObject},t.prototype.end=function(e){return this.document().toString(e)},t.prototype.prev=function(){var e;if(this.isRoot)throw new Error("Root node has no siblings");if(e=this.parent.children.indexOf(this),e<1)throw new Error("Already at the first node");return this.parent.children[e-1]},t.prototype.next=function(){var e;if(this.isRoot)throw new Error("Root node has no siblings");if(e=this.parent.children.indexOf(this),e===-1||e===this.parent.children.length-1)throw new Error("Already at the last node");return this.parent.children[e+1]},t.prototype.importXMLBuilder=function(e){var t;return t=e.root().clone(),t.parent=this,t.isRoot=!1,this.children.push(t),this},t.prototype.ele=function(e,t,n){return this.element(e,t,n)},t.prototype.nod=function(e,t,n){return this.node(e,t,n)},t.prototype.txt=function(e){return this.text(e)},t.prototype.dat=function(e){return this.cdata(e)},t.prototype.com=function(e){return this.comment(e)},t.prototype.doc=function(){return this.document()},t.prototype.dec=function(e,t,n){return this.declaration(e,t,n)},t.prototype.dtd=function(e,t){return this.doctype(e,t)},t.prototype.e=function(e,t,n){return this.element(e,t,n)},t.prototype.n=function(e,t,n){return this.node(e,t,n)},t.prototype.t=function(e){return this.text(e)},t.prototype.d=function(e){return this.cdata(e)},t.prototype.c=function(e){return this.comment(e)},t.prototype.r=function(e){return this.raw(e)},t.prototype.u=function(){return this.up()},t}()}).call(this)},{"./XMLCData":1378,"./XMLComment":1379,"./XMLDeclaration":1384,"./XMLDocType":1385,"./XMLElement":1386,"./XMLRaw":1389,"./XMLText":1391,"lodash/isEmpty":735,"lodash/isFunction":737,"lodash/isObject":741}],1388:[function(e,t,n){(function(){var n,r;r=e("lodash/create"),t.exports=n=function(){function e(e,t,n){if(this.stringify=e.stringify,null==t)throw new Error("Missing instruction target");this.target=this.stringify.insTarget(t),n&&(this.value=this.stringify.insValue(n))}return e.prototype.clone=function(){return r(e.prototype,this)},e.prototype.toString=function(e,t){var n,r,o,a,i,s,l,u,c;return a=(null!=e?e.pretty:void 0)||!1,n=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(l=null!=e?e.offset:void 0)?l:0,r=null!=(u=null!=e?e.newline:void 0)?u:"\n",t||(t=0),c=new Array(t+o+1).join(n),i="",a&&(i+=c),i+="<?",i+=this.target,this.value&&(i+=" "+this.value),i+="?>",a&&(i+=r),i},e}()}).call(this)},{"lodash/create":699}],1389:[function(e,t,n){(function(){var n,r,o,a=function(e,t){function n(){this.constructor=e}for(var r in t)i.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;o=e("lodash/create"),n=e("./XMLNode"),t.exports=r=function(e){function t(e,n){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing raw text");this.value=this.stringify.raw(n)}return a(t,e),t.prototype.clone=function(){return o(t.prototype,this)},t.prototype.toString=function(e,t){var n,r,o,a,i,s,l,u,c;return a=(null!=e?e.pretty:void 0)||!1,n=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(l=null!=e?e.offset:void 0)?l:0,r=null!=(u=null!=e?e.newline:void 0)?u:"\n",t||(t=0),c=new Array(t+o+1).join(n),i="",a&&(i+=c),i+=this.value,a&&(i+=r),i},t}(n)}).call(this)},{"./XMLNode":1387,"lodash/create":699}],1390:[function(e,t,n){(function(){var e,n=function(e,t){return function(){return e.apply(t,arguments)}},r={}.hasOwnProperty;t.exports=e=function(){function e(e){this.assertLegalChar=n(this.assertLegalChar,this);var t,o,a;this.allowSurrogateChars=null!=e?e.allowSurrogateChars:void 0,this.noDoubleEncoding=null!=e?e.noDoubleEncoding:void 0,o=(null!=e?e.stringify:void 0)||{};for(t in o)r.call(o,t)&&(a=o[t],this[t]=a)}return e.prototype.eleName=function(e){return e=""+e||"",this.assertLegalChar(e)},e.prototype.eleText=function(e){return e=""+e||"",this.assertLegalChar(this.elEscape(e))},e.prototype.cdata=function(e){if(e=""+e||"",e.match(/]]>/))throw new Error("Invalid CDATA text: "+e);return this.assertLegalChar(e)},e.prototype.comment=function(e){if(e=""+e||"",e.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+e);return this.assertLegalChar(e)},e.prototype.raw=function(e){return""+e||""},e.prototype.attName=function(e){return""+e||""},e.prototype.attValue=function(e){return e=""+e||"",this.attEscape(e)},e.prototype.insTarget=function(e){return""+e||""},e.prototype.insValue=function(e){if(e=""+e||"",e.match(/\?>/))throw new Error("Invalid processing instruction value: "+e);return e},e.prototype.xmlVersion=function(e){if(e=""+e||"",!e.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+e);return e},e.prototype.xmlEncoding=function(e){if(e=""+e||"",!e.match(/^[A-Za-z](?:[A-Za-z0-9._-]|-)*$/))throw new Error("Invalid encoding: "+e);return e},e.prototype.xmlStandalone=function(e){return e?"yes":"no"},e.prototype.dtdPubID=function(e){return""+e||""},e.prototype.dtdSysID=function(e){return""+e||""},e.prototype.dtdElementValue=function(e){return""+e||""},e.prototype.dtdAttType=function(e){return""+e||""},e.prototype.dtdAttDefault=function(e){return null!=e?""+e||"":e},e.prototype.dtdEntityValue=function(e){return""+e||""},e.prototype.dtdNData=function(e){return""+e||""},e.prototype.convertAttKey="@",e.prototype.convertPIKey="?",e.prototype.convertTextKey="#text",e.prototype.convertCDataKey="#cdata",e.prototype.convertCommentKey="#comment",e.prototype.convertRawKey="#raw",e.prototype.assertLegalChar=function(e){var t,n;if(t=this.allowSurrogateChars?/[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uFFFE-\uFFFF]/:/[\u0000-\u0008\u000B-\u000C\u000E-\u001F\uD800-\uDFFF\uFFFE-\uFFFF]/,n=e.match(t))throw new Error("Invalid character ("+n+") in string: "+e+" at index "+n.index);return e},e.prototype.elEscape=function(e){var t;return t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
")},e.prototype.attEscape=function(e){var t;return t=this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,e.replace(t,"&").replace(/</g,"<").replace(/"/g,""")},e}()}).call(this)},{}],1391:[function(e,t,n){(function(){var n,r,o,a=function(e,t){function n(){this.constructor=e}for(var r in t)i.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},i={}.hasOwnProperty;o=e("lodash/create"),n=e("./XMLNode"),t.exports=r=function(e){function t(e,n){if(t.__super__.constructor.call(this,e),null==n)throw new Error("Missing element text");this.value=this.stringify.eleText(n)}return a(t,e),t.prototype.clone=function(){return o(t.prototype,this)},t.prototype.toString=function(e,t){var n,r,o,a,i,s,l,u,c;return a=(null!=e?e.pretty:void 0)||!1,n=null!=(s=null!=e?e.indent:void 0)?s:" ",o=null!=(l=null!=e?e.offset:void 0)?l:0,r=null!=(u=null!=e?e.newline:void 0)?u:"\n",t||(t=0),c=new Array(t+o+1).join(n),i="",a&&(i+=c),i+=this.value,a&&(i+=r),i},t}(n)}).call(this)},{"./XMLNode":1387,"lodash/create":699}],1392:[function(e,t,n){(function(){var n,r;r=e("lodash/assign"),n=e("./XMLBuilder"),t.exports.create=function(e,t,o,a){return a=r({},t,o,a),new n(e,a).root()}}).call(this)},{"./XMLBuilder":1377,"lodash/assign":690}],1393:[function(e,t,n){"use strict";function r(e,t){var n=i(e);if(!n)return!1;var r=c[n.type]||u;return r(n,t)}Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=void 0,i=void 0,s=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){var r=!0,o=!1,a=void 0;try{for(var i,s=t[Symbol.iterator]();!(r=(i=s.next()).done);r=!0){var l=i.value;if(l(e,n))return!0}}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return!1}},l=function(e){return function(t,n){var o=t[e];return o!==t.id&&r(o,n)}},u=function(e,t){var n=e.id,r=a[n];return r&&r[t]},c={host:s(u,l("$pool")),message:l("$object"),network:s(u,l("$pool")),SR:s(u,l("$pool")),task:l("$host"),VBD:l("VDI"),VDI:function(e,t){if(r(e.$SR,t))return!0;var n=!0,o=!1,a=void 0;try{for(var s,l=e.$VBDs[Symbol.iterator]();!(n=(s=l.next()).done);n=!0){var u=s.value;if(r(i(u).VM,t))return!0}}catch(e){o=!0,a=e}finally{try{!n&&l.return&&l.return()}finally{if(o)throw a}}return!1},"VDI-snapshot":l("$snapshot_of"),VIF:s(l("$network"),l("$VM")),VM:s(u,l("$container")),"VM-controller":l("$container"),"VM-snapshot":l("$snapshot_of"),"VM-template":s(u,l("$pool"))};n.default=function(e,t,n,s){a=e,i=t;try{if(s)return r(n,s);var l=!0,u=!1,c=void 0;try{for(var d,f=n[Symbol.iterator]();!(l=(d=f.next()).done);l=!0){var p=o(d.value,2),h=p[0],m=p[1];if(!r(h,m))return!1}}catch(e){u=!0,c=e}finally{try{!l&&f.return&&f.return()}finally{if(u)throw c}}return!0}finally{a=i=null}}},{}],1394:[function(e,t,n){t.exports=e("./dist/api-errors")},{"./dist/api-errors":1395}],1395:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0}),n.patchPrecheckFailed=n.operationBlocked=n.hostOffline=n.vdiInUse=n.objectAlreadyExists=n.notSupportedDuringUpgrade=n.vmLacksFeature=n.vmBadPowerState=n.vmIsTemplate=n.vmMissingPvDrivers=n.invalidParameters=n.serverUnreachable=n.authenticationFailed=n.noHostsAvailable=n.forbiddenOperation=n.invalidCredentials=n.unauthorized=n.noSuchObject=n.notImplemented=void 0;var s=e("lodash/iteratee"),l=r(s),u=e("lodash/isArray"),c=r(u),d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=e("make-error"),h=function(e){function t(e){var n=e.code,r=e.message,i=e.data;o(this,t);var s=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,r));return s.code=n,s.data=i,s}return i(t,e),f(t,[{key:"toJsonRpcError",value:function(){return{message:this.message,code:this.code,data:this.data}}}]),t}(p.BaseError),m=function(e,t){var n=function(n){return new h(d({},t(n),{code:e}))};return n.is=function(t,n){return t.code===e&&(0,l.default)(n)(t)},n};n.notImplemented=m(0,function(){return{message:"not implemented"}}),n.noSuchObject=m(1,function(e,t){return{data:{id:e,type:t},message:"no such object"}}),n.unauthorized=m(2,function(){return{message:"not authenticated or not enough permissions"}}),n.invalidCredentials=m(3,function(){return{message:"invalid credentials"}}),n.forbiddenOperation=m(5,function(e,t){return{data:{operation:e,reason:t},message:"forbidden operation: "+e}}),n.noHostsAvailable=m(7,function(){return{message:"no hosts available"}}),n.authenticationFailed=m(8,function(){return{message:"authentication failed"}}),n.serverUnreachable=m(9,function(e){return{data:{objectId:e},message:"server unreachable"}}),n.invalidParameters=m(10,function(e,t){return(0,c.default)(e)&&(t=e,e=void 0),{data:{errors:t},message:e||"invalid parameters"}}),n.vmMissingPvDrivers=m(11,function(e){var t=e.vm;return{data:{objectId:t},message:"missing PV drivers"}}),n.vmIsTemplate=m(12,function(e){var t=e.vm;return{data:{objectId:t},message:"VM is a template"}}),n.vmBadPowerState=m(13,function(e){var t=e.vm,n=e.expected,r=e.actual;return{data:{objectId:t,expected:n,actual:r},message:"VM state is "+r+" but should be "+n}}),n.vmLacksFeature=m(14,function(e){var t=e.vm,n=e.feature;return{data:{objectId:t,feature:n},message:"VM lacks feature "+(n||"")}}),n.notSupportedDuringUpgrade=m(15,function(){return{message:"not supported during upgrade"}}),n.objectAlreadyExists=m(16,function(e){var t=e.objectId,n=e.objectType;return{data:{objectId:t,objectType:n},message:(n||"object")+" already exists"}}),n.vdiInUse=m(17,function(e){var t=e.vdi,n=e.operation;return{data:{objectId:t,operation:n},message:"VDI in use"}}),n.hostOffline=m(18,function(e){var t=e.host;return{data:{objectId:t},message:"host offline"}}),n.operationBlocked=m(19,function(e){var t=e.objectId,n=e.code;return{data:{objectId:t,code:n},message:"operation blocked"}}),n.patchPrecheckFailed=m(20,function(e){var t=e.errorType,n=e.patch;return{data:{objectId:n,errorType:t},message:"patch precheck failed: "+t}})},{"lodash/isArray":731,"lodash/iteratee":747,"make-error":798}],1396:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(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)}Object.defineProperty(n,"__esModule",{value:!0}),n.XoError=void 0;var s=e("lodash/startsWith"),l=r(s),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),c=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,n,r)}if("value"in o)return o.value;var i=o.get;if(void 0!==i)return i.call(r)},d=e("jsonrpc-websocket-client"),f=r(d),p=e("make-error"),h=function(){},m=n.XoError=function(e){function t(){return o(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return i(t,e),t}(p.BaseError),v=function(e){function t(e){o(this,t);var n=e&&e.url||".",r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,("/"===n?"":n)+"/api/"));return r._credentials=e&&e.credentials||null,r._user=null,r.on(d.OPEN,function(){r._credentials&&r._signIn(r._credentials).catch(h)}),r.on(d.CLOSED,function(){r._user=null}),r}return i(t,e),u(t,[{key:"call",value:function(e,n,r){var o=this;if((0,l.default)(e,"session."))return Promise.reject(new m("session.*() methods are disabled from this interface"));var a=c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"call",this).call(this,e,n);return a.retry=function(t){return a.catch(function(a){if(r=(r||0)+1,t(a,r))return o.call(e,n,r)})},a}},{key:"refreshUser",value:function(){var e=this;return c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"call",this).call(this,"session.getUser").then(function(t){return e._user=t})}},{key:"signIn",value:function(e){return this._credentials=e,this._signIn(e)}},{key:"_signIn",value:function(e){var n=this;return c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"call",this).call(this,"session.signIn",e).then(function(e){n._user=e,n.emit("authenticated")},function(e){throw n.emit("authenticationFailure",e),e})}},{key:"user",get:function(){return this._user}}]),t}(f.default);n.default=v},{"jsonrpc-websocket-client":376,"lodash/startsWith":777,"make-error":798}],1397:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.format=n.parse=void 0;var o=function(){function e(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=e("lodash/filter"),i=r(a),s=e("lodash/map"),l=r(s),u=e("lodash/trim"),c=r(u),d=e("lodash/trimStart"),f=r(d),p=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,i.default)((0,l.default)(t,function(e){return e&&(0,i.default)((0,l.default)(e.split("/"),c.default)).join("/")})).join("/")};n.parse=function(e){var t={},n=e.split("://"),r=o(n,2),a=r[0],i=r[1];if("file"===a)t.type="file",t.path="/"+(0,f.default)(i,"/");else if("nfs"===a){t.type="nfs";var s=i.split(":"),l=o(s,2),u=l[0],c=l[1];t.host=u,t.path="/"+(0,f.default)(c,"/")}else if("smb"===a){t.type="smb";var d=i.lastIndexOf("@"),p=i.slice(d+1),h=i.slice(0,d),m=h.indexOf(":"),v=h.slice(0,m),b=h.slice(m+1),g=p.split("\\\\"),y=o(g,2),_=y[0],M=y[1],w=M.split("\0"),S=o(w,2),C=S[0],x=S[1];t.host=C,t.path=x,t.domain=_,t.username=v,t.password=b}return t},n.format=function(e){var t=e.type,n=e.host,r=e.path,o=e.username,a=e.password,i=e.domain;"local"===t&&(t="file");var s=t+"://";return"nfs"===t&&(s+=n+":"),"smb"===t&&(s+=o+":"+a+"@"+i+"\\\\"+n),r=p(r),"smb"===t?(r=r.split("/"),r="\0"+r.join("\\")):r="/"+r,s+=r}},{"lodash/filter":709,"lodash/map":754,"lodash/trim":790,"lodash/trimStart":791}],1398:[function(e,t,n){function r(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var r in n)o.call(n,r)&&(e[r]=n[r])}return e}t.exports=r;var o=Object.prototype.hasOwnProperty},{}],1399:[function(e,t,n){t.exports={private:!1,name:"xo-web",version:"5.7.10",license:"AGPL-3.0",description:"Web interface client for Xen-Orchestra",keywords:["xen","orchestra","xen-orchestra","web"],homepage:"https://github.com/vatesfr/xo-web",bugs:"https://github.com/vatesfr/xo-web/issues",repository:{type:"git",url:"https://github.com/vatesfr/xo-web"},author:{name:"Julien Fontanet",email:"julien.fontanet@vates.fr"},preferGlobal:!1,main:"dist/",bin:{},files:["dist/"],engines:{node:">=4",npm:">=3"},devDependencies:{ansi_up:"^1.3.0",asap:"^2.0.4","babel-eslint":"^7.0.0","babel-plugin-dev":"^1.0.0","babel-plugin-lodash":"^3.2.11","babel-plugin-transform-decorators-legacy":"^1.3.4","babel-plugin-transform-react-constant-elements":"^6.5.0","babel-plugin-transform-react-inline-elements":"^6.6.5","babel-plugin-transform-react-jsx-self":"^6.11.0","babel-plugin-transform-react-jsx-source":"^6.9.0","babel-plugin-transform-runtime":"^6.6.0","babel-preset-es2015":"^6.6.0","babel-preset-react":"^6.5.0","babel-preset-stage-0":"^6.5.0","babel-register":"^6.16.3","babel-runtime":"^6.6.1",babelify:"^7.2.0",benchmark:"^2.1.0",bootstrap:"4.0.0-alpha.5",browserify:"^14.1.0","bundle-collapser":"^1.2.1",chartist:"^0.10.1","chartist-plugin-legend":"^0.6.1","chartist-plugin-tooltip":"0.0.11",classnames:"^2.2.3","cookies-js":"^1.2.2",d3:"^4.2.8","dependency-check":"^2.5.1",enzyme:"^2.6.0","enzyme-to-json":"^1.4.4","event-to-promise":"^0.7.0","font-awesome":"^4.7.0","font-mfizz":"github:fizzed/font-mfizz","get-stream":"^2.3.0",globby:"^6.0.0",gulp:"github:gulpjs/gulp#4.0","gulp-autoprefixer":"^3.1.0","gulp-csso":"^3.0.0","gulp-embedlr":"^0.5.2","gulp-plumber":"^1.1.0","gulp-pug":"^3.1.0","gulp-refresh":"^1.1.0","gulp-sass":"^3.0.0","gulp-sourcemaps":"^2.2.3","gulp-uglify":"^2.0.0","gulp-watch":"^4.3.5","human-format":"^0.7.0",husky:"^0.13.1","index-modules":"^0.3.0","is-ip":"^1.0.0",jest:"^19.0.2","jsonrpc-websocket-client":"^0.1.1",kindof:"^2.0.0",later:"^1.2.0",lodash:"^4.6.1","loose-envify":"^1.1.0","make-error":"^1.2.1",marked:"^0.3.5","modular-css":"^4.1.1",moment:"^2.13.0","moment-timezone":"^0.5.4",notifyjs:"^3.0.0","novnc-node":"^0.5.3","promise-toolbox":"^0.8.0","random-password":"^0.1.2",react:"^15.4.1","react-addons-shallow-compare":"^15.1.0","react-addons-test-utils":"^15.4.1","react-bootstrap-4":"^0.29.1","react-chartist":"^0.12.0","react-copy-to-clipboard":"^4.0.2","react-debounce-input":"^2.4.0","react-dnd":"^2.1.4","react-dnd-html5-backend":"^2.1.2","react-document-title":"^2.0.2","react-dom":"^15.4.1","react-dropzone":"^3.5.0","react-intl":"^2.0.1","react-key-handler":"^0.3.0","react-notify":"^2.0.1","react-overlays":"^0.6.0","react-redux":"^5.0.0","react-router":"^3.0.0","react-select":"^1.0.0-rc.3","react-shortcuts":"^1.3.1","react-sparklines":"^1.5.0","react-virtualized":"^8.0.8","readable-stream":"^2.0.6",redux:"^3.3.1","redux-devtools":"^3.1.1","redux-devtools-dock-monitor":"^1.1.0","redux-devtools-log-monitor":"^1.0.5","redux-thunk":"^2.0.1",reselect:"^2.2.1",semver:"^5.3.0",standard:"^10.0.0","styled-components":"^1.4.4",superagent:"^3.5.0","tar-stream":"^1.5.2","uncontrollable-input":"^0.0.1",vinyl:"^2.0.0",watchify:"^3.7.0",xml2js:"^0.4.17","xo-acl-resolver":"^0.2.3","xo-common":"0.1.0","xo-lib":"^0.8.0","xo-remote-parser":"^0.3"},scripts:{benchmarks:"./tools/run-benchmarks.js 'src/**/*.bench.js'",build:"npm run build-indexes && NODE_ENV=production gulp build","build-indexes":"index-modules --auto src",commitmsg:"npm test",dev:"npm run build-indexes && NODE_ENV=development gulp build","dev-test":"jest --watch",lint:"standard",posttest:"npm run lint",prepublish:"npm run build",test:"jest"},browserify:{transform:["babelify","loose-envify"]},babel:{env:{development:{plugins:["transform-react-jsx-self","transform-react-jsx-source"]},production:{plugins:["transform-react-constant-elements","transform-react-inline-elements"]}},plugins:["dev","lodash","transform-decorators-legacy","transform-runtime"],presets:["es2015","react","stage-0"]},jest:{snapshotSerializers:["enzyme-to-json/serializer"]},standard:{globals:["__DEV__"],ignore:["dist"],parser:"babel-eslint"}}},{}],1400:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("lodash/noop"),s=r(i),l=e("lodash/map"),u=r(l),c=e("react"),d=r(c),f=e("./intl"),p=r(f),h=e("./action-button"),m=r(h),v=e("./button-group"),b=r(v),g=function(e){var t=e.actions,n=e.param;return(0,a.default)(b.default,{},void 0,(0,u.default)(t,function(e,t){if(e){var r=e.handler,o=e.handlerParam,i=void 0===o?n:o,l=e.icon,u=e.label,c=e.pending,d=e.redirectOnSuccess;return(0,a.default)(m.default,{handler:r||s.default,handlerParam:i,icon:l,pending:c,redirectOnSuccess:d,size:"large",tooltip:(0,p.default)(u)},t)}}))};g.propTypes={actions:d.default.PropTypes.arrayOf(d.default.PropTypes.shape({label:d.default.PropTypes.string.isRequired,icon:d.default.PropTypes.string.isRequired,handler:d.default.PropTypes.func,redirectOnSuccess:d.default.PropTypes.string})).isRequired,display:d.default.PropTypes.oneOf(["icon","text","both"])},n.default=g;
|
64 | },{"./action-button":1401,"./button-group":1406,"./intl":1436,"babel-runtime/helpers/jsx":27,"lodash/map":754,"lodash/noop":759,react:1269}],1401:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l=e("babel-runtime/helpers/jsx"),u=r(l),c=e("babel-runtime/helpers/objectWithoutProperties"),d=r(c),f=e("babel-runtime/regenerator"),p=r(f),h=e("babel-runtime/helpers/asyncToGenerator"),m=r(h),v=e("babel-runtime/core-js/object/get-prototype-of"),b=r(v),g=e("babel-runtime/helpers/classCallCheck"),y=r(g),_=e("babel-runtime/helpers/createClass"),M=r(_),w=e("babel-runtime/helpers/possibleConstructorReturn"),S=r(w),C=e("babel-runtime/helpers/inherits"),x=r(C),k=e("lodash/isFunction"),T=r(k),A=e("react"),P=r(A),N=e("./button"),O=r(N),E=e("./base-component"),z=r(E),R=e("./icon"),j=r(R),L=e("./log-error"),D=r(L),I=e("./prop-types"),B=r(I),V=e("./tooltip"),q=r(V),F=e("./notification"),U=(o=(0,B.default)({children:B.default.node,disabled:B.default.bool,form:B.default.string,handler:B.default.func.isRequired,handlerParam:B.default.any,icon:B.default.string.isRequired,pending:B.default.bool,redirectOnSuccess:B.default.oneOfType([B.default.func,B.default.string]),tooltip:B.default.node}),o((s=i=function(e){function t(){var e,n,r,o,a;(0,y.default)(this,t);for(var i=arguments.length,s=Array(i),l=0;l<i;l++)s[l]=arguments[l];return r=o=(0,S.default)(this,(e=t.__proto__||(0,b.default)(t)).call.apply(e,[this].concat(s))),o._execute=(n=o)._execute.bind(n),o._eventListener=function(e){e.preventDefault(),o._execute()},a=r,(0,S.default)(o,a)}return(0,x.default)(t,e),(0,M.default)(t,[{key:"_execute",value:function(){function e(){return t.apply(this,arguments)}var t=(0,m.default)(p.default.mark(function e(){var t,n,r,o,a,i,s;return p.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.props.pending&&!this.state.working){e.next=2;break}return e.abrupt("return");case 2:return t=this.props,n=t.children,r=t.handler,o=t.handlerParam,a=t.tooltip,e.prev=3,this.setState({error:void 0,working:!0}),e.next=7,r(o);case 7:if(i=e.sent,s=this.props.redirectOnSuccess,!s){e.next=11;break}return e.abrupt("return",this.context.router.push((0,T.default)(s)?s(i):s));case 11:this.setState({working:!1}),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(3),this.setState({error:e.t0,working:!1}),void 0!==e.t0&&((0,D.default)(e.t0),(0,F.error)(n||a||e.t0.name,e.t0.message||String(e.t0)));case 18:case"end":return e.stop()}},e,this,[[3,14]])}));return e}()},{key:"componentDidMount",value:function(){var e=this.props.form;e&&document.getElementById(e).addEventListener("submit",this._eventListener)}},{key:"componentWillUnmount",value:function(){var e=this.props.form;e&&document.getElementById(e).removeEventListener("submit",this._eventListener)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.icon,r=e.pending,o=e.tooltip,a=(0,d.default)(e,["children","icon","pending","tooltip"]),i=this.state,s=i.error,l=i.working;void 0!==s&&(a.btnStyle="warning"),(r||l)&&(a.disabled=!0),delete a.handler,delete a.handlerParam,void 0===a.form&&(a.onClick=this._execute),delete a.redirectOnSuccess;var c=P.default.createElement(O.default,a,(0,u.default)(j.default,{icon:r||l?"loading":n,fixedWidth:!0}),t&&" ",t);return o?(0,u.default)(q.default,{content:o},void 0,c):c}}]),t}(z.default),i.contextTypes={router:B.default.object},a=s))||a);n.default=U},{"./base-component":1405,"./button":1407,"./icon":1435,"./log-error":1460,"./notification":1463,"./prop-types":1464,"./tooltip":1488,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/asyncToGenerator":21,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/objectWithoutProperties":28,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/regenerator":147,"lodash/isFunction":737,react:1269}],1402:[function(e,t,n){t.exports={button:"mcda146b03_button"}},{}],1403:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/extends"),a=r(o),i=e("react"),s=r(i),l=e("../action-button"),u=r(l),c=e("./index.css"),d=r(c),f=function(e){return s.default.createElement(u.default,(0,a.default)({},e,{className:d.default.button,size:"small"}))};n.default=f},{"../action-button":1401,"./index.css":1402,"babel-runtime/helpers/extends":25,react:1269}],1404:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/extends"),a=r(o),i=e("babel-runtime/helpers/objectWithoutProperties"),s=r(i),l=e("react"),u=r(l),c=e("./action-button"),d=r(c),f=e("./prop-types"),p=r(f),h=function(e){var t=(e.className,e.value),n=(0,s.default)(e,["className","value"]);return u.default.createElement(d.default,(0,a.default)({},n,{btnStyle:t?"success":null,icon:t?"toggle-on":"toggle-off"}))};n.default=(0,p.default)({value:p.default.bool})(h)},{"./action-button":1401,"./prop-types":1464,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/objectWithoutProperties":28,react:1269}],1405:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/defineProperty"),a=r(o),i=e("babel-runtime/helpers/typeof"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("lodash/clone"),y=r(g),_=e("lodash/includes"),M=r(_),w=e("lodash/isArray"),S=r(w),C=e("lodash/forEach"),x=r(C),k=e("lodash/map"),T=r(k),A=e("react"),P=e("./get-event-value"),N=r(P),O=!1,E=function e(t,n,r,o){if(o>=n.length)return r;t=null!=t?(0,y.default)(t):{};var a=n[o];return t[a]=e(t[a],n,r,o+1),t},z=function e(t,n,r){if(r>=n.length)return t;var o=n[r++];return(0,S.default)(t)&&"*"===o?(0,T.default)(t,function(t){return e(t,n,r)}):e(t[o],n,r)},R=function(e){function t(e,n){(0,d.default)(this,t);var r=(0,m.default)(this,(t.__proto__||(0,u.default)(t)).call(this,e,n));return r.state={},r._linkedState=null,O&&(r.render=function(e){return function(){return console.log("render",r.constructor.name),e.call(r)}}(r.render)),r}return(0,b.default)(t,e),(0,p.default)(t,[{key:"linkState",value:function(e,t){var n=this,r=t?e+"##"+t:e,o=this._linkedState,i=void 0;if(o){if(i=o[r])return i}else o=this._linkedState={};var l=void 0;if(t?!function(){var e=t.split(".");l=function(t){return z((0,N.default)(t),e,0)}}():l=N.default,(0,M.default)(e,".")){var u=function(){var t=e.split(".");return{v:o[r]=function(e){n.setState(E(n.state,t,l(e),0))}}}();if("object"===("undefined"==typeof u?"undefined":(0,s.default)(u)))return u.v}return o[r]=function(t){n.setState((0,a.default)({},e,l(t)))}}},{key:"toggleState",value:function(e){var t=this,n=this._linkedState,r=void 0;if(n){if(r=n[e])return r}else n=this._linkedState={};if((0,M.default)(e,".")){var o=function(){var r=e.split(".");return{v:n[r]=function(e){t.setState(E(t.state,r,!z(t.state,r,0),0))}}}();if("object"===("undefined"==typeof o?"undefined":(0,s.default)(o)))return o.v}return n[e]=function(){t.setState((0,a.default)({},e,!t.state[e]))}}}]),t}(A.PureComponent);n.default=R,O&&!function(){var e=function(e,t,n){var r=[];(0,x.default)(t,function(e,t){n[t]!==e&&r.push(t)}),r.length&&console.log(e,r.sort().join())};R.prototype.componentDidUpdate=function(t,n){var r=this.constructor.name+" updated because of its";e(r+" props:",t,this.props),e(r+" state:",n,this.state)}}()},{"./get-event-value":1430,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/defineProperty":24,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/typeof":33,"lodash/clone":695,"lodash/forEach":716,"lodash/includes":728,"lodash/isArray":731,"lodash/map":754,react:1269}],1406:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("react"),s=(r(i),function(e){var t=e.children;return(0,a.default)("div",{className:"btn-group",role:"group"},void 0,t)});n.default=s},{"babel-runtime/helpers/jsx":27,react:1269}],1407:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/objectWithoutProperties"),a=r(o),i=e("classnames"),s=r(i),l=e("react"),u=r(l),c=e("./prop-types"),d=r(c),f=function(e){var t=e.active,n=e.block,r=e.btnStyle,o=void 0===r?"secondary":r,i=e.children,l=e.outline,c=e.size,d=(0,a.default)(e,["active","block","btnStyle","children","outline","size"]);return d.className=(0,s.default)(d.className,"btn","btn"+(l?"-outline":"")+"-"+o,void 0!==t&&"active",n&&"btn-block","large"===c?"btn-lg":"small"===c?"btn-sm":null),void 0===d.type&&void 0===d.form&&(d.type="button"),u.default.createElement("button",d,i)};(0,d.default)(f)({active:d.default.bool,block:d.default.bool,btnStyle:d.default.oneOf(["danger","info","link","primary","success","warning"]),outline:d.default.bool,size:d.default.oneOf(["large","small"])}),n.default=f},{"./prop-types":1464,"babel-runtime/helpers/objectWithoutProperties":28,classnames:157,react:1269}],1408:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.CardBlock=n.CardHeader=n.Card=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("babel-runtime/helpers/extends"),s=r(i),l=e("react"),u=(r(l),e("./prop-types")),c=r(u),d={minHeight:"100%"},f=(0,s.default)({},d,{boxShadow:"0 10px 6px -6px #777"}),p={minHeight:"100%",textAlign:"center"};n.Card=(0,c.default)({disableMaxHeight:c.default.bool,shadow:c.default.bool})(function(e){var t=e.children,n=e.shadow;return(0,a.default)("div",{className:"card",style:n?f:d},void 0,t)}),n.CardHeader=(0,c.default)({className:c.default.string})(function(e){var t=e.children,n=e.className;return(0,a.default)("h4",{className:"card-header "+(n||""),style:p},void 0,t)}),n.CardBlock=(0,c.default)({className:c.default.string})(function(e){var t=e.children,n=e.className;return(0,a.default)("div",{className:"card-block "+(n||"")},void 0,t)})},{"./prop-types":1464,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/jsx":27,react:1269}],1409:[function(e,t,n){t.exports={container:"mce8c72c19_container",content:"mce8c72c19_content"}},{}],1410:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("react"),s=(r(i),e("./index.css")),l=r(s),u=function(e){var t=e.children;return(0,a.default)("div",{className:l.default.container},void 0,(0,a.default)("div",{className:l.default.content},void 0,t))};n.default=u},{"./index.css":1409,"babel-runtime/helpers/jsx":27,react:1269}],1411:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("react"),y=(r(g),e("./button")),_=r(y),M=e("./base-component"),w=r(M),S=e("./icon"),C=r(S),x=e("./prop-types"),k=r(x),T=(o=(0,k.default)({children:k.default.any.isRequired,className:k.default.string,buttonText:k.default.any.isRequired,defaultOpen:k.default.bool}),o(a=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,u.default)(t)).call.apply(e,[this].concat(i))),r.state={isOpened:r.props.defaultOpen},r._onClick=function(){r.setState({isOpened:!r.state.isOpened})},o=n,(0,m.default)(r,o)}return(0,b.default)(t,e),(0,p.default)(t,[{key:"render",value:function(){var e=this.props,t=this.state.isOpened;return(0,s.default)("div",{className:e.className},void 0,(0,s.default)(_.default,{block:!0,btnStyle:"primary",size:"large",onClick:this._onClick},void 0,e.buttonText," ",(0,s.default)(C.default,{icon:"chevron-"+(t?"up":"down")})),t&&e.children)}}]),t}(w.default))||a);n.default=T},{"./base-component":1405,"./button":1407,"./icon":1435,"./prop-types":1464,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269}],1412:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s=e("babel-runtime/helpers/jsx"),l=r(s),u=e("babel-runtime/helpers/objectWithoutProperties"),c=r(u),d=e("babel-runtime/core-js/object/get-prototype-of"),f=r(d),p=e("babel-runtime/helpers/classCallCheck"),h=r(p),m=e("babel-runtime/helpers/createClass"),v=r(m),b=e("babel-runtime/helpers/possibleConstructorReturn"),g=r(b),y=e("babel-runtime/helpers/inherits"),_=r(y),M=e("lodash/map"),w=r(M),S=e("lodash/isEmpty"),C=r(S),x=e("react"),k=r(x),T=e("uncontrollable-input"),A=r(T),P=e("react-bootstrap-4/lib"),N=e("./base-component"),O=r(N),E=e("./prop-types"),z=r(E),R=(o=(0,A.default)({defaultValue:""}),a=(0,z.default)({disabled:z.default.bool,options:z.default.oneOfType([z.default.arrayOf(z.default.string),z.default.objectOf(z.default.string)]),onChange:z.default.func.isRequired,value:z.default.string.isRequired}),o(i=a(i=function(e){function t(){var e,n,r,o;(0,h.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,g.default)(this,(e=t.__proto__||(0,f.default)(t)).call.apply(e,[this].concat(i))),r._handleChange=function(e){r.props.onChange(e.target.value)},o=n,(0,g.default)(r,o)}return(0,_.default)(t,e),(0,v.default)(t,[{key:"_setText",value:function(e){this.props.onChange(e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.options,r=(0,c.default)(t,["options"]);r.className="form-control",r.onChange=this._handleChange;var o=k.default.createElement("input",r);return(0,C.default)(n)?o:(0,l.default)("div",{className:"input-group"},void 0,(0,l.default)("div",{className:"input-group-btn"},void 0,(0,l.default)(P.DropdownButton,{bsStyle:"secondary",disabled:r.disabled,id:"selectInput",title:""},void 0,(0,w.default)(n,function(t){return(0,l.default)(P.MenuItem,{onClick:function(){return e._setText(t)}},t,t)}))),o)}}]),t}(O.default))||i)||i);n.default=R},{"./base-component":1405,"./prop-types":1464,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/objectWithoutProperties":28,"babel-runtime/helpers/possibleConstructorReturn":29,"lodash/isEmpty":735,"lodash/map":754,react:1269,"react-bootstrap-4/lib":915,"uncontrollable-input":1361}],1413:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.create=n.toString=n.execute=n.setPropertyClause=n.removePropertyClause=n.getPropertyClausesStrings=n.parse=n.createTruthyProperty=n.createString=n.createProperty=n.createNot=n.createOr=n.createAnd=void 0;var o=e("babel-runtime/helpers/defineProperty"),a=r(o),i=e("babel-runtime/helpers/typeof"),s=r(i),l=e("lodash/every"),u=r(l),c=e("lodash/filter"),d=r(c),f=e("lodash/forEach"),p=r(f),h=e("lodash/isArray"),m=r(h),v=e("lodash/isPlainObject"),b=r(v),g=e("lodash/isString"),y=r(g),_=e("lodash/map"),M=r(_),w=e("lodash/some"),S=r(w),C=e("../filter-reduce"),x=r(C),k=e("../invoke"),T=r(k),A=(0,T.default)(function(){var e={__proto__:null},t=function(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t,r=t.charCodeAt(0),o=n.charCodeAt(0);r<=o;)e[String.fromCharCode(r++)]=!0};return t("$"),t("-"),t("."),t("0","9"),t("_"),t("A","Z"),t("a","z"),e}),P=function(e){for(var t=e.length,n=0;n<t;++n)if(!A[e[n]])return!1;return!0},N=n.createAnd=function(e){return 1===e.length?e[0]:{type:"and",children:e}},O=n.createOr=function(e){return 1===e.length?e[0]:{type:"or",children:e}},E=n.createNot=function(e){return{type:"not",child:e}},z=n.createProperty=function(e,t){return{type:"property",name:e,child:t}},R=n.createString=function(e){return{type:"string",value:e}},j=n.createTruthyProperty=function(e){return{type:"truthyProperty",name:e}},L=n.parse=(0,T.default)(function(){var e=void 0,t=void 0,n=void 0,r=function(t){return function(){var n=e,r=t();return null!=r?r:void(e=n)}},o=function(){return a(N)},a=function(e){var t=i();if(t){for(var n=[t];t=i();)n.push(t);return e(n)}},i=function(){s();var e=l()||u()||c()||d()||m()||f();if(e)return s(),e},s=function(){for(;" "===n[e];)++e;return!0},l=r(function(){var t=void 0;if("("===n[e++]&&(t=o())&&")"===n[e++])return t}),u=r(function(){var t=void 0;if("|"===n[e++]&&s()&&"("===n[e++]&&(t=a(O))&&")"===n[e++])return t}),c=r(function(){var t=void 0;if("!"===n[e++]&&(t=i()))return E(t)}),d=r(function(){var t=void 0,r=void 0;if((t=f())&&s()&&":"===n[e++]&&(r=i()))return z(t.value,r)}),f=function(){var e=void 0;if(null!=(e=p())||null!=(e=h()))return R(e)},p=r(function(){if('"'===n[e++]){for(var r=[],o=void 0;e<t&&'"'!==(o=n[e++]);)"\\"===o&&(o=n[e++]),r.push(o);return r.join("")}}),h=function(){for(var t="",r=void 0;(r=n[e])&&A[r];)++e,t+=r;if(t.length)return t},m=r(function(){var t=void 0;if((t=f())&&s()&&"?"===n[e++])return j(t.value)});return function(r){if(r){e=0,n=r.split(""),t=n.length;try{return o()}finally{n=null}}}}),D=function(e){var t=e.child,n=t.type;if("or"===n){var r=function(){var e=[];return(0,p.default)(t.children,function(t){"string"===t.type&&e.push(t.value)}),{v:e}}();if("object"===("undefined"==typeof r?"undefined":(0,s.default)(r)))return r.v}return"string"===n?[t.value]:[]},I=(n.getPropertyClausesStrings=function(){var e=this;if(!this)return{};var t=this.type;if("property"===t)return(0,a.default)({},this.name,D(this));if("and"===t){var n=function(){var t={};return(0,p.default)(e.children,function(e){if("property"===e.type){var n=e.name,r=t[n];r?r.push.apply(r,D(e)):t[n]=D(e)}}),{v:t}}();if("object"===("undefined"==typeof n?"undefined":(0,s.default)(n)))return n.v}return{}},n.removePropertyClause=function(e){var t=void 0;if(this&&("property"!==(t=this.type)||this.name!==e))return"and"===t?N((0,d.default)(this.children,function(t){return"property"!==t.type||t.name!==e})):this},function(e,t,n,r){return N((0,x.default)("and"===e.type?e.children:[e],n,r,t))}),B=(n.setPropertyClause=function(e,t){var n=z(e,(0,y.default)(t)?R(t):t);return this?I(this,n,function(t){return"property"===t.type&&t.name===e}):n},n.execute=(0,T.default)(function(){var e={and:function(e,t){var n=e.children;return(0,u.default)(n,function(e){return B.call(e,t)})},not:function(e,t){var n=e.child;return!B.call(n,t)},or:function(e,t){var n=e.children;return(0,S.default)(n,function(e){return B.call(e,t)})},property:function(e,t){var n=e.name,r=e.child;return null!=t&&B.call(r,t[n])},truthyProperty:function(e,t){var n=e.name;return!!t[n]},string:(0,T.default)(function(){var e=function e(t,n){return(0,y.default)(n)?n.toLowerCase().indexOf(t)!==-1:!(!(0,m.default)(n)&&!(0,b.default)(n))&&(0,S.default)(n,function(n){return e(t,n)})};return function(t,n){var r=t.value;return e(r.toLowerCase(),n)}})};return function(t){return e[this.type](this,t)}}));n.toString=(0,T.default)(function(){var e=function(e){return(0,M.default)(e,r).join(" ")},t=function(t){return"("+e(t)+")"},n={and:function(e){var n=e.children;return t(n)},not:function(e){var t=e.child;return"!"+r(t)},or:function(e){var n=e.children;return"|"+t(n)},property:function(e){var t=e.name,n=e.child;return r(R(t))+":"+r(n)},string:function(e){var t=e.value;return P(t)?t:'"'+t.replace(/\\|"/g,function(e){return"\\"+e})+'"'},truthyProperty:function(e){var t=e.name;return r(R(t))+"?"}},r=function(e){return n[e.type](e)};return function(){return this?"and"===this.type?e(this.children):r(this):""}}),n.create=function(e){if(e=L(e))return function(t){var n;return(n=e,B).call(n,t)}}},{"../filter-reduce":1423,"../invoke":1446,"babel-runtime/helpers/defineProperty":24,"babel-runtime/helpers/typeof":33,"lodash/every":708,"lodash/filter":709,"lodash/forEach":716,"lodash/isArray":731,"lodash/isPlainObject":743,"lodash/isString":744,"lodash/map":754,"lodash/some":774}],1414:[function(e,t,n){t.exports={container:"mc1e338558_container",button:"mc1e338558_button"}},{}],1415:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("babel-runtime/helpers/extends"),s=r(i),l=e("babel-runtime/helpers/objectWithoutProperties"),u=r(l),c=e("react-copy-to-clipboard"),d=r(c),f=e("classnames"),p=r(f),h=e("react"),m=(r(h),e("../intl")),v=r(m),b=e("../button"),g=r(b),y=e("../icon"),_=r(y),M=e("../prop-types"),w=r(M),S=e("../tooltip"),C=r(S),x=e("./index.css"),k=r(x),T=(0,a.default)(_.default,{icon:"clipboard"}),A=(0,w.default)({data:w.default.string,tagName:w.default.string})(function(e){var t=e.className,n=e.tagName,r=void 0===n?"span":n,o=(0,u.default)(e,["className","tagName"]);return(0,h.createElement)(r,(0,s.default)({},o,{className:(0,p.default)(k.default.container,t)}),o.children," ",(0,a.default)(C.default,{content:(0,v.default)("copyToClipboard")},void 0,(0,a.default)(d.default,{text:o.data||o.children},void 0,(0,a.default)(g.default,{className:k.default.button,size:"small"},void 0,T))))});n.default=A},{"../button":1407,"../icon":1435,"../intl":1436,"../prop-types":1464,"../tooltip":1488,"./index.css":1414,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/objectWithoutProperties":28,classnames:157,react:1269,"react-copy-to-clipboard":939}],1416:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=this;return(0,i.default)(e,function(e,n){t.style(n,e)}),this}Object.defineProperty(n,"__esModule",{value:!0}),n.setStyles=o;var a=e("lodash/forEach"),i=r(a)},{"lodash/forEach":716}],1417:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("babel-runtime/core-js/json/stringify"),y=r(g),_=e("react"),M=(r(_),e("promise-toolbox")),w=function(e){return void 0===e?"undefined":(0,y.default)(e,null,2)},S=(0,s.default)("pre",{},void 0,"Promise { <pending> }"),C=(a=o=function(e){function t(e){(0,d.default)(this,t);var n=(0,m.default)(this,(t.__proto__||(0,u.default)(t)).call(this));return n.state={status:"pending"},e.promise.then(function(e){return n.setState({status:"resolved",value:e})},function(e){return n.setState({status:"rejected",value:e})}),n}return(0,b.default)(t,e),(0,p.default)(t,[{key:"shouldComponentUpdate",value:function(e,t){return this.state.status!==t.status}},{key:"render",value:function(){var e=this.state,t=e.status,n=e.value;return"pending"===t?S:(0,s.default)("pre",{},void 0,"Promise { ","rejected"===t&&"<rejected> ",w(n)," }")}}]),t}(_.Component),o.propTypes={promise:_.PropTypes.object.isRequired},a),x=function(e){var t=e.value;return(0,M.isPromise)(t)?(0,s.default)(C,{promise:t}):(0,s.default)("pre",{},void 0,w(t))};x.propTypes={value:_.PropTypes.any.isRequired},n.default=x},{"babel-runtime/core-js/json/stringify":7,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"promise-toolbox":829,react:1269}],1418:[function(e,t,n){t.exports={dropzone:"mcad5f590b_dropzone",activeDropzone:"mcad5f590b_activeDropzone",dropzoneText:"mcad5f590b_dropzoneText"}},{}],1419:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("base-component"),y=r(g),_=e("prop-types"),M=r(_),w=e("react"),S=(r(w),e("react-dropzone")),C=r(S),x=e("./index.css"),k=r(x),T=(o=(0,M.default)({onDrop:M.default.func,message:M.default.node}),o(a=function(e){function t(){return(0,d.default)(this,t),(0,m.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,b.default)(t,e),(0,p.default)(t,[{key:"render",value:function(){var e=this.props,t=e.onDrop,n=e.message;return(0,s.default)(C.default,{onDrop:t,className:k.default.dropzone,activeClassName:k.default.activeDropzone},void 0,(0,s.default)("div",{className:k.default.dropzoneText},void 0,n))}}]),t}(y.default))||a);n.default=T},{"./index.css":1418,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,"prop-types":1464,react:1269,"react-dropzone":1101}],1420:[function(e,t,n){t.exports={clickToEdit:"mcfde158e7_clickToEdit",shortClick:"mcfde158e7_shortClick",select:"mcfde158e7_select",size:"mcfde158e7_size"}},{}],1421:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Size=n.XoSelect=n.Select=n.Number=n.Password=n.Text=void 0;var o,a,i,s,l,u,c,d,f,p,h,m,v,b,g=e("babel-runtime/helpers/objectWithoutProperties"),y=r(g),_=e("babel-runtime/helpers/extends"),M=r(_),w=e("babel-runtime/regenerator"),S=r(w),C=e("babel-runtime/helpers/asyncToGenerator"),x=r(C),k=e("babel-runtime/helpers/jsx"),T=r(k),A=e("babel-runtime/core-js/object/get-prototype-of"),P=r(A),N=e("babel-runtime/helpers/classCallCheck"),O=r(N),E=e("babel-runtime/helpers/createClass"),z=r(E),R=e("babel-runtime/helpers/possibleConstructorReturn"),j=r(R),L=e("babel-runtime/helpers/inherits"),D=r(L),I=e("classnames"),B=r(I),V=e("lodash/findKey"),q=r(V),F=e("lodash/isFunction"),U=r(F),W=e("lodash/isString"),H=r(W),X=e("lodash/map"),K=r(X),G=e("lodash/pick"),Y=r(G),$=e("react"),Q=r($),J=e("../intl"),Z=r(J),ee=e("../base-component"),te=r(ee),ne=e("../get-event-value"),re=r(ne),oe=e("../icon"),ae=r(oe),ie=e("../log-error"),se=r(ie),le=e("../prop-types"),ue=r(le),ce=e("../tooltip"),de=r(ce),fe=e("../utils"),pe=e("../form"),he=e("../select-objects"),me=e("./index.css"),ve=r(me),be=400,ge=(o=(0,ue.default)({alt:ue.default.node.isRequired}),o(a=function(e){function t(){(0,O.default)(this,t);var e=(0,j.default)(this,(t.__proto__||(0,P.default)(t)).call(this));return e.state={hover:!1},e._onMouseEnter=function(){return e.setState({hover:!0})},e._onMouseLeave=function(){return e.setState({hover:!1})},e}return(0,D.default)(t,e),(0,z.default)(t,[{key:"render",value:function(){return this.state.hover?(0,T.default)("span",{onMouseLeave:this._onMouseLeave},void 0,this.props.alt):(0,T.default)("span",{onMouseEnter:this._onMouseEnter},void 0,this.props.children)}}]),t}(te.default))||a),ye=(0,T.default)(ae.default,{icon:"success"}),_e=(0,T.default)(ae.default,{icon:"undo"}),Me=(0,T.default)("span",{},void 0," ",(0,T.default)(ae.default,{icon:"loading"})),we=(0,T.default)(ae.default,{icon:"error"}),Se=(i=(0,ue.default)({onChange:ue.default.func.isRequired,onUndo:ue.default.oneOfType([ue.default.bool,ue.default.func]),useLongClick:ue.default.bool,value:ue.default.any.isRequired}),i(s=function(e){function t(){var e,n,r,o;(0,O.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,j.default)(this,(e=t.__proto__||(0,P.default)(t)).call.apply(e,[this].concat(i))),r._onKeyDown=function(e){var t=e.keyCode;return 27===t?r._closeEdition():13===t?r._save():void 0},r._closeEdition=function(){r.setState({editing:!1})},r._openEdition=function(){r.setState({editing:!0,error:null,saving:!1})},r._undo=function(){var e=r,t=e.props,n=t.onUndo;if(n!==!1)return r.__save(function(){return r.state.previous},(0,U.default)(n)?n:t.onChange)},r.__startTimer=function(e){e.persist(),r._timeout=setTimeout(function(){e.preventDefault(),r._openEdition()},be)},r.__stopTimer=function(){return clearTimeout(r._timeout)},o=n,(0,j.default)(r,o)}return(0,D.default)(t,e),(0,z.default)(t,[{key:"_save",value:function(){var e=this;return this.__save(function(){return e.value},this.props.onChange)}},{key:"__save",value:function(){function e(e,n){return t.apply(this,arguments)}var t=(0,x.default)(S.default.mark(function e(t,n){var r,o,a;return S.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.props,e.prev=1,o=t(),a=r.value,o!==a){e.next=6;break}return e.abrupt("return",this._closeEdition());case 6:return this.setState({saving:!0}),e.next=9,n(o);case 9:this.setState({previous:a}),this._closeEdition(),e.next=17;break;case 13:e.prev=13,e.t0=e.catch(1),this.setState({error:void 0!==e.t0&&((0,H.default)(e.t0)?e.t0:e.t0.message),saving:!1}),(0,se.default)(e.t0);case 17:case"end":return e.stop()}},e,this,[[1,13]])}));return e}()},{key:"render",value:function(){var e=this.state,t=this.props;if(!e.editing){var n=e.onUndo,r=e.previous,o=t.useLongClick,a=ye;return(0,T.default)("span",{className:(0,B.default)(ve.default.clickToEdit,!o&&ve.default.shortClick)},void 0,(0,T.default)("span",{onClick:!o&&this._openEdition,onMouseDown:o&&this.__startTimer,onMouseUp:o&&this.__stopTimer},void 0,this._renderDisplay()),null!=r&&(n!==!1?(0,T.default)(ge,{alt:(0,T.default)("a",{onClick:this._undo},void 0,_e)},void 0,a):a))}var i=e.error,s=e.saving;return(0,T.default)("span",{},void 0,this._renderEdition(),s&&Me,null!=i&&(0,T.default)("span",{},void 0," ",(0,T.default)(de.default,{content:i},void 0,we)))}},{key:"value",get:function(){throw new Error("not implemented")}}]),t}(te.default))||s),Ce=n.Text=(l=(0,ue.default)({autoComplete:ue.default.string,maxLength:ue.default.number,minLength:ue.default.number,pattern:ue.default.string,value:ue.default.string.isRequired}),l(u=function(e){function t(){var e,n,r,o;(0,O.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,j.default)(this,(e=t.__proto__||(0,P.default)(t)).call.apply(e,[this].concat(i))),r._onInput=function(e){var t=e.target;t.style.width=t.value.length+1+"ex"},o=n,(0,j.default)(r,o)}return(0,D.default)(t,e),(0,z.default)(t,[{key:"_renderDisplay",value:function(){var e=this.props,t=e.children,n=e.value;if(t||n)return(0,T.default)("span",{},void 0," ",t||n," ");var r=this.props,o=r.placeholder,a=r.useLongClick;return(0,T.default)("span",{className:"text-muted"},void 0,o||(a?(0,Z.default)("editableLongClickPlaceholder"):(0,Z.default)("editableClickPlaceholder")))}},{key:"_renderEdition",value:function(){
|
65 | var e=this.props.value,t=this.state.saving,n=(0,Y.default)(this.props,["autoComplete","maxLength","minLength","pattern"]);return Q.default.createElement("input",(0,M.default)({},n,{autoFocus:!0,defaultValue:e,onBlur:this._closeEdition,onInput:this._onInput,onKeyDown:this._onKeyDown,readOnly:t,ref:"input",style:{width:e.length+1+"ex",maxWidth:"50ex"},type:this._isPassword?"password":"text"}))}},{key:"value",get:function(){var e=this.refs.input,t=e.validationMessage;if(t)throw new Error(t);return e.value}}]),t}(Se))||u),xe=(n.Password=function(e){function t(){var e,n,r,o;(0,O.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,j.default)(this,(e=t.__proto__||(0,P.default)(t)).call.apply(e,[this].concat(i))),r._isPassword=!0,o=n,(0,j.default)(r,o)}return(0,D.default)(t,e),t}(Ce),n.Number=(c=(0,ue.default)({nullable:ue.default.bool,value:ue.default.number}),c(d=function(e){function t(){var e,n,r,o;(0,O.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,j.default)(this,(e=t.__proto__||(0,P.default)(t)).call.apply(e,[this].concat(i))),r._onChange=function(e){if(""===e){if(!r.props.nullable)return;e=null}else e=+e;r.props.onChange(e)},o=n,(0,j.default)(r,o)}return(0,D.default)(t,e),(0,z.default)(t,[{key:"render",value:function(){var e=this.props.value;return Q.default.createElement(Ce,(0,M.default)({},this.props,{onChange:this._onChange,value:null===e?"":String(e)}))}},{key:"value",get:function(){return+this.refs.input.value}}]),t}(te.default))||d),n.Select=(f=(0,ue.default)({options:ue.default.oneOfType([ue.default.array,ue.default.object]).isRequired,renderer:ue.default.func}),f(p=function(e){function t(){var e,n,r,o;(0,O.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,j.default)(this,(e=t.__proto__||(0,P.default)(t)).call.apply(e,[this].concat(i))),r._onChange=function(e){r.setState({valueKey:(0,re.default)(e)},r._save)},r._optionToJsx=function(e,t){var n=r.props.renderer;return(0,T.default)("option",{value:t},t,n?n(e):e)},r._onEditionMount=function(e){e&&e.dispatchEvent(new window.MouseEvent("mousedown"))},o=n,(0,j.default)(r,o)}return(0,D.default)(t,e),(0,z.default)(t,[{key:"componentWillReceiveProps",value:function(e){e.value===this.props.value&&e.options===this.props.options||this.setState({valueKey:(0,q.default)(e.options,function(t){return t===e.value})})}},{key:"_renderDisplay",value:function(){var e=this.props,t=e.children,n=e.renderer,r=e.value;return t||(0,T.default)("span",{},void 0,n?n(r):r)}},{key:"_renderEdition",value:function(){var e=this.state,t=e.saving,n=e.valueKey,r=this.props.options;return Q.default.createElement("select",{autoFocus:!0,className:(0,B.default)("form-control",ve.default.select),onBlur:this._closeEdition,onChange:this._onChange,onKeyDown:this._onKeyDown,readOnly:t,ref:this._onEditionMount,value:n},(0,K.default)(r,this._optionToJsx))}},{key:"value",get:function(){return this.props.options[this.state.valueKey]}}]),t}(Se))||p),{host:he.SelectHost,ip:he.SelectIp,network:he.SelectNetwork,pool:he.SelectPool,remote:he.SelectRemote,resourceSetIp:he.SelectResourceSetIp,SR:he.SelectSr,subject:he.SelectSubject,tag:he.SelectTag,VM:he.SelectVm,"VM-template":he.SelectVmTemplate});n.XoSelect=(h=(0,ue.default)({labelProp:ue.default.string.isRequired,value:ue.default.oneOfType([ue.default.string,ue.default.object])}),h(m=function(e){function t(){var e,n,r,o;(0,O.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,j.default)(this,(e=t.__proto__||(0,P.default)(t)).call.apply(e,[this].concat(i))),r._onChange=function(e){return r.setState({value:e},e&&r._save)},o=n,(0,j.default)(r,o)}return(0,D.default)(t,e),(0,z.default)(t,[{key:"_renderDisplay",value:function(){return this.props.children||(0,T.default)("span",{},void 0,this.props.value[this.props.labelProp])}},{key:"_renderEdition",value:function(){var e=this.props,t=e.saving,n=e.xoType,r=(0,y.default)(e,["saving","xoType"]),o=xe[n];return(0,T.default)("a",{onBlur:this._closeEdition},void 0,Q.default.createElement(o,(0,M.default)({},r,{autoFocus:!0,disabled:t,onChange:this._onChange})))}},{key:"value",get:function(){return this.state.value}}]),t}(Se))||m),n.Size=(v=(0,ue.default)({value:ue.default.number.isRequired}),v(b=function(e){function t(){var e,n,r,o;(0,O.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,j.default)(this,(e=t.__proto__||(0,P.default)(t)).call.apply(e,[this].concat(i))),r._closeEditionIfUnfocused=function(){r._focused=!1,setTimeout(function(){!r._focused&&r._closeEdition()},10)},r._focus=function(){r._focused=!0},o=n,(0,j.default)(r,o)}return(0,D.default)(t,e),(0,z.default)(t,[{key:"_renderDisplay",value:function(){return this.props.children||(0,fe.formatSize)(this.props.value)}},{key:"_renderEdition",value:function(){var e=this.state.saving,t=this.props.value;return(0,T.default)("span",{className:"form-inline",onBlur:this._closeEditionIfUnfocused,onFocus:this._focus,onKeyDown:this._onKeyDown},void 0,Q.default.createElement(pe.SizeInput,{autoFocus:!0,className:ve.default.size,ref:"input",readOnly:e,defaultValue:t}))}},{key:"value",get:function(){return this.refs.input.value}}]),t}(Se))||b)},{"../base-component":1405,"../form":1425,"../get-event-value":1430,"../icon":1435,"../intl":1436,"../log-error":1460,"../prop-types":1464,"../select-objects":1469,"../tooltip":1488,"../utils":1490,"./index.css":1420,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/asyncToGenerator":21,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/objectWithoutProperties":28,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/regenerator":147,classnames:157,"lodash/findKey":712,"lodash/isFunction":737,"lodash/isString":744,"lodash/map":754,"lodash/pick":764,react:1269}],1422:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.EllipsisContainer=n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("react"),s=r(i),l={overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},u={display:"flex"},c=function(e){var t=e.children;return(0,a.default)("span",{style:l},void 0,t)};n.default=c;n.EllipsisContainer=function(e){var t=e.children;return(0,a.default)("div",{style:u},void 0,s.default.Children.map(t,function(e){return null==e||e.type===c?e:(0,a.default)("span",{},void 0,e)}))}},{"babel-runtime/helpers/jsx":27,react:1269}],1423:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("lodash/findIndex"),a=r(o),i=e("lodash/identity"),s=r(i),l=function(e,t,n,r){var o=e.length,i=void 0;if(!o||!t||(i=(0,a.default)(e,t))===-1)return null==r?e.slice(0):e.concat(r);null==n&&(n=s.default);var l=e.slice(0,i),u=null==r?e[i]:n(r,e[i],i,e);for(i+=1;i<o;++i){var c=e[i];t(c,i,e)?u=n(u,c,i,e):l.push(c)}return l.push(u),l};n.default=l},{"lodash/findIndex":711,"lodash/identity":727}],1424:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Row=n.InputCol=n.LabelCol=void 0;var a=e("babel-runtime/helpers/jsx"),i=o(a),s=e("react"),l=(o(s),e("./grid")),u=r(l),c=e("./prop-types"),d=o(c);n.LabelCol=(0,d.default)({children:d.default.any.isRequired})(function(e){var t=e.children;return(0,i.default)("label",{className:"col-md-2 form-control-label"},void 0,t)}),n.InputCol=(0,d.default)({children:d.default.any.isRequired})(function(e){var t=e.children;return(0,i.default)(u.Col,{mediumSize:10},void 0,t)}),n.Row=(0,d.default)({children:d.default.arrayOf(d.default.element).isRequired})(function(e){var t=e.children;return(0,i.default)(u.Row,{className:"form-group"},void 0,t)})},{"./grid":1431,"./prop-types":1464,"babel-runtime/helpers/jsx":27,react:1269}],1425:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.SizeInput=n.Toggle=n.Range=n.Password=n.SelectPlainObject=n.Select=void 0;var o,a,i,s,l,u,c=e("babel-runtime/helpers/extends"),d=r(c),f=e("babel-runtime/helpers/jsx"),p=r(f),h=e("babel-runtime/helpers/objectWithoutProperties"),m=r(h),v=e("babel-runtime/core-js/object/get-prototype-of"),b=r(v),g=e("babel-runtime/helpers/classCallCheck"),y=r(g),_=e("babel-runtime/helpers/createClass"),M=r(_),w=e("babel-runtime/helpers/possibleConstructorReturn"),S=r(w),C=e("babel-runtime/helpers/inherits"),x=r(C),k=e("base-component"),T=r(k),A=e("classnames"),P=r(A),N=e("icon"),O=r(N),E=e("lodash/map"),z=r(E),R=e("random-password"),j=r(R),L=e("react"),D=r(L),I=e("lodash/round"),B=r(I),V=e("single-line-row"),q=r(V),F=e("grid"),U=e("react-bootstrap-4/lib"),W=e("../button"),H=r(W),X=e("../base-component"),K=r(X),G=e("../get-event-value"),Y=r(G),$=e("../prop-types"),Q=r($),J=e("../utils"),Z=e("./select"),ee=r(Z),te=e("./select-plain-object"),ne=r(te),re=e("./toggle"),oe=r(re);n.Select=ee.default,n.SelectPlainObject=ne.default;var ae=(0,p.default)(O.default,{icon:"password"});n.Password=(o=(0,Q.default)({enableGenerator:Q.default.bool}),o(a=function(e){function t(){var e,n,r,o;(0,y.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,S.default)(this,(e=t.__proto__||(0,b.default)(t)).call.apply(e,[this].concat(i))),r._generate=function(){var e=(0,j.default)(8),t=void 0!==r.props.value;t?r.props.onChange(e):r.refs.field.value=e,r.setState({visible:!0})},r._toggleVisibility=function(){r.setState({visible:!r.state.visible})},o=n,(0,S.default)(r,o)}return(0,x.default)(t,e),(0,M.default)(t,[{key:"render",value:function(){var e=this.props,t=e.className,n=e.enableGenerator,r=void 0!==n&&n,o=(0,m.default)(e,["className","enableGenerator"]),a=this.state.visible;return(0,p.default)("div",{className:"input-group"},void 0,r&&(0,p.default)("span",{className:"input-group-btn"},void 0,(0,p.default)(H.default,{onClick:this._generate},void 0,ae)),D.default.createElement("input",(0,d.default)({},o,{className:(0,P.default)(t,"form-control"),ref:"field",type:a?"text":"password"})),(0,p.default)("span",{className:"input-group-btn"},void 0,(0,p.default)(H.default,{onClick:this._toggleVisibility},void 0,(0,p.default)(O.default,{icon:a?"shown":"hidden"}))))}},{key:"value",get:function(){return this.refs.field.value},set:function(e){this.refs.field.value=e}}]),t}(K.default))||a),n.Range=(i=(0,Q.default)({max:Q.default.number.isRequired,min:Q.default.number.isRequired,onChange:Q.default.func,step:Q.default.number,value:Q.default.number}),i(s=function(e){function t(){var e,n,r,o;(0,y.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,S.default)(this,(e=t.__proto__||(0,b.default)(t)).call.apply(e,[this].concat(i))),r._onChange=function(e){return r.props.onChange((0,Y.default)(e))},o=n,(0,S.default)(r,o)}return(0,x.default)(t,e),(0,M.default)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.min,n=e.onChange,r=e.value;r||n&&n(t)}},{key:"render",value:function(){var e=this.props,t=e.max,n=e.min,r=e.step,o=e.value;return(0,p.default)(F.Container,{},void 0,(0,p.default)(q.default,{},void 0,(0,p.default)(F.Col,{size:2},void 0,(0,p.default)("span",{className:"pull-right"},void 0,o)),(0,p.default)(F.Col,{size:10},void 0,(0,p.default)("input",{className:"form-control",max:t,min:n,onChange:this._onChange,step:r,type:"range",value:o}))))}}]),t}(K.default))||s);n.Toggle=oe.default;var ie=["kiB","MiB","GiB"],se="GiB";n.SizeInput=(l=(0,Q.default)({autoFocus:Q.default.bool,className:Q.default.string,defaultUnit:Q.default.oneOf(ie),defaultValue:Q.default.number,onChange:Q.default.func,placeholder:Q.default.string,readOnly:Q.default.bool,required:Q.default.bool,style:Q.default.object,value:Q.default.oneOfType([Q.default.number,Q.default.oneOf([null])])}),l(u=function(e){function t(e){(0,y.default)(this,t);var n=(0,S.default)(this,(t.__proto__||(0,b.default)(t)).call(this,e));return n._updateNumber=function(e){var t=e.target.value;if(!t)return n._onChange(t,n.state.unit);var r=+t;if(r===r){var o=n.state.input;return o&&+o===r?n.setState({input:t}):void n._onChange(t,n.state.unit)}},n._updateUnit=function(e){var t=n.state.input;+t?n._onChange(t,e):n.setState({unit:e})},n.state=n._createStateFromBytes((0,J.firstDefined)(e.value,e.defaultValue,null)),n}return(0,x.default)(t,e),(0,M.default)(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.value;void 0!==t&&t!==this.props.value&&this.setState(this._createStateFromBytes(t))}},{key:"_createStateFromBytes",value:function(e){if(e===this._bytes)return{input:this._input,unit:this._unit};if(null===e)return{input:"",unit:this.props.defaultUnit||se};var t=(0,J.formatSizeRaw)(e),n=t.prefix,r=t.value;return{input:String((0,B.default)(r,2)),unit:n+"B"}}},{key:"_onChange",value:function(e,t){var n=this.props.onChange,r=e?(0,J.parseSize)(+e+" "+t):null,o=void 0!==this.props.value;if(o)this._bytes=r,this._input=e,this._unit=t;else if(this.setState({input:e,unit:t}),!n)return;n(r)}},{key:"render",value:function(){var e=this,t=this.props,n=t.autoFocus,r=t.className,o=t.readOnly,a=t.placeholder,i=t.required,s=t.style;return(0,p.default)("span",{className:(0,P.default)("input-group",r),style:s},void 0,(0,p.default)("input",{autoFocus:n,className:"form-control",disabled:o,onChange:this._updateNumber,placeholder:a,required:i,type:"text",value:this.state.input}),(0,p.default)("span",{className:"input-group-btn"},void 0,(0,p.default)(U.DropdownButton,{bsStyle:"secondary",id:"size",pullRight:!0,disabled:o,title:this.state.unit},void 0,(0,z.default)(ie,function(t){return(0,p.default)(U.MenuItem,{onClick:function(){return e._updateUnit(t)}},t,t)}))))}},{key:"value",get:function(){var e=this.state,t=e.input,n=e.unit;return t?(0,J.parseSize)(+t+" "+n):null},set:function(e){this.setState(this._createStateFromBytes(e))}}]),t}(T.default))||u)},{"../base-component":1405,"../button":1407,"../get-event-value":1430,"../prop-types":1464,"../utils":1490,"./select":1427,"./select-plain-object":1426,"./toggle":1429,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/objectWithoutProperties":28,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,classnames:157,grid:1431,icon:1435,"lodash/map":754,"lodash/round":771,"random-password":835,react:1269,"react-bootstrap-4/lib":915,"single-line-row":1473}],1426:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s=e("babel-runtime/helpers/jsx"),l=r(s),u=e("babel-runtime/core-js/object/get-prototype-of"),c=r(u),d=e("babel-runtime/helpers/classCallCheck"),f=r(d),p=e("babel-runtime/helpers/createClass"),h=r(p),m=e("babel-runtime/helpers/possibleConstructorReturn"),v=r(m),b=e("babel-runtime/helpers/inherits"),g=r(b),y=e("uncontrollable-input"),_=r(y),M=e("base-component"),w=r(M),S=e("lodash/find"),C=r(S),x=e("lodash/map"),k=r(x),T=e("react"),A=(r(T),e("../prop-types")),P=r(A),N=e("./select"),O=r(N),E=(o=(0,P.default)({autoFocus:P.default.bool,disabled:P.default.bool,optionRenderer:P.default.func,multi:P.default.bool,onChange:P.default.func,options:P.default.array,placeholder:P.default.string,predicate:P.default.func,required:P.default.bool,value:P.default.any}),a=(0,_.default)(),o(i=a(i=function(e){function t(){var e,n,r,o;(0,f.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,v.default)(this,(e=t.__proto__||(0,c.default)(t)).call.apply(e,[this].concat(i))),r._handleChange=function(e){var t=r.props.onChange;t&&t(r._getObject(e))},r._renderOption=function(e){return e.label},o=n,(0,v.default)(r,o)}return(0,g.default)(t,e),(0,h.default)(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.options,n=e.value;this.setState({options:this._computeOptions(t),value:this._computeValue(n,this.props)})}},{key:"componentWillReceiveProps",value:function(e){e!==this.props&&this.setState({options:this._computeOptions(e.options),value:this._computeValue(e.value,e)})}},{key:"_computeValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props,n=t.optionKey;n||(n="id");var r=function(e){return null!=e?e[n]||e:""};return t.multi?(Array.isArray(e)||(e=[e]),(0,k.default)(e,r)):r(e)}},{key:"_computeOptions",value:function(e){var t=this.props.optionKey,n=void 0===t?"id":t,r=this.props.optionRenderer,o=void 0===r?function(e){return e.label||e[n]||e}:r;return(0,k.default)(e,function(e){return{value:e[n]||e,label:o(e)}})}},{key:"_getObject",value:function(e){if(null!=e){var t=this.props,n=t.optionKey,r=void 0===n?"id":n,o=t.options,a=function(e){return e=e.value||e,(0,C.default)(o,function(t){return t[r]===e||t===e})};return this.props.multi?(0,k.default)(e,a):a(e)}}},{key:"render",value:function(){var e=this.props,t=this.state;return(0,l.default)(O.default,{autofocus:e.autoFocus,disabled:e.disabled,multi:e.multi,onChange:this._handleChange,openOnFocus:!0,optionRenderer:this._renderOption,options:t.options,placeholder:e.placeholder,required:e.required,value:t.value,valueRenderer:this._renderOption})}}]),t}(w.default))||i)||i);n.default=E},{"../prop-types":1464,"./select":1427,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,"lodash/find":710,"lodash/map":754,react:1269,"uncontrollable-input":1361}],1427:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l=e("babel-runtime/helpers/jsx"),u=r(l),c=e("babel-runtime/helpers/extends"),d=r(c),f=e("babel-runtime/helpers/objectWithoutProperties"),p=r(f),h=e("babel-runtime/core-js/object/get-prototype-of"),m=r(h),v=e("babel-runtime/helpers/classCallCheck"),b=r(v),g=e("babel-runtime/helpers/createClass"),y=r(g),_=e("babel-runtime/helpers/possibleConstructorReturn"),M=r(_),w=e("babel-runtime/helpers/inherits"),S=r(w),C=e("lodash/map"),x=r(C),k=e("react"),T=r(k),A=e("react-select"),P=r(A),N=e("lodash/sum"),O=r(N),E=e("react-virtualized"),z=e("../prop-types"),R=r(z),j={overflow:"hidden"},L={minWidth:"10em"},D={whiteSpace:"normal"},I=5,B=(o=(0,R.default)({maxHeight:R.default.number}),o((s=i=function(e){function t(){var e,n,r,o;(0,b.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,M.default)(this,(e=t.__proto__||(0,m.default)(t)).call.apply(e,[this].concat(i))),r._renderMenu=function(e){var t=e.focusedOption,n=e.options,o=(0,p.default)(e,["focusedOption","options"]),a=r.props.maxHeight,i=n.indexOf(t),s=n.length>I&&a,l=function(e){var a=e.index,s=e.key,l=e.style;return r._optionRenderer((0,d.default)({},o,{focusedOption:t,focusedOptionIndex:i,key:s,option:n[a],options:n,style:l}))};return(0,u.default)(E.AutoSizer,{disableHeight:!0},void 0,function(e){var t=e.width;return t?(0,u.default)(E.CellMeasurer,{cellRenderer:function(e){var t=e.rowIndex;return l({index:t})},columnCount:1,rowCount:n.length,width:t-16},void 0,function(e){var r=e.getRowHeight;return n.length<=I&&(s=(0,O.default)((0,x.default)(n,function(e,t){return r({index:t})}))),(0,u.default)(E.List,{height:s,rowCount:n.length,rowHeight:r,rowRenderer:l,scrollToIndex:i,style:D,width:t})}):null})},r._optionRenderer=function(e){var t=e.focusedOption,n=e.focusOption,o=e.key,a=e.labelKey,i=e.option,s=e.style,l=e.selectValue,c="Select-option";i===t&&(c+=" is-focused");var d=i.disabled;d&&(c+=" is-disabled");var f=r,p=f.props;return(0,u.default)("div",{className:c,onClick:!d&&function(){return l(i)},onMouseOver:!d&&function(){return n(i)},style:s},o,p.optionRenderer(i,a))},o=n,(0,M.default)(r,o)}return(0,S.default)(t,e),(0,y.default)(t,[{key:"render",value:function(){return T.default.createElement(P.default,(0,d.default)({},this.props,{backspaceToRemoveMessage:"",menuRenderer:this._renderMenu,menuStyle:j,style:L}))}}]),t}(k.Component),i.defaultProps={maxHeight:200,optionRenderer:function(e,t){return e[t]}},a=s))||a);n.default=B},{"../prop-types":1464,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/objectWithoutProperties":28,"babel-runtime/helpers/possibleConstructorReturn":29,"lodash/map":754,"lodash/sum":780,react:1269,"react-select":1182,"react-virtualized":1239}],1428:[function(e,t,n){t.exports={checkbox:"mcdf4deaf6_checkbox"}},{}],1429:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l,u=e("babel-runtime/helpers/jsx"),c=r(u),d=e("babel-runtime/core-js/object/get-prototype-of"),f=r(d),p=e("babel-runtime/helpers/classCallCheck"),h=r(p),m=e("babel-runtime/helpers/createClass"),v=r(m),b=e("babel-runtime/helpers/possibleConstructorReturn"),g=r(b),y=e("babel-runtime/helpers/inherits"),_=r(y),M=e("react"),w=(r(M),e("classnames")),S=r(w),C=e("uncontrollable-input"),x=r(C),k=e("../../base-component"),T=r(k),A=e("../../icon"),P=r(A),N=e("../../prop-types"),O=r(N),E=e("./index.css"),z=r(E),R=(o=(0,x.default)(),a=(0,O.default)({className:O.default.string,onChange:O.default.func,icon:O.default.string,iconOn:O.default.string,iconOff:O.default.string,iconSize:O.default.number,value:O.default.bool}),o(i=a((l=s=function(e){function t(){var e,n,r,o;(0,h.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,g.default)(this,(e=t.__proto__||(0,f.default)(t)).call.apply(e,[this].concat(i))),r._onChange=function(e){return r.props.onChange(e.target.checked)},o=n,(0,g.default)(r,o)}return(0,_.default)(t,e),(0,v.default)(t,[{key:"render",value:function(){var e=this.props;return(0,c.default)("label",{className:(0,S.default)(e.disabled?"text-muted":e.value?"text-success":null,e.className)},void 0,(0,c.default)(P.default,{icon:e.icon||(e.value?e.iconOn:e.iconOff),size:e.iconSize}),(0,c.default)("input",{checked:e.value||!1,className:z.default.checkbox,disabled:e.disabled,onChange:this._onChange,type:"checkbox"}))}}]),t}(T.default),s.defaultProps={iconOn:"toggle-on",iconOff:"toggle-off",iconSize:2},i=l))||i)||i);n.default=R},{"../../base-component":1405,"../../icon":1435,"../../prop-types":1464,"./index.css":1428,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,classnames:157,react:1269,"uncontrollable-input":1361}],1430:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=function(e){var t=void 0;return e&&(t=e.target)?"input"===t.nodeName.toLowerCase()&&"checkbox"===t.type.toLowerCase()?t.checked:t.value:e};n.default=r},{}],1431:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Row=n.Container=n.Col=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("classnames"),s=r(i),l=e("react"),u=(r(l),e("./prop-types")),c=r(u);n.Col=(0,c.default)({className:c.default.string,size:c.default.number,smallSize:c.default.number,mediumSize:c.default.number,largeSize:c.default.number,offset:c.default.number,smallOffset:c.default.number,mediumOffset:c.default.number,largeOffset:c.default.number})(function(e){var t=e.children,n=e.className,r=e.size,o=void 0===r?12:r,i=e.smallSize,l=void 0===i?o:i,u=e.mediumSize,c=e.largeSize,d=e.offset,f=e.smallOffset,p=void 0===f?d:f,h=e.mediumOffset,m=e.largeOffset,v=e.style;return(0,a.default)("div",{className:(0,s.default)(n,l&&"col-xs-"+l,u&&"col-md-"+u,c&&"col-lg-"+c,p&&"offset-xs-"+p,h&&"offset-md-"+h,m&&"offset-lg-"+m),style:v},void 0,t)}),n.Container=(0,c.default)({className:c.default.string})(function(e){var t=e.children,n=e.className;return(0,a.default)("div",{className:(0,s.default)(n,"container-fluid")},void 0,t)}),n.Row=(0,c.default)({className:c.default.string})(function(e){var t=e.children,n=e.className;return(0,a.default)("div",{className:(n||"")+" row"},void 0,t)})},{"./prop-types":1464,"babel-runtime/helpers/jsx":27,classnames:157,react:1269}],1432:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.SR=n.vmTemplate=n.pool=n.host=n.VM=void 0;var o=e("babel-runtime/helpers/extends"),a=r(o),i={homeFilterNone:""};n.VM=(0,a.default)({},i,{homeFilterPendingVms:'current_operations:"" ',homeFilterNonRunningVms:"!power_state:running ",homeFilterHvmGuests:"virtualizationMode:hvm ",homeFilterRunningVms:"power_state:running ",homeFilterTags:"tags:"}),n.host=(0,a.default)({},i,{homeFilterRunningHosts:"power_state:running ",homeFilterTags:"tags:"}),n.pool=(0,a.default)({},i,{homeFilterTags:"tags:"}),n.vmTemplate=(0,a.default)({},i,{homeFilterTags:"tags:"}),n.SR=(0,a.default)({},i,{homeFilterTags:"tags:"})},{"babel-runtime/helpers/extends":25}],1433:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l=e("babel-runtime/helpers/jsx"),u=r(l),c=e("babel-runtime/core-js/object/get-prototype-of"),d=r(c),f=e("babel-runtime/helpers/classCallCheck"),p=r(f),h=e("babel-runtime/helpers/createClass"),m=r(h),v=e("babel-runtime/helpers/possibleConstructorReturn"),b=r(v),g=e("babel-runtime/helpers/inherits"),y=r(g),_=e("react"),M=r(_),w=e("./base-component"),S=r(w),C=e("./prop-types"),x=r(C),k=e("./tags"),T=r(k),A=e("./complex-matcher"),P=(o=(0,x.default)({labels:x.default.arrayOf(M.default.PropTypes.string).isRequired,onAdd:x.default.func,onChange:x.default.func,onDelete:x.default.func,type:x.default.string}),o((s=i=function(e){function t(){var e,n,r,o;(0,p.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,b.default)(this,(e=t.__proto__||(0,d.default)(t)).call.apply(e,[this].concat(i))),r._onClick=function(e){var t,n=encodeURIComponent((t=(0,A.createProperty)("tags",(0,A.createString)(e)),A.toString).call(t)),o=encodeURIComponent(r.props.type);r.context.router.push("/home?t="+o+"&s="+n)},o=n,(0,b.default)(r,o)}return(0,y.default)(t,e),(0,m.default)(t,[{key:"render",value:function(){return(0,u.default)(T.default,{labels:this.props.labels,onAdd:this.props.onAdd,onChange:this.props.onChange,onClick:this._onClick,onDelete:this.props.onDelete})}}]),t}(S.default),i.contextTypes={router:M.default.PropTypes.object},a=s))||a);n.default=P},{"./base-component":1405,"./complex-matcher":1413,"./prop-types":1464,"./tags":1482,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269}],1434:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o,a,i=e("babel-runtime/helpers/defineProperty"),s=r(i),l=e("babel-runtime/core-js/promise"),u=r(l),c=e("babel-runtime/core-js/object/get-prototype-of"),d=r(c),f=e("babel-runtime/helpers/classCallCheck"),p=r(f),h=e("babel-runtime/helpers/createClass"),m=r(h),v=e("babel-runtime/helpers/possibleConstructorReturn"),b=r(v),g=e("babel-runtime/helpers/inherits"),y=r(g),_=e("babel-runtime/helpers/extends"),M=r(_),w=e("babel-runtime/helpers/objectWithoutProperties"),S=r(w),C=e("babel-runtime/helpers/jsx"),x=r(C),k=e("lodash/isEmpty"),T=r(k),A=e("lodash/keys"),P=r(A),N=e("lodash/map"),O=r(N),E=e("react"),z=r(E),R=e("react-overlays"),j=e("./intl"),L=r(j),D=e("./action-button"),I=r(D),B=e("./base-component"),V=r(B),q=e("lodash/forEach"),F=r(q),U=e("./link"),W=r(U),H=e("./prop-types"),X=r(H),K=e("./sorted-table"),G=r(K),Y=e("./tab-button"),$=r(Y),Q=e("./utils"),J=e("./selectors"),Z=e("./xo"),ee=[{name:(0,L.default)("srHost"),itemRenderer:function(e){return(0,x.default)(W.default,{to:"/hosts/"+e.id},void 0,e.name_label)},sortCriteria:function(e){return e.name_label}},{name:(0,L.default)("hostDescription"),itemRenderer:function(e){return e.name_description},sortCriteria:function(e){return e.name_description}},{name:(0,L.default)("hostMissingPatches"),itemRenderer:function(e,t){var n=t.missingPatches;return(0,x.default)(W.default,{to:"/hosts/"+e.id+"/patches"},void 0,n[e.id])},sortCriteria:function(e,t){var n=t.missingPatches;return n[e.id]}},{name:(0,L.default)("patchUpdateButton"),itemRenderer:function(e,t){var n=t.installAllHostPatches;return(0,x.default)(I.default,{btnStyle:"primary",handler:n,handlerParam:e,icon:"host-patch-update"})}}],te=[{name:(0,L.default)("srPool"),itemRenderer:function(e,t){var n=t.pools,r=n[e.$pool];return(0,x.default)(W.default,{to:"/pools/"+r.id},void 0,r.name_label)},sortCriteria:function(e,t){var n=t.pools;return n[e.$pool].name_label}}].concat(ee),ne=function(e){var t=e.children,n=e.labelId,r=(0,S.default)(e,["children","labelId"]);return z.default.createElement(I.default,(0,M.default)({},r,{tooltip:(0,L.default)(n)}),t)},re=function(e){function t(e){(0,p.default)(this,t);var n=(0,b.default)(this,(t.__proto__||(0,d.default)(t)).call(this,e));return n._getHosts=(0,J.createFilter)(function(){return n.props.hosts},(0,J.createSelector)(function(){return n.state.missingPatches},function(e){return function(t){return e[t.id]}})),n._refreshMissingPatches=function(){return u.default.all((0,O.default)(n.props.hosts,n._refreshHostMissingPatches))},n._installAllMissingPatches=function(){var e={};return(0,F.default)(n._getHosts(),function(t){e[t.$pool]=!0}),u.default.all((0,O.default)((0,P.default)(e),Z.installAllPatchesOnPool)).then(n._refreshMissingPatches)},n._refreshHostMissingPatches=function(e){return(0,Z.getHostMissingPatches)(e).then(function(t){n.setState({missingPatches:(0,M.default)({},n.state.missingPatches,(0,s.default)({},e.id,t.length))})})},n._installAllHostPatches=function(e){return(0,Z.installAllHostPatches)(e).then(function(){return n._refreshHostMissingPatches(e)})},n.state.missingPatches={},n}return(0,y.default)(t,e),(0,m.default)(t,[{key:"componentWillMount",value:function(){this._refreshMissingPatches()}},{key:"componentDidMount",value:function(){this.forceUpdate()}},{key:"componentWillReceiveProps",value:function(e){var t=this;(0,F.default)(e.hosts,function(e){var n=e.id;void 0===t.state.missingPatches[n]&&(t.setState({missingPatches:(0,M.default)({},t.state.missingPatches,(0,s.default)({},n,0))}),t._refreshHostMissingPatches(e))})}},{key:"render",value:function(){var e=this._getHosts(),t=(0,T.default)(e),n=this.props,r=n.container||"div",o=this.props.useTabButton?$.default:ne,a=(0,x.default)(r,{},void 0,(0,x.default)(o,{handler:this._refreshMissingPatches,icon:"refresh",labelId:"checkForUpdates"}),(0,x.default)(o,{btnStyle:"primary",disabled:t,handler:this._installAllMissingPatches,icon:"host-patch-update",labelId:"installPoolPatches"}));return(0,x.default)("div",{},void 0,t?(0,x.default)("p",{},void 0,(0,L.default)("patchNothing")):(0,x.default)(G.default,{
|
66 | collection:e,columns:n.displayPools?te:ee,userData:{installAllHostPatches:this._installAllHostPatches,missingPatches:this.state.missingPatches,pools:n.pools}}),(0,x.default)(R.Portal,{container:function(){return n.buttonsGroupContainer()}},void 0,a))}}]),t}(V.default),oe=(o=(0,Q.connectStore)(function(){var e=(0,J.createGetObjectsOfType)("pool");return{pools:e}}),o(a=function(e){function t(){return(0,p.default)(this,t),(0,b.default)(this,(t.__proto__||(0,d.default)(t)).apply(this,arguments))}return(0,y.default)(t,e),(0,m.default)(t,[{key:"render",value:function(){var e=this.props;return z.default.createElement(re,(0,M.default)({},e,{pools:e.pools}))}}]),t}(V.default))||a);n.default=(0,X.default)({buttonsGroupContainer:X.default.func.isRequired,container:X.default.any,displayPools:X.default.bool,hosts:X.default.oneOfType([X.default.arrayOf(X.default.object),X.default.objectOf(X.default.object)]).isRequired,useTabButton:X.default.bool})(function(e){return e.displayPools?z.default.createElement(oe,e):z.default.createElement(re,e)})},{"./action-button":1401,"./base-component":1405,"./intl":1436,"./link":1459,"./prop-types":1464,"./selectors":1470,"./sorted-table":1475,"./tab-button":1481,"./utils":1490,"./xo":1519,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/defineProperty":24,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/objectWithoutProperties":28,"babel-runtime/helpers/possibleConstructorReturn":29,"lodash/forEach":716,"lodash/isEmpty":735,"lodash/keys":750,"lodash/map":754,react:1269,"react-overlays":1121}],1435:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("classnames"),s=r(i),l=e("lodash/isInteger"),u=r(l),c=e("react"),d=(r(c),function(e){var t=e.className,n=e.icon,r=e.size,o=void 0===r?1:r,i=e.fixedWidth;return(0,a.default)("i",{className:(0,s.default)(t,n?"xo-icon-"+n:"fa",(0,u.default)(o)?"fa-"+o+"x":"fa-"+o,i&&"fa-fw")})});d.propTypes={fixedWidth:c.PropTypes.bool,icon:c.PropTypes.string,size:c.PropTypes.oneOfType([c.PropTypes.string,c.PropTypes.number])},n.default=d},{"babel-runtime/helpers/jsx":27,classnames:157,"lodash/isInteger":738,react:1269}],1436:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.FormattedDuration=n.IntlProvider=n.messages=n.default=void 0;var o,a,i,s,l,u,c=e("babel-runtime/helpers/jsx"),d=r(c),f=e("babel-runtime/core-js/object/get-prototype-of"),p=r(f),h=e("babel-runtime/helpers/classCallCheck"),m=r(h),v=e("babel-runtime/helpers/createClass"),b=r(v),g=e("babel-runtime/helpers/possibleConstructorReturn"),y=r(g),_=e("babel-runtime/helpers/inherits"),M=r(_),w=e("babel-runtime/helpers/extends"),S=r(w),C=e("lodash/isFunction"),x=r(C),k=e("lodash/isString"),T=r(k),A=e("moment"),P=r(A),N=e("react"),O=r(N),E=e("react-redux"),z=e("react-intl"),R=e("./messages"),j=r(R),L=e("./locales"),D=r(L),I=function(e,t,n,r){(0,T.default)(e)&&(r=n,n=t,t=e,e=void 0);var o=j.default[t];return(0,x.default)(n)&&(r=n,n=void 0),O.default.createElement(z.FormattedMessage,(0,S.default)({},e,o,{values:n}),r)};n.default=I,n.messages=j.default;n.IntlProvider=(o=(0,E.connect)(function(e){var t=e.lang;return{lang:t}}),o((s=i=function(e){function t(){return(0,m.default)(this,t),(0,y.default)(this,(t.__proto__||(0,p.default)(t)).apply(this,arguments))}return(0,M.default)(t,e),(0,b.default)(t,[{key:"render",value:function(){var e=this.props,t=e.lang,n=e.children;return(0,d.default)(z.IntlProvider,{locale:t,messages:D.default[t]},t,n)}}]),t}(N.Component),i.propTypes={children:N.PropTypes.node.isRequired,lang:N.PropTypes.string.isRequired},a=s))||a),n.FormattedDuration=(l=(0,E.connect)(function(e){var t=e.lang;return{lang:t}}),l(u=function(e){function t(){return(0,m.default)(this,t),(0,y.default)(this,(t.__proto__||(0,p.default)(t)).apply(this,arguments))}return(0,M.default)(t,e),(0,b.default)(t,[{key:"render",value:function(){var e=this.props,t=e.duration,n=e.lang;return(0,d.default)("span",{},void 0,P.default.duration(t).locale(n).humanize())}}]),t}(N.Component))||u)},{"./locales":1441,"./messages":1445,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"lodash/isFunction":737,"lodash/isString":744,moment:810,react:1269,"react-intl":1103,"react-redux":1150}],1437:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),e("moment/locale/es");var o=e("react-intl/locale-data/es"),a=r(o),i=e("react-intl");(0,i.addLocaleData)(a.default),n.default={statusConnecting:void 0,statusDisconnected:void 0,statusLoading:void 0,errorPageNotFound:void 0,errorNoSuchItem:void 0,editableLongClickPlaceholder:"Click largo para editar",editableClickPlaceholder:"Click para editar",alertOk:"OK",confirmOk:"OK",confirmCancel:"Cancelar",onError:void 0,successful:void 0,copyToClipboard:void 0,pillMaster:void 0,homePage:"Inicio",homeVmPage:void 0,homeHostPage:void 0,homePoolPage:void 0,homeTemplatePage:void 0,dashboardPage:"Resumen",overviewDashboardPage:"Vista General",overviewVisualizationDashboardPage:"Visualizaciones",overviewStatsDashboardPage:"Estadísticas",overviewHealthDashboardPage:"Estado",selfServicePage:"Auto servicio",backupPage:"Backup",jobsPage:"Trabajos",updatePage:"Actualizaciones",settingsPage:"Configuración",settingsServersPage:"Servidores",settingsUsersPage:"Usuarios",settingsGroupsPage:"Grupos",settingsAclsPage:"Control de acceso",settingsPluginsPage:"Plugins",settingsLogsPage:void 0,settingsIpsPage:void 0,aboutPage:"Acerca de",newMenu:"Nuevo",taskMenu:"Tareas",taskPage:void 0,newVmPage:"VM",newSrPage:"Almacenamiento",newServerPage:"Servidor",newImport:"Importar",backupOverviewPage:"Visión General",backupNewPage:"Nuevo",backupRemotesPage:"Remotos",backupRestorePage:"Restaurar",schedule:"Programación",newVmBackup:"Nuevo backup de VM",editVmBackup:"Editar backup de VM",backup:"Backup",rollingSnapshot:"Snapshot rotatorio",deltaBackup:"Backup diferencial",disasterRecovery:"Recuperación de desastres",continuousReplication:"Replicación continua",jobsOverviewPage:"Vistazo",jobsNewPage:"Nuevo",jobsSchedulingPage:"Programación",customJob:"Trabajo personalizado",userPage:void 0,noSupport:void 0,freeUpgrade:void 0,signOut:"Salir",editUserProfile:void 0,homeFetchingData:"Recuperando datos...",homeWelcome:"¡Bienvenido a Xen Orchestra!",homeWelcomeText:"Añade tus hosts/pools de XenServer",homeHelp:"¿Necesitas ayuda?",homeAddServer:"Añadir servidor",homeOnlineDoc:"Documentación en línea",homeProSupport:"Soporte Pro",homeNoVms:"¡No hay VMs!",homeNoVmsOr:"O...",homeImportVm:"Importar VM",homeImportVmMessage:"Importar una VM existente en formato xva",homeRestoreBackup:"Restaurar un backup",homeRestoreBackupMessage:"Restaurar un backup de un almacenamiento remoto",homeNewVmMessage:"Esto creará una nueva VM",homeFilters:"Filtros",homeNoMatches:void 0,homeTypePool:"Pool",homeTypeHost:"Host",homeTypeVm:"VM",homeTypeSr:"SR",homeTypeVmTemplate:void 0,homeSort:"Ordenar",homeAllPools:"Pools",homeAllHosts:"Hosts",homeAllTags:"Etiquetas",homeNewVm:"Nueva VM",homeFilterRunningHosts:"Hosts en funcionamiento",homeFilterDisabledHosts:"Hosts inhabilitados",homeFilterRunningVms:"VMs en funcionamiento",homeFilterNonRunningVms:"VMs paradas",homeFilterPendingVms:"VMs pendientes",homeFilterHvmGuests:"Invitados HVM",homeFilterTags:"Etiquetas",homeSortBy:"Ordenar por",homeSortByName:"Nombre",homeSortByPowerstate:"Estado alimentación",homeSortByRAM:"RAM",homeSortByvCPUs:"vCPUs",homeSortByCpus:void 0,homeDisplayedItems:"{displayed, number}x {icon} (sobre {total, number})",homeSelectedItems:"{selected, number}x {icon} seleccionados (sobre {total, number})",homeMore:"Más",homeMigrateTo:"Migrar a...",homeMissingPaths:void 0,homePoolMaster:void 0,highAvailability:void 0,add:"Añadir",remove:"Quitar",preview:"Vista previa",item:"Elemento",noSelectedValue:"No se ha seleccionado un valor",selectSubjects:"Elegir usuario(s) y/o grupo(s)",selectObjects:"Elegir Objeto(s)...",selectRole:"Elegir un rol",selectHosts:"Elegir Host(s)...",selectHostsVms:"Elegir objeto(s)...",selectNetworks:"Elegir Red(es)...",selectPifs:"Elegir PIF(s)...",selectPools:"Elegir Pool(s)...",selectRemotes:"Elegir almacenamiento(s) remoto(s)...",selectResourceSets:void 0,selectResourceSetsVmTemplate:void 0,selectResourceSetsSr:void 0,selectResourceSetsNetwork:void 0,selectResourceSetsVdi:void 0,selectSshKey:void 0,selectSrs:"Elegir SR(s)...",selectVms:"Elegir VM(s)...",selectVmTemplates:"Elegir plantilla(s) de VM...",selectTags:"Elegir etiqueta(s)...",selectVdis:"Elegir disco(s)...",selectTimezone:void 0,selectIp:void 0,selectIpPool:void 0,fillRequiredInformations:"Introducir la información requerida",fillOptionalInformations:"Introducir datos (opcional)",selectTableReset:"Reiniciar",schedulingMonth:"Mes",schedulingEachSelectedMonth:"Cada mes seleccionado",schedulingMonthDay:"Día del mes",schedulingEachSelectedMonthDay:"Cada día seleccionado",schedulingWeekDay:"Día de la semana",schedulingEachSelectedWeekDay:"Cada día seleccionado",schedulingHour:"Hora",schedulingEveryNHour:"Cada N horas",schedulingEachSelectedHour:"Cada hora seleccionada",schedulingMinute:"Minuto",schedulingEveryNMinute:"Cada N minutos",schedulingEachSelectedMinute:"Cada minuto seleccionado",schedulingReset:"Reiniciar",unknownSchedule:"Desconocido",timezonePickerServerValue:void 0,timezonePickerUseLocalTime:void 0,timezonePickerUseServerTime:void 0,serverTimezoneOption:void 0,cronPattern:void 0,backupEditNotFoundTitle:"Imposible editar backup",backupEditNotFoundMessage:"Falta información requerida para la edición",job:"Tarea",jobId:"ID de Tarea",jobName:"Nombre",jobNamePlaceholder:void 0,jobStart:"Comenzar",jobEnd:"Finalizar",jobDuration:"Duración",jobStatus:"Estado",jobAction:"Acción",jobTag:"Etiqueta",jobScheduling:"Programación",jobState:"Estado",jobTimezone:void 0,jobServerTimezone:void 0,runJob:"Ejecutar tarea",runJobVerbose:"Comienzo del backup manual. Ir a Resumen para ver logs",jobStarted:"Comenzado",jobFinished:"Finalizado",saveBackupJob:"Guardar",deleteBackupSchedule:"Eliminar tarea de backup",deleteBackupScheduleQuestion:"¿Estás seguro de querer borrar esta tarea de backup?",scheduleEnableAfterCreation:"Activar inmediatamente tras la creación",scheduleEditMessage:"Estás editando la Programación {name} ({id}). Se sobreescribirá el estado actual al guardar.",jobEditMessage:"Estás editando la Tarea {name} ({id}). Se sobreescribirá el estado actual al guardar.",noScheduledJobs:"No hay tareas programadas",noJobs:"No se han encontrado tareas",noSchedules:"No se han encontrado programaciones",jobActionPlaceHolder:"Elige un comando de la API de xo-server",jobSchedules:void 0,jobScheduleNamePlaceHolder:void 0,jobScheduleJobPlaceHolder:void 0,newBackupSelection:"Elige el tipo de backup",smartBackupModeSelection:void 0,normalBackup:void 0,smartBackup:void 0,localRemoteWarningTitle:void 0,localRemoteWarningMessage:void 0,editBackupVmsTitle:void 0,editBackupSmartStatusTitle:void 0,editBackupSmartResidentOn:void 0,editBackupSmartTagsTitle:void 0,editBackupTagTitle:void 0,editBackupReportTitle:void 0,editBackupReportEnable:void 0,editBackupDepthTitle:void 0,editBackupRemoteTitle:void 0,remoteList:"Almacenamientos remotos para el backup",newRemote:"Nuevo Sistema de Archivos Remoto",remoteTypeLocal:"Local",remoteTypeNfs:"NFS",remoteTypeSmb:"Samba",remoteType:"Tipo",remoteTestTip:void 0,testRemote:void 0,remoteTestFailure:void 0,remoteTestSuccess:void 0,remoteTestError:void 0,remoteTestStep:void 0,remoteTestFile:void 0,remoteTestSuccessMessage:void 0,remoteName:void 0,remotePath:void 0,remoteState:void 0,remoteDevice:void 0,remoteShare:void 0,remoteAuth:void 0,remoteMounted:void 0,remoteUnmounted:void 0,remoteConnectTip:void 0,remoteDisconnectTip:void 0,remoteDeleteTip:void 0,remoteNamePlaceHolder:void 0,remoteMyNamePlaceHolder:void 0,remoteLocalPlaceHolderPath:void 0,remoteNfsPlaceHolderHost:void 0,remoteNfsPlaceHolderPath:void 0,remoteSmbPlaceHolderRemotePath:void 0,remoteSmbPlaceHolderUsername:void 0,remoteSmbPlaceHolderPassword:void 0,remoteSmbPlaceHolderDomain:void 0,remoteSmbPlaceHolderAddressShare:void 0,remotePlaceHolderPassword:void 0,newSrTitle:void 0,newSrGeneral:"General",newSrTypeSelection:"Elige el tipo de almacenamiento",newSrSettings:"Configuración",newSrUsage:"Utilización del almacenamiento",newSrSummary:"Sumario",newSrHost:"Host",newSrType:"Tipo",newSrName:"Nombre",newSrDescription:"Descripción",newSrServer:"Servidor",newSrPath:"Ruta",newSrIqn:"IQN",newSrLun:"LUN",newSrAuth:"con autenticación",newSrUsername:"Nombre de usuario",newSrPassword:"Clave",newSrDevice:"Dispositivo",newSrInUse:"en uso",newSrSize:"Tamaño",newSrCreate:"Crear",newSrNamePlaceHolder:void 0,newSrDescPlaceHolder:void 0,newSrAddressPlaceHolder:void 0,newSrPortPlaceHolder:void 0,newSrUsernamePlaceHolder:void 0,newSrPasswordPlaceHolder:void 0,newSrLvmDevicePlaceHolder:void 0,newSrLocalPathPlaceHolder:void 0,subjectName:"Usuarios/Grupos",objectName:"Objeto",aclNoneFound:void 0,roleName:"Rol",aclCreate:void 0,newGroupName:"Nuevo nombre del Grupo",createGroup:"Crear grupo",createGroupButton:"Crear",deleteGroup:"Borrar grupo",deleteGroupConfirm:"¿Estás seguro de querer borrar este grupo?",removeUserFromGroup:"¿Quitar usuario del grupo?",deleteUserConfirm:"¿Estás seguro de querer borrar este usuario?",deleteUser:"Borrar usuario",noUser:void 0,unknownUser:"usuario desconocido",noGroupFound:"Grupo no encontrado",groupNameColumn:"Nombre",groupUsersColumn:"Usuarios",addUserToGroupColumn:"Añadir usuario",userNameColumn:"Email",userPermissionColumn:"Permisos",userPasswordColumn:"Clave",userName:"Email",userPassword:"Clave",createUserButton:"Crear",noUserFound:"Usuario no encontrado",userLabel:"Usuario",adminLabel:"Admin",noUserInGroup:"Grupo sin usuarios",countUsers:"{users} user{users, plural, one {} other {s}}",selectPermission:"Seleccionar permiso",autoloadPlugin:"Cargar al iniciar el servidor",savePluginConfiguration:"Guardar configuración",deletePluginConfiguration:"Borrar configuración",pluginError:"Error del Plugin",unknownPluginError:"Error desconocido",purgePluginConfiguration:"Purgar la configuración de plugins",purgePluginConfigurationQuestion:"¿Estás seguro de querer purgar esta configuración?",editPluginConfiguration:"Editar",cancelPluginEdition:"Cancelar",pluginConfigurationSuccess:"Configuración del Plugin",pluginConfigurationChanges:"¡Configuración del Plugin guardada correctamente!",pluginConfigurationPresetTitle:void 0,pluginConfigurationChoosePreset:void 0,applyPluginPreset:void 0,saveNewUserFilterErrorTitle:void 0,saveNewUserFilterErrorBody:void 0,filterName:void 0,filterValue:void 0,saveNewFilterTitle:void 0,setUserFiltersTitle:void 0,setUserFiltersBody:void 0,removeUserFilterTitle:void 0,removeUserFilterBody:void 0,defaultFilter:void 0,defaultFilters:void 0,customFilters:void 0,customizeFilters:void 0,saveCustomFilters:void 0,startVmLabel:"Iniciar",recoveryModeLabel:"Inicio de rescate",suspendVmLabel:"Suspender",stopVmLabel:"Parar",forceShutdownVmLabel:"Forzar apagado",rebootVmLabel:"Reiniciar",forceRebootVmLabel:"Forzar reinicio",deleteVmLabel:"Borrar",migrateVmLabel:"Migrar",snapshotVmLabel:"Snapshot",exportVmLabel:"Exportar",resumeVmLabel:"Reanudar",copyVmLabel:"Copiar",cloneVmLabel:"Clonar",fastCloneVmLabel:"Clonado rápido",convertVmToTemplateLabel:"Convertir en plantilla",vmConsoleLabel:"Consola",srRescan:"Releer todos los discos",srReconnectAll:"Conectar a todos los hosts",srDisconnectAll:"Desconectar de todos los hosts",srForget:"Olvidar este SR",srRemoveButton:"Borrar este SR",srNoVdis:"No hay VDIs en éste almancenamiento",poolTitleRamUsage:void 0,poolRamUsage:void 0,poolMaster:void 0,hostsTabName:"Hosts",poolHaStatus:"Alta Disponibilidad",poolHaEnabled:"Activado",poolHaDisabled:"Desactivado",hostNameLabel:"Nombre",hostDescription:"Descripción",hostMemory:"Memoria",noHost:"Sin hosts",memoryLeftTooltip:void 0,poolNetworkNameLabel:"Nombre",poolNetworkDescription:"Descripción",poolNetworkPif:"PIFs",poolNoNetwork:"Sin redes",poolNetworkMTU:"MTU",poolNetworkPifAttached:"Conectado",poolNetworkPifDetached:"Desconectado",showPifs:void 0,hidePifs:void 0,addSrLabel:"Añadir SR",addVmLabel:"Añadir VM",addHostLabel:"Añadir host",disconnectServer:"Desconectar",startHostLabel:"Arrancar",stopHostLabel:"Parar",enableHostLabel:"Activar",disableHostLabel:"Desactivar",restartHostAgent:"Reiniciar toolstack",forceRebootHostLabel:"Forzar reinicio",rebootHostLabel:"Reiniciar",rebootUpdateHostLabel:void 0,emergencyModeLabel:"Modo de Emergencia",storageTabName:"Almacenamiento",patchesTabName:"Parches",statLoad:"Carga",hardwareHostSettingsLabel:"Hardware",hostAddress:"Dirección",hostStatus:"Estado",hostBuildNumber:"Número de compilación",hostIscsiName:"Nombre iSCSI",hostXenServerVersion:"Versión",hostStatusEnabled:"Activado",hostStatusDisabled:"Desactivado",hostPowerOnMode:"Modo de encendido",hostStartedSince:"Tiempo encendido",hostStackStartedSince:"Tiempo de encendido del toolstack",hostCpusModel:"Modelo de CPU",hostCpusNumber:"Core (socket)",hostManufacturerinfo:"Información del fabricante",hostBiosinfo:"Información de BIOS",licenseHostSettingsLabel:"Licencia",hostLicenseType:"Tipo",hostLicenseSocket:"Socket",hostLicenseExpiry:"Expiración",networkCreateButton:"Añadir red",networkCreateBondedButton:void 0,pifDeviceLabel:"Dispositivo",pifNetworkLabel:"Red",pifVlanLabel:"VLAN",pifAddressLabel:"Dirección",pifModeLabel:void 0,pifMacLabel:"MAC",pifMtuLabel:"MTU",pifStatusLabel:"Estado",pifStatusConnected:"Conectado",pifStatusDisconnected:"Desconectado",pifNoInterface:"No se ha detectado ningún interface físico",pifInUse:void 0,defaultLockingMode:void 0,pifConfigureIp:void 0,configIpErrorTitle:void 0,configIpErrorMessage:void 0,staticIp:void 0,netmask:void 0,dns:void 0,gateway:void 0,addSrDeviceButton:"Añadir un almacenamiento",srNameLabel:"Nombre",srType:"Tipo",pbdStatus:"Estado",pbdStatusConnected:"Conectado",pbdStatusDisconnected:"Desconectado",pbdConnect:void 0,pbdDisconnect:void 0,pbdForget:void 0,srShared:"Compartido",srNotShared:"No compartido",pbdNoSr:"No se han detectado almacenamientos",patchNameLabel:"Nombre",patchUpdateButton:"Instalar todos los parches",patchDescription:"Descripción",patchApplied:"Fecha de publicación",patchSize:"Tamaño",patchStatus:"Estado",patchStatusApplied:"Aplicado",patchStatusNotApplied:"Parches pendientes",patchNothing:"No se ha detectado el parche",patchReleaseDate:"Fecha de publicación",patchGuidance:"Guía",patchAction:"Acción",hostAppliedPatches:void 0,hostMissingPatches:"Parches pendientes",hostUpToDate:"¡Host al día!",refreshPatches:void 0,installPoolPatches:void 0,defaultSr:void 0,setAsDefaultSr:void 0,generalTabName:"General",statsTabName:"Estadísticas",consoleTabName:"Consola",containersTabName:void 0,snapshotsTabName:"Snapshots",logsTabName:"Logs",advancedTabName:"Avanzado",networkTabName:"Red",disksTabName:"Disco{disks, plural, one {} other {s}}",powerStateHalted:"parada",powerStateRunning:"corriendo",powerStateSuspended:"suspendida",vmStatus:"Xen Tools no detectado",vmName:"Sin registro IPv4",vmDescription:"Sin registro IP",vmSettings:"Arrancada {ago}",vmCurrentStatus:"Estado actual",vmNotRunning:"No está corriendo",noToolsDetected:"Xen Tools no detectado",noIpv4Record:"Sin registro IPv4",noIpRecord:"Sin registro IP",started:"Arrancada {ago}",paraVirtualizedMode:"Paravirtualización (PV)",hardwareVirtualizedMode:"Paravirtualización por Hardware (HVM)",statsCpu:"Uso de CPU",statsMemory:"Uso de Memoria",statsNetwork:"Actividad de Red",useStackedValuesOnStats:void 0,statDisk:"Actividad de Disco",statLastTenMinutes:"Últimos 10 minutos",statLastTwoHours:"Últimas 2 horas",statLastWeek:"Última semana",statLastYear:"Último año",copyToClipboardLabel:"Copiar",ctrlAltDelButtonLabel:"Ctrl+Alt+Del",tipLabel:"Consejo:",tipConsoleLabel:"Cambia la distribución del teclado a US para no tener problemas con la consola",hideHeaderTooltip:void 0,showHeaderTooltip:void 0,containerName:void 0,containerCommand:void 0,containerCreated:void 0,containerStatus:void 0,containerAction:void 0,noContainers:void 0,containerStop:void 0,containerStart:void 0,containerPause:void 0,containerResume:void 0,containerRestart:void 0,vdiAction:"Acción",vdiAttachDeviceButton:"Adjuntar disco",vbdCreateDeviceButton:"Nuevo disco",vdiBootOrder:"Order de arranque",vdiNameLabel:"Nombre",vdiNameDescription:"Descripción",vdiTags:"Tareas",vdiSize:"Tamaño",vdiSr:"SR",vdiVm:void 0,vdiMigrate:void 0,vdiMigrateSelectSr:void 0,vdiMigrateAll:void 0,vdiMigrateNoSr:void 0,vdiMigrateNoSrMessage:void 0,vdiForget:void 0,vdiRemove:void 0,vdbBootableStatus:"Etiqueta de Inicio",vdbStatus:"Estado",vbdStatusConnected:"Conectado",vbdStatusDisconnected:"Desconectado",vbdNoVbd:"Sin discos",vbdConnect:void 0,vbdDisconnect:void 0,vdbBootable:void 0,vdbReadonly:void 0,vdbCreate:void 0,vdbNamePlaceHolder:void 0,vdbSizePlaceHolder:void 0,saveBootOption:void 0,resetBootOption:void 0,vifCreateDeviceButton:"Nuevo dispositivo",vifNoInterface:"Sin interface",vifDeviceLabel:"Dispositivo",vifMacLabel:"Dirección MAC",vifMtuLabel:"MTU",vifNetworkLabel:"Red",vifStatusLabel:"Estado",vifStatusConnected:"Conectado",vifStatusDisconnected:"Desconectado",vifConnect:void 0,vifDisconnect:void 0,vifRemove:void 0,vifIpAddresses:"Dirección IP",vifMacAutoGenerate:void 0,vifAllowedIps:void 0,vifNoIps:void 0,vifLockedNetwork:void 0,vifLockedNetworkNoIps:void 0,vifUnLockedNetwork:void 0,vifUnknownNetwork:void 0,vifCreate:void 0,noSnapshots:"Sin snapshots",snapshotCreateButton:"Nuevo snapshot",tipCreateSnapshotLabel:"¡Haz click en el botón de snapshot para crear uno!",revertSnapshot:void 0,deleteSnapshot:void 0,copySnapshot:void 0,exportSnapshot:void 0,snapshotDate:"Fecha de creación",snapshotName:"Nombre",snapshotAction:"Acción",logRemoveAll:"Elimintar todos los logs",noLogs:"No hay logs",logDate:"Fecha de creación",logName:"Nombre",logContent:"Contenido",logAction:"Acción",vmRemoveButton:"Quitar",vmConvertButton:"Convertir",xenSettingsLabel:"Configuraciones de Xen",guestOsLabel:"SO Invitado",miscLabel:"Varuis",uuid:"UUID",virtualizationMode:"Modo de virtualización",cpuWeightLabel:"Peso de CPU",defaultCpuWeight:"Por defecto",cpuCapLabel:void 0,defaultCpuCap:void 0,pvArgsLabel:"Argumentos PV",xenToolsStatus:"Estado de Xen Tools",xenToolsStatusValue:"{status}",osName:"Nombre del OS",osKernel:"Kernel del OS",autoPowerOn:"Auto encendido",ha:"HA",originalTemplate:"Plantilla original",unknownOsName:"Desconocido",unknownOsKernel:"Desconocido",unknownOriginalTemplate:"Desconocido",vmLimitsLabel:"Límites de VM",vmCpuLimitsLabel:"Límites de CPU",vmMemoryLimitsLabel:"Límites de memoria (min/max)",vmMaxVcpus:"Max vCPUs:",vmMaxRam:"Max Memoria:",vmHomeNamePlaceholder:"Click largo para poner el nombre",vmHomeDescriptionPlaceholder:"Click largo para poner la descripción",vmViewNamePlaceholder:"Click para definir el nombre",vmViewDescriptionPlaceholder:"Click para definir la descripción",templateHomeNamePlaceholder:void 0,templateHomeDescriptionPlaceholder:void 0,templateDelete:void 0,templateDeleteModalTitle:void 0,templateDeleteModalBody:void 0,poolPanel:"Pool{pools, plural, one {} other {s}}",hostPanel:"Host{hosts, plural, one {} other {s}}",vmPanel:"VM{vms, plural, one {} other {s}}",memoryStatePanel:"Uso de RAM",cpuStatePanel:"Uso de CPU",vmStatePanel:"Estado alimentación de las VMs",taskStatePanel:"Tareas pendientes",usersStatePanel:"Usuarios",srStatePanel:"Estado del almacenamiento",ofUsage:"de",noSrs:"Sin almacenamiento",srName:"Nombre",srPool:"Pool",srHost:"Host",srFormat:"Tipo",srSize:"Tamaño",srUsage:"Uso",srUsed:"Usado",srFree:"libre",srUsageStatePanel:"Uso del almacenamiento",srTopUsageStatePanel:"Top 5 de uso de SR (en %)",vmsStates:void 0,dashboardStatsButtonRemoveAll:void 0,dashboardStatsButtonAddAllHost:void 0,dashboardStatsButtonAddAllVM:void 0,weekHeatmapData:"{value} {date, date, medium}",weekHeatmapNoData:"Sin datos.",weeklyHeatmap:"Heatmap Semanal",weeklyCharts:"Gráficos Semanales",weeklyChartsScaleInfo:"Sincronizar escala",statsDashboardGenericErrorTitle:"Error de stats",statsDashboardGenericErrorMessage:"No hay stats disponibles para:",noSelectedMetric:"Métrica no seleccionada",statsDashboardSelectObjects:"Seleccionar",metricsLoading:"Cargando...",comingSoon:"¡Próximamente!",orphanedVdis:"VIDs huérfanos",orphanedVms:"VMs huérfanas",noOrphanedObject:"Sin huérfanos",removeAllOrphanedObject:"Eliminar todos los VDIs huérfanos",vmNameLabel:"Nombre",vmNameDescription:"Descripción",vmContainer:"Residente en",alarmMessage:"Alarmas",noAlarms:"Sin alarmas",alarmDate:"Fecha",alarmContent:"Contenido",alarmObject:"Producido el",alarmPool:"Pool",alarmRemoveAll:"Eliminar todas las alarmas",spaceLeftTooltip:void 0,newVmCreateNewVmOn:"Crear una nueva VM en {pool}",newVmCreateNewVmOn2:void 0,newVmCreateNewVmNoPermission:void 0,newVmInfoPanel:"Información",newVmNameLabel:"Nombre",newVmTemplateLabel:"Plantilla",newVmDescriptionLabel:"Descripción",newVmPerfPanel:"Rendimiento",newVmVcpusLabel:"vCPUs",newVmRamLabel:"RAM",newVmStaticMaxLabel:void 0,newVmDynamicMinLabel:void 0,newVmDynamicMaxLabel:void 0,newVmInstallSettingsPanel:"Opciones de instalación",newVmIsoDvdLabel:"ISO/DVD",newVmNetworkLabel:"Red",newVmInstallNetworkPlaceHolder:void 0,newVmPvArgsLabel:"Detalles del PV",newVmPxeLabel:"PXE",newVmInterfacesPanel:"Interfaces",newVmMacLabel:"MAC",newVmAddInterface:"Añadir interface",newVmDisksPanel:"Discos",newVmSrLabel:"SR",newVmBootableLabel:"Arrancable",newVmSizeLabel:"Tamaño",newVmAddDisk:"Añadir disco",newVmSummaryPanel:"Sumario",newVmCreate:"Crear",newVmReset:"Reiniciar",newVmSelectTemplate:"Elegir plantilla",newVmSshKey:"Clave SSH",newVmConfigDrive:"Config drive",newVmCustomConfig:"Configuración personalizada",newVmBootAfterCreate:"Arrancar la VM tras crearla",newVmMacPlaceholder:"Auto generada si se deja vacío",newVmCpuWeightLabel:"Peso de CPU",newVmDefaultCpuWeight:void 0,newVmCpuCapLabel:void 0,newVmDefaultCpuCap:void 0,newVmCloudConfig:"Cloud config",newVmCreateVms:"VMs creadas",newVmCreateVmsConfirm:"¿Estás seguro de querer crear {nbVms} VMs?",newVmMultipleVms:"Múltiple VMs:",newVmSelectResourceSet:void 0,newVmMultipleVmsPattern:void 0,newVmMultipleVmsPatternPlaceholder:void 0,newVmFirstIndex:void 0,newVmNumberRecalculate:void 0,newVmNameRefresh:void 0,newVmAdvancedPanel:void 0,newVmShowAdvanced:void 0,newVmHideAdvanced:void 0,resourceSets:"Conjunto de recursos",noResourceSets:"No hay conjuntos de recursos",loadingResourceSets:void 0,resourceSetName:"Nombre del conjunto de recursos",recomputeResourceSets:void 0,saveResourceSet:"Guardar",resetResourceSet:"Reiniciar",editResourceSet:"Editar",deleteResourceSet:"Bprrar",deleteResourceSetWarning:"Borrar conjunto de recursos",deleteResourceSetQuestion:"¿Estás seguro de querer borrar este conjunto de recursos?",resourceSetMissingObjects:"Objetos perdidos:",resourceSetVcpus:"vCPUs",resourceSetMemory:"Memoria",resourceSetStorage:"Almacenamiento",unknownResourceSetValue:"Desconocido",availableHosts:"Hosts disponibles",excludedHosts:"Hosts excluídos",noHostsAvailable:"No hay hosts disponibles",availableHostsDescription:"Las VMs creadas con este conjunto de recursos correrán en los siguientes hosts.",maxCpus:"Máximas CPUs",maxRam:"Máxima RAM (GiB)",maxDiskSpace:"Máximo espacio en disco",ipPool:void 0,quantity:void 0,noResourceSetLimits:"Sin límites",totalResource:"Total:",remainingResource:"Restante:",usedResource:"Utilizado:",resourceSetNew:void 0,importVmsList:"Haz drag & drop de backups aquí, o haz click para seleccionar qué backups subir. Sólo se aceptan ficheros .xva",noSelectedVms:"No se han seleccionado VMs",vmImportToPool:"Al Pool:",vmImportToSr:"al SR:",vmsToImport:"VMs para importar",importVmsCleanList:"Reiniciar",vmImportSuccess:"Importación de VM satisfactoria",vmImportFailed:"Falló la importación de VM",startVmImport:"Comenzando importación...",startVmExport:"Comenzando export...",nCpus:void 0,vmMemory:void 0,diskInfo:void 0,diskDescription:void 0,noDisks:void 0,noNetworks:void 0,networkInfo:void 0,noVmImportErrorDescription:void 0,vmImportError:void 0,vmImportFileType:void 0,vmImportConfigAlert:void 0,noTasks:"No hay tareas pendientes",xsTasks:"Ahora mismo no hay tareas de XenServer pendientes",backupSchedules:void 0,getRemote:void 0,listRemote:"Listar backups remotos",simpleBackup:"simple",delta:"diferencial",restoreBackups:"Restaurar backups",restoreBackupsInfo:void 0,remoteEnabled:"activado",remoteError:"error",noBackup:"No hay backups disponibles",backupVmNameColumn:"Nombre VM",backupTags:void 0,lastBackupColumn:"Último backup",availableBackupsColumn:"Backups disponibles",backupRestoreErrorTitle:void 0,backupRestoreErrorMessage:void 0,displayBackup:void 0,importBackupTitle:"Importar VM",importBackupMessage:"Comenzando importación del backup",vmsToBackup:void 0,emergencyShutdownHostsModalTitle:void 0,emergencyShutdownHostsModalMessage:void 0,stopHostModalTitle:void 0,stopHostModalMessage:void 0,addHostModalTitle:void 0,addHostModalMessage:void 0,restartHostModalTitle:void 0,restartHostModalMessage:void 0,restartHostsAgentsModalTitle:void 0,restartHostsAgentsModalMessage:void 0,restartHostsModalTitle:void 0,restartHostsModalMessage:void 0,startVmsModalTitle:"Arrancar VM{vms, plural, one {} other {s}}",startVmsModalMessage:"¿Estás seguro de querar arrancar {vms} VM{vms, plural, one {} other {s}}?",stopHostsModalTitle:void 0,stopHostsModalMessage:void 0,stopVmsModalTitle:"Parar VM{vms, plural, one {} other {s}}",stopVmsModalMessage:"¿Estás seguro de querer parar {vms} VM{vms, plural, one {} other {s}}?",restartVmModalTitle:void 0,restartVmModalMessage:void 0,stopVmModalTitle:void 0,stopVmModalMessage:void 0,restartVmsModalTitle:"Reiniciar VM{vms, plural, one {} other {s}}",restartVmsModalMessage:"¿Estás seguro de querer reiniciar {vms} VM{vms, plural, one {} other {s}}?",snapshotVmsModalTitle:"Snapshot VM{vms, plural, one {} other {s}}",snapshotVmsModalMessage:"¿Estás seguro de querer hacer snapshot de {vms} VM{vms, plural, one {} other {s}}?",deleteVmsModalTitle:"Borrar VM{vms, plural, one {} other {s}}",deleteVmsModalMessage:"¿Estás seguro de querar borrar {vms} VM{vms, plural, one {} other {s}}? TODOS SUS DISCOS SERAN ELIMINADOS",deleteVmModalTitle:"Borrar VM",deleteVmModalMessage:"¿Estás seguro de querer borrar esta VM? TODOS SUS DISCOS SERAN ELIMINADOS",migrateVmModalTitle:"Migrar VM",migrateVmSelectHost:void 0,migrateVmSelectMigrationNetwork:void 0,migrateVmSelectSrs:void 0,migrateVmSelectNetworks:void 0,migrateVmsSelectSr:void 0,migrateVmsSelectSrIntraPool:void 0,migrateVmsSelectNetwork:void 0,migrateVmsSmartMapping:void 0,migrateVmName:void 0,migrateVmSr:void 0,migrateVmVif:void 0,migrateVmNetwork:void 0,migrateVmNoTargetHost:void 0,migrateVmNoTargetHostMessage:void 0,deleteVdiModalTitle:void 0,deleteVdiModalMessage:void 0,revertVmModalTitle:void 0,deleteSnapshotModalTitle:void 0,deleteSnapshotModalMessage:void 0,revertVmModalMessage:void 0,revertVmModalSnapshotBefore:void 0,importBackupModalTitle:"Importar un backup {name}",importBackupModalStart:"Arrancar la VM tras la restauración",importBackupModalSelectBackup:"Elige el backup...",removeAllOrphanedModalWarning:"¿Estás seguro de querer borrar todos los VDIs huérfanos?",removeAllLogsModalTitle:"Borrar todos los logs",removeAllLogsModalWarning:"¿Estás seguro de querar borrar todos los logs?",definitiveMessageModal:"Esta operación es definitiva",existingSrModalTitle:"Uso anterior del SR",existingSrModalText:"Esta ruta ya ha sido utilizada anteriormente como Almacenamiento por un host XenServer. Todos los datos existentes se perderán si continuas con la creación del SR.",
|
67 | existingLunModalTitle:"Uso anterior de la LUN",existingLunModalText:"Esta LUN ya ha sido utilizada anteriormente como Almacenamiento por un host XenServer. Todos los datos existentes se perderán si continuas con la creación del SR.",alreadyRegisteredModal:"¿Reemplazar el registro actual?",alreadyRegisteredModalText:"Tu XOA ya está registrado en {email}, ¿quieres olvidar y reemplazar este registro?",trialReadyModal:"¿Preparado para el periodo de prueba?",trialReadyModalText:"Durante el periodo de prueba, XOA necesita conexión a Internet. Esta limitación no aplica a los planes de pago",serverHost:"Host",serverUsername:"Usuario",serverPassword:"Clave",serverAction:"Acción",serverReadOnly:"Sólo lectura",serverDisconnect:void 0,serverPlaceHolderUser:void 0,serverPlaceHolderPassword:void 0,serverPlaceHolderAddress:void 0,serverConnect:void 0,copyVm:"Copiar VM",copyVmConfirm:"¿Estás seguro de querer copiar esta VM a {SR}?",copyVmName:"Nombre",copyVmNamePattern:void 0,copyVmNamePlaceholder:"Vacío: nombre de la VM copiada",copyVmNamePatternPlaceholder:void 0,copyVmSelectSr:"Elegir SR",copyVmCompress:"Usar compresión",copyVmsNoTargetSr:void 0,copyVmsNoTargetSrMessage:void 0,detachHostModalTitle:void 0,detachHostModalMessage:void 0,detachHost:void 0,newNetworkCreate:"Crear red",newBondedNetworkCreate:void 0,newNetworkInterface:"Interface",newNetworkName:"Nombre",newNetworkDescription:"Descripción",newNetworkVlan:"VLAN",newNetworkDefaultVlan:"Sin VLAN si se deja vacío",newNetworkMtu:"MTU",newNetworkDefaultMtu:"Por defecto: 1500",newNetworkNoNameErrorTitle:void 0,newNetworkNoNameErrorMessage:void 0,newNetworkBondMode:void 0,deleteNetwork:"Borrar red",deleteNetworkConfirm:"¿Estás seguro de querer borrar esta red?",networkInUse:void 0,pillBonded:void 0,addHostSelectHost:void 0,addHostNoHost:void 0,addHostNoHostMessage:void 0,xenOrchestra:"Xen Orchestra",xenOrchestraServer:"servidor",xenOrchestraWeb:"cliente web",noProSupport:"¡Sin soporte Pro!",noProductionUse:"Usar en producción bajo tu propia cuenta y riesgo",downloadXoa:"Puedes descargar nuestro appliance en",bugTracker:"Bug Tracker",bugTrackerText:"¿Problemas? ¡Repórtalos!",community:"Comunidad",communityText:"¡Únete al foro de nuestra comunidad!",freeTrial:"Prueba gratis de la Edición Premium",freeTrialNow:"¡Pide la prueba gratuíta ahora!",issues:"¿Algún problema?",issuesText:"¿Problemas? ¡Ponte en contacto con nosotros!",documentation:"Documentación",documentationText:"Lee nuestra documentación oficial",proSupportIncluded:"Soporte Pro incluído",xoAccount:"Entra en tu cuenta XO",openTicket:"Reportar un problema",openTicketText:"¿Problemas? ¡Abre un ticket!",upgradeNeeded:"Actualización necesaria",upgradeNow:"¡Actualiza ahora!",or:"O",tryIt:"¡Pruébalo gratis!",availableIn:"Esta característica está sólo disponible a partir de la Edición {plan}",notAvailable:void 0,updateTitle:void 0,registration:"Registro",trial:"Prueba",settings:"Configuración",proxySettings:void 0,proxySettingsHostPlaceHolder:void 0,proxySettingsPortPlaceHolder:void 0,proxySettingsUsernamePlaceHolder:void 0,proxySettingsPasswordPlaceHolder:void 0,updateRegistrationEmailPlaceHolder:void 0,updateRegistrationPasswordPlaceHolder:void 0,update:"Refrescar",refresh:void 0,upgrade:"Actualizar",noUpdaterCommunity:"No hay actualizador para la Edición Community",noUpdaterSubscribe:"Por favor plantéate la suscripción y pruébala con todas las características gratis durante 15 días",noUpdaterWarning:"La actualización manual podría romper tu instalación actual debido a problemas de dependencias, hazlo con precaución",currentVersion:"Versión actual",register:"Registrar",editRegistration:void 0,trialRegistration:"Por favor, regístrate para poder disfrutar del periodo de prueba",trialStartButton:"Comenzar prueba",trialAvailableUntil:"Puedes usar la versión de prueba hasta {date, date, medium}. Actualiza tu instalación para obtenerla.",trialConsumed:"Tu periodo de prueba ha terminado. Contacta con nosotros o vuelve a la Edición Libre",trialLocked:"Tu servicio xoa-updater parece estar caído. XOA no puede funcionar correctamente sin contactar con este servicio",noUpdateInfo:"No hay información de actualización",waitingUpdateInfo:"Podría haber información de actualización disponible",upToDate:"Tu XOA está al día",mustUpgrade:"Necesitas actualizar tu XOA (hay disponible una nueva versión)",registerNeeded:"Tu XOA no está registrado para recibir actualizaciones",updaterError:"No se puede obtener la información de actualización",promptUpgradeReloadTitle:void 0,promptUpgradeReloadMessage:void 0,disclaimerTitle:"Xen Orchestra desde código fuente",disclaimerText1:"¡Estás utilizando XO a partir del código fuente! Estupendo para un uso personal/sin ánimo de lucro",disclaimerText2:"Si eres una empresa, es mejor utilizarlo con nuestro appliance con soporte Pro incluído",disclaimerText3:"Esta versión no está creada para recibir soporte ni actualizaciones. Úsala con precaución para tareas críticas.",connectPif:"Conectar PIF",connectPifConfirm:"¿Estás seguro de querer conectar este PIF?",disconnectPif:"Desconectar PIF",disconnectPifConfirm:"¿Estás seguro de querer desconectar este PIF?",deletePif:"Borrar PIF",deletePifConfirm:"¿Estás seguro de querer borrar este PIF?",username:void 0,password:void 0,language:void 0,oldPasswordPlaceholder:void 0,newPasswordPlaceholder:void 0,confirmPasswordPlaceholder:void 0,confirmationPasswordError:void 0,confirmationPasswordErrorBody:void 0,pwdChangeSuccess:void 0,pwdChangeSuccessBody:void 0,pwdChangeError:void 0,pwdChangeErrorBody:void 0,changePasswordOk:void 0,sshKeys:void 0,newSshKey:void 0,deleteSshKey:void 0,noSshKeys:void 0,newSshKeyModalTitle:void 0,sshKeyErrorTitle:void 0,sshKeyErrorMessage:void 0,title:void 0,key:void 0,deleteSshKeyConfirm:void 0,deleteSshKeyConfirmMessage:void 0,others:void 0,loadingLogs:void 0,logUser:void 0,logMethod:void 0,logParams:void 0,logMessage:void 0,logError:void 0,logDisplayDetails:void 0,logTime:void 0,logNoStackTrace:void 0,logNoParams:void 0,logDelete:void 0,logDeleteAll:void 0,logDeleteAllTitle:void 0,logDeleteAllMessage:void 0,ipPoolName:void 0,ipPoolIps:void 0,ipPoolIpsPlaceholder:void 0,ipPoolNetworks:void 0,ipsNoIpPool:void 0,ipsCreate:void 0,ipsDeleteAllTitle:void 0,ipsDeleteAllMessage:void 0,ipsVifs:void 0,ipsNotUsed:void 0,shortcutModalTitle:void 0,shortcut_XoApp:void 0,shortcut_GO_TO_HOSTS:void 0,shortcut_GO_TO_POOLS:void 0,shortcut_GO_TO_VMS:void 0,shortcut_CREATE_VM:void 0,shortcut_UNFOCUS:void 0,shortcut_HELP:void 0,shortcut_Home:void 0,shortcut_SEARCH:void 0,shortcut_NAV_DOWN:void 0,shortcut_NAV_UP:void 0,shortcut_SELECT:void 0,shortcut_JUMP_INTO:void 0,settingsAclsButtonTooltipVM:void 0,settingsAclsButtonTooltiphost:void 0,settingsAclsButtonTooltippool:void 0,settingsAclsButtonTooltipSR:void 0,settingsAclsButtonTooltipnetwork:void 0}},{"moment/locale/es":803,"react-intl":1103,"react-intl/locale-data/es":1104}],1438:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),e("moment/locale/fr");var o=e("react-intl/locale-data/fr"),a=r(o),i=e("react-intl");(0,i.addLocaleData)(a.default),n.default={statusConnecting:"Connexion…",statusDisconnected:"Déconnecté",statusLoading:"Chargement…",errorPageNotFound:"Page introuvable",errorNoSuchItem:"aucune correspondance",editableLongClickPlaceholder:"Clic long pour éditer",editableClickPlaceholder:"Cliquer pour éditer",alertOk:"OK",confirmOk:"OK",confirmCancel:"Annuler",onError:"En erreur",successful:"Réussi",copyToClipboard:"Copier dans le presse-papier",pillMaster:"Maître",homePage:"Accueil",homeVmPage:"VMs",homeHostPage:"Hôtes",homePoolPage:"Pools",homeTemplatePage:"Templates",dashboardPage:"Tableau de bord",overviewDashboardPage:"Vue d'ensemble",overviewVisualizationDashboardPage:"Visualisations",overviewStatsDashboardPage:"Statistiques",overviewHealthDashboardPage:"État de santé",selfServicePage:"Libre service",backupPage:"Sauvegardes",jobsPage:"Jobs",updatePage:"Mises à jour",settingsPage:"Paramètres",settingsServersPage:"Serveurs",settingsUsersPage:"Utilisateurs",settingsGroupsPage:"Groupes",settingsAclsPage:"Droits",settingsPluginsPage:"Greffons",settingsLogsPage:"Journaux",settingsIpsPage:"IPs",aboutPage:"À propos",aboutXoaPlan:"À propos de XO {xoaPlan}",newMenu:"Nouveau",taskMenu:"Tâches",taskPage:"Tâches",newVmPage:"VM",newSrPage:"Stockage",newServerPage:"Serveur",newImport:"Importer",backupOverviewPage:"Vue d'ensemble",backupNewPage:"Nouveau",backupRemotesPage:"Emplacement",backupRestorePage:"Restaurer",schedule:"Planifier",newVmBackup:"Nouvelle sauvegarde de VM",editVmBackup:"Éditer une sauvegarde de VM",backup:"Sauvegarder",rollingSnapshot:"Rolling Snapshot",deltaBackup:"Delta Backup",disasterRecovery:"Reprise après panne",continuousReplication:"Réplication continue",jobsOverviewPage:"Vue d'ensemble",jobsNewPage:"Nouveau",jobsSchedulingPage:"Planifier",customJob:"Job personnalisé",userPage:"Utilisateur",noSupport:"Pas de support",freeUpgrade:"Mise à jour gratuite !",signOut:"Se déconnecter",editUserProfile:"Éditer mes options {username}",homeFetchingData:"Récupération des données…",homeWelcome:"Bienvenue sur Xen Orchestra !",homeWelcomeText:"Ajouter vos serveurs ou pools XenServer",homeHelp:"Besoin d'aide ?",homeAddServer:"Ajouter un serveur",homeOnlineDoc:"Documentation en ligne",homeProSupport:"Support professionel",homeNoVms:"Il n'y a pas de VMs !",homeNoVmsOr:"Ou…",homeImportVm:"Importer une VM",homeImportVmMessage:"Importer une VM existante au format xva",homeRestoreBackup:"Restaurer une sauvegarde",homeRestoreBackupMessage:"Restaurer une sauvegarde depuis un stockage distant",homeNewVmMessage:"Cela va créer une nouvelle VM",homeFilters:"Filtres",homeNoMatches:"Aucun résultat ! Cliquez ici pour réinitialiser vos filtres",homeTypePool:"Pool",homeTypeHost:"Hôte",homeTypeVm:"VM",homeTypeSr:"SR",homeTypeVmTemplate:"Template",homeSort:"Trier",homeAllPools:"Pools",homeAllHosts:"Hôtes",homeAllTags:"Tags",homeNewVm:"Nouvelle VM",homeFilterRunningHosts:"Hôtes démarrés",homeFilterDisabledHosts:"Hôtes désactivés",homeFilterRunningVms:"VMs démarrées",homeFilterNonRunningVms:"VMs éteintes",homeFilterPendingVms:"VMs en attente",homeFilterHvmGuests:"Invités HVM",homeFilterTags:"Tags",homeSortBy:"Trier par",homeSortByName:"Nom",homeSortByPowerstate:"Alimentation",homeSortByRAM:"RAM",homeSortByvCPUs:"vCPUs",homeSortByCpus:"CPUs",homeDisplayedItems:"{displayed, number}x {icon} (sur {total, number})",homeSelectedItems:"{selected, number}x {icon} sélectionné{selected, plural, one {} other {s}} (sur {total, number})",homeMore:"Plus",homeMigrateTo:"Migrer vers…",homeMissingPaths:"Patches manquant",homePoolMaster:"Maître :",highAvailability:"Haute disponibilité",add:"Ajouter",remove:"Supprimer",preview:"Aperçu",item:"Objet",noSelectedValue:"Pas de valeur sélectionnée",selectSubjects:"Sélectionner un ou des utilisateur(s) et/ou groupe(s)",selectObjects:"Sélectionner de(s) objet(s)…",selectRole:"Choisir un rôle",selectHosts:"Choisir un/des hôte(s)…",selectHostsVms:"Choisir un/des object(s)…",selectNetworks:"Choisir un/des réseau(x)…",selectPifs:"Sélectionner une/des PIF(s)…",selectPools:"Sélectionner un/des Pool(s)…",selectRemotes:"Choisir un/des emplacement(s)…",selectResourceSets:"Choisir un jeu de ressource(s)…",selectResourceSetsVmTemplate:"Sélectionner un/des template(s)…",selectResourceSetsSr:"Sélectionner un/des SR(s)…",selectResourceSetsNetwork:"Sélectionner un/des réseau(x)…",selectResourceSetsVdi:"Sélectionner un/des disque(s)…",selectSshKey:"Sélectionner une/des clef(s) SSH…",selectSrs:"Sélectionner un/des SR(s)…",selectVms:"Sélectionner une/des VM(s)…",selectVmTemplates:"Sélectionner un/des template(s) de VM…",selectTags:"Sélectionner un/des tag(s)…",selectVdis:"Sélectionner un/des disque(s)…",selectTimezone:"Sélectionner le fuseau horaire…",selectIp:"Sélectionner une/des IP(s)…",selectIpPool:"Sélectionner une/des plage(s) d'IP(s)…",fillRequiredInformations:"Saisir les informations obligatoires.",fillOptionalInformations:"Saisir les informations (optionnel)",selectTableReset:"Réinitialiser",schedulingMonth:"Mois",schedulingEachSelectedMonth:"Chaque mois sélectionné",schedulingMonthDay:"Jour du mois",schedulingEachSelectedMonthDay:"Chaque jour sélectionné",schedulingWeekDay:"Jour de la semaine",schedulingEachSelectedWeekDay:"Chaque jour sélectionné",schedulingHour:"Heure",schedulingEveryNHour:"Toutes les N heures",schedulingEachSelectedHour:"Chaque heure sélectionnée",schedulingMinute:"Minute",schedulingEveryNMinute:"Toutes les N minutes",schedulingEachSelectedMinute:"Chaque minute sélectionnée",schedulingReset:"Réinitialiser",unknownSchedule:"Inconnu",timezonePickerServerValue:"Fuseau horaire du Xo-server :",timezonePickerUseLocalTime:"Fuseau horaire de votre navigateur",timezonePickerUseServerTime:"Fuseau horaire du Xo-server",serverTimezoneOption:"Fuseau horaire du serveur ({value})",cronPattern:"Motif Cron :",backupEditNotFoundTitle:"Impossible d'éditer la sauvegarde",backupEditNotFoundMessage:"Il manque les informations nécessaires à l'édition",job:"Job",jobId:"Job ID",jobName:"Nom",jobNamePlaceholder:'Nom de votre job (caractère interdit : "_")',jobStart:"Début",jobEnd:"Fin",jobDuration:"Durée",jobStatus:"État",jobAction:"Action",jobTag:"Tag",jobScheduling:"Planifié",jobState:"État",jobTimezone:"Fuseau horaire",jobServerTimezone:"xo-server",runJob:"Lancer le job",runJobVerbose:"Une exécution a été lancée. Voir l'overview pour plus de détails.",jobStarted:"Démarré",jobFinished:"Terminé",saveBackupJob:"Enregistrer",deleteBackupSchedule:"Supprimer ce job de sauvegarde",deleteBackupScheduleQuestion:"Êtes-vous sûr de vouloir supprimer ce job de sauvegarde ?",scheduleEnableAfterCreation:"Activer aussitôt après la création",scheduleEditMessage:"Vous êtes en train d'éditer {name} ({id}). Enregistrer écrasera l'état planifié précédent.",jobEditMessage:"Vous êtes en train d'éditer le job {name} ({id}). Enregistrer écrasera l'état du job précédent.",noScheduledJobs:"Pas de job planifié.",noJobs:"Pas de job trouvé.",noSchedules:"Pas de planification trouvée",jobActionPlaceHolder:"Sélectionnez une commande de l'API xo-server",jobSchedules:"Planning",jobScheduleNamePlaceHolder:"Nom de votre planification",jobScheduleJobPlaceHolder:"Choisir un Job",newBackupSelection:"Choisissez votre type de sauvegarde :",smartBackupModeSelection:"Sélectionnez votre mode de sauvegarde :",normalBackup:"Backup normal",smartBackup:"Backup intelligent",localRemoteWarningTitle:"Emplacement local sélectionné",localRemoteWarningMessage:"Attention : utiliser un emplacement local limite l'espace pour XO. Restreignez ceci aux utilisateurs avancés.",editBackupVmsTitle:"VMs",editBackupSmartStatusTitle:"État des VMs",editBackupSmartResidentOn:"Situé sur",editBackupSmartTagsTitle:"Tags des VMs",editBackupTagTitle:"Tag",editBackupReportTitle:"Rapport",editBackupReportEnable:"Activer aussitôt après la création",editBackupDepthTitle:"Profondeur",editBackupRemoteTitle:"Emplacement",remoteList:"Emplacement de stockage de backup",newRemote:"Nouvel emplacement de stockage",remoteTypeLocal:"Local",remoteTypeNfs:"NFS",remoteTypeSmb:"SMB",remoteType:"Type",remoteTestTip:"Testez votre emplacement",testRemote:"Tester l'emplacement",remoteTestFailure:"Test réussi pour {name}",remoteTestSuccess:"Test échoué pour {name}",remoteTestError:"Erreur",remoteTestStep:"Étape de test",remoteTestFile:"Fichier de test",remoteTestSuccessMessage:"L'emplacement distant semble marcher correctement",remoteName:"Nom",remotePath:"Chemin",remoteState:"État",remoteDevice:"Équipement",remoteShare:"Partage",remoteAuth:"Accès",remoteMounted:"Monté",remoteUnmounted:"Démonté",remoteConnectTip:"Connecter",remoteDisconnectTip:"Déconnecter",remoteDeleteTip:"Supprimer",remoteNamePlaceHolder:"nom distant*",remoteMyNamePlaceHolder:"Nom *",remoteLocalPlaceHolderPath:"/chemin/de/la/sauvegarde",remoteNfsPlaceHolderHost:"hôte *",remoteNfsPlaceHolderPath:"chemin/de/la/sauvegarde",remoteSmbPlaceHolderRemotePath:"sous-répertoire [chemin\\vers\\la\\sauvegarde]",remoteSmbPlaceHolderUsername:"Nom d'utilisateur",remoteSmbPlaceHolderPassword:"Mot de passe",remoteSmbPlaceHolderDomain:"Domaine",remoteSmbPlaceHolderAddressShare:"<adresse>\\<partage> *",remotePlaceHolderPassword:"mot de passe (saisir ici pour éditer)",newSrTitle:"Créer un nouvel SR",newSrGeneral:"Général",newSrTypeSelection:"Sélectionner un type de stockage :",newSrSettings:"Paramètres",newSrUsage:"Utilisation du stockage",newSrSummary:"Récapitulatif",newSrHost:"Hôtes",newSrType:"Type",newSrName:"Nom",newSrDescription:"Description",newSrServer:"Serveur",newSrPath:"Chemin",newSrIqn:"IQN",newSrLun:"LUN",newSrAuth:"avec identification",newSrUsername:"Nom d'utilisateur",newSrPassword:"Mot de passe",newSrDevice:"Équipement",newSrInUse:"utilisé",newSrSize:"Taille",newSrCreate:"Créer",newSrNamePlaceHolder:"Nom de l'emplacement",newSrDescPlaceHolder:"Description de l'emplacement",newSrAddressPlaceHolder:"Adresse",newSrPortPlaceHolder:"[port]",newSrUsernamePlaceHolder:"Nom d'utilisateur",newSrPasswordPlaceHolder:"Mot de passe",newSrLvmDevicePlaceHolder:"Matériel, par exemple /dev/sda…",newSrLocalPathPlaceHolder:"/chemin/du/répertoire",subjectName:"Utilisateurs/Groupes",objectName:"Objet",aclNoneFound:"Aucun droit existant",roleName:"Rôle",aclCreate:"Créer",newGroupName:"Nouveau nom de groupe",createGroup:"Créer un groupe",createGroupButton:"Créer",deleteGroup:"Supprimer le groupe",deleteGroupConfirm:"Êtes-vous sûr de vouloir supprimer ce groupe ?",removeUserFromGroup:"Supprimer l'utilisateur du groupe",deleteUserConfirm:"Êtes-vous sûr de vouloir supprimer cet utilisateur ?",deleteUser:"Supprimer l'utilisateur",noUser:"pas d'utilisateur",unknownUser:"utilisateur inconnu",noGroupFound:"Pas de groupe trouvé",groupNameColumn:"Nom",groupUsersColumn:"Utilisateur",addUserToGroupColumn:"Ajouter un utilisateur",userNameColumn:"Email",userPermissionColumn:"Droits",userPasswordColumn:"Mot de passe",userName:"Email",userPassword:"Mot de passe",createUserButton:"Créer",noUserFound:"Pas d'utilisateur trouvé",userLabel:"Utilisateur",adminLabel:"Administrateur",noUserInGroup:"Pas d'utilisateur dans ce groupe",countUsers:"{users} utilisateur{users, plural, one {} other {s}}",selectPermission:"Choisir les droits",autoloadPlugin:"Charger automatiquement au démarrage du serveur",savePluginConfiguration:"Sauvegarder la configuration",deletePluginConfiguration:"Supprimer la configuration",pluginError:"Erreur du greffon",unknownPluginError:"Erreur inconnue",purgePluginConfiguration:"Purger la configuration du greffon",purgePluginConfigurationQuestion:"Êtes-vous sûr de vouloir purger la configuration de ce greffon ?",editPluginConfiguration:"Éditer",cancelPluginEdition:"Annuler",pluginConfigurationSuccess:"Configuration du greffon",pluginConfigurationChanges:"La configuration du greffon a été sauvegardée avec succés !",pluginConfigurationPresetTitle:"Configuration pré-définie",pluginConfigurationChoosePreset:"Choisir une configuration pré-définie.",applyPluginPreset:"Appliquer",saveNewUserFilterErrorTitle:"Erreur lors de l'enregistrement du filtre",saveNewUserFilterErrorBody:"Erreur: un nom doit être spécifié.",filterName:"Nom :",filterValue:"Valeur :",saveNewFilterTitle:"Enregistrer un nouveau filtre",setUserFiltersTitle:"Personnaliser un filtre",setUserFiltersBody:"Êtes-vous sûr de vouloir personnaliser un filtre ?",removeUserFilterTitle:"Supprimer un filtre personnalisé",removeUserFilterBody:"Êtes-vous sûr de vouloir supprimer ce filtre personnalisé ?",defaultFilter:"Filtre par défaut",defaultFilters:"Filtres par défaut",customFilters:"Filtre personnalisé",customizeFilters:"Personnaliser les filtres",saveCustomFilters:"Sauvegarder les filtres personnalisés",startVmLabel:"Créer",recoveryModeLabel:"Démarrage de dépannage",suspendVmLabel:"Suspendre",stopVmLabel:"Arrêter",forceShutdownVmLabel:"Forcer l'arrêt",rebootVmLabel:"Redémarrer",forceRebootVmLabel:"Forcer le redémarrage",deleteVmLabel:"Supprimer",migrateVmLabel:"Migrer",snapshotVmLabel:"Instantané",exportVmLabel:"Exporter",resumeVmLabel:"Reprendre",copyVmLabel:"Copier",cloneVmLabel:"Cloner",fastCloneVmLabel:"Clonage rapide",convertVmToTemplateLabel:"Convertir en template",vmConsoleLabel:"Console",srRescan:"Rescanner tous les disques",srReconnectAll:"Connecter sur tous les hôtes",srDisconnectAll:"Déconnecter de tous les hôtes",srForget:"Oublier ce SR",srRemoveButton:"Supprimer ce SR",srNoVdis:"Pas de VDI sur ce stockage",poolTitleRamUsage:"Utilisation RAM du pool :",poolRamUsage:"{used} utilisé sur {total}",poolMaster:"Maître :",hostsTabName:"Hôtes",poolHaStatus:"Haute Disponibilité",poolHaEnabled:"Activé",poolHaDisabled:"Désactivé",hostNameLabel:"Nom",hostDescription:"Description",hostMemory:"Mémoire",noHost:"Pas d'hôte",memoryLeftTooltip:"{used}% utilisé ({free} libre)",poolNetworkNameLabel:"Nom",poolNetworkDescription:"Description",poolNetworkPif:"PIFs",poolNoNetwork:"Pas de réseaux",poolNetworkMTU:"MTU",poolNetworkPifAttached:"Connecté",poolNetworkPifDetached:"Déconnecté",showPifs:"Afficher les PIFs",hidePifs:"Cacher les PIFs",addSrLabel:"Ajouter un SR",addVmLabel:"Ajouter une VM",addHostLabel:"Ajouter un hôte",disconnectServer:"Déconnecter",startHostLabel:"Démarrer",stopHostLabel:"Arrêter",enableHostLabel:"Activer",disableHostLabel:"Désactiver",restartHostAgent:"Redémarrer la toolstack",forceRebootHostLabel:"Forcer un redémarrage",rebootHostLabel:"Redémarrer",rebootUpdateHostLabel:"Redémarrer pour appliquer les mises à jour",emergencyModeLabel:"Emergency mode",storageTabName:"Stockage",patchesTabName:"Patches",statLoad:"Charge (load) moyenne :",hardwareHostSettingsLabel:"Matériel",hostAddress:"Adresse",hostStatus:"État",hostBuildNumber:"Numéro de build",hostIscsiName:"Nom iSCSI",hostXenServerVersion:"Version",hostStatusEnabled:"Activé",hostStatusDisabled:"Désactivé",hostPowerOnMode:"Mode d'allumage",hostStartedSince:"Temps d'activité",hostStackStartedSince:"Toolstack uptime",hostCpusModel:"Modèle de CPU",hostCpusNumber:"Cœur (socket)",hostManufacturerinfo:"Informations constructeur",hostBiosinfo:"Informations BIOS",licenseHostSettingsLabel:"Licence",hostLicenseType:"Type",hostLicenseSocket:"Socket",hostLicenseExpiry:"Expiration",networkCreateButton:"Ajouter un réseau",networkCreateBondedButton:"Ajouter un réseau agrégé",pifDeviceLabel:"Device",pifNetworkLabel:"Réseau",pifVlanLabel:"VLAN",pifAddressLabel:"Adresse",pifModeLabel:"Mode",pifMacLabel:"MAC",pifMtuLabel:"MTU",pifStatusLabel:"État",pifStatusConnected:"Connecté",pifStatusDisconnected:"Déconnecté",pifNoInterface:"Pas d'interface physique détectée",pifInUse:"Cette interface est en cours d'utilisation",defaultLockingMode:"Verrouillage par défaut",pifConfigureIp:void 0,configIpErrorTitle:void 0,configIpErrorMessage:void 0,staticIp:void 0,netmask:void 0,dns:void 0,gateway:void 0,addSrDeviceButton:"Ajouter un stockage",srNameLabel:"Nom",srType:"Type",pbdStatus:"État",pbdStatusConnected:"Connecté",pbdStatusDisconnected:"Déconnecté",pbdConnect:"Connecter",pbdDisconnect:"Déconnecter",pbdForget:"Oublier",srShared:"Partager",srNotShared:"Non partagé",pbdNoSr:"Pas de stockage détecté",patchNameLabel:"Nom",patchUpdateButton:"installer tous les patchs",patchDescription:"Description",patchApplied:"Date d'installation",patchSize:"Taille",patchStatus:"État",patchStatusApplied:"Appliqué",patchStatusNotApplied:"Patches manquants",patchNothing:"Pas de patch détecté",patchReleaseDate:"Date de diffusion",patchGuidance:"Guidance",patchAction:"Action",hostAppliedPatches:"Patches appliqués",hostMissingPatches:"Patches manquants",hostUpToDate:"Hôte à jour !",refreshPatches:"Rafraichir patchs",installPoolPatches:"Installer les patchs sur le pool",defaultSr:"SR par défaut",setAsDefaultSr:"Définir comme SR par défaut",generalTabName:"Général",statsTabName:"Stats",consoleTabName:"Console",containersTabName:"Conteneur",snapshotsTabName:"Instantanés",logsTabName:"Journaux",advancedTabName:"Avancé",networkTabName:"Réseaux",disksTabName:"Disque{disks, plural, one {} other {s}}",powerStateHalted:"stoppé",powerStateRunning:"en cours",powerStateSuspended:"suspendu",vmStatus:"Pas de Xen tools détectés",vmName:"Pas d'enregistrement IPv4",vmDescription:"Pas d'enregistrement IP",vmSettings:"Démarré il y a {ago}",vmCurrentStatus:"État actuel :",vmNotRunning:"Éteinte",noToolsDetected:"Pas de Xen tools détectés",noIpv4Record:"Pas d'enregistrement IPv4",noIpRecord:"Pas d'enregistrement IP",started:"Démarré {ago}",paraVirtualizedMode:"Paravirtualisation (PV)",hardwareVirtualizedMode:"Virtualisation matérielle (HVM)",statsCpu:"Utilisation CPU",statsMemory:"Utilisation mémoire",statsNetwork:"Échanges réseaux",useStackedValuesOnStats:"Valeurs cumulées",statDisk:"Échanges disques",statLastTenMinutes:"Les 10 dernières minutes",statLastTwoHours:"Les 2 dernières heures",statLastWeek:"La dernière semaine",statLastYear:"La dernière année",copyToClipboardLabel:"Copier",ctrlAltDelButtonLabel:"Ctrl+Alt+Supp",tipLabel:"Astuces :",tipConsoleLabel:"les claviers autres que US risquent de rencontrer des soucis avec la console. Le cas échéant, changez votre configuration clavier pour US.",hideHeaderTooltip:"Cacher les infos",showHeaderTooltip:"Afficher les infos",containerName:"Nom",containerCommand:"Commande",containerCreated:"Date de création",containerStatus:"État",containerAction:"Action",noContainers:"Aucun conteneur",containerStop:"Arrêter ce conteneur",containerStart:"Démarrer ce conteneur",containerPause:"Mettre ce conteneur en pause",containerResume:"Relancer ce conteneur",containerRestart:"Redémarrer ce conteneur",vdiAction:"Action",vdiAttachDeviceButton:"Attacher un disque",vbdCreateDeviceButton:"Nouveau disque",vdiBootOrder:"Séquence de démarrage",vdiNameLabel:"Nom",vdiNameDescription:"Description",vdiTags:"Tags",vdiSize:"Taille",vdiSr:"SR",vdiVm:"VM",vdiMigrate:"Migrer le VDI",vdiMigrateSelectSr:"SR de destination :",vdiMigrateAll:"Migrer tous les VDIs",vdiMigrateNoSr:"Pas de SR",vdiMigrateNoSrMessage:"Un SR cible est nécessaire pour migrer un VDI",vdiForget:"Oublier",vdiRemove:"Supprimer le VDI",vdbBootableStatus:"Boot flag",vdbStatus:"État",vbdStatusConnected:"Connecté",vbdStatusDisconnected:"Déconnecté",vbdNoVbd:"Pas de disque",vbdConnect:"Connecter un VBD",vbdDisconnect:"Déconnecter un VBD",vdbBootable:"Bootable",vdbReadonly:"Lecture seule",vdbCreate:"Créer",vdbNamePlaceHolder:"Nom du disque",vdbSizePlaceHolder:"Taille",saveBootOption:"Enregistrer",resetBootOption:"Réinitialiser",vifCreateDeviceButton:"Nouvelle interface",vifNoInterface:"Pas d'interface",vifDeviceLabel:"Device",vifMacLabel:"Adresse MAC",vifMtuLabel:"MTU",vifNetworkLabel:"Réseaux",vifStatusLabel:"État",vifStatusConnected:"Connecté",vifStatusDisconnected:"Déconnecté",vifConnect:"Connecter",vifDisconnect:"Déconnecter",vifRemove:"Supprimer",vifIpAddresses:"Adresses IP",vifMacAutoGenerate:"Si vide, généré automatiquement",vifAllowedIps:"IPs autorisées",vifNoIps:"Pas d'IP",vifLockedNetwork:"Réseau verrouillé",vifLockedNetworkNoIps:"Le réseau est verrouillé et aucune IP n'est autorisée sur cette interface",vifUnLockedNetwork:"Réseau non verrouillé",vifUnknownNetwork:"Réseau inconnu",vifCreate:"Créer",noSnapshots:"Pas d'instantané",snapshotCreateButton:"Nouvel instantané",tipCreateSnapshotLabel:"Cliquer simplement sur le bouton d'instantané pour en créer un !",revertSnapshot:"Restaurer la MV à cet instantané",deleteSnapshot:"Supprimer cet instantané",copySnapshot:"Créer une VM depuis cet instantané",exportSnapshot:"Exporter cet instantané",snapshotDate:"Date de création",snapshotName:"Nom",snapshotAction:"Action",logRemoveAll:"Supprimer tous les journaux",noLogs:"Pas de journaux jusque là",logDate:"Date de création",logName:"Nom",logContent:"Contenu",logAction:"Action",vmRemoveButton:"Supprimer",vmConvertButton:"Convertir",xenSettingsLabel:"Configuration Xen",guestOsLabel:"OS invité",miscLabel:"Divers",uuid:"UUID",virtualizationMode:"Mode de virtualisation",cpuWeightLabel:"Pondération CPU",defaultCpuWeight:"Défaut ({value, number})",cpuCapLabel:"Fonctionnalités CPU",defaultCpuCap:"Défaut ({value, number})",pvArgsLabel:"PV params",xenToolsStatus:"État des Xen tools",xenToolsStatusValue:void 0,osName:"Nom de l'OS",osKernel:"Kernel de l'OS",autoPowerOn:"Allumage automatique",ha:"Haute Dispo",originalTemplate:"Template d'origine",unknownOsName:"Inconnu",unknownOsKernel:"Inconnu",unknownOriginalTemplate:"Inconnu",vmLimitsLabel:"Limites de la VM",vmCpuLimitsLabel:"Limites de CPU",vmMemoryLimitsLabel:"Limites de mémoire (min/max)",vmMaxVcpus:"vCPUs max :",vmMaxRam:"Mémoire max :",vmHomeNamePlaceholder:"Clic long pour définir un nom",vmHomeDescriptionPlaceholder:"Clic long pour définir une description",vmViewNamePlaceholder:"Cliquer pour définir un nom",vmViewDescriptionPlaceholder:"Cliquer pour définir une description",templateHomeNamePlaceholder:"Cliquer pour ajouter un nom",templateHomeDescriptionPlaceholder:"Cliquer pour ajouter une description",templateDelete:"Supprimer le template",templateDeleteModalTitle:"Supprimer le(s) template{templates, plural, one {} other {s}} de VMs",templateDeleteModalBody:"Êtes-vous sûr de vouloir supprimer ce(s) template(s) ?",poolPanel:"Pool{pools, plural, one {} other {s}}",hostPanel:"Hôte{hosts, plural, one {} other {s}}",vmPanel:"VM{vms, plural, one {} other {s}}",memoryStatePanel:"Utilisation RAM",cpuStatePanel:"Utilisation CPUs",vmStatePanel:"Etats des VMs",taskStatePanel:"Tâches en attente",usersStatePanel:"Utilisateurs",srStatePanel:"État du stockage",ofUsage:"{usage} (sur {total})",noSrs:"Pas de stockage",srName:"Nom",srPool:"Pool",srHost:"Hôte",srFormat:"Type",srSize:"Taille",srUsage:"Usage",srUsed:"utilisé",srFree:"libre",srUsageStatePanel:"Utilisation du stockage",srTopUsageStatePanel:"Top 5 d'utilisation des SRs (en %)",vmsStates:"{running} allumée{halted, plural, one {} other {s}} ({halted} éteinte{halted, plural, one {} other {s}})",dashboardStatsButtonRemoveAll:"Vider la sélection",dashboardStatsButtonAddAllHost:"Ajouter tous les hôtes",dashboardStatsButtonAddAllVM:"Ajouter toutes les VMs",weekHeatmapData:"{value} {date, date, medium}",weekHeatmapNoData:"Pas de données.",weeklyHeatmap:"Heatmap hebdomadaire",weeklyCharts:"Graphes hebdomadaires",weeklyChartsScaleInfo:"Synchroniser les échelles :",statsDashboardGenericErrorTitle:"Erreurs de stats",statsDashboardGenericErrorMessage:"Pas de statistiques disponibles pour :",noSelectedMetric:"Pas de métrique sélectionnée.",statsDashboardSelectObjects:"Sélectionner",metricsLoading:"Chargement en cours…",comingSoon:"C'est pour bientôt !",orphanedVdis:"Instantanés de VDIs orphelins",orphanedVms:"Instantanés VMs orphelins",noOrphanedObject:"Pas d'orphelin",removeAllOrphanedObject:"Supprimer tous les snapshots de VDIs orphelins",vmNameLabel:"Nom",vmNameDescription:"Description",vmContainer:"Situé sur",alarmMessage:"Alarmes",noAlarms:"Pas d'alarmes",alarmDate:"Date",alarmContent:"Contenu",alarmObject:"Concerné",alarmPool:"Pool",alarmRemoveAll:"Supprimer toutes les alarmes",spaceLeftTooltip:"{used}% utilisés ({free} restants)",newVmCreateNewVmOn:"Créer une nouvelle VM sur {select}",newVmCreateNewVmOn2:"Créer une nouvelle VM sur {select1} ou {select2}",newVmCreateNewVmNoPermission:"Vous n'avez pas les droits pour créer une VM",newVmInfoPanel:"Infos",newVmNameLabel:"Nom",newVmTemplateLabel:"Template",newVmDescriptionLabel:"Description",newVmPerfPanel:"Performances",newVmVcpusLabel:"vCPUs",newVmRamLabel:"RAM",newVmStaticMaxLabel:"Mémoire fixe max",newVmDynamicMinLabel:"Mémoire dynamique min",newVmDynamicMaxLabel:"Mémoire dynamique max",newVmInstallSettingsPanel:"Paramètres d'installation",newVmIsoDvdLabel:"ISO/DVD",newVmNetworkLabel:"Réseau",newVmInstallNetworkPlaceHolder:"ex : http://httpredir.debian.org/debian",newVmPvArgsLabel:"PV Args",newVmPxeLabel:"PXE",newVmInterfacesPanel:"Interfaces",newVmMacLabel:"MAC",newVmAddInterface:"Ajouter interface",newVmDisksPanel:"Disques",newVmSrLabel:"SR",newVmBootableLabel:"Bootable",newVmSizeLabel:"Taille",newVmAddDisk:"Ajouter un disque",
|
68 | newVmSummaryPanel:"Récapitulatif",newVmCreate:"Créer",newVmReset:"Réinitialiser",newVmSelectTemplate:"Sélectionner un template",newVmSshKey:"Clef SSH",newVmConfigDrive:"Config drive",newVmCustomConfig:"Configuration personnalisée",newVmBootAfterCreate:"Démarrer la VM après sa création",newVmMacPlaceholder:"Si vide, généré automatiquement",newVmCpuWeightLabel:"Pondération CPU",newVmDefaultCpuWeight:"Par défaut: {value, number}",newVmCpuCapLabel:"Fonctionnalités CPU",newVmDefaultCpuCap:"Par défaut : {value, number}",newVmCloudConfig:"Configuration Cloud",newVmCreateVms:"Créer les VMs",newVmCreateVmsConfirm:"Êtes-vous sûr de vouloir créer {nbVms} VMs ?",newVmMultipleVms:"Multiples VMs :",newVmSelectResourceSet:"Choisir un jeu de ressources :",newVmMultipleVmsPattern:"Motif de nom :",newVmMultipleVmsPatternPlaceholder:"ex. : \\{name\\}_%",newVmFirstIndex:"Première itération :",newVmNumberRecalculate:"Recalculer le nombre des VMs",newVmNameRefresh:"Rafraîchir le nom des VMs",newVmAdvancedPanel:"Avancé",newVmShowAdvanced:"Afficher les paramètres avancés",newVmHideAdvanced:"Cacher les paramètres avancés",resourceSets:"Jeu de ressources",noResourceSets:"Pas de jeu de ressources.",loadingResourceSets:"Chargement des jeux de ressources…",resourceSetName:"Nom du jeu de ressources",recomputeResourceSets:"Recalculer les limites",saveResourceSet:"Enregistrer",resetResourceSet:"Réinitialiser",editResourceSet:"Éditer",deleteResourceSet:"Supprimer",deleteResourceSetWarning:"Supprimer le jeu de ressources",deleteResourceSetQuestion:"Êtes-vous sûr de vouloir supprimer ce jeu de ressources ?",resourceSetMissingObjects:"Objets manquants :",resourceSetVcpus:"vCPUs",resourceSetMemory:"Mémoire",resourceSetStorage:"Stockage",unknownResourceSetValue:"Inconnu",availableHosts:"Hôtes disponibles",excludedHosts:"Hôtes exclus",noHostsAvailable:"Pas d'hôte disponible.",availableHostsDescription:"Les VMs créées sur ce jeu de ressources doivent être démarrées sur les hôtes suivants.",maxCpus:"CPUs maximum",maxRam:"RAM maximum (GiB)",maxDiskSpace:"Espace disque maximum",ipPool:"Plages d'IPs",quantity:"Quantité",noResourceSetLimits:"Pas de limites.",totalResource:"Total :",remainingResource:"Restant :",usedResource:"Utilisé :",resourceSetNew:"Nouvelle",importVmsList:"Essayez de déposer des fichiers de VMs ici, ou bien cliquez pour sélectionner des VMs à téléverser. Seuls les fichiers .xva/.ova sont acceptés.",noSelectedVms:"Pas de VM sélectionnée.",vmImportToPool:"Sur le Pool:",vmImportToSr:"Sur le SR:",vmsToImport:"VMs à importer",importVmsCleanList:"Réinitialiser",vmImportSuccess:"Import de VM réussi",vmImportFailed:"Import de VM échoué",startVmImport:"L'import commence…",startVmExport:"L'export commence…",nCpus:"N CPUs",vmMemory:"Mémoire",diskInfo:"Disque {position} ({capacity})",diskDescription:"Description du disque",noDisks:"Pas de disque.",noNetworks:"Pas de réseau.",networkInfo:"Réseau {name}",noVmImportErrorDescription:"Pas de description disponible",vmImportError:"Erreur :",vmImportFileType:"{type} fichier:",vmImportConfigAlert:"Merci de vérifier et/ou modifier la configuration de la VM.",noTasks:"Pas de tâche en attente",xsTasks:"Actuellement, il n'y a aucune tâche en attente",backupSchedules:"Planifier",getRemote:"Récupérer les emplacements",listRemote:"Lister les emplacements",simpleBackup:"simple",delta:"delta",restoreBackups:"Restauration de sauvegardes",restoreBackupsInfo:"Cliquez sur une VM pour afficher les options de récupération",remoteEnabled:"activé",remoteError:"Erreur",noBackup:"Pas de sauvegarde disponible",backupVmNameColumn:"Nom de la VM",backupTags:"Tags",lastBackupColumn:"Dernière sauvegarde",availableBackupsColumn:"Sauvegardes disponibles",backupRestoreErrorTitle:"Paramètres manquants",backupRestoreErrorMessage:"Choisir un SR et une sauvegarde",displayBackup:"Afficher les sauvegardes",importBackupTitle:"Importer une VM",importBackupMessage:"Démarrer l'import d'une sauvegarde",vmsToBackup:"VMs à sauvegarder",emergencyShutdownHostsModalTitle:"Extinction d'urgence {nHosts, plural, one {de l'hôte} other {des hôtes}}",emergencyShutdownHostsModalMessage:"Êtes-vous sûr de vouloir arrêter {nHosts} hôte{nHosts, plural, one {} other {s}}?",stopHostModalTitle:"Arrêter l'hôte",stopHostModalMessage:"Vous allez éteindre cet hôte. Voulez-vous continuer ? Si c'est le Maître du Pool, la connexion à tout le Pool sera perdue.",addHostModalTitle:"Ajouter un hôte",addHostModalMessage:"Êtes-vous sûr de vouloir ajouter {host} à {pool}?",restartHostModalTitle:"Redémarrer l'hôte",restartHostModalMessage:"Votre hôte va devoir redémarrer. Voulez-vous continuer ?",restartHostsAgentsModalTitle:"Redémarrer les agents {nHosts, plural, one {de l'hôte} other {des hôtes}}",restartHostsAgentsModalMessage:"Êtes-vous sûr de vouloir redémarrer les agents {nHosts, plural, one {de l'hôte} other {des hôtes}} ?",restartHostsModalTitle:"Redémarrer {nHosts, plural, one {l'} other {les}} hôte{nHosts, plural, one {} other {s}}",restartHostsModalMessage:"Êtes-vous sûr de vouloir redémarrer {nHosts, plural, one {l'} other {les}} hôte{nHosts, plural, one {} other {s}} ?",startVmsModalTitle:"Démarrer {vms, plural, one {la} other {les}} VM{vms, plural, one {} other {s}}",startVmsModalMessage:"Êtes-vous sûr de vouloir démarrer {vms, plural, one {la} other {les}} {vms} VM{vms, plural, one {} other {s}} ?",stopHostsModalTitle:"Arrêter {nHosts, plural, one {l'} other {les}} hôte{nHosts, plural, one {} other {s}}",stopHostsModalMessage:"Êtes-vous sûr de vouloir arrêter {nHosts, plural, one {l'} other {les}} hôte{nHosts, plural, one {} other {s}} ?",stopVmsModalTitle:"Éteindre {vms, plural, one {cette} other {ces}} VM{vms, plural, one {} other {s}}",stopVmsModalMessage:"Êtes-vous sûr de vouloir éteindre {vms, plural, one {cette} other {ces}} {vms} VM{vms, plural, one {} other {s}} ?",restartVmModalTitle:"Redémarrer la VM",restartVmModalMessage:"Êtes-vous sûr de vouloir redémarrer {name}?",stopVmModalTitle:"Arrêter la VM",stopVmModalMessage:"Êtes-vous sûr de vouloir arrêter {name}?",restartVmsModalTitle:"Redémarrer {vms, plural, one {la} other {les}} VM{vms, plural, one {} other {s}}",restartVmsModalMessage:"Êtes-vous sûr de vouloir redémarrer {vms, plural, one {la} other {les}} VM{vms, plural, one {} other {s}} {vms} ?",snapshotVmsModalTitle:"Faire un instantané {vms, plural, one {de la} other {des}} VM{vms, plural, one {} other {s}}",snapshotVmsModalMessage:"Êtes-vous sûr de vouloir faire un instantané {vms, plural, one {de la VM} other {des {vms} VMs}} ?",deleteVmsModalTitle:"Supprimer {vms, plural, one {la} other {les}} VM{vms, plural, one {} other {s}}",deleteVmsModalMessage:"Êtes-vous sûr de vouloir supprimer {vms, plural, one {la VM} other {les {vms} VMs}} ? TOUS LES DISQUES ASSOCIÉS SERONT SUPPRIMÉS",deleteVmModalTitle:"Supprimer la VM",deleteVmModalMessage:"Êtes-vous sûr de vouloir supprimer cette VM ? TOUS LES DISQUES DE LA VM SERONT SUPPRIMÉS DEFINITIVEMENT",migrateVmModalTitle:"Migrer la VM",migrateVmSelectHost:"Sélectionner un hôte de destination :",migrateVmSelectMigrationNetwork:"Choisir un réseau de migration :",migrateVmSelectSrs:"Pour chaque VDI, choisir un SR :",migrateVmSelectNetworks:"Pour chaque VIF, choisir un réseau :",migrateVmsSelectSr:"Sélectionner un SR de destination :",migrateVmsSelectSrIntraPool:"Choisir un SR de destination pour les disques locaux :",migrateVmsSelectNetwork:"Choisir un réseau pour chaque VIF :",migrateVmsSmartMapping:"Réaffectation intelligente",migrateVmName:"Nom",migrateVmSr:"SR",migrateVmVif:"VIF",migrateVmNetwork:"Réseaux",migrateVmNoTargetHost:"Pas d'hôte cible",migrateVmNoTargetHostMessage:"Un hôte cible est nécessaire pour migrer une VM",deleteVdiModalTitle:"Supprimer le VDI",deleteVdiModalMessage:"Êtes-vous sûr de vouloir supprimer ce disque ? TOUTES LES DONNÉES CONTENUES SERONT PERDUES IRRÉMÉDIABLEMENT",revertVmModalTitle:"Restaurer la VM",deleteSnapshotModalTitle:"Supprimer l'instantané",deleteSnapshotModalMessage:"Êtes-vous sûr de vouloir supprimer cet instantané ?",revertVmModalMessage:"Êtes-vous sûr de vouloir restaurer cette VM à l'état de cet instantané ? Cette opération est irrévocable.",revertVmModalSnapshotBefore:"Faire un instantané avant",importBackupModalTitle:"Importer une sauvegarde de {name}",importBackupModalStart:"Démarrer la VM après la restauration",importBackupModalSelectBackup:"Sélectionnez votre sauvegarde…",removeAllOrphanedModalWarning:"Êtes-vous sûr de vouloir supprimer tous les instantanés de VDIs orphelins ?",removeAllLogsModalTitle:"Supprimer tous les journaux",removeAllLogsModalWarning:"Êtes-vous sûr de vouloir supprimer tous les journaux ?",definitiveMessageModal:"Cette action est irréversible.",existingSrModalTitle:"Emplacement utilisé",existingSrModalText:"Cet emplacement avait été utilisé auparavant comme un Stockage par un hôte XenServer. Toutes les données présentes seront perdues si vous décidez de continuer la création du SR.",existingLunModalTitle:"LUN utilisé",existingLunModalText:"Ce LUN avait été utilisé auparavant comme un Stockage par un hôte XenServer. Toutes les données présentes seront perdues si vous décidez de continuer la création du SR.",alreadyRegisteredModal:"Remplacer l'enregistrement actuel ?",alreadyRegisteredModalText:"Votre instance XOA est déjà enregistrée pour {email}, voulez-vous remplacer cet enregistrement ?",trialReadyModal:"Prêt pour l'essai ?",trialReadyModalText:"Durant la période de démonstration, XOA nécessite une connexion internet fonctionnelle. Cette limitation disparaît avec la souscription d'une de nos formules.",serverHost:"Hôte",serverUsername:"Nom d'utilisateur",serverPassword:"Mot de passe",serverAction:"Action",serverReadOnly:"Lecture seule",serverDisconnect:"Déconnecter le serveur",serverPlaceHolderUser:"nom d'utilisateur",serverPlaceHolderPassword:"mot de passe",serverPlaceHolderAddress:"adresse[:port]",serverConnect:"Connecter",copyVm:"Copier la VM",copyVmConfirm:"Êtes-vous sûr de vouloir copier cette VM vers {SR}?",copyVmName:"Nom",copyVmNamePattern:"Motif de nom",copyVmNamePlaceholder:"Si vide : nom de la VM",copyVmNamePatternPlaceholder:'ex. : "\\{name\\}_COPY"',copyVmSelectSr:"Sélectionner le SR",copyVmCompress:"Utiliser la compression",copyVmsNoTargetSr:"Pas de SR cible",copyVmsNoTargetSrMessage:"Un SR cible est nécessaire pour copier une VM",detachHostModalTitle:"Détacher l'hôte",detachHostModalMessage:"Êtes-vous sûr de vouloir détacher {host} de son pool? CELA SUPPRIMERA TOUTES LES VMs DE SON STOCKAGE LOCAL ET REDÉMARRERA L'HÔTE.",detachHost:"Détacher",newNetworkCreate:"Créer un réseau",newBondedNetworkCreate:"Créer un réseau agrégé",newNetworkInterface:"Interface",newNetworkName:"Nom",newNetworkDescription:"Description",newNetworkVlan:"VLAN",newNetworkDefaultVlan:"Si vide, pas de VLAN",newNetworkMtu:"MTU",newNetworkDefaultMtu:"Défaut : 1500",newNetworkNoNameErrorTitle:"Un nom est nécessaire",newNetworkNoNameErrorMessage:"Un nom est nécessaire pour créer un réseau",newNetworkBondMode:"Mode agrégé",deleteNetwork:"Supprimer le réseau",deleteNetworkConfirm:"Êtes-vous sûr de vouloir supprimer ce réseau ?",networkInUse:"Ce réseau est en cours d'utilisation",pillBonded:"Agrégé",addHostSelectHost:"Hôte",addHostNoHost:"Pas d'hôte",addHostNoHostMessage:"Aucun hôte sélectionné pour ajout",xenOrchestra:"Xen Orchestra",xenOrchestraServer:"Serveur Xen Orchestra",xenOrchestraWeb:"Client web Xen Orchestra",noProSupport:"Pas de support professionel fourni !",noProductionUse:"Utilisez en production à vos risques et périls",downloadXoaFromWebsite:"Téléchargez notre édition clef en main sur {website}",bugTracker:"Gestionnaire de tickets",bugTrackerText:"Un souci ? Dites-le nous !",community:"Communauté",communityText:"Rejoignez notre communauté !",freeTrial:"Démonstration gratuite de l'Édition Premium !",freeTrialNow:"Demandez une démonstration dès maintenant !",issues:"Des soucis ?",issuesText:"Un problème ? Contactez-nous !",documentation:"Documentation",documentationText:"Consultez notre documentation officielle",proSupportIncluded:"Support professionel inclus",xoAccount:"Accéder à votre compte XO",openTicket:"Signaler un problème",openTicketText:"Un problème ? Ouvrez un ticket !",upgradeNeeded:"Mise à jour nécessaire",upgradeNow:"Mettre à jour maintenant !",or:"Ou",tryIt:"Essayez gratuitement !",availableIn:"Cette fonctionnalité est disponible à partir de l'édition {plan}",notAvailable:"Cette fonctionnalité n'est pas disponible dans cette édtition. Pour plus d'informations, contactez votre administrateur.",updateTitle:"Mise à jour",registration:"Enregistrement",trial:"Démonstration",settings:"Paramètres",proxySettings:"Configuration du proxy",proxySettingsHostPlaceHolder:"Hôte (monproxy.exemple.tld)",proxySettingsPortPlaceHolder:"Port (ex : 3128)",proxySettingsUsernamePlaceHolder:"Nom d'utilisateur",proxySettingsPasswordPlaceHolder:"Mot de passe",updateRegistrationEmailPlaceHolder:"Email du compte",updateRegistrationPasswordPlaceHolder:"Mot de passe",update:"Actualiser",refresh:"Rafraîchir",upgrade:"Mettre à jour",noUpdaterCommunity:"Pas de mise à jour sur la version Communautaire",considerSubscribe:"Envisagez de souscrire, et essayez toutes les fonctionnalités gratuitement pendant 15 jours.",noUpdaterWarning:"Une mise à jour manuelle pourrait corrompre votre installation actuelle à cause des dépendances, soyez prudent.",currentVersion:"Version actuelle :",register:"S'enregistrer",editRegistration:"Éditer l'enregistrement",trialRegistration:"Merci de prendre le temps de vous enregistrer afin de profiter de votre essai.",trialStartButton:"Commencer la période d'essai",trialAvailableUntil:"Vous pouvez utiliser une version d'essai jusqu'au {date, date, medium}. Mettez à jour votre XOA pour en profiter.",trialConsumed:"Votre période d'essai est terminé. Contactez-nous, ou régressez sur l'édition gratuite.",trialLocked:"Votre service xoa-update semble inaccessible. Votre XOA ne peut pas fonctionner pleinement si elle ne peut pas joindre ce service.",noUpdateInfo:"Pas d'informations de mises à jour disponible",waitingUpdateInfo:"Des informations de mises à jour sont peut-être disponibles",upToDate:"Votre XOA est à jour",mustUpgrade:"Vous devez mettre à jour votre XOA (une nouvelle version est disponible)",registerNeeded:"Votre XOA n'est pas enregistrée pour les mises à jour",updaterError:"Impossible de récupérer les informations de mise à jour.",promptUpgradeReloadTitle:"Mise à jour réussie",promptUpgradeReloadMessage:"Votre XOA à été mise à jour avec brio, et votre navigateur doit rafraîchir l'application pour en profiter. Voulez-vous rafraîchir dès maintenant ?",disclaimerTitle:"Xen Orchestra depuis les sources",disclaimerText1:"Vous utilisez XO depuis les sources. C'est parfait pour un usage personnel ou non lucratif.",disclaimerText2:"Si vous êtes une entrerprise, il est préférable d'utiliser notre applicance qui inclut du support professionel.",disclaimerText3:"Cette version n'est fournie avec aucun support ni aucune mise à jour. Soyez prudent en cas d'utilisation pour des tâches importantes.",connectPif:"Connecter la PIF",connectPifConfirm:"Êtes-vous sûr de vouloir connecter cette PIF ?",disconnectPif:"Déconnecter la PIF",disconnectPifConfirm:"Êtes-vous sûr de vouloir déconnecter cette PIF ?",deletePif:"Supprimer la PIF",deletePifConfirm:"Êtes-vous sûr de vouloir supprimer cette PIF ?",username:"Nom d'utilisateur",password:"Mot de passe",language:"Langue",oldPasswordPlaceholder:"Ancien mot de passe",newPasswordPlaceholder:"Nouveau mot de passe",confirmPasswordPlaceholder:"Confirmer le nouveau mot de passe",confirmationPasswordError:"Confirmation du nouveau mot de passe invalide",confirmationPasswordErrorBody:"Le mot de passe ne correspond pas à la confirmation du mot de passe.",pwdChangeSuccess:"Mot de passe modifié",pwdChangeSuccessBody:"Votre mot de passe a été modifié avec succés.",pwdChangeError:"Mot de passe invalide",pwdChangeErrorBody:"L'ancien mot de passe n'est pas valide. Votre mot de passe n'a pas été changé.",changePasswordOk:"OK",sshKeys:"Clefs SSH",newSshKey:"Nouvelle clef SSH",deleteSshKey:"Supprimer",noSshKeys:"Pas de clef SSH",newSshKeyModalTitle:"Nouvelle clef SSH",sshKeyErrorTitle:"Clef invalide",sshKeyErrorMessage:"Une clef SSH nécessite un titre et une clef",title:"Titre",key:"Clef",deleteSshKeyConfirm:"Supprimer la clef SSH",deleteSshKeyConfirmMessage:"Êtes-vous sûr de vouloir supprimer la clef SSH {title}?",others:"Autres",loadingLogs:"Chargement des journaux…",logUser:"Utilisateur",logMethod:"Méthode",logParams:"Paramètres",logMessage:"Message",logError:"Erreur",logDisplayDetails:"Afficher les détails",logTime:"Date",logNoStackTrace:"No stack trace",logNoParams:"No params",logDelete:"Supprimer le log",logDeleteAll:"Supprimer tous les journaux",logDeleteAllTitle:"Supprimer tous les journaux",logDeleteAllMessage:"Êtes-vous sûr de vouloir supprimer tous les journaux ?",ipPoolName:"Nom",ipPoolIps:"IPs",ipPoolIpsPlaceholder:"IPs (e.g.: 1.0.0.12-1.0.0.17;1.0.0.23)",ipPoolNetworks:"Réseaux",ipsNoIpPool:"Pas de plages d'IPs",ipsCreate:"Créer",ipsDeleteAllTitle:"Supprimer toutes les plages d'IPs",ipsDeleteAllMessage:"Êtes-vous sûr de vouloir supprimer toutes les plages d'IPs ?",ipsVifs:"VIFs",ipsNotUsed:"Non utilisé",shortcutModalTitle:"Raccourcis clavier",shortcut_XoApp:"Global",shortcut_GO_TO_HOSTS:"Aller sur la liste des hôtes",shortcut_GO_TO_POOLS:"Aller sur la liste des pools",shortcut_GO_TO_VMS:"Aller sur la liste des VMs",shortcut_CREATE_VM:"Créer une nouvelle VM",shortcut_UNFOCUS:"Quitter le champ",shortcut_HELP:"Afficher les raccourcis clavier",shortcut_Home:"Accueil",shortcut_SEARCH:"Curseur dans la barre de recherche",shortcut_NAV_DOWN:"Élément suivant",shortcut_NAV_UP:"Élément précédent",shortcut_SELECT:"Sélectionner l'élément",shortcut_JUMP_INTO:"Ouvrir",settingsAclsButtonTooltipVM:"VM",settingsAclsButtonTooltiphost:"Hôtes",settingsAclsButtonTooltippool:"Pool",settingsAclsButtonTooltipSR:"SR",settingsAclsButtonTooltipnetwork:"Réseaux"}},{"moment/locale/fr":804,"react-intl":1103,"react-intl/locale-data/fr":1105}],1439:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),e("moment/locale/he");var o=e("react-intl/locale-data/he"),a=r(o),i=e("react-intl");(0,i.addLocaleData)(a.default),n.default={statusConnecting:void 0,statusDisconnected:void 0,statusLoading:void 0,errorPageNotFound:void 0,errorNoSuchItem:void 0,editableLongClickPlaceholder:"לחץ כאן לחיצה ערוכה לעריכה",editableClickPlaceholder:"לחץ לעריכה",alertOk:void 0,confirmOk:void 0,confirmCancel:void 0,onError:void 0,successful:void 0,copyToClipboard:void 0,pillMaster:void 0,homePage:"בית",homeVmPage:void 0,homeHostPage:void 0,homePoolPage:void 0,homeTemplatePage:void 0,dashboardPage:"לוח מכוונים",overviewDashboardPage:"איזור אישי",overviewVisualizationDashboardPage:"וירטואליזציה",overviewStatsDashboardPage:"סטטיסטיקה",overviewHealthDashboardPage:"בדיקת ביצועים",selfServicePage:"שירות עצמי",backupPage:"גיבוי",jobsPage:"משימות",updatePage:"עדכונים",settingsPage:"הגדרות",settingsServersPage:"שרתים",settingsUsersPage:"משתמשים",settingsGroupsPage:"קבוצות",settingsAclsPage:"רמות גישה",settingsPluginsPage:"פלאגינים",settingsLogsPage:void 0,settingsIpsPage:void 0,aboutPage:"אודות",newMenu:"חדש",taskMenu:"משימות",taskPage:void 0,newVmPage:"מכונה",newSrPage:"אחסון",newServerPage:"שרת",newImport:"ההלעה",backupOverviewPage:"הרחבה",backupNewPage:"חדש",backupRemotesPage:"גישה מרחוק",backupRestorePage:"שחזור",schedule:"תזמון",newVmBackup:"גיבוי חדש למכונה",editVmBackup:"ערוך הגדרות גיבוי למכונה",backup:"גיבוי",rollingSnapshot:"גיבוי סנאפשוט",deltaBackup:"גיבוי חלקי",disasterRecovery:"חזרה מDR",continuousReplication:"רפליקציה מתממשכת",jobsOverviewPage:"רשימת משימות",jobsNewPage:"משימה חדשה",jobsSchedulingPage:"תזמון משימות",customJob:"משימה קסטומית",userPage:void 0,noSupport:void 0,freeUpgrade:void 0,signOut:"יציאה",editUserProfile:void 0,homeFetchingData:"מקבל נתונים, נא להמתין...",homeWelcome:"ברוכים הבאים",homeWelcomeText:"נא להוסיף שרתים או משאבים",homeHelp:"צריך עזרה?",homeAddServer:"הוספת שרת",homeOnlineDoc:"דוקומנטציה",homeProSupport:"תמיכה מקצועית",homeNoVms:"אין מכונות",homeNoVmsOr:"או...",homeImportVm:"ההלעה של מכונה",homeImportVmMessage:"להלעות מכונה חדשה בפורמת XVA",homeRestoreBackup:"שחזור מגיבוי",homeRestoreBackupMessage:"שחזור מגיבוי ממכונה אחרת",homeNewVmMessage:"זה יצור מכונה חדשה",homeFilters:"מסננים",homeNoMatches:void 0,homeTypePool:"משאבים",homeTypeHost:"מכונה",homeTypeVm:"שרת",homeTypeSr:"SR",homeTypeVmTemplate:void 0,homeSort:"סינון",homeAllPools:"POOLS",homeAllHosts:"מכונות",homeAllTags:"מילות מפתח",homeNewVm:"מכונה חדשה",homeFilterRunningHosts:"מערכות פעילות",homeFilterDisabledHosts:"מערכות לא פעילות",homeFilterRunningVms:"מכונות פעילות",homeFilterNonRunningVms:void 0,homeFilterPendingVms:void 0,homeFilterHvmGuests:void 0,homeFilterTags:"מילות מפתח",homeSortBy:"סנן לפי",homeSortByName:"שם",homeSortByPowerstate:"מצב",homeSortByRAM:"זכרון RAM",homeSortByvCPUs:"כמות המאבדים",homeSortByCpus:void 0,homeDisplayedItems:void 0,homeSelectedItems:void 0,homeMore:"עוד",homeMigrateTo:"העבר ל...",homeMissingPaths:void 0,homePoolMaster:void 0,highAvailability:void 0,add:"הוסף",remove:"הסר",preview:void 0,item:"פריט",noSelectedValue:"לא נבחר כלום",selectSubjects:"בחר משתמש או קבוצה להוספה",selectObjects:void 0,selectRole:void 0,selectHosts:void 0,selectHostsVms:void 0,selectNetworks:void 0,selectPifs:void 0,selectPools:void 0,selectRemotes:void 0,selectResourceSets:void 0,selectResourceSetsVmTemplate:void 0,selectResourceSetsSr:void 0,selectResourceSetsNetwork:void 0,selectResourceSetsVdi:void 0,selectSshKey:void 0,selectSrs:void 0,selectVms:void 0,selectVmTemplates:void 0,selectTags:void 0,selectVdis:void 0,selectTimezone:void 0,selectIp:void 0,selectIpPool:void 0,fillRequiredInformations:void 0,fillOptionalInformations:void 0,selectTableReset:void 0,schedulingMonth:void 0,schedulingEachSelectedMonth:void 0,schedulingMonthDay:void 0,schedulingEachSelectedMonthDay:void 0,schedulingWeekDay:void 0,schedulingEachSelectedWeekDay:void 0,schedulingHour:void 0,schedulingEveryNHour:void 0,schedulingEachSelectedHour:void 0,schedulingMinute:void 0,schedulingEveryNMinute:void 0,schedulingEachSelectedMinute:void 0,schedulingReset:void 0,unknownSchedule:void 0,timezonePickerServerValue:void 0,timezonePickerUseLocalTime:void 0,timezonePickerUseServerTime:void 0,serverTimezoneOption:void 0,cronPattern:void 0,backupEditNotFoundTitle:void 0,backupEditNotFoundMessage:void 0,job:void 0,jobId:void 0,jobName:void 0,jobNamePlaceholder:void 0,jobStart:void 0,jobEnd:void 0,jobDuration:void 0,jobStatus:void 0,jobAction:void 0,jobTag:void 0,jobScheduling:void 0,jobState:void 0,jobTimezone:void 0,jobServerTimezone:void 0,runJob:void 0,runJobVerbose:void 0,jobStarted:void 0,jobFinished:void 0,saveBackupJob:void 0,deleteBackupSchedule:void 0,deleteBackupScheduleQuestion:void 0,scheduleEnableAfterCreation:void 0,scheduleEditMessage:void 0,jobEditMessage:void 0,noScheduledJobs:void 0,noJobs:void 0,noSchedules:void 0,jobActionPlaceHolder:void 0,jobSchedules:void 0,jobScheduleNamePlaceHolder:void 0,jobScheduleJobPlaceHolder:void 0,newBackupSelection:void 0,smartBackupModeSelection:void 0,normalBackup:void 0,smartBackup:void 0,localRemoteWarningTitle:void 0,localRemoteWarningMessage:void 0,editBackupVmsTitle:void 0,editBackupSmartStatusTitle:void 0,editBackupSmartResidentOn:void 0,editBackupSmartTagsTitle:void 0,editBackupTagTitle:void 0,editBackupReportTitle:void 0,editBackupReportEnable:void 0,editBackupDepthTitle:void 0,editBackupRemoteTitle:void 0,remoteList:void 0,newRemote:void 0,remoteTypeLocal:void 0,remoteTypeNfs:void 0,remoteTypeSmb:void 0,remoteType:void 0,remoteTestTip:void 0,testRemote:void 0,remoteTestFailure:void 0,remoteTestSuccess:void 0,remoteTestError:void 0,remoteTestStep:void 0,remoteTestFile:void 0,remoteTestSuccessMessage:void 0,remoteName:void 0,remotePath:void 0,remoteState:void 0,remoteDevice:void 0,remoteShare:void 0,remoteAuth:void 0,remoteMounted:void 0,remoteUnmounted:void 0,remoteConnectTip:void 0,remoteDisconnectTip:void 0,remoteDeleteTip:void 0,remoteNamePlaceHolder:void 0,remoteMyNamePlaceHolder:void 0,remoteLocalPlaceHolderPath:void 0,remoteNfsPlaceHolderHost:void 0,remoteNfsPlaceHolderPath:void 0,remoteSmbPlaceHolderRemotePath:void 0,remoteSmbPlaceHolderUsername:void 0,remoteSmbPlaceHolderPassword:void 0,remoteSmbPlaceHolderDomain:void 0,remoteSmbPlaceHolderAddressShare:void 0,remotePlaceHolderPassword:void 0,newSrTitle:void 0,newSrGeneral:void 0,newSrTypeSelection:void 0,newSrSettings:void 0,newSrUsage:void 0,newSrSummary:void 0,newSrHost:void 0,newSrType:void 0,newSrName:void 0,newSrDescription:void 0,newSrServer:void 0,newSrPath:void 0,newSrIqn:void 0,newSrLun:void 0,newSrAuth:void 0,newSrUsername:void 0,newSrPassword:void 0,newSrDevice:void 0,newSrInUse:void 0,newSrSize:void 0,newSrCreate:void 0,newSrNamePlaceHolder:void 0,newSrDescPlaceHolder:void 0,newSrAddressPlaceHolder:void 0,newSrPortPlaceHolder:void 0,newSrUsernamePlaceHolder:void 0,newSrPasswordPlaceHolder:void 0,newSrLvmDevicePlaceHolder:void 0,newSrLocalPathPlaceHolder:void 0,subjectName:void 0,objectName:void 0,aclNoneFound:void 0,roleName:void 0,aclCreate:void 0,newGroupName:void 0,createGroup:void 0,createGroupButton:void 0,deleteGroup:void 0,deleteGroupConfirm:void 0,removeUserFromGroup:void 0,deleteUserConfirm:void 0,deleteUser:void 0,noUser:void 0,unknownUser:void 0,noGroupFound:void 0,groupNameColumn:"שם",groupUsersColumn:"משתמשים",addUserToGroupColumn:"הוסף משתמש",userNameColumn:"מייל",userPermissionColumn:"הרשאות",userPasswordColumn:"סיסמא",userName:"שם משתמש",userPassword:void 0,createUserButton:void 0,noUserFound:void 0,userLabel:void 0,adminLabel:void 0,noUserInGroup:void 0,countUsers:void 0,selectPermission:void 0,autoloadPlugin:void 0,savePluginConfiguration:void 0,deletePluginConfiguration:void 0,pluginError:void 0,unknownPluginError:void 0,purgePluginConfiguration:void 0,purgePluginConfigurationQuestion:void 0,editPluginConfiguration:void 0,cancelPluginEdition:void 0,pluginConfigurationSuccess:void 0,pluginConfigurationChanges:void 0,pluginConfigurationPresetTitle:void 0,pluginConfigurationChoosePreset:void 0,applyPluginPreset:void 0,saveNewUserFilterErrorTitle:void 0,saveNewUserFilterErrorBody:void 0,filterName:void 0,filterValue:void 0,saveNewFilterTitle:void 0,setUserFiltersTitle:void 0,setUserFiltersBody:void 0,removeUserFilterTitle:void 0,removeUserFilterBody:void 0,defaultFilter:void 0,defaultFilters:void 0,customFilters:void 0,customizeFilters:void 0,saveCustomFilters:void 0,startVmLabel:"הפעל מכונה",recoveryModeLabel:void 0,suspendVmLabel:"הקפא מכונה",stopVmLabel:"עצור מכונה",forceShutdownVmLabel:"עצירה בכוח",rebootVmLabel:"הפעלה מחדש",forceRebootVmLabel:"הפעלה מחדש בכוח",deleteVmLabel:"מחיקה",migrateVmLabel:void 0,snapshotVmLabel:void 0,exportVmLabel:void 0,resumeVmLabel:void 0,copyVmLabel:void 0,cloneVmLabel:void 0,fastCloneVmLabel:void 0,convertVmToTemplateLabel:void 0,vmConsoleLabel:"קונסול",srRescan:void 0,srReconnectAll:void 0,srDisconnectAll:void 0,srForget:void 0,srRemoveButton:void 0,srNoVdis:void 0,poolTitleRamUsage:void 0,poolRamUsage:void 0,poolMaster:void 0,hostsTabName:void 0,poolHaStatus:void 0,poolHaEnabled:void 0,poolHaDisabled:void 0,hostNameLabel:void 0,hostDescription:void 0,hostMemory:void 0,noHost:void 0,memoryLeftTooltip:void 0,poolNetworkNameLabel:void 0,poolNetworkDescription:void 0,poolNetworkPif:void 0,poolNoNetwork:void 0,poolNetworkMTU:void 0,poolNetworkPifAttached:void 0,poolNetworkPifDetached:void 0,showPifs:void 0,hidePifs:void 0,addSrLabel:void 0,addVmLabel:void 0,addHostLabel:void 0,disconnectServer:void 0,startHostLabel:void 0,stopHostLabel:void 0,enableHostLabel:void 0,disableHostLabel:void 0,restartHostAgent:void 0,forceRebootHostLabel:void 0,rebootHostLabel:void 0,rebootUpdateHostLabel:void 0,emergencyModeLabel:void 0,storageTabName:void 0,patchesTabName:void 0,statLoad:void 0,hardwareHostSettingsLabel:void 0,hostAddress:void 0,hostStatus:void 0,hostBuildNumber:void 0,hostIscsiName:void 0,hostXenServerVersion:void 0,hostStatusEnabled:void 0,hostStatusDisabled:void 0,hostPowerOnMode:void 0,hostStartedSince:void 0,hostStackStartedSince:void 0,hostCpusModel:void 0,hostCpusNumber:void 0,hostManufacturerinfo:void 0,hostBiosinfo:void 0,licenseHostSettingsLabel:void 0,hostLicenseType:void 0,hostLicenseSocket:void 0,hostLicenseExpiry:void 0,networkCreateButton:void 0,networkCreateBondedButton:void 0,pifDeviceLabel:void 0,pifNetworkLabel:void 0,pifVlanLabel:void 0,pifAddressLabel:void 0,pifModeLabel:void 0,pifMacLabel:void 0,pifMtuLabel:void 0,pifStatusLabel:void 0,pifStatusConnected:void 0,pifStatusDisconnected:void 0,pifNoInterface:void 0,pifInUse:void 0,defaultLockingMode:void 0,pifConfigureIp:void 0,configIpErrorTitle:void 0,configIpErrorMessage:void 0,staticIp:void 0,netmask:void 0,dns:void 0,gateway:void 0,addSrDeviceButton:void 0,srNameLabel:void 0,srType:void 0,pbdStatus:void 0,pbdStatusConnected:void 0,pbdStatusDisconnected:void 0,pbdConnect:void 0,pbdDisconnect:void 0,pbdForget:void 0,srShared:void 0,srNotShared:void 0,pbdNoSr:void 0,patchNameLabel:void 0,patchUpdateButton:void 0,patchDescription:void 0,patchApplied:void 0,patchSize:void 0,patchStatus:void 0,patchStatusApplied:void 0,patchStatusNotApplied:void 0,patchNothing:void 0,patchReleaseDate:void 0,patchGuidance:void 0,patchAction:void 0,hostAppliedPatches:void 0,hostMissingPatches:void 0,hostUpToDate:void 0,refreshPatches:void 0,installPoolPatches:void 0,defaultSr:void 0,setAsDefaultSr:void 0,generalTabName:void 0,statsTabName:void 0,consoleTabName:void 0,containersTabName:void 0,snapshotsTabName:void 0,logsTabName:void 0,advancedTabName:void 0,networkTabName:void 0,disksTabName:void 0,powerStateHalted:void 0,powerStateRunning:void 0,powerStateSuspended:void 0,vmStatus:void 0,vmName:void 0,vmDescription:void 0,vmSettings:void 0,vmCurrentStatus:void 0,vmNotRunning:void 0,noToolsDetected:void 0,noIpv4Record:void 0,noIpRecord:void 0,started:void 0,paraVirtualizedMode:void 0,hardwareVirtualizedMode:void 0,statsCpu:void 0,statsMemory:void 0,statsNetwork:void 0,useStackedValuesOnStats:void 0,statDisk:void 0,statLastTenMinutes:void 0,statLastTwoHours:void 0,statLastWeek:void 0,statLastYear:void 0,copyToClipboardLabel:void 0,ctrlAltDelButtonLabel:void 0,tipLabel:void 0,tipConsoleLabel:void 0,hideHeaderTooltip:void 0,showHeaderTooltip:void 0,containerName:void 0,containerCommand:void 0,containerCreated:void 0,containerStatus:void 0,containerAction:void 0,noContainers:void 0,containerStop:void 0,containerStart:void 0,containerPause:void 0,containerResume:void 0,containerRestart:void 0,vdiAction:void 0,vdiAttachDeviceButton:void 0,vbdCreateDeviceButton:void 0,vdiBootOrder:void 0,vdiNameLabel:void 0,vdiNameDescription:void 0,vdiTags:void 0,vdiSize:void 0,vdiSr:void 0,vdiVm:void 0,vdiMigrate:void 0,vdiMigrateSelectSr:void 0,vdiMigrateAll:void 0,vdiMigrateNoSr:void 0,vdiMigrateNoSrMessage:void 0,vdiForget:void 0,vdiRemove:void 0,vdbBootableStatus:void 0,vdbStatus:void 0,vbdStatusConnected:void 0,vbdStatusDisconnected:void 0,vbdNoVbd:void 0,vbdConnect:void 0,vbdDisconnect:void 0,vdbBootable:void 0,vdbReadonly:void 0,vdbCreate:void 0,vdbNamePlaceHolder:void 0,vdbSizePlaceHolder:void 0,saveBootOption:void 0,resetBootOption:void 0,vifCreateDeviceButton:void 0,vifNoInterface:void 0,vifDeviceLabel:void 0,vifMacLabel:void 0,vifMtuLabel:void 0,vifNetworkLabel:void 0,vifStatusLabel:void 0,vifStatusConnected:void 0,vifStatusDisconnected:void 0,vifConnect:void 0,vifDisconnect:void 0,vifRemove:void 0,vifIpAddresses:void 0,vifMacAutoGenerate:void 0,vifAllowedIps:void 0,vifNoIps:void 0,vifLockedNetwork:void 0,vifLockedNetworkNoIps:void 0,vifUnLockedNetwork:void 0,vifUnknownNetwork:void 0,vifCreate:void 0,noSnapshots:void 0,snapshotCreateButton:void 0,tipCreateSnapshotLabel:void 0,revertSnapshot:void 0,deleteSnapshot:void 0,copySnapshot:void 0,exportSnapshot:void 0,snapshotDate:void 0,snapshotName:void 0,
|
69 | snapshotAction:void 0,logRemoveAll:void 0,noLogs:void 0,logDate:void 0,logName:void 0,logContent:void 0,logAction:void 0,vmRemoveButton:void 0,vmConvertButton:void 0,xenSettingsLabel:void 0,guestOsLabel:void 0,miscLabel:void 0,uuid:void 0,virtualizationMode:void 0,cpuWeightLabel:void 0,defaultCpuWeight:void 0,cpuCapLabel:void 0,defaultCpuCap:void 0,pvArgsLabel:void 0,xenToolsStatus:void 0,xenToolsStatusValue:void 0,osName:void 0,osKernel:void 0,autoPowerOn:void 0,ha:void 0,originalTemplate:void 0,unknownOsName:void 0,unknownOsKernel:void 0,unknownOriginalTemplate:void 0,vmLimitsLabel:void 0,vmCpuLimitsLabel:void 0,vmMemoryLimitsLabel:void 0,vmMaxVcpus:void 0,vmMaxRam:void 0,vmHomeNamePlaceholder:void 0,vmHomeDescriptionPlaceholder:void 0,vmViewNamePlaceholder:void 0,vmViewDescriptionPlaceholder:void 0,templateHomeNamePlaceholder:void 0,templateHomeDescriptionPlaceholder:void 0,templateDelete:void 0,templateDeleteModalTitle:void 0,templateDeleteModalBody:void 0,poolPanel:void 0,hostPanel:void 0,vmPanel:void 0,memoryStatePanel:void 0,cpuStatePanel:void 0,vmStatePanel:void 0,taskStatePanel:void 0,usersStatePanel:void 0,srStatePanel:void 0,ofUsage:void 0,noSrs:void 0,srName:void 0,srPool:void 0,srHost:void 0,srFormat:void 0,srSize:void 0,srUsage:void 0,srUsed:void 0,srFree:void 0,srUsageStatePanel:void 0,srTopUsageStatePanel:void 0,vmsStates:void 0,dashboardStatsButtonRemoveAll:void 0,dashboardStatsButtonAddAllHost:void 0,dashboardStatsButtonAddAllVM:void 0,weekHeatmapData:void 0,weekHeatmapNoData:void 0,weeklyHeatmap:void 0,weeklyCharts:void 0,weeklyChartsScaleInfo:void 0,statsDashboardGenericErrorTitle:void 0,statsDashboardGenericErrorMessage:void 0,noSelectedMetric:void 0,statsDashboardSelectObjects:void 0,metricsLoading:void 0,comingSoon:void 0,orphanedVdis:void 0,orphanedVms:void 0,noOrphanedObject:void 0,removeAllOrphanedObject:void 0,vmNameLabel:void 0,vmNameDescription:void 0,vmContainer:void 0,alarmMessage:void 0,noAlarms:void 0,alarmDate:void 0,alarmContent:void 0,alarmObject:void 0,alarmPool:void 0,alarmRemoveAll:void 0,spaceLeftTooltip:void 0,newVmCreateNewVmOn:void 0,newVmCreateNewVmOn2:void 0,newVmCreateNewVmNoPermission:void 0,newVmInfoPanel:void 0,newVmNameLabel:void 0,newVmTemplateLabel:void 0,newVmDescriptionLabel:void 0,newVmPerfPanel:void 0,newVmVcpusLabel:void 0,newVmRamLabel:void 0,newVmStaticMaxLabel:void 0,newVmDynamicMinLabel:void 0,newVmDynamicMaxLabel:void 0,newVmInstallSettingsPanel:void 0,newVmIsoDvdLabel:void 0,newVmNetworkLabel:void 0,newVmInstallNetworkPlaceHolder:void 0,newVmPvArgsLabel:void 0,newVmPxeLabel:void 0,newVmInterfacesPanel:void 0,newVmMacLabel:void 0,newVmAddInterface:void 0,newVmDisksPanel:void 0,newVmSrLabel:void 0,newVmBootableLabel:void 0,newVmSizeLabel:void 0,newVmAddDisk:void 0,newVmSummaryPanel:void 0,newVmCreate:void 0,newVmReset:void 0,newVmSelectTemplate:void 0,newVmSshKey:void 0,newVmConfigDrive:void 0,newVmCustomConfig:void 0,newVmBootAfterCreate:void 0,newVmMacPlaceholder:void 0,newVmCpuWeightLabel:void 0,newVmDefaultCpuWeight:void 0,newVmCpuCapLabel:void 0,newVmDefaultCpuCap:void 0,newVmCloudConfig:void 0,newVmCreateVms:void 0,newVmCreateVmsConfirm:void 0,newVmMultipleVms:void 0,newVmSelectResourceSet:void 0,newVmMultipleVmsPattern:void 0,newVmMultipleVmsPatternPlaceholder:void 0,newVmFirstIndex:void 0,newVmNumberRecalculate:void 0,newVmNameRefresh:void 0,newVmAdvancedPanel:void 0,newVmShowAdvanced:void 0,newVmHideAdvanced:void 0,resourceSets:void 0,noResourceSets:void 0,loadingResourceSets:void 0,resourceSetName:void 0,recomputeResourceSets:void 0,saveResourceSet:void 0,resetResourceSet:void 0,editResourceSet:void 0,deleteResourceSet:void 0,deleteResourceSetWarning:void 0,deleteResourceSetQuestion:void 0,resourceSetMissingObjects:void 0,resourceSetVcpus:void 0,resourceSetMemory:void 0,resourceSetStorage:void 0,unknownResourceSetValue:void 0,availableHosts:void 0,excludedHosts:void 0,noHostsAvailable:void 0,availableHostsDescription:void 0,maxCpus:void 0,maxRam:void 0,maxDiskSpace:void 0,ipPool:void 0,quantity:void 0,noResourceSetLimits:void 0,totalResource:void 0,remainingResource:void 0,usedResource:void 0,resourceSetNew:void 0,importVmsList:void 0,noSelectedVms:void 0,vmImportToPool:void 0,vmImportToSr:void 0,vmsToImport:void 0,importVmsCleanList:void 0,vmImportSuccess:void 0,vmImportFailed:void 0,startVmImport:void 0,startVmExport:void 0,nCpus:void 0,vmMemory:void 0,diskInfo:void 0,diskDescription:void 0,noDisks:void 0,noNetworks:void 0,networkInfo:void 0,noVmImportErrorDescription:void 0,vmImportError:void 0,vmImportFileType:void 0,vmImportConfigAlert:void 0,noTasks:void 0,xsTasks:void 0,backupSchedules:void 0,getRemote:void 0,listRemote:void 0,simpleBackup:void 0,delta:void 0,restoreBackups:void 0,restoreBackupsInfo:void 0,remoteEnabled:void 0,remoteError:void 0,noBackup:void 0,backupVmNameColumn:void 0,backupTags:void 0,lastBackupColumn:void 0,availableBackupsColumn:void 0,backupRestoreErrorTitle:void 0,backupRestoreErrorMessage:void 0,displayBackup:void 0,importBackupTitle:void 0,importBackupMessage:void 0,vmsToBackup:void 0,emergencyShutdownHostsModalTitle:void 0,emergencyShutdownHostsModalMessage:void 0,stopHostModalTitle:void 0,stopHostModalMessage:void 0,addHostModalTitle:void 0,addHostModalMessage:void 0,restartHostModalTitle:void 0,restartHostModalMessage:void 0,restartHostsAgentsModalTitle:void 0,restartHostsAgentsModalMessage:void 0,restartHostsModalTitle:void 0,restartHostsModalMessage:void 0,startVmsModalTitle:void 0,startVmsModalMessage:void 0,stopHostsModalTitle:void 0,stopHostsModalMessage:void 0,stopVmsModalTitle:void 0,stopVmsModalMessage:void 0,restartVmModalTitle:void 0,restartVmModalMessage:void 0,stopVmModalTitle:void 0,stopVmModalMessage:void 0,restartVmsModalTitle:void 0,restartVmsModalMessage:void 0,snapshotVmsModalTitle:void 0,snapshotVmsModalMessage:void 0,deleteVmsModalTitle:void 0,deleteVmsModalMessage:void 0,deleteVmModalTitle:void 0,deleteVmModalMessage:void 0,migrateVmModalTitle:void 0,migrateVmSelectHost:void 0,migrateVmSelectMigrationNetwork:void 0,migrateVmSelectSrs:void 0,migrateVmSelectNetworks:void 0,migrateVmsSelectSr:void 0,migrateVmsSelectSrIntraPool:void 0,migrateVmsSelectNetwork:void 0,migrateVmsSmartMapping:void 0,migrateVmName:void 0,migrateVmSr:void 0,migrateVmVif:void 0,migrateVmNetwork:void 0,migrateVmNoTargetHost:void 0,migrateVmNoTargetHostMessage:void 0,deleteVdiModalTitle:void 0,deleteVdiModalMessage:void 0,revertVmModalTitle:void 0,deleteSnapshotModalTitle:void 0,deleteSnapshotModalMessage:void 0,revertVmModalMessage:void 0,revertVmModalSnapshotBefore:void 0,importBackupModalTitle:void 0,importBackupModalStart:void 0,importBackupModalSelectBackup:void 0,removeAllOrphanedModalWarning:void 0,removeAllLogsModalTitle:void 0,removeAllLogsModalWarning:void 0,definitiveMessageModal:void 0,existingSrModalTitle:void 0,existingSrModalText:void 0,existingLunModalTitle:void 0,existingLunModalText:void 0,alreadyRegisteredModal:void 0,alreadyRegisteredModalText:void 0,trialReadyModal:void 0,trialReadyModalText:void 0,serverHost:void 0,serverUsername:void 0,serverPassword:void 0,serverAction:void 0,serverReadOnly:void 0,serverDisconnect:void 0,serverPlaceHolderUser:void 0,serverPlaceHolderPassword:void 0,serverPlaceHolderAddress:void 0,serverConnect:void 0,copyVm:void 0,copyVmConfirm:void 0,copyVmName:void 0,copyVmNamePattern:void 0,copyVmNamePlaceholder:void 0,copyVmNamePatternPlaceholder:void 0,copyVmSelectSr:void 0,copyVmCompress:void 0,copyVmsNoTargetSr:void 0,copyVmsNoTargetSrMessage:void 0,detachHostModalTitle:void 0,detachHostModalMessage:void 0,detachHost:void 0,newNetworkCreate:void 0,newBondedNetworkCreate:void 0,newNetworkInterface:void 0,newNetworkName:void 0,newNetworkDescription:void 0,newNetworkVlan:void 0,newNetworkDefaultVlan:void 0,newNetworkMtu:void 0,newNetworkDefaultMtu:void 0,newNetworkNoNameErrorTitle:void 0,newNetworkNoNameErrorMessage:void 0,newNetworkBondMode:void 0,deleteNetwork:void 0,deleteNetworkConfirm:void 0,networkInUse:void 0,pillBonded:void 0,addHostSelectHost:void 0,addHostNoHost:void 0,addHostNoHostMessage:void 0,xenOrchestra:void 0,xenOrchestraServer:void 0,xenOrchestraWeb:void 0,noProSupport:void 0,noProductionUse:void 0,downloadXoa:void 0,bugTracker:void 0,bugTrackerText:void 0,community:void 0,communityText:void 0,freeTrial:void 0,freeTrialNow:void 0,issues:void 0,issuesText:void 0,documentation:void 0,documentationText:void 0,proSupportIncluded:void 0,xoAccount:void 0,openTicket:void 0,openTicketText:void 0,upgradeNeeded:void 0,upgradeNow:void 0,or:void 0,tryIt:void 0,availableIn:void 0,notAvailable:void 0,updateTitle:void 0,registration:void 0,trial:void 0,settings:void 0,proxySettings:void 0,proxySettingsHostPlaceHolder:void 0,proxySettingsPortPlaceHolder:void 0,proxySettingsUsernamePlaceHolder:void 0,proxySettingsPasswordPlaceHolder:void 0,updateRegistrationEmailPlaceHolder:void 0,updateRegistrationPasswordPlaceHolder:void 0,update:void 0,refresh:void 0,upgrade:void 0,noUpdaterCommunity:void 0,noUpdaterSubscribe:void 0,noUpdaterWarning:void 0,currentVersion:void 0,register:void 0,editRegistration:void 0,trialRegistration:void 0,trialStartButton:void 0,trialAvailableUntil:void 0,trialConsumed:void 0,trialLocked:void 0,noUpdateInfo:void 0,waitingUpdateInfo:void 0,upToDate:void 0,mustUpgrade:void 0,registerNeeded:void 0,updaterError:void 0,promptUpgradeReloadTitle:void 0,promptUpgradeReloadMessage:void 0,disclaimerTitle:void 0,disclaimerText1:void 0,disclaimerText2:void 0,disclaimerText3:void 0,connectPif:void 0,connectPifConfirm:void 0,disconnectPif:void 0,disconnectPifConfirm:void 0,deletePif:void 0,deletePifConfirm:void 0,username:void 0,password:void 0,language:void 0,oldPasswordPlaceholder:void 0,newPasswordPlaceholder:void 0,confirmPasswordPlaceholder:void 0,confirmationPasswordError:void 0,confirmationPasswordErrorBody:void 0,pwdChangeSuccess:void 0,pwdChangeSuccessBody:void 0,pwdChangeError:void 0,pwdChangeErrorBody:void 0,changePasswordOk:void 0,sshKeys:void 0,newSshKey:void 0,deleteSshKey:void 0,noSshKeys:void 0,newSshKeyModalTitle:void 0,sshKeyErrorTitle:void 0,sshKeyErrorMessage:void 0,title:void 0,key:void 0,deleteSshKeyConfirm:void 0,deleteSshKeyConfirmMessage:void 0,others:void 0,loadingLogs:void 0,logUser:void 0,logMethod:void 0,logParams:void 0,logMessage:void 0,logError:void 0,logDisplayDetails:void 0,logTime:void 0,logNoStackTrace:void 0,logNoParams:void 0,logDelete:void 0,logDeleteAll:void 0,logDeleteAllTitle:void 0,logDeleteAllMessage:void 0,ipPoolName:void 0,ipPoolIps:void 0,ipPoolIpsPlaceholder:void 0,ipPoolNetworks:void 0,ipsNoIpPool:void 0,ipsCreate:void 0,ipsDeleteAllTitle:void 0,ipsDeleteAllMessage:void 0,ipsVifs:void 0,ipsNotUsed:void 0,shortcutModalTitle:void 0,shortcut_XoApp:void 0,shortcut_GO_TO_HOSTS:void 0,shortcut_GO_TO_POOLS:void 0,shortcut_GO_TO_VMS:void 0,shortcut_CREATE_VM:void 0,shortcut_UNFOCUS:void 0,shortcut_HELP:void 0,shortcut_Home:void 0,shortcut_SEARCH:void 0,shortcut_NAV_DOWN:void 0,shortcut_NAV_UP:void 0,shortcut_SELECT:void 0,shortcut_JUMP_INTO:void 0,settingsAclsButtonTooltipVM:void 0,settingsAclsButtonTooltiphost:void 0,settingsAclsButtonTooltippool:void 0,settingsAclsButtonTooltipSR:void 0,settingsAclsButtonTooltipnetwork:void 0}},{"moment/locale/he":805,"react-intl":1103,"react-intl/locale-data/he":1106}],1440:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),e("moment/locale/hu");var o=e("react-intl/locale-data/hu"),a=r(o),i=e("react-intl");(0,i.addLocaleData)(a.default),n.default={statusConnecting:"Kapcsolódás",statusDisconnected:"Lekapcsolódva",statusLoading:"Töltés…",errorPageNotFound:"Oldal nem található",errorNoSuchItem:"nincs ilyen eszköz",editableLongClickPlaceholder:"Kiszolgálószan kattints a szerkesztéshez",editableClickPlaceholder:"Kattints a szerkesztéshez",browseFiles:"Fájlok böngészése",alertOk:"OK",confirmOk:"OK",confirmCancel:"Mégsem",onError:"Hiba",successful:"Sikeres",copyToClipboard:"Másolás a vágólapra",pillMaster:"Master",homePage:"Kezdőlap",homeVmPage:"VPS",homeHostPage:"Kiszolgáló",homePoolPage:"Pool",homeTemplatePage:"Sablon",homeSrPage:"Adattároló",dashboardPage:"Dashboard",overviewDashboardPage:"Áttekintés",overviewVisualizationDashboardPage:"Vizualizáció",overviewStatsDashboardPage:"Statisztikák",overviewHealthDashboardPage:"Állapot",selfServicePage:"Pirvát Datacenter",backupPage:"Mentés",jobsPage:"Jobok",updatePage:"Frissítések",settingsPage:"Beállítások",settingsServersPage:"Szerverek",settingsUsersPage:"Felhasználók",settingsGroupsPage:"Csoportok",settingsAclsPage:"Jogok",settingsPluginsPage:"Bővítményok",settingsLogsPage:"Logok",settingsIpsPage:"IP Címek",settingsConfigPage:"Beállítás",aboutPage:"Információ",aboutXoaPlan:"Liszensz: {xoaPlan}",newMenu:"Új",taskMenu:"Feladatok",taskPage:"Feladatok",newVmPage:"VPS",newSrPage:"Adattároló",newServerPage:"Szerver",newImport:"Importálás",xosan:void 0,backupOverviewPage:"Áttekintés",backupNewPage:"Új",backupRemotesPage:"Távoli Mentés",backupRestorePage:"Visszaállítás",backupFileRestorePage:"Fájl alapú visszaállítás",schedule:"Időzítés",newVmBackup:"Új VPS Mentés",editVmBackup:"VPS Mentés Szerkesztése",backup:"Adatmentés",rollingSnapshot:"Felülíródó Pillanatkép Mentés",deltaBackup:"Delta Mentés",disasterRecovery:"Disaster Recovery",continuousReplication:"Folyamatos Replikáció",jobsOverviewPage:"Áttekintés",jobsNewPage:"Új",jobsSchedulingPage:"Időzítés",customJob:"Egyedi Job",userPage:"Felhasználó",noSupport:"Nincs szupport",freeUpgrade:"Ingyenes bővítés!",signOut:"Kijelentkezés",editUserProfile:"Felhasználóm szerkesztése {felhasználónév}",homeFetchingData:"Adatok betöltése…",homeWelcome:"Üdvözöljük a Felhőben!",homeWelcomeText:"Hozzáadása your XenServer kiszolgálók or pools",homeConnectServerText:"Some XenServers have been registered but are not Kapcsolódva",homeHelp:"Segítségre van szüksége?",homeAddServer:"Hozzáadása server",homeConnectServer:"Csatlakozás servers",homeOnlineDoc:"Online Doc",homeProSupport:"Pro Support",homeNoVms:"Nincsenek VPS-ek!",homeNoVmsOr:"Vagy…",homeImportVm:"VPS Importálása",homeImportVmMessage:"Meglévő VPS importálása xva formátumban",homeRestoreBackup:"Adatmentés visszaállítása",homeRestoreBackupMessage:"Adatmentés visszaállítása távoli helyről",homeNewVmMessage:"Új VPS készítése",homeFilters:"Szűrők",homeNoMatches:"Nincs eredmény! Szűrők visszaállításához kattintson ide",homeTypePool:"Pool",homeTypeHost:"Kiszolgáló",homeTypeVm:"VPS",homeTypeSr:"Adattároló",homeTypeVmTemplate:"Sablon",homeSort:"Rendezés",homeAllPools:"Poolok",homeAllHosts:"Kiszolgálók",homeAllTags:"Címke",homeNewVm:"Új VPS",homeFilterNone:void 0,homeFilterRunningHosts:"Futó kiszolgálók",homeFilterDisabledHosts:"Leállított kiszolgálók",homeFilterRunningVms:"Futó VPS szerverek",homeFilterNonRunningVms:"Nem futó VPS szerverek",homeFilterPendingVms:"Függőben lévő VPS szerverek",homeFilterHvmGuests:"HVM guests",homeFilterTags:"Címkék",homeSortBy:"Rendezés",homeSortByName:"Név",homeSortByPowerstate:"Állapot",homeSortByRAM:"RAM",homeSortByvCPUs:"vCPUs",homeSortByCpus:"CPUs",homeSortByShared:"Osztott/Nem osztott",homeSortBySize:"Méret",homeSortByUsage:"Használat",homeSortByType:"Típus",homeDisplayedItems:"{displayed, number}x {icon} (on {total, number})",homeSelectedItems:"{selected, number}x {icon} kiválasztott (on {total, number})",homeMore:"Több",homeMigrateTo:"Migálás ide…",homeMissingPaths:"Missing patches",homePoolMaster:"Master:",homeResourceSet:"Resource set: {resourceSet}",highAvailability:"High Availability",srSharedType:"Osztott {type}",srNotSharedType:"Nem osztott {type}",add:"Hozzáadás",selectAll:"Mindet kijelöl",remove:"Eltávolítás",preview:"Előnézet",item:"Eszköz",noSelectedValue:"Nincs kiválasztott érték",selectSubjects:"Válasszon felhasználó(ka)t és/vagy csoporto(ka)t",selectObjects:"Objektum(ok) választása…",selectRole:"Szerep választása",selectHosts:"Kiszolgáló(k) választása)…",selectHostsVms:"Objektum(ok) választása…",selectNetworks:"Hálózat(ok) választása…",selectPifs:"PIF választása…",selectPools:"Pool(ok) választása…",selectRemotes:"Válasszon Remote(s)…",selectResourceSets:"Erőforrás készlet választása…",selectResourceSetsVmTemplate:"Sablon(ok) választása…",selectResourceSetsSr:"Adattároló választása…",selectResourceSetsNetwork:"Hálózat(ok) választása…",selectResourceSetsVdi:"Diszk(ek) választása…",selectSshKey:"SSH kulcs(ok) választása…",selectSrs:"Adattároló választása…",selectVms:"VPS(ek) választása…",selectVmTemplates:"VPS sablon(ok)választása…",selectTags:"Címkék választása…",selectVdis:"Diszk(ek) választása…",selectTimezone:"Időzóna választása…",selectIp:"IP(k) választása…",selectIpPool:"IP tartomány(ok) választása…",fillRequiredInformations:"Szükséges információk kitöltése.",fillOptionalInformations:"Információk kitöltése (nem kötelező)",selectTableReset:"Visszaállítás",schedulingMonth:"Hónap",schedulingEveryNMonth:"Minden adott hónapban",schedulingEachSelectedMonth:"Minden kiválasztott hónapban",schedulingDay:"Nap",schedulingEveryNDay:"Megadott naponként",schedulingEachSelectedDay:"Minden kiválasztott napon",schedulingSetWeekDayMode:"Váltás a hét napjaira",schedulingSetMonthDayMode:"Váltás a hónap napjaira",schedulingHour:"Óra",schedulingEachSelectedHour:"Minden kiválasztott órában",schedulingEveryNHour:"Minden X órában",schedulingMinute:"Perc",schedulingEachSelectedMinute:"Minden kiválasztott percben",schedulingEveryNMinute:"Minden X-edik percben",selectTableAllMonth:"Minden hónapban",selectTableAllDay:"Minden napon",selectTableAllHour:"Minden órában",selectTableAllMinute:"Minden percben",schedulingReset:"Visszaállítás",unknownSchedule:"Ismeretlen",timezonePickerUseLocalTime:"Böngésző időzóna",serverTimezoneOption:"Szerver időzóna ({Value})",cronPattern:"Cron példa:",backupEditNotFoundTitle:"Az adatmentés nem szerkeszthető",backupEditNotFoundMessage:"Hiányzó szükséges információ",job:"Feladat",jobModalTitle:void 0,jobId:"Feladat Azonosító",jobType:void 0,jobName:"Név",jobNamePlaceholder:'Feladat neve (forbidden: "_")',jobStart:"Elindítás",jobEnd:"Befejezés",jobDuration:"Időtartam",jobStatus:"Státusz",jobAction:"Akció",jobTag:"Címke",jobScheduling:"Időzítés",jobState:"Állapot",jobStateEnabled:void 0,jobStateDisabled:void 0,jobTimezone:"Időzóna",jobServerTimezone:"Szerver",runJob:"Feladat futtatása",runJobVerbose:"Sikeresen elindítva. A logokat kérjük mindneképp nézze meg az eredményekhez.",jobStarted:"Elindítva",jobFinished:"Befejezve",saveBackupJob:"Mentés",deleteBackupSchedule:"Mentési feladat eltávolítása",deleteBackupScheduleQuestion:"Biztos benne, hogy törli ezt a mentési feladatot?",scheduleEnableAfterCreation:"Létrehozás utáni bekapcsolás engedélyezése",scheduleEditMessage:"A következő Időzítést szerkeszti: {név} ({id}). A mentés felülírja az előző állapotot.",jobEditMessage:"A következő Feladatot szerkeszti: {név} ({id}). A mentés felülírja az előző állapotot.",noScheduledJobs:"Nincsenek időzített feladatok.",noJobs:"Nincsenek feladatok.",noSchedules:"Nincsenek időzítések",jobActionPlaceHolder:"API parancs kiválasztása",jobSchedules:"Időzítések",jobScheduleNamePlaceHolder:"Időzítés neve",jobScheduleJobPlaceHolder:"Feladat kiválasztása",jobOwnerPlaceholder:"Feladat tulajdonosa",jobUserNotFound:"A feladat létrehozója már nem érhető el a rendszerben",backupUserNotFound:"A mentési feladat létrehozója már nem érhető el a rendszerben",backupOwner:"Mentés tulajdonosa",newBackupSelection:"Válassza ki a mentési típust:",smartBackupModeSelection:"Válassza ki a mentési módot:",normalBackup:"Normál mentés",smartBackup:"Okos mentés",localRemoteWarningTitle:"Lokális távoli kiválasztva",localRemoteWarningMessage:"Figyelmeztetés: lokális távoli mentés korlátozott rendszer helyet használ. Kizárólag haladó felhasználóknak ajánlott, ha biztos benne, hogy ez a szervere elérhetőségét nem befolyásolja!.",backupVersionWarning:"Figyelmeztetés: 6.5 vagy újabb Xen támogatás szükséges!",editBackupVmsTitle:"VPS-ek",editBackupSmartStatusTitle:"VPS sátuszok",editBackupSmartResidentOn:"Helye",editBackupSmartPools:"Poolok",editBackupSmartTags:"Cimkék",editBackupSmartTagsTitle:"VPS Cimkék",editBackupNot:"Reverse",editBackupTagTitle:"Cimke",editBackupReportTitle:"Riport",editBackupReportEnable:"Azonnal a létrehozás után",editBackupDepthTitle:"Mélység",editBackupRemoteTitle:"Távoli",remoteList:"Távoli Mentési Helyek",newRemote:"Új Távoli Fájl Rendszer",remoteTypeLocal:"Helyi",remoteTypeNfs:"NFS",remoteTypeSmb:"SMB",remoteType:"Típus",remoteTestTip:"Tesztelés",testRemote:"Távoli Tesztelése",remoteTestFailure:"Sikertelen tesztelés!!! {név}",remoteTestSuccess:"Sikeres! {név}",remoteTestError:"Hiba",remoteTestStep:"Teszt Lépés",remoteTestFile:"Teszt Fájl",remoteTestName:void 0,remoteTestNameFailure:void 0,remoteTestSuccessMessage:"A távoli úgy tűnik megfelelően működik",remoteConnectionFailed:void 0,remoteName:"Név",remotePath:"Útvonal",remoteState:"Tátusz",remoteDevice:"Eszköz",remoteShare:"Megosztás",remoteAction:void 0,remoteAuth:"Bejelentkezés",remoteMounted:"Felcsatolva",remoteUnmounted:"Lecsatolva",remoteConnectTip:"Csatlakozás",remoteDisconnectTip:"Lecsatlakozás",remoteConnected:void 0,remoteDisconnected:void 0,remoteDeleteTip:"Törlés",remoteNamePlaceHolder:"távoli név *",remoteMyNamePlaceHolder:"Név *",remoteLocalPlaceHolderPath:"/path/to/backup",remoteNfsPlaceHolderHost:"kiszolgáló *",remoteNfsPlaceHolderPath:"path/to/backup",remoteSmbPlaceHolderRemotePath:"almappa [path\\to\\backup]",remoteSmbPlaceHolderUsername:"Felhasználónév",remoteSmbPlaceHolderPassword:"Jelszó",remoteSmbPlaceHolderDomain:"Domain",remoteSmbPlaceHolderAddressShare:"<address>\\<share> *",remotePlaceHolderPassword:"jelszó(kattintson a módosításhoz)",newSrTitle:"Új Adattároló készítése",newSrGeneral:"Általános",newSrTypeSelection:"Adattároló Típus Kiválasztása:",newSrSettings:"Beállítások",newSrUsage:"Adattároló Használat",newSrSummary:"Összesítés",newSrHost:"Kiszolgáló",newSrType:"Típus",newSrName:"Név",newSrDescription:"Leírás",newSrServer:"Szerver",newSrPath:"Útvonal",newSrIqn:"IQN",newSrLun:"LUN",newSrAuth:"with auth.",newSrUsername:"Felhasználónév",newSrPassword:"Jelszó",newSrDevice:"Eszköz",newSrInUse:"használatban",newSrSize:"Méret",newSrCreate:"Létrehozás",newSrNamePlaceHolder:"Adattároló név",newSrDescPlaceHolder:"Adattároló leírása",newSrAddressPlaceHolder:"Cím",newSrPortPlaceHolder:"[port]",newSrUsernamePlaceHolder:"Felhasználónév",newSrPasswordPlaceHolder:"Jelszó",newSrLvmDevicePlaceHolder:"Eszköz, pl.: /dev/sda…",newSrLocalPathPlaceHolder:"/path/to/directory",subjectName:"Felhasználók/Csoportok",objectName:"Objektum",aclNoneFound:"Jogosultság nem található",roleName:"Szerepkör",aclCreate:"Létrehozás",newGroupName:"Új Csoport Név",createGroup:"Csoport Létrehozás",createGroupButton:"Létrehozás",deleteGroup:"Csoport Törlés",deleteGroupConfirm:"Biztos benne, hogy törli a csoportot?",removeUserFromGroup:"Felhasználó törlése a csoportból",deleteUserConfirm:"Biztos benne, hogy törli a felhasználót?",deleteUser:"Felhasználó Törlése",noUser:"no felhasználó",unknownUser:"ismeretlen felhasználó",noGroupFound:"Csoport nem található",groupNameColumn:"Név",groupUsersColumn:"Felhasználók",addUserToGroupColumn:"Felhasználó Hozzáadása",userNameColumn:"E-mail",userPermissionColumn:"Jogosultságok",userPasswordColumn:"Jelszó",userName:"E-mail",userPassword:"Jelszó",createUserButton:"Létrehozás",noUserFound:"Felhasználó nem található",userLabel:"Felhasználó",adminLabel:"Admin",noUserInGroup:"Nincs felhasználó a csoportban",countUsers:"{user} felhasználó{users, plural, one {} other {s}}",selectPermission:"Válasszon Jogosultságot",noPlugins:"Bővítményok nem találhatóak",autoloadPlugin:"Automatikus betöltés szerver indításakor",savePluginConfiguration:"Beállítás Mentése",deletePluginConfiguration:"Beállítás Törlése",pluginError:"Bővítmény hiba",unknownPluginError:"Ismeretlen hiba",purgePluginConfiguration:"Bővítmény beállítás törlése",purgePluginConfigurationQuestion:"Biztos benne hogy törli ezt a beállítást?",editPluginConfiguration:"Szerkesztés",cancelPluginEdition:"Mégsem",pluginConfigurationSuccess:"Bővítmény beállítás",pluginConfigurationChanges:"Bővítmény beállítás sikeresen mentve!",pluginConfigurationPresetTitle:"Előre definiált konfiguráció",pluginConfigurationChoosePreset:"Előre definiált konfiguráció választása.",applyPluginPreset:"Mehet",saveNewUserFilterErrorTitle:"Szűrő mentés hiba",saveNewUserFilterErrorBody:"Rossz paraméter: név megadása kötelező.",filterName:"Név:",filterValue:"Érték:",saveNewFilterTitle:"Új szűrő mentése",setUserFiltersTitle:"Egyedi szűrők beállítása",setUserFiltersBody:"Biztos benne, hogy beállítja az egyedi szűrőket?",removeUserFilterTitle:"Egyedi szűrő eltávolítása",removeUserFilterBody:"Biztos benne, hogy eltávolítja az egyedi szűrőt?",defaultFilter:"Alapértelmezett szűrő",defaultFilters:"Alapértelmezett szűrők",customFilters:"Egyedi szűrők",customizeFilters:"Szűrők testre szabása",saveCustomFilters:"Egyedi szűrők mentése",startVmLabel:"Elindít",recoveryModeLabel:"Helyreállítás Elindítása",suspendVmLabel:"Felfüggesztés",stopVmLabel:"Leállítás",forceShutdownVmLabel:"Leállítás Kényszerítése",rebootVmLabel:"Újraindítás",forceRebootVmLabel:"Újraindítás Kényszerítése",deleteVmLabel:"Törlés",migrateVmLabel:"Migrálás",snapshotVmLabel:"Pillanatkép",exportVmLabel:"Exportálás",resumeVmLabel:"Folytatás",copyVmLabel:"Másolás",cloneVmLabel:"Klónozás",fastCloneVmLabel:"Gyors Klónozás",convertVmToTemplateLabel:"Sablonná konvertálás",vmConsoleLabel:"Konzol",srRescan:"Összes diszk újraszkennelése",srReconnectAll:"Csatlakoztatás az összes kiszolgálóhoz",srDisconnectAll:"Lecsatlakoztatás az összes kiszolgálóról",srForget:"Adattároló Elfelejtése",srsForget:"Adattároló Elfelejtése",srRemoveButton:"Adattároló Eltávolítás",srNoVdis:"No VDIs in this storage",poolTitleRamUsage:"Pool RAM használat:",poolRamUsage:"{used} used on {total}",poolMaster:"Master:",displayAllHosts:"Display all kiszolgálók of this pool",displayAllStorages:"Display all storages of this pool",displayAllVMs:"Display all VMs of this pool",hostsTabName:"Kiszolgálók",vmsTabName:void 0,srsTabName:void 0,poolHaStatus:"High Availability",poolHaEnabled:"Bekapcsolva",poolHaDisabled:"Kikapcsolva",hostNameLabel:"Név",hostDescription:"Leírás",hostMemory:"Memória",noHost:"Nincsenek kiszolgálók",memoryLeftTooltip:"{used}% used ({free} free)",pif:"PIF",poolNetworkNameLabel:"Név",poolNetworkDescription:"Leírás",poolNetworkPif:"PIFs",poolNoNetwork:"Nincsenek hálózatok",poolNetworkMTU:"MTU",poolNetworkPifAttached:"Kapcsolódva",poolNetworkPifDetached:"Lekapcsolódva",showPifs:"Show PIFs",hidePifs:"Hide PIFs",showDetails:"Részletek mutatása",hideDetails:"Részletek elrejtése",poolNoStats:"Nincsenek statisztikák",poolAllHosts:"Minden kiszolgáló",addSrLabel:"Adattároló Hozzáadása",addVmLabel:"VPS Hozzáadása",addHostLabel:"Kiszolgáló Hozzáadása",disconnectServer:"Lecsatol",startHostLabel:"Elindítás",stopHostLabel:"Leállítás",enableHostLabel:"Bekapcsol",disableHostLabel:"Kikapcsol",restartHostAgent:"Toolstack újraindítása",forceRebootHostLabel:"Újraindítás Kényszerítése",rebootHostLabel:"Újraindítás",noHostsAvailableErrorTitle:"Hiba a kiszolgáló újraindítása közben",noHostsAvailableErrorMessage:"Some VMs cannot be migrated before restarting this Host. Please try force Restart.",failHostBulkRestartTitle:"Hiba lépett fel a kiszolgálók újraindítása közben",failHostBulkRestartMessage:"{failedhosts}/{totalHosts} Kiszolgáló újraindítása nem sikerült.",rebootUpdateHostLabel:"A változtatások életbe lépéséhez újraindítás szükséges",emergencyModeLabel:"Vészhelyzet üzem",storageTabName:"Adattároló",patchesTabName:"Javítások",statLoad:"Átlagos load",memoryHostState:"Memória használat: {MemoryUsed}",hardwareHostSettingsLabel:"Hardver",hostAddress:"Cím",hostStatus:"Állapot",hostBuildNumber:"Build number",hostIscsiName:"iSCSI név",hostXenServerVersion:"Verzió",hostStatusEnabled:"Bekapcsolva",hostStatusDisabled:"Kikapcsolva",hostPowerOnMode:"Power on mode",hostStartedSince:"Kiszolgáló uptime",hostStackStartedSince:"Toolstack uptime",hostCpusModel:"CPU model",hostCpusNumber:"Core (socket)",hostManufacturerinfo:"Gyártó infó",hostBiosinfo:"BIOS infó",licenseHostSettingsLabel:"Liszensz",hostLicenseType:"Típus",hostLicenseSocket:"Foglalat",hostLicenseExpiry:"Lejárat",supplementalPacks:"Installed supplemental packs",supplementalPackNew:"Install new supplemental pack",supplementalPackPoolNew:"Install supplemental pack on every host",supplementalPackTitle:"{név} (by {author})",supplementalPackInstallStartedTitle:"Installation Started",supplementalPackInstallStartedMessage:"Installing new supplemental pack...",supplementalPackInstallErrorTitle:"Installation error",supplementalPackInstallErrorMessage:"The installation of the supplemental pack failed.",supplementalPackInstallSuccessTitle:"Installation success",supplementalPackInstallSuccessMessage:"Supplemental pack successfully installed.",networkCreateButton:"Add a Hálózat",networkCreateBondedButton:"Add a bonded Hálózat",pifDeviceLabel:"Eszköz",pifNetworkLabel:"Hálózat",pifVlanLabel:"VLAN",pifAddressLabel:"Cím",pifModeLabel:"Mode",pifMacLabel:"MAC",pifMtuLabel:"MTU",pifStatusLabel:"Állapot",pifStatusConnected:"Kapcsolódva",pifStatusDisconnected:"Lekapcsolódva",pifNoInterface:"No physical interface detected",pifInUse:"This interface is currently in use",defaultLockingMode:"Alapértelmezett locking üzem",pifConfigureIp:"Configure IP cím",configIpErrorTitle:"Invalid parameters",configIpErrorMessage:"IP cím and netmask required",staticIp:"Static IP cím",netmask:"Netmask",dns:"DNS",gateway:"Gateway",addSrDeviceButton:"Add a storage",srNameLabel:"Név",srType:"Típus",pbdAction:void 0,pbdStatus:"Állapot",pbdStatusConnected:"Kapcsolódva",pbdStatusDisconnected:"Lekapcsolódva",pbdConnect:"Csatlakozás",pbdDisconnect:"Lecsatlakozás",pbdForget:"Elfelejt",srShared:"Megosztva",srNotShared:"Nincs megosztva",pbdNoSr:"No storage detected",patchNameLabel:"Név",patchUpdateButton:"Install all patches",patchDescription:"Leírás",patchApplied:"Applied Dátum",patchSize:"Méret",patchStatus:"Állapot",patchStatusApplied:"Applied",patchStatusNotApplied:"Missing patches",patchNothing:"No patch detected",patchReleaseDate:"Release Dátum",patchGuidance:"Guidance",patchAction:"Művelet",hostAppliedPatches:"Applied patches",hostMissingPatches:"Missing patches",hostUpToDate:"Host up-to-Dátum!",refreshPatches:"Refresh patches",installPoolPatches:"Install pool patches",defaultSr:"Alapértelmezett Adattároló",setAsDefaultSr:"Beállítás Alapértelmezett Adattárolóként",generalTabName:"Általános",statsTabName:"Statisztikák",consoleTabName:"Konzol",containersTabName:"Container",snapshotsTabName:"Pillanatképek",logsTabName:"Logok",advancedTabName:"Haladó",networkTabName:"Hálózat",disksTabName:"Lemez{disks, plural, one {} other {s}}",powerStateHalted:"leállítva",powerStateRunning:"fut",powerStateSuspended:"Felfüggesztett",vmStatus:"No Xen tools detected",vmName:"No IPv4 record",vmDescription:"No IP record",vmSettings:"Elindítva {ago}",vmCurrentStatus:"Jelenlegi állapot:",vmNotRunning:"Nem fut",noToolsDetected:"No Xen tools detected",noIpv4Record:"No IPv4 record",noIpRecord:"No IP record",started:"Elindítva {ago}",paraVirtualizedMode:"Paravirtualization (PV)",hardwareVirtualizedMode:"Hardware virtualization (HVM)",statsCpu:"CPU használat",statsMemory:"Memória használat",statsNetwork:"Átmenő forgalom",useStackedValuesOnStats:"Halmozott Értékek",statDisk:"Átmenő Diszk Érték",statLastTenMinutes:"Utóbbi 10 perc",statLastTwoHours:"Utóbbi 2 óra",statLastWeek:"Utóbbi 1 hét",statLastYear:"Utóbbi 1 év",copyToClipboardLabel:"Másolás",ctrlAltDelButtonLabel:"Ctrl+Alt+Del",tipLabel:"Tip:",tipConsoleLabel:"Rendszerkompatibilitás miatt egyedül amerikai (US) billentyűzetkiosztás működik a legstabilabban, ennek használata javasolt.",hideHeaderTooltip:"Információk elrejtése",showHeaderTooltip:"Információk mutatása",containerName:"Név",containerCommand:"Parancs",containerCreated:"Létrehozás dátuma",containerStatus:"Állapot",containerAction:"Akció",noContainers:"Jelenleg nincsenek Konténerek",
|
70 | containerStop:"Konténer Leállítása",containerStart:"Konténer Elindítása",containerPause:"Konténer Szüneteltetése",containerResume:"Konténer Folytatása",containerRestart:"Konténer Újraindítása",vdiAction:"Művelet",vdiAttachDeviceButton:"Diszk Hozzácsatolás",vbdCreateDeviceButton:"Új diszk",vdiBootOrder:"Boot sorrend",vdiNameLabel:"Név",vdiNameDescription:"Leírás",vdiTags:"Cimkék",vdiSize:"Méret",vdiSr:"Adattároló",vdiVm:"VPS",vdiMigrate:"Migrate VDI",vdiMigrateSelectSr:"Cél Adattároló:",vdiMigrateAll:"Migrate all VDIs",vdiMigrateNoSr:"Nincs Adattároló",vdiMigrateNoSrMessage:"Cél Adattároló szükséges a VDI migáláshoz",vdiForget:"Elfelejt",vdiRemove:"VDI Eltávolítás",vdbBootableStatus:"Boot flag",vdbStatus:"Állapot",vbdStatusConnected:"Kapcsolódva",vbdStatusDisconnected:"Lekapcsolódva",vbdNoVbd:"Nincsenek Diszkek",vbdConnect:"VBD Csatlakozás",vbdDisconnect:"VBD Lecsatlakozás",vdbBootable:"Bootolható",vdbReadonly:"Csak olvasható",vbdAction:void 0,vdbCreate:"Létrehozás",vdbNamePlaceHolder:"Diszk név",vdbSizePlaceHolder:"Méret",saveBootOption:"Mentés",resetBootOption:"Visszaállítás",vifCreateDeviceButton:"Új eszköz",vifNoInterface:"Nincs interface",vifDeviceLabel:"Eszköz",vifMacLabel:"MAC cím",vifMtuLabel:"MTU",vifNetworkLabel:"Hálózat",vifStatusLabel:"Állapot",vifStatusConnected:"Kapcsolódva",vifStatusDisconnected:"Lekapcsolódva",vifConnect:"Csatlakozás",vifDisconnect:"Lecsatlakozás",vifRemove:"Eltávolítás",vifIpAddresses:"IP címek",vifMacAutoGenerate:"Auto-generálás ha üres",vifAllowedIps:"Engedélyezett IP címek",vifNoIps:"Nincsenek IP címek",vifLockedNetwork:"Hálózat zárolva",vifLockedNetworkNoIps:"Hálózat zárolva és nincsenek engedélyezve IP címek ehhez az interfészhez",vifUnLockedNetwork:"Hálózat nincs zárolva",vifUnknownNetwork:"Ismeretlen Hálózat",vifAction:void 0,vifCreate:"Létrehozás",noSnapshots:"Nincsenek Pillanatképek",snapshotCreateButton:"Új Pillanatkép",tipCreateSnapshotLabel:"Csak kattintson a Pillanatkép gombra új pillanatkép készítéséhez!",revertSnapshot:"VPS visszaállítása erre a pillanatképre",deleteSnapshot:"Pillanatkép eltávolítása",copySnapshot:"VPS létrehozása ebből a pillanatképből",exportSnapshot:"Pillanatkép exportálása",snapshotDate:"Létrehozás dátuma",snapshotName:"Név",snapshotAction:"Művelet",snapshotQuiesce:"Nyugalomban lévő Pillanatkép",logRemoveAll:"Logok Eltávolítása",noLogs:"Nincsenek logok ez idáig",logDate:"Létrehozás dátuma",logName:"Név",logContent:"Tartalom",logAction:"Művelet",vmRemoveButton:"Eltávolítás",vmConvertButton:"Konvertálás",xenSettingsLabel:"Xen beállítások",guestOsLabel:"Vendég OS",miscLabel:"Egyéb",uuid:"UUID",virtualizationMode:"Virtualizációs üzem",cpuWeightLabel:"CPU súly",defaultCpuWeight:"Alapértelmezett ({Value, number})",cpuCapLabel:"CPU cap",defaultCpuCap:"Alapértelmezett ({Value, number})",pvArgsLabel:"PV args",xenToolsStatus:"Xen tools Állapot",xenToolsStatusValue:"{Állapot}",osName:"OS név",osKernel:"OS kernel",autoPowerOn:"Auto bekapcsolás",ha:"HA",originalTemplate:"Eredeti sablon",unknownOsName:"Ismeretlen",unknownOsKernel:"Ismeretlen",unknownOriginalTemplate:"Ismeretlen",vmLimitsLabel:"VPS limitek",vmCpuLimitsLabel:"CPU limitek",vmMemoryLimitsLabel:"Memória limitek (min/max)",vmMaxVcpus:"vCPUs max:",vmMaxRam:"Memória max:",vmHomeNamePlaceholder:"Kattintson hosszan név hozzáadásához",vmHomeDescriptionPlaceholder:"Kattintson hosszan leírás hozzáadásához",vmViewNamePlaceholder:"Kattintson név hozzáadásához",vmViewDescriptionPlaceholder:"Kattintson leírás hozzáadásához",templateHomeNamePlaceholder:"Kattintson név hozzáadásához",templateHomeDescriptionPlaceholder:"Kattintson leírás hozzáadásához",templateDelete:"Sablon törlése",templateDeleteModalTitle:"VPS sablon{Templates, plural, one {} other {ok}} törlése",templateDeleteModalBody:"Biztos benne, hogy törölni kívánja a kiválasztott {templates, plural, one {this} other {these}} sablon{Templates, plural, one {} other {oka}}t?",poolPanel:"Pool{pools, plural, one {} other {ok}}",hostPanel:"Kiszolgáló{kiszolgálók, plural, one {} other {k}}",vmPanel:"VPS{vms, plural, one {} other {ek}}",memoryStatePanel:"Memória használat:",cpuStatePanel:"CPUs használat",vmStatePanel:"VPS áram állapot",taskStatePanel:"Függőben lévő feladatok",usersStatePanel:"Felhasználók",srStatePanel:"Adattároló állapot",ofUsage:"{usage} (of {total})",noSrs:"Nincs adattároló",srName:"Név",srPool:"Pool",srHost:"Kiszolgáló",srFormat:"Típus",srSize:"Méret",srUsage:"használat",srUsed:"használva",srFree:"szabad",srUsageStatePanel:"Adattároló használat",srTopUsageStatePanel:"Top 5 Adattároló használat (in %)",vmsStates:"{running} fut ({halted} halted)",dashboardStatsButtonRemoveAll:"Kiválasztás törlése",dashboardStatsButtonAddAllHost:"Összes kiszolgáló hozzáadása",dashboardStatsButtonAddAllVM:"Összes VPS hozzáadása",weekHeatmapData:"{Value} {date, Dátum, medium}",weekHeatmapNoData:"Nincs adata.",weeklyHeatmap:"Heti Hőtérkép",weeklyCharts:"Heti Diagram",weeklyChartsScaleInfo:"Skála szinkronizálása:",statsDashboardGenericErrorTitle:"Statisztikák hiba",statsDashboardGenericErrorMessage:"Jelenleg nincs elérhető statisztika a következőhöz:",noSelectedMetric:"Nincs kiválasztott mérőszám",statsDashboardSelectObjects:"Válasszon",metricsLoading:"Töltés…",comingSoon:"Hamarosan!",orphanedVdis:"Árván maradt Pillanatképek VDI-k",orphanedVms:"Árván maradt VPS Pillanatkép",noOrphanedObject:"Nincsenek árván hagyott pillanatképek",removeAllOrphanedObject:"Árván maradt VPS Pillanatkép VDI-k eltávolítása",vmNameLabel:"Név",vmNameDescription:"Leírás",vmContainer:"Itt fut:",alarmMessage:"Riasztások",noAlarms:"Nincsenek riasztások",alarmDate:"Dátum",alarmContent:"Tartalom",alarmObject:"Probléma itt",alarmPool:"Pool",alarmRemoveAll:"Riasztások eltávolítása",spaceLeftTooltip:"{used}% felhasználva ({free} maradt)",newVmCreateNewVmOn:"VPS létrehozása a következőn: {select}",newVmCreateNewVmOn2:"VPS létrehozása a következőn: {select1} vagy {select2}",newVmCreateNewVmNoPermission:"Sajnáljuk, nincs jogosultsága új VPS készítéséhez",newVmInfoPanel:"Információk",newVmNameLabel:"Név",newVmTemplateLabel:"Sablon",newVmDescriptionLabel:"Leírás",newVmPerfPanel:"Teljesítmények",newVmVcpusLabel:"vCPUs",newVmRamLabel:"RAM",newVmStaticMaxLabel:"Max Statikus Memória",newVmDynamicMinLabel:"Min Dinamikus Memória",newVmDynamicMaxLabel:"Max Dinamikus Memória",newVmInstallSettingsPanel:"Telepítési beállítások",newVmIsoDvdLabel:"ISO/DVD",newVmNetworkLabel:"Hálózat",newVmInstallNetworkPlaceHolder:"pl.: http://httpredir.debian.org/debian",newVmPvArgsLabel:"PV Args",newVmPxeLabel:"PXE",newVmInterfacesPanel:"Interfészek",newVmMacLabel:"MAC",newVmAddInterface:"Interfész Hozzáadása",newVmDisksPanel:"Diszkek",newVmSrLabel:"Adattároló",newVmSizeLabel:"Méret",newVmAddDisk:"Diszk Hozzáadása",newVmSummaryPanel:"Összesítés",newVmCreate:"Létrehozás",newVmReset:"Visszaállít",newVmSelectTemplate:"Válasszon sablont",newVmSshKey:"SSH kulcs",newVmConfigDrive:"Meghajtó beállítása",newVmCustomConfig:"egyedi beállítás",newVmBootAfterCreate:"VPS bootolása létrehozás után",newVmMacPlaceholder:"Auto-generálás ha üres",newVmCpuWeightLabel:"CPU súly",newVmDefaultCpuWeight:"Alapértelmezett: {Value, number}",newVmCpuCapLabel:"CPU cap",newVmDefaultCpuCap:"Alapértelmezett: {Value, number}",newVmCloudConfig:"Cloud beállítás",newVmCreateVms:"VPSek Létrehozása",newVmCreateVmsConfirm:"Biztos benne, hogy létrehoz {nbVms} VPS-t?",newVmMultipleVms:"Több VPS:",newVmSelectResourceSet:"Válasszon egy erőforrás készletet:",newVmMultipleVmsPattern:"Minta Név:",newVmMultipleVmsPatternPlaceholder:"e.g.: \\{név\\}_%",newVmFirstIndex:"Első index:",newVmNumberRecalculate:"VPS számok újraszámolása",newVmNameRefresh:"VPS nevek frissítése",newVmAdvancedPanel:"Haladó",newVmShowAdvanced:"Mutassa a Haladó beállításokat",newVmHideAdvanced:"Haladó beállítások elrejtése",newVmShare:void 0,resourceSets:"Erőforrás készletek",noResourceSets:"Nincsenek erőforrás készletek.",loadingResourceSets:"Erőforrás készletek betöltése",resourceSetName:"Erőforrás készlet neve",recomputeResourceSets:"Összes limit újraszámolása",saveResourceSet:"Mentés",resetResourceSet:"Visszaállítás",editResourceSet:"Szerkesztés",deleteResourceSet:"Törlés",deleteResourceSetWarning:"Erőforrás készlet törlése",deleteResourceSetQuestion:"Biztos benne, hogy törli az Erőforrás készletet?",resourceSetMissingObjects:"Hiányzó objektum:",resourceSetVcpus:"vCPUs",resourceSetMemory:"Memória",resourceSetStorage:"Adattároló",unknownResourceSetValue:"Ismeretlen",availableHosts:"Elérhető kiszolgálók",excludedHosts:"Kizárt kiszolgálók",noHostsAvailable:"Nincs elérhető kiszolgáló.",availableHostsDescription:"Ezzel az erőforrás készlettel létrehozott VPS-ek a következő kiszolgálókon tudnak futni.",maxCpus:"Maximum CPU",maxRam:"Maximum RAM (GiB)",maxDiskSpace:"Maximum tárhely méret",ipPool:"IP pool",quantity:"Mennyiség",noResourceSetLimits:"Nincs limit.",totalResource:"Összesen:",remainingResource:"Marad:",usedResource:"Felhasznált:",resourceSetNew:"Új",importVmsList:"Húzza ide a VPS fájlokat, vagy kattintson a VPS választásra a feltöltésre. Csak .xva/.ova fájlok támogatottak.",noSelectedVms:"Nincs kiválasztott VPS.",vmImportToPool:"Pool-ra:",vmImportToSr:"Adattárolóra:",vmsToImport:"Importálandó VPS-el",importVmsCleanList:"Visszaállít",vmImportSuccess:"VPS importálása sikeres",vmImportFailed:"VPS importálása nem sikerült",startVmImport:"Importálás indul…",startVmExport:"Exportálás indul…",nCpus:"N CPUs",vmMemory:"Memória",diskInfo:"Diszk {position} ({capacity})",diskDescription:"Diszk leírása",noDisks:"Nincsenek Diszkek.",noNetworks:"Nincsenek Hálózatok.",networkInfo:"Hálózat {name}",noVmImportErrorDescription:"Nincs elérhető leírás",vmImportError:"Hiba:",vmImportFileType:"{type} fájl:",vmImportConfigAlert:"Kérjük ellenőrizze és vagy módosítsa a VPS beállítást.",noTasks:"Nincsenek függő feladatok",xsTasks:"Jelenleg nincsenek függő XenServer feladatok",backupSchedules:"Időzítések",getRemote:"Távoli Mentés Beállítása",listRemote:"Távoli Mentés Listázása",simpleBackup:"simple",delta:"delta",restoreBackups:"Adatmentések Visszaállítása",restoreBackupsInfo:"Kattintson egy VPS-re a visszaállítási lehetőségek megtekintéséhez",remoteEnabled:"Bekapcsolva",remoteError:"Hiba",noBackup:"Nincs elérhető adatmentés",backupVmNameColumn:"VPS Név",backupTags:"Cimkék",lastBackupColumn:"Legutolsó Mentés",availableBackupsColumn:"Elérhető Mentések",backupRestoreErrorTitle:"Hiányzó paraméterek",backupRestoreErrorMessage:"Válasszon egy Adattárolót és egy Mentést",displayBackup:"Mentések megjelenítése",importBackupTitle:"VPS Importálás",importBackupMessage:"Mentés importálásának indítása",vmsToBackup:"Mentendő VPS-ek",listRemoteBackups:"Távoli adatmentések listázása",restoreFiles:"Adatmentési fájlok visszaállítása",restoreFilesError:"Érévnytelen beállítás",restoreFilesFromBackup:"Fájl visszaállítás innen: {name}",restoreFilesSelectBackup:"Válasszon adatmentést…",restoreFilesSelectDisk:"Válasszon diszket…",restoreFilesSelectPartition:"Válasszon egy partíciót…",restoreFilesSelectFolderPath:"Mappa útvonal",restoreFilesSelectFiles:"Válasszon egy fájlt…",restoreFileContentNotFound:"Tartalom nem található",restoreFilesNoFilesSelected:"Nincsenek kiválasztott fájlok",restoreFilesSelectedFiles:"kiválasztott fájlok ({files}):",restoreFilesDiskError:"Hiba a diszk szkennelése közben",restoreFilesSelectAllFiles:"A mappa összes fájljainak kiválasztása",restoreFilesUnselectAll:"Fájlok kijelölésének törlése",emergencyShutdownHostsModalTitle:"Vészhelyzet Kiszolgáló Lekapcsolás",emergencyShutdownHostsModalMessage:"Biztos benne, hogy lekapcsolja ezeket a kiszolgálókat?",stopHostModalTitle:"Kiszolgáló Leállítása",stopHostModalMessage:"Ezzel le fogja kapcsolni a Kiszolgálót. Biztos benne? Amennyiben ez a pool master a kapcsolatot el fogja veszíteni!",addHostModalTitle:"Kiszolgáló Hozzáadása",addHostModalMessage:"Biztos benne, hogy hozzádja a(z) {Host} kiszolgálót a következő poolhoz: {pool}?",restartHostModalTitle:"Kiszolgáló Újraindítása",restartHostModalMessage:"Ez újra fogja indítani a Kiszolgálót. Biztosan folytatja?",restartHostsAgentsModalTitle:"Kiszolgáló(k) Újraindítása",restartHostsAgentsModalMessage:"Biztos benne, hogy újraindítja?",restartHostsModalTitle:"Kiszolgáló(k) Újraindítása",restartHostsModalMessage:"Biztos benne, hogy újraindítja?",startVmsModalTitle:"VPS Elindítása",startVmsModalMessage:"Biztos benne, hogy elindítja?",stopHostsModalTitle:"Kiszolgáló Leállítása",stopHostsModalMessage:"Biztos benne, hogy leállítja? Ha ez a master, a kapcsolat elveszhet!",stopVmsModalTitle:"VPS Leállítás",stopVmsModalMessage:"Biztos benne, hogy leállítja?",restartVmModalTitle:"VPS Újraindítása",restartVmModalMessage:"Biztos benne, hogy újraindítja: {name}-t?",stopVmModalTitle:"VPS Leállítás",stopVmModalMessage:"Biztos benne, hogy to leállítja: {name}-t?",restartVmsModalTitle:"VPS Újraindítás",restartVmsModalMessage:"Biztos benne, hogy újraindítja?",snapshotVmsModalTitle:"VPS Pillanatképek",snapshotVmsModalMessage:"Biztos benne, hogy készít Pillanatképet a VPS-ről?",deleteVmsModalTitle:"VPS Törlés",deleteVmsModalMessage:"Biztos benne, hogy törli a VPS-t? ÖSSZES VPS DISZK ELTÁVOLÍTÁSRA KERÜL!",deleteVmModalTitle:"VPS Törlés",deleteVmModalMessage:"Biztos benne, hogy törli a VPS-t? ÖSSZES VPS DISZK ELTÁVOLÍTÁSRA KERÜL!",migrateVmModalTitle:"VPS Migrálása",migrateVmSelectHost:"Válasszon cél Kiszolgálót:",migrateVmSelectMigrationNetwork:"Válasszon egy migrációs hálózatot:",migrateVmSelectSrs:"Minden VDI számára: válasszon egy Adattárolót:",migrateVmSelectNetworks:"Minden VIF számára, válasszon egy Hálózatot:",migrateVmsSelectSr:"Válasszon cél Adattárolót:",migrateVmsSelectSrIntraPool:"Válasszon egy cél Adattárolót a helyi diszkek számára:",migrateVmsSelectNetwork:"Válasszon egy Hálózatot amelyekhez csatlakoztasson minden VIF-et:",migrateVmsSmartMapping:"Okos feltérképezés",migrateVmName:"Név",migrateVmSr:"Adattároló",migrateVmVif:"VIF",migrateVmNetwork:"Hálózat",migrateVmNoTargetHost:"Nincs cél Kiszolgáló",migrateVmNoTargetHostMessage:"Egy cél Kiszolgáló szükséges a VPS migráláshoz!",deleteVdiModalTitle:"VDI Törlése",deleteVdiModalMessage:"Biztos benne, hogy törli a VPS diszkjét? ÖSSZES ADAT ELTÁVOLÍTÁSRA KERÜL!",revertVmModalTitle:"VPS Visszaállítása",deleteSnapshotModalTitle:"Pillanatkép Törlése",deleteSnapshotModalMessage:"Biztos benne, hogy törli a kiválasztott Pillanatképet?",revertVmModalMessage:"Biztos benne, hogy visszaállítja a VPS-t a kiválasztott Pillanatkép állapotra? A folyamat visszafordíthatatlan és minden adat elveszik ami a Pillanatkép készítése óta keletkezett!",revertVmModalSnapshotBefore:"Pillanatkép ezelőtt",importBackupModalTitle:"{name} Mentés Importálása",importBackupModalStart:"Visszaállítás után a VPS elindítása",importBackupModalSelectBackup:"Válasszon mentést…",removeAllOrphanedModalWarning:"Biztos benne, hogy Eltávolítja az összes árvány hagyott Pillanatkép VDI-t?",removeAllLogsModalTitle:"Összes Log Eltávolítása",removeAllLogsModalWarning:"Biztos benne, hogy Eltávolítja az összes Logot?",definitiveMessageModal:"Ez a művelet végleges.",existingSrModalTitle:"Előző Adattároló használata",existingSrModalText:"This path has been previously used as a Storage by a XenServer Host. All data will be lost if you choose to continue the Storage Creation.",existingLunModalTitle:"Előző LUN használat",existingLunModalText:"This LUN has been previously used as a Storage by a XenServer Host. All data will be lost if you choose to continue the Storage Creation.",alreadyRegisteredModal:"Replace current registration?",alreadyRegisteredModalText:"Your XO appliance is already registered to {email}, do you want to Elfelejt and replace this registration ?",trialReadyModal:"Ready for trial?",trialReadyModalText:"During the trial period, XOA need to have a working internet Ceonnection This limitation does not apply for our paid plans!",serverHost:"Kiszolgáló",serverUsername:"Felhasználónév",serverPassword:"Jelszó",serverAction:"Művelet",serverReadOnly:"Csak Olvasható",serverDisconnect:"Szerver Lecsatlakozás",serverPlaceHolderUser:"felhasználónév",serverPlaceHolderPassword:"jelszó",serverPlaceHolderAddress:"address[:port]",serverConnect:"Csatlakozás",serverError:"Hiba",serverAddFailed:"Szerver Hozzáadása Sikertelen",serverStatus:"Állapot",serverConnectionFailed:"Csatlakozás Sikertelen",serverConnecting:"Csatlakozás...",serverConnected:"Kapcsolódva",serverDisconnected:"Lekapcsolódva",serverAuthFailed:"Bejelentkezési hiba",serverUnknownError:"Ismeretlen hiba",copyVm:"VPS Másolás",copyVmConfirm:"Biztos benne, hogy a VPS-t a következő Adattárolóra másolja? {Storage}?",copyVmName:"Név",copyVmNamePattern:"Név minta",copyVmNamePlaceholder:"Ha üres: a másolt VPS neve",copyVmNamePatternPlaceholder:'pl.: "\\{name\\}_Masolat"',copyVmSelectSr:"Válasszon Adattárolót",copyVmCompress:"Tömörítés használata",copyVmsNoTargetSr:"Nincs cél Adattároló",copyVmsNoTargetSrMessage:"Egy cél Adattároló szükséges a VPS másolásához",detachHostModalTitle:"Detach Host",detachHostModalMessage:"Biztos benne?? THIS WILL REMOVE ALL VMs ON ITS LOCAL STORAGE AND RESTART THE HOST.",detachHost:"Detach",newNetworkCreate:"Hálózat Létrehozása",newBondedNetworkCreate:"Bond Hálózat Létrehozás",newNetworkInterface:"Interfész",newNetworkName:"Név",newNetworkDescription:"Leírás",newNetworkVlan:"VLAN",newNetworkDefaultVlan:"Nincs VLAN ha üres",newNetworkMtu:"MTU",newNetworkDefaultMtu:"Alapértelmezett: 1500",newNetworkNoNameErrorTitle:"Név szükséges",newNetworkNoNameErrorMessage:"Egy név szükséges a Hálózat létrehozásához",newNetworkBondMode:"Bond üzem",deleteNetwork:"Hálózat Törlése",deleteNetworkConfirm:"Biztos benne, hogy törli a Hálózatot?",networkInUse:"Ez a Hálózat jelenleg használatban van",pillBonded:"Bonded",addHostSelectHost:"Kiszolgáló",addHostNoHost:"Nincs Kiszolgáló",addHostNoHostMessage:"Nincs Kiszolgáló kiválasztva amihez hozzá lehetne adni",xenOrchestra:"CLOUDXO",xenOrchestraServer:"Cloudxo szerver",xenOrchestraWeb:"Cloudxo web kliens",noProSupport:"Nincsen pro-szupport!",noProductionUse:"Use in production at your own risks",downloadXoaFromWebsite:"You can download our turnkey appliance at {website}",bugTracker:"Bug Tracker",bugTrackerText:"Issues? Report it!",community:"Community",communityText:"Join our community forum!",freeTrial:"Free Trial for Premium Edition!",freeTrialNow:"Request your trial now!",issues:"Any issue?",issuesText:"Problem? Contact us!",documentation:"Documentation",documentationText:"Read our official doc",proSupportIncluded:"Pro support included",xoAccount:"Access your XO Account",openTicket:"Report a problem",openTicketText:"Problem? Open a ticket!",upgradeNeeded:"Upgrade needed",upgradeNow:"Upgrade now!",or:"Or",tryIt:"Try it for free!",availableIn:"This feature is available Starting from {plan} Edition",notAvailable:"This feature is not available in your Version, contact your administrator to know more.",updateTitle:"UpDates",registration:"Registration",trial:"Trial",settings:"Beállítások",proxySettings:"Proxy settings",proxySettingsHostPlaceHolder:"Kiszolgáló (myproxy.example.org)",proxySettingsPortPlaceHolder:"Port (eg: 3128)",proxySettingsUsernamePlaceHolder:"Felhasználónév",proxySettingsPasswordPlaceHolder:"Jelszó",updateRegistrationEmailPlaceHolder:"Your email account",updateRegistrationPasswordPlaceHolder:"Your jelszó",update:"UpDates",refresh:"Refresh",upgrade:"Upgrade",noUpdaterCommunity:"No upDate available for Community Edition",considerSubscribe:"Please consider subscribe and try it with all features for free during 15 days on {link}.",noUpdaterWarning:"Manual upDate could break your current installation due to dependencies issues, do it with caution",currentVersion:"Jelenlegi Verzió:",register:"Register",editRegistration:"Szerkesztés registration",trialRegistration:"Please, take time to register in order to enjoy your trial.",trialStartButton:"Elindít trial",trialAvailableUntil:"You can use a trial Verzió until {date, Dátum, medium}. Upgrade your appliance to get it.",trialConsumed:"Your trial has been ended. Contact us or downgrade to Free Verzió",trialLocked:"Your xoa-upDátumr service appears to be down. Your XOA cannot run fully without reaching this service.",noUpdateInfo:"No upDátum information available",waitingUpdateInfo:"UpDátum information may be available",upToDate:"Your XOA is up-to-Dátum",mustUpgrade:"You need to upDate your XOA (new Verzió is available)",registerNeeded:"Your XOA is not registered for upDates",updaterError:"Can't fetch upDátum information",promptUpgradeReloadTitle:"Upgrade successful",promptUpgradeReloadMessage:"Your XOA has successfully upgraded, and your browser must reload the application. Do you want to reload now ?",disclaimerTitle:"Xen Orchestra from the sources",disclaimerText1:"You are using XO from the sources! That's great for a personal/non-profit használat.",disclaimerText2:"If you are a company, it's better to use it with our appliance + pro support included:",disclaimerText3:"This Verzió is not bundled with any support nor upDates. Use it with caution for critical tasks.",connectPif:"Csatlakozás PIF",connectPifConfirm:"Biztos benne, hogyi to Csatlakozás this PIF?",disconnectPif:"Lecsatlakozás PIF",disconnectPifConfirm:"Biztos benne, hogyi to Lecsatlakozás this PIF?",deletePif:"Törlés PIF",deletePifConfirm:"Biztos benne, hogyi to delete this PIF?",username:"Felhasználónév",password:"Jelszó",language:"Nyelv",oldPasswordPlaceholder:"Régi jelszó",newPasswordPlaceholder:"Új jelszó",confirmPasswordPlaceholder:"Új Jelszó Megerősítése",confirmationPasswordError:"Megerősítő jelszó helytelen",confirmationPasswordErrorBody:"A megadott jelszavak nem egyeznek.",pwdChangeSuccess:"Jelszó megváltoztatva",pwdChangeSuccessBody:"A jelszó sikeresen megváltoztatva.",pwdChangeError:"Helytelen jelszó",pwdChangeErrorBody:"A megadott régi jelszó helytelen, így a jelszó NEM lett megváltoztatva!",changePasswordOk:"OK",sshKeys:"SSH kulcsok",newSshKey:"Új SSH kulcs",deleteSshKey:"Törlés",noSshKeys:"Nincsenek SSH kulcsok",newSshKeyModalTitle:"Új SSH kulcs",sshKeyErrorTitle:"Helytelen kulcs",sshKeyErrorMessage:"Az SSH kulcshoz szükség van egy címre és egy kulcsra.",title:"Cím",key:"kulcs",deleteSshKeyConfirm:"SSH kulcs törlése",deleteSshKeyConfirmMessage:"Biztos benne, hogy törli a(z) {title} SSH kulcsot?",others:"Egyebek",loadingLogs:"Logok betöltése…",logUser:"Felhasználó",logMethod:"Módszer",logParams:"Paraméterek",logMessage:"Üzenet",logError:"Hiba",logDisplayDetails:"Részletek megjelenítése",logTime:"Dátum",logNoStackTrace:"No stack trace",logNoParams:"No params",logDelete:"Log Törlése",logDeleteAll:"Összes Log Törlése",logDeleteAllTitle:"Összes Log Törlése",logDeleteAllMessage:"Biztos benne, hogy törli az összes Logot?",logIndicationToEnable:void 0,logIndicationToDisable:void 0,reportBug:"Hibabejelentés",ipPoolName:"Név",ipPoolIps:"IP címek",ipPoolIpsPlaceholder:"IP címek (e.g.: 1.0.0.12-1.0.0.17;1.0.0.23)",ipPoolNetworks:"Hálózatok",ipsNoIpPool:"No IP pools",ipsCreate:"Létrehozás",ipsDeleteAllTitle:"Delet all IP pools",ipsDeleteAllMessage:"Are you sure you want to delete all the IP pools?",ipsVifs:"VIFs",ipsNotUsed:"Not used",ipPoolUnknownVif:"ismeretlen VIF",shortcutModalTitle:"Billentyűzet kiosztások",shortcut_XoApp:"Globális",shortcut_GO_TO_HOSTS:"Menjen a Kiszolgálók listájához",shortcut_GO_TO_POOLS:"Go to pools list",shortcut_GO_TO_VMS:"Go to VMs list",shortcut_GO_TO_SRS:"Go to Storage list",shortcut_CREATE_VM:"Új VPS Létrehozása",shortcut_UNFOCUS:"Unfocus field",shortcut_HELP:"Show shortcuts key bindings",shortcut_Home:"Kezdőlap",shortcut_SEARCH:"Focus keresősáv",shortcut_NAV_DOWN:"Következő",shortcut_NAV_UP:"Előző",shortcut_SELECT:"Válasszon",shortcut_JUMP_INTO:"Megnyitás",settingsAclsButtonTooltipVM:"VMPS",settingsAclsButtonTooltiphost:"Kiszolgáló",settingsAclsButtonTooltippool:"Pool",settingsAclsButtonTooltipSR:"Adattároló",settingsAclsButtonTooltipnetwork:"Hálózat",noConfigFile:"Nincs kiválasztott konfigurációs fájl",importTip:"Try dropping a config file here, or click to choose a config file to upload.",config:"Konfiguráció",importConfig:"Importálás",importConfigSuccess:"Config file successfully imported",importConfigError:"Hiba while importing config file",exportConfig:"Export",downloadConfig:"Download current config",noConfigImportCommunity:"No config import available for Community Szerkesztésion",srReconnectAllModalTitle:"Reconnect all hosts",srReconnectAllModalMessage:"This will reconnecting this Storage to all its hosts.",srsReconnectAllModalMessage:"This will reconnecz each kiválasztott SR to its Kiszolgáló (local SR) or to every kiszolgálók of its pool (Megosztva Adattároló).",srDisconnectAllModalTitle:"Lecsatlakozás all kiszolgálók",srDisconnectAllModalMessage:"This will Lecsatlakozás this Adattároló from all its kiszolgálók.",srsDisconnectAllModalMessage:"This will Lecsatlakozás each kiválasztott SR from its Kiszolgáló (local SR) or from every kiszolgálók of its pool (Megosztva Adattároló).",srForgetModalTitle:"Elfelejt Adattároló",srsForgetModalTitle:"Elfelejt kiválasztott Adattárolók",srForgetModalMessage:"Biztos benne, hogyi to Elfelejt this Adattároló? VDIs on this storage won't be Eltávolításd.",srsForgetModalMessage:"Biztos benne, hogyi to Elfelejt all the kiválasztott Adattárolók? VDIs on these storages won't be Eltávolításd.",srAllDisconnected:"Lekapcsolódva",srSomeConnected:"Partially Kapcsolódva",srAllConnected:"Kapcsolódva",xosanTitle:void 0,xosanSrTitle:void 0,xosanAvailableSrsTitle:void 0,xosanSuggestions:void 0,xosanName:void 0,xosanHost:void 0,xosanHosts:void 0,xosanVolumeId:void 0,xosanSize:void 0,xosanUsedSpace:void 0,xosanNeedPack:void 0,xosanInstallIt:void 0,xosanInstallPackTitle:void 0,xosanSelect2Srs:void 0,xosanLayout:void 0,xosanRedundancy:void 0,xosanCapacity:void 0,xosanAvailableSpace:void 0,xosanDiskLossLegend:void 0,xosanCreate:void 0,xosanInstalling:void 0,xosanBadVersion:void 0,xosanCommunity:void 0,xosanInstallCloudPlugin:void 0,xosanLoadCloudPlugin:void 0,xosanLoading:void 0,xosanNotAvailable:void 0,xosanRegisterBeta:void 0,xosanSuccessfullyRegistered:void 0,xosanInstallPackOnHosts:void 0,xosanInstallPack:void 0}},{"moment/locale/hu":806,"react-intl":1103,"react-intl/locale-data/hu":1107}],1441:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.zh=n.pt=n.pl=n.hu=n.he=n.fr=n.es=void 0;var a=e("babel-runtime/core-js/object/create"),i=o(a),s=e("./es"),l=r(s),u=e("./fr"),c=r(u),d=e("./he"),f=r(d),p=e("./hu"),h=r(p),m=e("./pl"),v=r(m),b=e("./pt"),g=r(b),y=e("./zh"),_=r(y),M={};M.es={enumerable:!0,get:function(){return l.default}},n.es=l,M.fr={enumerable:!0,get:function(){return c.default}},n.fr=c,M.he={enumerable:!0,get:function(){return f.default}},n.he=f,M.hu={enumerable:!0,get:function(){return h.default}},n.hu=h,M.pl={enumerable:!0,get:function(){return v.default}},n.pl=v,M.pt={enumerable:!0,get:function(){return g.default}},n.pt=g,M.zh={enumerable:!0,get:function(){return _.default}},n.zh=_,n.default=(0,i.default)(null,M)},{"./es":1437,"./fr":1438,"./he":1439,"./hu":1440,"./pl":1442,"./pt":1443,"./zh":1444,"babel-runtime/core-js/object/create":10}],1442:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),e("moment/locale/pl");var o=e("react-intl/locale-data/pl"),a=r(o),i=e("react-intl");(0,i.addLocaleData)(a.default),n.default={statusConnecting:"Trwa łączenie…",statusDisconnected:"Rozłączono",statusLoading:"Ładowanie…",errorPageNotFound:"Nie znaleziono strony",errorNoSuchItem:"nie ma takiego elementu",editableLongClickPlaceholder:"Przytrzymaj żeby edytować",editableClickPlaceholder:"Kliknij żeby edytować",alertOk:"OK",confirmOk:"OK",confirmCancel:"Anuluj",onError:"Błąd",successful:"Ukończone",copyToClipboard:"Kopiuj do schowka",pillMaster:"Master",homePage:"Start",homeVmPage:"VMs",homeHostPage:"Hosty",homePoolPage:"Pule",homeTemplatePage:"Szablony",dashboardPage:"Dashboard",overviewDashboardPage:"Podgląd",overviewVisualizationDashboardPage:"Wizualizacje",overviewStatsDashboardPage:"Statystyki",overviewHealthDashboardPage:"Stan serwera",selfServicePage:"Samoobsługa",backupPage:"Backup",jobsPage:"Zadania",updatePage:"Aktualizacje",settingsPage:"Settings",settingsServersPage:"Serwery",settingsUsersPage:"Użytkownicy",settingsGroupsPage:"Grupy",settingsAclsPage:"ACLs",settingsPluginsPage:"Dodatki",settingsLogsPage:"Logi",settingsIpsPage:"IPs",aboutPage:"O oprogramowaniu",aboutXoaPlan:"O {xoaPlan}",newMenu:"Nowy",taskMenu:"Zadania",taskPage:"Zadania",newVmPage:"VM",newSrPage:"Przestrzeń dyskowa",newServerPage:"Serwer",newImport:"Importuj",backupOverviewPage:"Podgląd",backupNewPage:"Nowy",backupRemotesPage:"Zdalne",backupRestorePage:"Odtwórz",schedule:"Harmonogram",newVmBackup:"Nowy backup VM",editVmBackup:"Edytuj backup VM",backup:"Backup",rollingSnapshot:"Rolling Snapshot",deltaBackup:"Delta Backup",disasterRecovery:"Odzyskiwanie po awarii",continuousReplication:"Continous Replication",jobsOverviewPage:"Podgląd",jobsNewPage:"Nowe",jobsSchedulingPage:"Planowanie",customJob:"Zadania niestandardowe",userPage:"Użytkownik",noSupport:"Brak wsparcia",freeUpgrade:"Darmowa aktualizacja!",signOut:"Wyloguj",editUserProfile:"Edytuj moje ustawienia {username}",homeFetchingData:"Fetching data…",homeWelcome:"Witaj w Xen Orchestra!",homeWelcomeText:"Dodaj serwery XenServer lub pule",homeHelp:"Potrzebujesz pomocy?",homeAddServer:"Dodaj serwer",homeOnlineDoc:"Online Doc",homeProSupport:"Profesjonalne wsparcie",homeNoVms:"Nie masz żadnych VMs!",homeNoVmsOr:"Lub…",homeImportVm:"Importuj VM",homeImportVmMessage:"Importuj istniejącą VM w formacie xva",homeRestoreBackup:"Przywróć kopię zapasową",homeRestoreBackupMessage:"Przywróć kopię zapasową z innego miejsca",homeNewVmMessage:"Kliknij w ikonę żeby utworzyć VM",homeFilters:"Filtry",homeNoMatches:"Brak wyników! Kliknij tutaj żeby usunąć filtry",homeTypePool:"Pula",homeTypeHost:"Host",homeTypeVm:"VM",homeTypeSr:"SR",homeTypeVmTemplate:"Szablon",homeSort:"Sortuj",homeAllPools:"Pule",homeAllHosts:"Hosty",homeAllTags:"Tagi",homeNewVm:"Nowa VM",homeFilterRunningHosts:"Działające hosty",homeFilterDisabledHosts:"Wyłączone hosty",homeFilterRunningVms:"Działające VMs",homeFilterNonRunningVms:"Niedziałające VMs",homeFilterPendingVms:"Oczekujące VMs",homeFilterHvmGuests:"Gość HVM",homeFilterTags:"Tagi",homeSortBy:"Sortuj po",homeSortByName:"Nazwa",homeSortByPowerstate:"Stan zasilania",homeSortByRAM:"RAM",homeSortByvCPUs:"vCPUs",homeSortByCpus:"CPUs",homeDisplayedItems:"{displayed, number}x {icon} (w {total, number})",homeSelectedItems:"{selected, number}x {icon} wybrane {selected, plural, one {} other {s}} (w {total, number})",homeMore:"Więcej",homeMigrateTo:"Migruj do…",homeMissingPaths:"Brakujące łatki",homePoolMaster:"Master:",highAvailability:"Wysoka dostępność",add:"Dodaj",remove:"Usuń",preview:"Podgląd",item:"Obiekt",noSelectedValue:"Nie wybrano wartości ",selectSubjects:"Wybierz użytkownika/użytkowników i/lub grupę/grupy",selectObjects:"Wybierz obiekt/obiekty…",selectRole:"Wybierz rolę",selectHosts:"Wybierz Host/Hosty…",selectHostsVms:"Wybierz obiekt/obiekty",selectNetworks:"Wybierz sieć/sieci…",selectPifs:"Wybierz PIF(s)…",selectPools:"Wybierz pulę/pule…",selectRemotes:"Select Remote(s)…",selectResourceSets:"Wybierz pulę zasobów…",selectResourceSetsVmTemplate:"Wybierz szablon/szablony…",selectResourceSetsSr:"Wybierz pulę dyskową",selectResourceSetsNetwork:"Wybierz sieć/sieci",selectResourceSetsVdi:"Wybierz dysk/dyski…",selectSshKey:"Wybierz klucz/klucze SSH…",selectSrs:"Wybierz SR(s)…",selectVms:"Wybierz VM(s)…",selectVmTemplates:"Wybierz szablon/szablony VM…",selectTags:"Wybierz tag(i)…",selectVdis:"Wybierz dysk/dyski…",selectTimezone:"Wybierz strefę czasową…",selectIp:"Wybierz IP(s)…",selectIpPool:"Wybierz pulę/pule IP",fillRequiredInformations:"Wypełnij brakujące informacje.",fillOptionalInformations:"Wypełnij informacje (opcjonalnie)",
|
71 | selectTableReset:"Reset",schedulingMonth:"Miesiąc",schedulingEachSelectedMonth:"Każdy wybrany miesiąc",schedulingMonthDay:"Dzień z miesiąca",schedulingEachSelectedMonthDay:"Każdy wybrany dzień",schedulingWeekDay:"Dzień z tygodnia",schedulingEachSelectedWeekDay:"Każdy wybrany dzień",schedulingHour:"Godzina",schedulingEveryNHour:"Każda N godzina",schedulingEachSelectedHour:"Każda wybrana godzina",schedulingMinute:"Minuta",schedulingEveryNMinute:"Każda N minuta",schedulingEachSelectedMinute:"Każda wybrana minuta",schedulingReset:"Reset",unknownSchedule:"Nieznany",timezonePickerServerValue:"Strefa czasowa Xo-server:",timezonePickerUseLocalTime:"Strefa czasowa przeglądarki internetowej",timezonePickerUseServerTime:"Strefa czasowa Xo-server",serverTimezoneOption:"Strefa czasowa serwera({value})",cronPattern:"Cron Pattern :",backupEditNotFoundTitle:"Nie można edytować kopii zapasowej",backupEditNotFoundMessage:"Brakuje wymaganych informacji do edycji",job:"Job",jobId:"Job ID",jobName:"Nazwa",jobNamePlaceholder:'Name of your job (forbidden: "_")',jobStart:"Start",jobEnd:"Koniec",jobDuration:"Duration",jobStatus:"Status",jobAction:"Akcja",jobTag:"Tag",jobScheduling:"Planowanie",jobState:"Stan",jobTimezone:"Strefa czasowa",jobServerTimezone:"xo-server",runJob:"Uruchomione zadanie",runJobVerbose:"One shot running started. See overview for logs.",jobStarted:"Uruchomiono",jobFinished:"Zakończono",saveBackupJob:"Zapisz",deleteBackupSchedule:"Usuń zadanie kopii zapasowej",deleteBackupScheduleQuestion:"Jesteś pewny że chcesz usunąć zadanie kopii zapasowej?",scheduleEnableAfterCreation:"Enable immediately after creation",scheduleEditMessage:"Edytujesz harmonogram{name} ({id}). Zapisanie zastąpi poprzedni stan harmonogramu",jobEditMessage:"Edytujesz zadanie {name} ({id}). Zapisanie zastąpi poprzednie zadanie",noScheduledJobs:"Brak zaplanowanych zadań",noJobs:"Brak zadań",noSchedules:"Brak harmonogramów",jobActionPlaceHolder:"Wybierz polecenie API dla xo-server",jobSchedules:"Harmonogramy",jobScheduleNamePlaceHolder:"Nazwa twojego harmonogramu",jobScheduleJobPlaceHolder:"Wybierz zadanie",newBackupSelection:"Wybierz typ kopii zapasowej :",smartBackupModeSelection:"Wybierz tryb kopii zapasowej :",normalBackup:"Normalna kopia zapasowa",smartBackup:"Inteligentna kopia zapsowa",localRemoteWarningTitle:"Local remote selected",localRemoteWarningMessage:"Warning: local remotes will use limited XOA disk space. Only for advanced users.",editBackupVmsTitle:"VMs",editBackupSmartStatusTitle:"Statusy VMs",editBackupSmartResidentOn:"Resident on",editBackupSmartTagsTitle:"Tagi VMs",editBackupTagTitle:"Tag",editBackupReportTitle:"Raport",editBackupReportEnable:"Uruchom natychamiast po utworzeniu",editBackupDepthTitle:"Depth",editBackupRemoteTitle:"Zdalny",remoteList:"Zdalne przechowywanie kopii zapasowej",newRemote:"Nowy zdalny system plików",remoteTypeLocal:"Lokalny",remoteTypeNfs:"NFS",remoteTypeSmb:"SMB",remoteType:"Typ",remoteTestTip:"Przetestuj swoje zdalne połączenie",testRemote:"Test Remote",remoteTestFailure:"Test zakończony niepowodzeniem dla {name}",remoteTestSuccess:"Test zakończony sukcesem {name}",remoteTestError:"Błąd",remoteTestStep:"Test Step",remoteTestFile:"Testowy plik",remoteTestSuccessMessage:"The remote appears to work correctly",remoteName:"Name",remotePath:"Scieżka",remoteState:"Stan",remoteDevice:"Urządzenie",remoteShare:"Udostępnij",remoteAuth:"Auth",remoteMounted:"Zamontowane",remoteUnmounted:"Odmontowane",remoteConnectTip:"Połącz",remoteDisconnectTip:"Rozłącz",remoteDeleteTip:"Usuń",remoteNamePlaceHolder:"Nazwa zdalna*",remoteMyNamePlaceHolder:"Nazwa *",remoteLocalPlaceHolderPath:"/ścieżka/do/kopii/zapasowej",remoteNfsPlaceHolderHost:"Host *",remoteNfsPlaceHolderPath:"/ścieżka/do/kopii/zapasowej",remoteSmbPlaceHolderRemotePath:"podfolder [ścieżka\\do\\kopii\\zapasowej]",remoteSmbPlaceHolderUsername:"Nazwa użytkownika",remoteSmbPlaceHolderPassword:"Hasło",remoteSmbPlaceHolderDomain:"Domena",remoteSmbPlaceHolderAddressShare:"<adres>\\<udział> *",remotePlaceHolderPassword:"Hasło (wypełnij)",newSrTitle:"Stwórz nowy SR",newSrGeneral:"General",newSrTypeSelection:"Wybierz typ puli dyskowej:",newSrSettings:"Ustawienia",newSrUsage:"Użycie dysków",newSrSummary:"Podsumowanie",newSrHost:"Host",newSrType:"Typ",newSrName:"Nazwa",newSrDescription:"Opis",newSrServer:"Serwer",newSrPath:"Ścieżka",newSrIqn:"IQN",newSrLun:"LUN",newSrAuth:"z autoryzacją",newSrUsername:"Nazwa użytkownika",newSrPassword:"Hasło",newSrDevice:"Urządzenie",newSrInUse:"Używane",newSrSize:"Rozmiar",newSrCreate:"Utwórz",newSrNamePlaceHolder:"Nazwa puli dyskowej",newSrDescPlaceHolder:"Opis puli dyskowej",newSrAddressPlaceHolder:"Adres",newSrPortPlaceHolder:"[port]",newSrUsernamePlaceHolder:"Nazwa użytkownika",newSrPasswordPlaceHolder:"Hasło",newSrLvmDevicePlaceHolder:"Urządzenie, np. /dev/sda…",newSrLocalPathPlaceHolder:"/ścieżka/do/katalogu",subjectName:"Użytkownicy/Grupy",objectName:"Obiekt",aclNoneFound:"Nie znaleziono ACLs",roleName:"Rola",aclCreate:"Utwórz",newGroupName:"Nazwa nowej grupy",createGroup:"Utwórz grupę",createGroupButton:"Utwórz",deleteGroup:"Usuń grupę",deleteGroupConfirm:"Jesteś pewny że chcesz usunąć te grupę?",removeUserFromGroup:"Usuń użytkownika z grupy",deleteUserConfirm:"Jesteś pewny że chcesz usunąć tego użytkownika?",deleteUser:"Usuń użytkownika",noUser:"Brak użytkownika",unknownUser:"Nieznany użytkownik",noGroupFound:"Nie znaleziono grupy",groupNameColumn:"Nazwa",groupUsersColumn:"Użytkownicy",addUserToGroupColumn:"Dodaj użytkownika",userNameColumn:"Email",userPermissionColumn:"Uprawnienia",userPasswordColumn:"Hasło",userName:"Email",userPassword:"Hasło",createUserButton:"Utwórz",noUserFound:"Nie znaleziono użytkownika",userLabel:"Użytkownik",adminLabel:"Administrator",noUserInGroup:"Brak użytkownika w grupie",countUsers:"{users} użytkownik{users, plural, one {} other {s}}",selectPermission:"Wybierz uprawnienia",autoloadPlugin:"Ładuj automatycznie gdy serwer startuje",savePluginConfiguration:"Zapisz konfigurację",deletePluginConfiguration:"Usuń konfigurację",pluginError:"Błąd dodatku",unknownPluginError:"Nieznany błąd",purgePluginConfiguration:"Purge plugin configuration",purgePluginConfigurationQuestion:"Czy napewno chcesz usunąć te konfigurację",editPluginConfiguration:"Edytuj",cancelPluginEdition:"Anuluj",pluginConfigurationSuccess:"Konfiguracja dodatków",pluginConfigurationChanges:"Konfiguracja dodatków została zapisana !",pluginConfigurationPresetTitle:"Wstępnie zdefiniowana konfiguracja",pluginConfigurationChoosePreset:"Wybierz wstępnie zdefiniowaną konfigurację.",applyPluginPreset:"Akceptuj",saveNewUserFilterErrorTitle:"Zapisz błąd filtra",saveNewUserFilterErrorBody:"Zły parametr: nazwa musi byc nadana",filterName:"Nazwa:",filterValue:"Wartość :",saveNewFilterTitle:"Zapisz nowy filtr",setUserFiltersTitle:"Ustaw niestandardowe filtry",setUserFiltersBody:"Jesteś pewny że chcesz ustawić niestandardowe filtry?",removeUserFilterTitle:"Usuń niestandardowe filtry",removeUserFilterBody:"Jesteś pewny że chcesz usunąć niestandardowe filtry?",defaultFilter:"Filtr domyślny",defaultFilters:"Domyślne filtry",customFilters:"Filtry niestandardowe",customizeFilters:"Dostosuj filtry",saveCustomFilters:"Zapisz filtry niestandardowe",startVmLabel:"Start",recoveryModeLabel:"Rozpocznij odzyskiwanie",suspendVmLabel:"Uśpij",stopVmLabel:"Stop",forceShutdownVmLabel:"Brtualne wyłączenie",rebootVmLabel:"Reboot",forceRebootVmLabel:"Brutalny reboot",deleteVmLabel:"Usuń",migrateVmLabel:"Migruj",snapshotVmLabel:"Snapshot",exportVmLabel:"Eksportuj",resumeVmLabel:"Wzów",copyVmLabel:"Kopia",cloneVmLabel:"Klonuj",fastCloneVmLabel:"Szybki klon",convertVmToTemplateLabel:"Konwertuj do szablonu",vmConsoleLabel:"Konsola",srRescan:"Skanuj wszystkie dyski",srReconnectAll:"Połącz z wszystkimi hostami",srDisconnectAll:"Rozłącz z wszystkimi hostami",srForget:"Zapomnij te pulę dyskową",srRemoveButton:"Usuń te pulę dyskową",srNoVdis:"Brak VDIs na tej przestrzeni dyskowej",poolTitleRamUsage:"Użycie puli RAM:",poolRamUsage:"{used} używane w {total}",poolMaster:"Master :",hostsTabName:"Hosty",poolHaStatus:"Wysoka dostępność",poolHaEnabled:"Włączone",poolHaDisabled:"Wyłączone",hostNameLabel:"Nazwa",hostDescription:"Opis",hostMemory:"Pamieć",noHost:"Brak hostów",memoryLeftTooltip:"{used}% używane ({free} libre)",poolNetworkNameLabel:"Nazwa",poolNetworkDescription:"Opis",poolNetworkPif:"PIFs",poolNoNetwork:"Brak sieci",poolNetworkMTU:"MTU",poolNetworkPifAttached:"Połączone",poolNetworkPifDetached:"Rozłączone",showPifs:"Pokaż PIFs",hidePifs:"Ukryj PIFs",addSrLabel:"Dodaj przestrzeń dyskową",addVmLabel:"Dodaj VM",addHostLabel:"Dodaj hosta",disconnectServer:"Rozłącz",startHostLabel:"Start",stopHostLabel:"Stop",enableHostLabel:"Włącz",disableHostLabel:"Wyłącz",restartHostAgent:"Restart toolstack",forceRebootHostLabel:"Brutalny reboot",rebootHostLabel:"Reboot",rebootUpdateHostLabel:"Reboot żeby zastosować aktualizacje",emergencyModeLabel:"Tryb ratunku",storageTabName:"Przestrzeń dyskowa",patchesTabName:"Patches",statLoad:"Średni load :",hardwareHostSettingsLabel:"Sprzęt",hostAddress:"Adres",hostStatus:"Status",hostBuildNumber:"Build number",hostIscsiName:"Nazwa iSCSI",hostXenServerVersion:"Wersja",hostStatusEnabled:"Włącz",hostStatusDisabled:"Wyłącz",hostPowerOnMode:"Tryb włączenia",hostStartedSince:"Nieprzerwany czas działania hosta",hostStackStartedSince:"Toolstack uptime",hostCpusModel:"Model CPU",hostCpusNumber:"Core (socket)",hostManufacturerinfo:"Informacje o producencie",hostBiosinfo:"BIOS informacje",licenseHostSettingsLabel:"Licencja",hostLicenseType:"Typ",hostLicenseSocket:"Gniazdo",hostLicenseExpiry:"Wygasa",networkCreateButton:"Dodaj sieć",networkCreateBondedButton:"Dodaj bonding dla sieci",pifDeviceLabel:"Urządzenie",pifNetworkLabel:"Sieć",pifVlanLabel:"VLAN",pifAddressLabel:"Adres",pifModeLabel:"Tryb",pifMacLabel:"MAC",pifMtuLabel:"MTU",pifStatusLabel:"Status",pifStatusConnected:"Połączono",pifStatusDisconnected:"Rozłączono",pifNoInterface:"Brak fizycznych interfejsów",pifInUse:"Ten interfejs jest obecnie używany",defaultLockingMode:"Domyślny tryb blokowania",pifConfigureIp:void 0,configIpErrorTitle:void 0,configIpErrorMessage:void 0,staticIp:void 0,netmask:void 0,dns:void 0,gateway:void 0,addSrDeviceButton:"Dodaj przestrzeń dyskową",srNameLabel:"Nazwa",srType:"Typ",pbdStatus:"Status",pbdStatusConnected:"Połączone",pbdStatusDisconnected:"Rozłączone",pbdConnect:"Połącz",pbdDisconnect:"Rozłącz",pbdForget:"Zapomnij",srShared:"Udostępnione",srNotShared:"Nieudostępnione",pbdNoSr:"Nie wykryto macierzy dyskowej",patchNameLabel:"Nazwa",patchUpdateButton:"Instaluj wszystkie łatki",patchDescription:"Opis",patchApplied:"Applied date",patchSize:"Rozmiar",patchStatus:"Status",patchStatusApplied:"Applied",patchStatusNotApplied:"Brakujące łatki",patchNothing:"Nie wykryto łatek",patchReleaseDate:"Data wydania",patchGuidance:"Guidance",patchAction:"Akcja",hostAppliedPatches:"Łatki zostały zastosowane",hostMissingPatches:"Brakujące łatki",hostUpToDate:"Host posiada najnowsze łatki!",refreshPatches:"Odśwież łatki",installPoolPatches:"Instaluj pulę łatek",defaultSr:"Domyślny SR",setAsDefaultSr:"Ustaw domyślny SR",generalTabName:"General",statsTabName:"Statystyki",consoleTabName:"Konsola",containersTabName:"Kontener",snapshotsTabName:"Snapshoty",logsTabName:"Logi",advancedTabName:"Zaawansowane",networkTabName:"Sieć",disksTabName:"Dysk{disks, plural, one {} other {s}}",powerStateHalted:"Zatrzymany",powerStateRunning:"Działający",powerStateSuspended:"Uśpiony",vmStatus:"Nie wykryto Xen tools",vmName:"Nie zapisano IPv4",vmDescription:"Nie zapisano IP",vmSettings:"Uruchomiono {ago}",vmCurrentStatus:"Obecny status:",vmNotRunning:"Nie uruchomione",noToolsDetected:"Nie wykryto Xen tools",noIpv4Record:"Nie zapisano IPv4",noIpRecord:"Nie zapisano IP",started:"Uruchomiono {ago}",paraVirtualizedMode:"Parawirtualizacja (PV)",hardwareVirtualizedMode:"Wirtualizacja sprzętowa (HVM)",statsCpu:"Użycie CPU",statsMemory:"Użycie pamięci",statsNetwork:"Wydajność sieci",useStackedValuesOnStats:"Skumulowane wartości",statDisk:"Wydajność dysku",statLastTenMinutes:"Ostatnie 10 minut",statLastTwoHours:"Ostatnie 2 godziny",statLastWeek:"Ostatni tydzień",statLastYear:"Ostatni rok",copyToClipboardLabel:"Kopia",ctrlAltDelButtonLabel:"Ctrl+Alt+Del",tipLabel:"Wskazówka:",tipConsoleLabel:"non-US keyboard could have issues with console: switch your own layout to US.",hideHeaderTooltip:"Ukryj informacje",showHeaderTooltip:"Pokaż informacje",containerName:"Nazwa",containerCommand:"Komenda",containerCreated:"Data utworzenia",containerStatus:"Status",containerAction:"Akcja",noContainers:"Brak istniejących kontenerów",containerStop:"Wyłącz ten kontener",containerStart:"Uruchom ten kontener",containerPause:"Zatrzymaj ten kontener",containerResume:"Wznów ten kontener",containerRestart:"Uruchom ponownie ten kontener",vdiAction:"Akcja",vdiAttachDeviceButton:"Dołącz dysk",vbdCreateDeviceButton:"Nowy dysk",vdiBootOrder:"Kolejność bootowania",vdiNameLabel:"Nazwa",vdiNameDescription:"Opis",vdiTags:"Tagi",vdiSize:"Rozmiar",vdiSr:"SR",vdiVm:"VM",vdiMigrate:"Migruj VDI",vdiMigrateSelectSr:"Destination SR:",vdiMigrateAll:"Migruj wszystkie VDIs",vdiMigrateNoSr:"No SR",vdiMigrateNoSrMessage:"Docelowy SR jest wymagany żeby zmigrować VDI",vdiForget:"Zapomnij",vdiRemove:"Usuń VDI",vdbBootableStatus:"Boot flag",vdbStatus:"Status",vbdStatusConnected:"Połączono",vbdStatusDisconnected:"Rozłączono",vbdNoVbd:"Brak dysków",vbdConnect:"Połącz z VBD",vbdDisconnect:"Rozłącz z VBD",vdbBootable:"Bootable",vdbReadonly:"Tylko do odcztu",vdbCreate:"Utwórz",vdbNamePlaceHolder:"Nazwa dysku",vdbSizePlaceHolder:"Rozmiar",saveBootOption:"Zapisz",resetBootOption:"Reset",vifCreateDeviceButton:"Nowe urządzenie",vifNoInterface:"Brak interfejsu",vifDeviceLabel:"Urządzenie",vifMacLabel:"Adres MAC",vifMtuLabel:"MTU",vifNetworkLabel:"Sieć",vifStatusLabel:"Status",vifStatusConnected:"Połączono",vifStatusDisconnected:"Rozłączono",vifConnect:"Połącz",vifDisconnect:"Rozłącz",vifRemove:"Usuń",vifIpAddresses:"Adres IP",vifMacAutoGenerate:"Auto-generated if empty",vifAllowedIps:"Dopuszczone IPs",vifNoIps:"Brak IPs",vifLockedNetwork:"Sieć zablokowana",vifLockedNetworkNoIps:"Sieć zablokowana i żadne IPs nie są dopuszczone do tego interfejsu",vifUnLockedNetwork:"Sieć niezablokowana",vifUnknownNetwork:"Sieć nieznana",vifCreate:"Utwórz",noSnapshots:"Brak snapshotów",snapshotCreateButton:"Nowy snapshot",tipCreateSnapshotLabel:"Kliknij na guzik żeby stworzyć snapshota !",revertSnapshot:"Przywróć VM do tego snapshota",deleteSnapshot:"Usuń snapshot",copySnapshot:"Utwórz VM z tego snapshota",exportSnapshot:"Exportuj tego snapshota",snapshotDate:"Data utworzenia",snapshotName:"Nazwa",snapshotAction:"Akcja",logRemoveAll:"Usuń wszystkie logi",noLogs:"No logs so far",logDate:"Data utworzenia",logName:"Nazwa",logContent:"Zawartość",logAction:"Akcja",vmRemoveButton:"Usuń",vmConvertButton:"Konwertuj",xenSettingsLabel:"Ustawienia Xena",guestOsLabel:"Geust OS",miscLabel:"Misc",uuid:"UUID",virtualizationMode:"Tryb wirtualizacji",cpuWeightLabel:"CPU weight",defaultCpuWeight:"Domyślnie ({value, number})",cpuCapLabel:"CPU cap",defaultCpuCap:"Domyślny ({value, number})",pvArgsLabel:"PV args",xenToolsStatus:"Status Xen tools",xenToolsStatusValue:void 0,osName:"Nazwa systemu",osKernel:"Kernel systemu",autoPowerOn:"Autoamtyczne uruchamianie",ha:"HA",originalTemplate:"Oryginalny szablon",unknownOsName:"Nieznany",unknownOsKernel:"Nieznany",unknownOriginalTemplate:"Nieznany",vmLimitsLabel:"Limity VM",vmCpuLimitsLabel:"Limity CPU",vmMemoryLimitsLabel:"Limity pamięci (min/max)",vmMaxVcpus:"vCPUs max :",vmMaxRam:"Pamięć max :",vmHomeNamePlaceholder:"Long click to add a name",vmHomeDescriptionPlaceholder:"Long click to add a description",vmViewNamePlaceholder:"Click to add a name",vmViewDescriptionPlaceholder:"Kliknij żeby dodać opis",templateHomeNamePlaceholder:"Kliknij żeby dodać nazwę",templateHomeDescriptionPlaceholder:"Kliknij żeby dodać opis",templateDelete:"Usuń szablon",templateDeleteModalTitle:"Usuń szablon VM{templates, plural, one {} other {s}} de VMs",templateDeleteModalBody:"Jesteś pewien że chcesz usunąć?",poolPanel:"Pula{pools, plural, one {} other {s}}",hostPanel:"Host{hosts, plural, one {} other {s}}",vmPanel:"VM{vms, plural, one {} other {s}}",memoryStatePanel:"Użycie RAM",cpuStatePanel:"Użycie CPUs",vmStatePanel:"Stan zasilania VMs",taskStatePanel:"Oczekujące zadania",usersStatePanel:"Użytkownicy",srStatePanel:"Status przestrzeni dyskowej",ofUsage:"{usage} (sur {total})",noSrs:"No storage",srName:"Nazwa",srPool:"Pula",srHost:"Host",srFormat:"Typ",srSize:"Size",srUsage:"Usage",srUsed:"Used",srFree:"free",srUsageStatePanel:"Storage Usage",srTopUsageStatePanel:"Top 5 SRs (w %)",vmsStates:"{running} uruchomiona{halted, plural, one {} other {s}} ({halted} zatrzymana{halted, plural, one {} other {s}})",dashboardStatsButtonRemoveAll:"Clear selection",dashboardStatsButtonAddAllHost:"Dodaj wszystkie hosty",dashboardStatsButtonAddAllVM:"Dodaj wszystkie VMs",weekHeatmapData:"{value} {date, date, medium}",weekHeatmapNoData:"No data.",weeklyHeatmap:"Tygodniowa mapa cieplna",weeklyCharts:"Wykresy tygodniowe",weeklyChartsScaleInfo:"Synchronize scale:",statsDashboardGenericErrorTitle:"Błąd statystyk",statsDashboardGenericErrorMessage:"Nie ma dostępnych statystyk dla:",noSelectedMetric:"No selected metric",statsDashboardSelectObjects:"Wybierz",metricsLoading:"Ładowanie…",comingSoon:"Coming soon!",orphanedVdis:"Orphaned snapshot VDIs",orphanedVms:"Orphaned VMs snapshot",noOrphanedObject:"No orphans",removeAllOrphanedObject:"Remove all orphaned snapshot VDIs",vmNameLabel:"Nazwa",vmNameDescription:"Opis",vmContainer:"Resident on",alarmMessage:"Alarmy",noAlarms:"Brak alarmów",alarmDate:"Data",alarmContent:"Zawartość",alarmObject:"Issue on",alarmPool:"Pula",alarmRemoveAll:"Usuń wszystkie alarmy",spaceLeftTooltip:"{used}% used ({free} left)",newVmCreateNewVmOn:"Stwórz nową VM w {select}",newVmCreateNewVmOn2:"Stwórz nową VM w {select1} lub {select2}",newVmCreateNewVmNoPermission:"Nie masz uprawnień do tworzenia VM",newVmInfoPanel:"Informacje",newVmNameLabel:"Nazwa",newVmTemplateLabel:"Szablon",newVmDescriptionLabel:"Opis",newVmPerfPanel:"CPU i RAM",newVmVcpusLabel:"vCPUs",newVmRamLabel:"RAM",newVmStaticMaxLabel:"Pamieć statyczna max",newVmDynamicMinLabel:"Pamieć dynamiczna min",newVmDynamicMaxLabel:"Pamieć dynamiczna max",newVmInstallSettingsPanel:"Install settings",newVmIsoDvdLabel:"ISO/DVD",newVmNetworkLabel:"Sieć",newVmInstallNetworkPlaceHolder:"ex : http://httpredir.debian.org/debian",newVmPvArgsLabel:"PV Args",newVmPxeLabel:"PXE",newVmInterfacesPanel:"Interfejsy",newVmMacLabel:"MAC",newVmAddInterface:"Dodaj dodatkowy interfejs",newVmDisksPanel:"Dyski",newVmSrLabel:"SR",newVmBootableLabel:"Bootable",newVmSizeLabel:"Rozmiar",newVmAddDisk:"Dodaj dodatkowy dysk",newVmSummaryPanel:"Podsumowanie",newVmCreate:"Utwórz",newVmReset:"Reset",newVmSelectTemplate:"Wybierz szablon",newVmSshKey:"Klucz SSH",newVmConfigDrive:"Config drive",newVmCustomConfig:"Niestandardowa konfiguracja",newVmBootAfterCreate:"Boot VM po utworzeniu",newVmMacPlaceholder:"Auto-generated if empty",newVmCpuWeightLabel:"CPU weight",newVmDefaultCpuWeight:"Domyślnie: {value, number}",newVmCpuCapLabel:"CPU cap",newVmDefaultCpuCap:"Domyślnie : {value, number}",newVmCloudConfig:"Konfiguracja chmury",newVmCreateVms:"Utwórz VMs",newVmCreateVmsConfirm:"Jesteś pewny że chcesz utworzyć {nbVms} VMs ?",newVmMultipleVms:"Multiple VMs :",newVmSelectResourceSet:"Select a resource set:",newVmMultipleVmsPattern:"Name pattern:",newVmMultipleVmsPatternPlaceholder:"np. : \\{name\\}_%",newVmFirstIndex:"First index:",newVmNumberRecalculate:"Przelicz ilość VMs",newVmNameRefresh:"Odśwież nazwę VMs",newVmAdvancedPanel:"Zaawansowane",newVmShowAdvanced:"Pokaż ustawienia zaawansowane",newVmHideAdvanced:"Ukryj ustawienia zaawansowane",resourceSets:"Resource sets",noResourceSets:"No resource sets.",loadingResourceSets:"Loading resource sets",resourceSetName:"Resource set name",recomputeResourceSets:"Przelicz wszystkie limity",saveResourceSet:"Zapisz",resetResourceSet:"Reset",editResourceSet:"Edytuj",deleteResourceSet:"Usuń",deleteResourceSetWarning:"Delete resource set",deleteResourceSetQuestion:"Are you sure you want to delete this resource set?",resourceSetMissingObjects:"Brakujące obiekty:",resourceSetVcpus:"vCPUs",resourceSetMemory:"Pamieć",resourceSetStorage:"Przestrzeń dyskowa",unknownResourceSetValue:"Nieznany",availableHosts:"Dostępne hosty",excludedHosts:"Wykluczone hosty",noHostsAvailable:"Brak dostępnych hostów.",availableHostsDescription:"VMs created from this resource set shall run on the following hosts.",maxCpus:"Maximum CPUs",maxRam:"Maximum RAM (GiB)",maxDiskSpace:"Maximum disk space",ipPool:"Pula IP",quantity:"Quantity",noResourceSetLimits:"Brak limitów.",totalResource:"Łącznie :",remainingResource:"Pozostało :",usedResource:"Używane:",resourceSetNew:"Nowy",importVmsList:"Try dropping some VMs files here, or click to select VMs to upload. Accept only .xva/.ova files.",noSelectedVms:"No selected VMs.",vmImportToPool:"To Pool:",vmImportToSr:"To SR:",vmsToImport:"VMs to import",importVmsCleanList:"Reset",vmImportSuccess:"import VM udany!",vmImportFailed:"Import VM nieudany",startVmImport:"Rozpoczęcie importowania…",startVmExport:"Eksport rozpoczęty…",nCpus:"N CPUs",vmMemory:"Pamieć",diskInfo:"Dysk {position} ({capacity})",diskDescription:"Opis dysku",noDisks:"Brak dysków.",noNetworks:"Brak sieci.",networkInfo:"Sieć {name}",noVmImportErrorDescription:"Opis jest niedostępny",vmImportError:"Błąd:",vmImportFileType:"{type} plik:",vmImportConfigAlert:"Proszę sprawdzić lub zmodyfikować konfigurację VM.",noTasks:"Brak oczekujących zadań",xsTasks:"Aktualnie, nie ma żadnych oczekujących zadań na HyperVisorze",backupSchedules:"Harmonogramy",getRemote:"Get remote",listRemote:"List Remote",simpleBackup:"simple",delta:"delta",restoreBackups:"Odtwórz kopie zapasowe",restoreBackupsInfo:"Kliknij w VM żeby wyświetlić możliwości odtworzenia",remoteEnabled:"Włączone",remoteError:"Błąd",noBackup:"Brak dostępnej kopi zapasowej",backupVmNameColumn:"Nazwa VM",backupTags:"Tagi",lastBackupColumn:"Ostatnia kopia zapasowa",availableBackupsColumn:"Dostępne kopie zapasowe",backupRestoreErrorTitle:"Brakujące parametry",backupRestoreErrorMessage:"Wybierz SR i kopię zapasową",displayBackup:"Wyświetl kopie zapasowe",importBackupTitle:"Importuj VM",importBackupMessage:"Rozpoczynanie imortu kopii zapasowej",vmsToBackup:"VMs do kopii zapasowej",emergencyShutdownHostsModalTitle:"Wyłączenie awaryjne hosta {nHosts, plural, one {} other {s}}",emergencyShutdownHostsModalMessage:"Jesteś peweny że chcesz wyłączyć {nHosts} hosta{nHosts, plural, one {} other {s}}?",stopHostModalTitle:"Wyłączenie hosta",stopHostModalMessage:"To wyłączy twojego hosta. Chcesz kontynuować? Jeżeli jest to zarządca puli, twoje połaczenie do puli zostanie utracone",addHostModalTitle:"Dodaj hosta",addHostModalMessage:"Jesteś pewny że chcesz dodać hosta{host} do {pool}?",restartHostModalTitle:"Restart hosta",restartHostModalMessage:"To zrestartuje twojego hosta. Chcesz kontynuować?",restartHostsAgentsModalTitle:"Zrestartuj hosta{nHosts, plural, one {} other {s}}",restartHostsAgentsModalMessage:"Êtes-vous sûr de vouloir redémarrer les agents {nHosts, plural, one {de l'hôte} other {des hôtes}} ?",restartHostsModalTitle:"Restart hosta{nHosts, plural, one {} other {s}}",restartHostsModalMessage:"Czy na pewno chcesz zrestartować {nHosts} Host{nHosts, plural, one {} other {s}}?",startVmsModalTitle:"Uruchom VM{vms, plural, one {} other {s}}",startVmsModalMessage:"Are you sure you want to start {vms} VM{vms, plural, one {} other {s}}?",stopHostsModalTitle:"Zatrzymaj hosta{nHosts, plural, one {} other {s}}",stopHostsModalMessage:"Jesteś pewny że chcesz zatrzymać {nHosts} Host{nHosts, plural, one {} other {s}}?",stopVmsModalTitle:"Zatrzymaj VM {vms, plural, one {} other {s}}",stopVmsModalMessage:"Jesteś pewien że chcesz zatrzymać {vms} VM{vms, plural, one {} other {s}}?",restartVmModalTitle:"Restart VM",restartVmModalMessage:"Na pewno chcesz zrestartować {name}?",stopVmModalTitle:"Zatrzymaj VM",stopVmModalMessage:"Na pewno chcesz wyłączyć {name}?",restartVmsModalTitle:"Restart VM{vms, plural, one {} other {s}}",restartVmsModalMessage:"Are you sure you want to restart {vms} VM{vms, plural, one {} other {s}}?",snapshotVmsModalTitle:"Snapshot VM{vms, plural, one {} other {s}}",snapshotVmsModalMessage:"Jesteś pewny że chcesz zrobić snapshot {vms} VM{vms, plural, one {} other {s}}?",deleteVmsModalTitle:"Delete VM{vms, plural, one {} other {s}}",deleteVmsModalMessage:"Are you sure you want to delete {vms} VM{vms, plural, one {} other {s}}? ALL VM DISKS WILL BE REMOVED",deleteVmModalTitle:"Usuń VM",deleteVmModalMessage:"Are you sure you want to delete this VM? ALL VM DISKS WILL BE REMOVED",migrateVmModalTitle:"Migruj VM",migrateVmSelectHost:"Select a destination host:",migrateVmSelectMigrationNetwork:"Select a migration network:",migrateVmSelectSrs:"For each VDI, select an SR:",migrateVmSelectNetworks:"For each VIF, select a network:",migrateVmsSelectSr:"Select a destination SR:",migrateVmsSelectSrIntraPool:"Select a destination SR for local disks:",migrateVmsSelectNetwork:"Select a network on which to connect each VIF:",migrateVmsSmartMapping:"Smart mapping",migrateVmName:"Nazwa",migrateVmSr:"SR",migrateVmVif:"VIF",migrateVmNetwork:"Sieć",migrateVmNoTargetHost:"No target host",migrateVmNoTargetHostMessage:"A target host is required to migrate a VM",deleteVdiModalTitle:"Usuń VDI",deleteVdiModalMessage:"Jesteś pewien że chcesz usunąć dysk? Wszystkie dane na dysku zostaną utracone",revertVmModalTitle:"Revert your VM",deleteSnapshotModalTitle:"Usuń snapshot",deleteSnapshotModalMessage:"Are you sure you want to delete this snapshot?",revertVmModalMessage:"Are you sure you want to revert this VM to the snapshot state? This operation is irreversible.",revertVmModalSnapshotBefore:"Snapshot before",importBackupModalTitle:"Import a {name} Backup",importBackupModalStart:"Start VM after restore",importBackupModalSelectBackup:"Wybierz swój backup…",removeAllOrphanedModalWarning:"Are you sure you want to remove all orphaned snapshot VDIs?",removeAllLogsModalTitle:"Usuń wszystkie logi",removeAllLogsModalWarning:"Jesteś pewien że chcesz usunąć wszystkie logi?",definitiveMessageModal:"This operation is definitive.",existingSrModalTitle:"Previous SR Usage",existingSrModalText:"This path has been previously used as a Storage by a XenServer host. All data will be lost if you choose to continue the SR creation.",existingLunModalTitle:"Previous LUN Usage",existingLunModalText:"This LUN has been previously used as a Storage by a XenServer host. All data will be lost if you choose to continue the SR creation.",alreadyRegisteredModal:"Replace current registration?",alreadyRegisteredModalText:"Your XO appliance is already registered to {email}, do you want to forget and replace this registration ?",trialReadyModal:"Ready for trial?",trialReadyModalText:"During the trial period, XOA need to have a working internet connection. This limitation does not apply for our paid plans!",serverHost:"Host",serverUsername:"Nazwa użytkownika",serverPassword:"Hasło",serverAction:"Akcja",serverReadOnly:"Tylko do odczytu",serverDisconnect:"Rozłącz serwer",serverPlaceHolderUser:"Użytkownik",serverPlaceHolderPassword:"hasło",serverPlaceHolderAddress:"adres[:port]",serverConnect:"Połącz",copyVm:"Copy VM",copyVmConfirm:"Are you sure you want to copy this VM to {SR}?",copyVmName:"Nazwa",copyVmNamePattern:"Name pattern",copyVmNamePlaceholder:"If empty: name of the copied VM",copyVmNamePatternPlaceholder:'np. : "\\{name\\}_COPY"',copyVmSelectSr:"Wybierz pulę dyskową",copyVmCompress:"Użyj kompresji",copyVmsNoTargetSr:"No target SR",copyVmsNoTargetSrMessage:"A target SR is required to copy a VM",detachHostModalTitle:"Detach host",detachHostModalMessage:"Are you sure you want to detach {host} from its pool? THIS WILL REMOVE ALL VMs ON ITS LOCAL STORAGE AND REBOOT THE HOST.",detachHost:"Detach",newNetworkCreate:"Utwórz sieć",newBondedNetworkCreate:"Create bonded network",newNetworkInterface:"Interface",newNetworkName:"Nazwa",newNetworkDescription:"Opis",newNetworkVlan:"VLAN",newNetworkDefaultVlan:"No VLAN if empty",newNetworkMtu:"MTU",newNetworkDefaultMtu:"Domyślnie : 1500",newNetworkNoNameErrorTitle:"Nazwa wymagana",newNetworkNoNameErrorMessage:"Nazwa jest wymagana do utworzenia sieci",newNetworkBondMode:"Tryb bondingu",deleteNetwork:"Usuń sieć",deleteNetworkConfirm:"Jesteś pewien że chcesz usunąć te sieć ?",networkInUse:"Ta sieć jest obecnie używana ",pillBonded:"Bonded",addHostSelectHost:"Host",addHostNoHost:"No host",addHostNoHostMessage:"No host selected to be added",xenOrchestra:"Xen Orchestra",xenOrchestraServer:"serwer",xenOrchestraWeb:"web klient",noProSupport:"No pro support provided!",noProductionUse:"Używanie produkcyjne na własne ryzyko",downloadXoaFromWebsite:"You can download our turnkey appliance at {website}",bugTracker:"Bug Tracker",bugTrackerText:"Issues? Report it!",community:"Społeczność",communityText:"Dołącz do forum społeczności !",freeTrial:"Free Trial for Premium Edition!",freeTrialNow:"Request your trial now!",issues:"Any issue?",issuesText:"Masz problem? Zkontaktuj się z nami!",documentation:"Dokumentacja",documentationText:"Read our official doc",proSupportIncluded:"Pro support included",xoAccount:"Acces your XO Account",openTicket:"Raportuj problem",openTicketText:"Masz problem? Utwórz zgłoszenie!",upgradeNeeded:"Upgrade needed",upgradeNow:"Aktualizuj teraz!",or:"Lub",tryIt:"Spróbuj za darmo!",availableIn:"This feature is available starting from {plan} Edition",notAvailable:"This feature is not available in your version, contact your administrator to know more.",updateTitle:"Aktualizuj",registration:"Rejestracja",trial:"Trial",settings:"Ustawienia",proxySettings:"Ustawienia proxy",proxySettingsHostPlaceHolder:"Host (mojeproxy.przyklad.pl)",proxySettingsPortPlaceHolder:"Port (np : 3128)",proxySettingsUsernamePlaceHolder:"Użytkownik",proxySettingsPasswordPlaceHolder:"Hasło",updateRegistrationEmailPlaceHolder:"Twoje konto email",updateRegistrationPasswordPlaceHolder:"Twoje hasło",update:"Aktualizuj",refresh:"Odśwież",upgrade:"Aktualizuj",noUpdaterCommunity:"No updater available for Community Edition",considerSubscribe:"Please consider subscribe and try it with all features for free during 15 days on",noUpdaterWarning:"Manual update could break your current installation due to dependencies issues, do it with caution",currentVersion:"Obecna wersja:",register:"Rejestruj",editRegistration:"Edit registration",trialRegistration:"Please, take time to register in order to enjoy your trial.",trialStartButton:"Start trial",trialAvailableUntil:"You can use a trial version until {date, date, medium}. Upgrade your appliance to get it.",trialConsumed:"Twoja wersja demonstracyjna właśnie się zakończyła. Skontaktuj się z nami żeby pobrać darmową wersję",trialLocked:"Your xoa-updater service appears to be down. Your XOA cannot run fully without reaching this service.",noUpdateInfo:"No update information available",waitingUpdateInfo:"Update information may be available",upToDate:"Twoje XOA jest aktualne",mustUpgrade:"You need to update your XOA (new version is available)",registerNeeded:"Your XOA is not registered for updates",updaterError:"Nie mogę pobrać aktualizacji",promptUpgradeReloadTitle:"Aktualizacja zakończona sukcesem",promptUpgradeReloadMessage:"Your XOA has successfully upgraded, and your browser must reload the application. Do you want to reload now ?",disclaimerTitle:"Xen Orchestra z źródeł",disclaimerText1:"Używasz XO z źródeł!. To dobre rozwiązanie tylko do prywatnego/nieprodukcyjnego użytku",disclaimerText2:"If you are a company, it's better to use it with our appliance + pro support included:",disclaimerText3:"This version is not bundled with any support nor updates. Use it with caution for critical tasks.",connectPif:"Connect PIF",connectPifConfirm:"Are you sure you want to connect this PIF?",
|
72 | disconnectPif:"Disconnect PIF",disconnectPifConfirm:"Are you sure you want to disconnect this PIF ?",deletePif:"Delete PIF",deletePifConfirm:"Are you sure you want to delete this PIF?",username:"Użytkownik",password:"Hasło",language:"Język",oldPasswordPlaceholder:"Stare hasło",newPasswordPlaceholder:"Nowe hasło",confirmPasswordPlaceholder:"Potwierdź nowe hasło",confirmationPasswordError:"Potwierdzenie hasła niepoprawne",confirmationPasswordErrorBody:"Hasło nie zgadza się z potwierdzeniem",pwdChangeSuccess:"Hasło zmienione",pwdChangeSuccessBody:"Twoje hasło zostało pomyślnie zmienione",pwdChangeError:"Nieprawidłowe hasło",pwdChangeErrorBody:"The old password provided is incorrect. Your password has not been changed.",changePasswordOk:"OK",sshKeys:"Klucze SSH",newSshKey:"Nowy klucz SSH",deleteSshKey:"Usuń",noSshKeys:"Brak kluczy SSH",newSshKeyModalTitle:"Nowy klucz SSH",sshKeyErrorTitle:"Nieprawidłowy klucz",sshKeyErrorMessage:"An SSH key requires both a title and a key.",title:"Title",key:"Klucz",deleteSshKeyConfirm:"Usuń klucz SSH",deleteSshKeyConfirmMessage:"Are you sure you want to delete the SSH key {title}?",others:"Inne",loadingLogs:"Ładowanie logów…",logUser:"Użytkownik",logMethod:"Metoda",logParams:"Params",logMessage:"Wiadomość",logError:"Błąd",logDisplayDetails:"Wyświetl szczegóły",logTime:"Data",logNoStackTrace:"No stack trace",logNoParams:"No params",logDelete:"Usuń logi",logDeleteAll:"Usuń wszystkie logi",logDeleteAllTitle:"Usuń wszystkie logi",logDeleteAllMessage:"Are you sure you want to delete all the logs?",ipPoolName:"Nazwa",ipPoolIps:"IPs",ipPoolIpsPlaceholder:"IPs (np.: 1.0.0.12-1.0.0.17;1.0.0.23)",ipPoolNetworks:"Sieci",ipsNoIpPool:"Brak puli IP",ipsCreate:"Utwórz",ipsDeleteAllTitle:"Usuń wszystkie pule IP",ipsDeleteAllMessage:"Jesteś pewien że chcesz usunąć wszystkie pule IP?",ipsVifs:"VIFs",ipsNotUsed:"Nieużywany",shortcutModalTitle:"Skróty klawiszowe",shortcut_XoApp:"Global",shortcut_GO_TO_HOSTS:"Idź do listy hostów",shortcut_GO_TO_POOLS:"Idź do listy pul",shortcut_GO_TO_VMS:"Idź do listy VMs",shortcut_CREATE_VM:"Utwórz nową VM",shortcut_UNFOCUS:"Niepodświetlone pole",shortcut_HELP:"Show shortcuts key bindings",shortcut_Home:"Home",shortcut_SEARCH:"Focus search bar",shortcut_NAV_DOWN:"Next item",shortcut_NAV_UP:"Previous item",shortcut_SELECT:"Select item",shortcut_JUMP_INTO:"Otwarte",settingsAclsButtonTooltipVM:"VM",settingsAclsButtonTooltiphost:"Hosty",settingsAclsButtonTooltippool:"Pule",settingsAclsButtonTooltipSR:"SR",settingsAclsButtonTooltipnetwork:"Sieć"}},{"moment/locale/pl":807,"react-intl":1103,"react-intl/locale-data/pl":1108}],1443:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),e("moment/locale/pt");var o=e("react-intl/locale-data/pt"),a=r(o),i=e("react-intl");(0,i.addLocaleData)(a.default),n.default={statusConnecting:void 0,statusDisconnected:void 0,statusLoading:void 0,errorPageNotFound:void 0,errorNoSuchItem:void 0,editableLongClickPlaceholder:"Longo clique para editar",editableClickPlaceholder:"Clique para editar",alertOk:"OK",confirmOk:"Confirmar",confirmCancel:"Cancelar",onError:void 0,successful:void 0,copyToClipboard:void 0,pillMaster:void 0,homePage:"Principal",homeVmPage:void 0,homeHostPage:void 0,homePoolPage:void 0,homeTemplatePage:void 0,dashboardPage:"Painel de Controle",overviewDashboardPage:"Visão Geral",overviewVisualizationDashboardPage:"Visualizações",overviewStatsDashboardPage:"Estatisticas",overviewHealthDashboardPage:"Diagnóstico",selfServicePage:"Auto-Serviço",backupPage:"Backup",jobsPage:"Tarefas",updatePage:"Atualizações",settingsPage:"Configurações",settingsServersPage:"Servidores",settingsUsersPage:"Usuários",settingsGroupsPage:"Grupos",settingsAclsPage:"Controle de Acessos",settingsPluginsPage:"Plugins",settingsLogsPage:void 0,settingsIpsPage:void 0,aboutPage:"Sobre",newMenu:"Novo(a)",taskMenu:"Tarefas",taskPage:void 0,newVmPage:"VM",newSrPage:"Armazenamento (Storage)",newServerPage:"Servidor",newImport:"Importar",backupOverviewPage:"Visão Geral",backupNewPage:"Novo(a)",backupRemotesPage:"Armazenamento a distância",backupRestorePage:"Recuperar",schedule:"Agendamento",newVmBackup:"Criar novo backup VM",editVmBackup:"Editar backup VM",backup:"Backup",rollingSnapshot:"Snapshots ativos",deltaBackup:"Backup Diferencial",disasterRecovery:"Recuperação de Desastres",continuousReplication:"Replicação Contínua",jobsOverviewPage:"Visão Geral",jobsNewPage:"Novo(a)",jobsSchedulingPage:"Agendamentos",customJob:"Personalização do Trabalho",userPage:void 0,noSupport:void 0,freeUpgrade:void 0,signOut:"Sair",editUserProfile:void 0,homeFetchingData:"Obtendo dados...",homeWelcome:"Bem-vindo ao Xen Orchestra",homeWelcomeText:"Adicione seu XenServer hosts e pools",homeHelp:"Posso te ajudar?",homeAddServer:"Adicionar Servidor",homeOnlineDoc:"Documentação Online",homeProSupport:"Suporte Especializado",homeNoVms:"Não foram encontradas VMs!",homeNoVmsOr:"Ou...",homeImportVm:"Importar VM",homeImportVmMessage:"Importar uma VM existente no formato XVA",homeRestoreBackup:"Restaurar um backup",homeRestoreBackupMessage:"Restaurar um backup remoto",homeNewVmMessage:"Pronto para criar uma nova VM?",homeFilters:"Filtros",homeNoMatches:void 0,homeTypePool:"Pool",homeTypeHost:"Host",homeTypeVm:"VM",homeTypeSr:"SR",homeTypeVmTemplate:void 0,homeSort:"Classificar",homeAllPools:"Pools",homeAllHosts:"Hosts",homeAllTags:"Etiquetas",homeNewVm:"Criar nova VM",homeFilterRunningHosts:"Hosts Ativos",homeFilterDisabledHosts:"Hosts Desativados",homeFilterRunningVms:"VMs Ativas",homeFilterNonRunningVms:"VMs Paradas",homeFilterPendingVms:"VMs pendentes",homeFilterHvmGuests:"HVM guests",homeFilterTags:"Etiquetas",homeSortBy:"Ordenar por",homeSortByName:"Nome",homeSortByPowerstate:"Estado de energia",homeSortByRAM:"RAM",homeSortByvCPUs:"vCPUs",homeSortByCpus:void 0,homeDisplayedItems:void 0,homeSelectedItems:void 0,homeMore:"Mais",homeMigrateTo:"Migrar para...",homeMissingPaths:void 0,homePoolMaster:void 0,highAvailability:void 0,add:"Adicionar",remove:"Remover",preview:"Pré-visualização",item:"Item",noSelectedValue:"Valor não selecionado",selectSubjects:"Escolha um usuário(s) e/ou grupo(s)",selectObjects:"Selecionar Objeto(s)...",selectRole:"Escolha uma função",selectHosts:"Selecionar Host(s)...",selectHostsVms:"Selecionar Objeto(s)...",selectNetworks:"Selecionar Rede(s)...",selectPifs:"Selecionar PIF(s)...",selectPools:"Selecionar Pool(s)...",selectRemotes:"Selecionar Remote(s)...",selectResourceSets:void 0,selectResourceSetsVmTemplate:void 0,selectResourceSetsSr:void 0,selectResourceSetsNetwork:void 0,selectResourceSetsVdi:void 0,selectSshKey:void 0,selectSrs:"Selecionar SR(s)...",selectVms:"Selecionar VM(s)...",selectVmTemplates:"Selecionar VM(s) modelo(s)...",selectTags:"Selecionar etiqueta(s)...",selectVdis:"Selecionar disco(s)...",selectTimezone:void 0,selectIp:void 0,selectIpPool:void 0,fillRequiredInformations:"Preencha as informações necessárias.",fillOptionalInformations:"Preencha as informações (opcional)",selectTableReset:"Reiniciar",schedulingMonth:"Agendamento Mensal",schedulingEachSelectedMonth:"Agendamento escolhido por mês",schedulingMonthDay:"Dia do mês",schedulingEachSelectedMonthDay:"Agendamento por dia selecionado",schedulingWeekDay:"Dia da semana",schedulingEachSelectedWeekDay:"Cada dia selecionado",schedulingHour:"Hora",schedulingEveryNHour:"Todas N horas",schedulingEachSelectedHour:"Cada hora selecionada",schedulingMinute:"Minuto",schedulingEveryNMinute:"Todos N minutos",schedulingEachSelectedMinute:"Cada minuto selecionado",schedulingReset:"Reiniciar",unknownSchedule:"Desconhecido",timezonePickerServerValue:void 0,timezonePickerUseLocalTime:void 0,timezonePickerUseServerTime:void 0,serverTimezoneOption:void 0,cronPattern:void 0,backupEditNotFoundTitle:void 0,backupEditNotFoundMessage:void 0,job:"Tarefa",jobId:"ID tarefa",jobName:"Nome",jobNamePlaceholder:void 0,jobStart:"Inicia",jobEnd:"Termina",jobDuration:"Duração",jobStatus:"Status",jobAction:"Ação",jobTag:"Etiqueta",jobScheduling:"Agendamento",jobState:"Estado",jobTimezone:void 0,jobServerTimezone:void 0,runJob:"Iniciar tarefa",runJobVerbose:"O backup manual foi executado. Clique em Visão Geral para ver os Logs",jobStarted:"Iniciado",jobFinished:"Terminado",saveBackupJob:"Salvar",deleteBackupSchedule:"Remover tarefa de backup",deleteBackupScheduleQuestion:"Você tem certeza que você quer deletar esta tarefa de backup?",scheduleEnableAfterCreation:"Ativar imediatamente após criação",scheduleEditMessage:"Você esta editando o Agendamento {name} ({id}). Este procedimento irá substituir o agendamento atual.",jobEditMessage:"Você esta editando a Tarefa {name} ({id}). Este procedimento irá substituir a tarefa atual.",noScheduledJobs:"Sem agendamentos",noJobs:"Tarefas não encontradas",noSchedules:"Nenhum agendamento foi encontrado",jobActionPlaceHolder:"Selecione um comando para xo-server API",jobSchedules:void 0,jobScheduleNamePlaceHolder:void 0,jobScheduleJobPlaceHolder:void 0,newBackupSelection:"Selecione seu tipo de backup",smartBackupModeSelection:void 0,normalBackup:void 0,smartBackup:void 0,localRemoteWarningTitle:void 0,localRemoteWarningMessage:void 0,editBackupVmsTitle:void 0,editBackupSmartStatusTitle:void 0,editBackupSmartResidentOn:void 0,editBackupSmartTagsTitle:void 0,editBackupTagTitle:void 0,editBackupReportTitle:void 0,editBackupReportEnable:void 0,editBackupDepthTitle:void 0,editBackupRemoteTitle:void 0,remoteList:"Backups remotos",newRemote:"Novo Arquivo de Sistema Remoto",remoteTypeLocal:"Local",remoteTypeNfs:"NFS",remoteTypeSmb:"SMB",remoteType:"Type",remoteTestTip:void 0,testRemote:void 0,remoteTestFailure:void 0,remoteTestSuccess:void 0,remoteTestError:void 0,remoteTestStep:void 0,remoteTestFile:void 0,remoteTestSuccessMessage:void 0,remoteName:void 0,remotePath:void 0,remoteState:void 0,remoteDevice:void 0,remoteShare:void 0,remoteAuth:void 0,remoteMounted:void 0,remoteUnmounted:void 0,remoteConnectTip:void 0,remoteDisconnectTip:void 0,remoteDeleteTip:void 0,remoteNamePlaceHolder:void 0,remoteMyNamePlaceHolder:void 0,remoteLocalPlaceHolderPath:void 0,remoteNfsPlaceHolderHost:void 0,remoteNfsPlaceHolderPath:void 0,remoteSmbPlaceHolderRemotePath:void 0,remoteSmbPlaceHolderUsername:void 0,remoteSmbPlaceHolderPassword:void 0,remoteSmbPlaceHolderDomain:void 0,remoteSmbPlaceHolderAddressShare:void 0,remotePlaceHolderPassword:void 0,newSrTitle:void 0,newSrGeneral:"Geral",newSrTypeSelection:"Selecionar o tipo de armazenamento (storage)",newSrSettings:"Configurações",newSrUsage:"Uso de armazenamento (storage)",newSrSummary:"Sumário",newSrHost:"Host",newSrType:"Tipo",newSrName:"Nome",newSrDescription:"Descrição",newSrServer:"Servidor",newSrPath:"Caminho",newSrIqn:"IQN",newSrLun:"LUN",newSrAuth:"Com autenticação",newSrUsername:"Nome de Usuário",newSrPassword:"Senha",newSrDevice:"Dispositivo",newSrInUse:"Em uso",newSrSize:"Tamanho",newSrCreate:"Criar",newSrNamePlaceHolder:void 0,newSrDescPlaceHolder:void 0,newSrAddressPlaceHolder:void 0,newSrPortPlaceHolder:void 0,newSrUsernamePlaceHolder:void 0,newSrPasswordPlaceHolder:void 0,newSrLvmDevicePlaceHolder:void 0,newSrLocalPathPlaceHolder:void 0,subjectName:"Usuários/Grupos",objectName:"Objeto",aclNoneFound:void 0,roleName:"Função",aclCreate:void 0,newGroupName:"Novo Nome de Grupo",createGroup:"Criar Grupo",createGroupButton:"Criar",deleteGroup:"Deletar Grupo",deleteGroupConfirm:"Você tem certeza que deseja deletar este grupo?",removeUserFromGroup:"Remover usuário do Grupo",deleteUserConfirm:"Você tem certeza que deseja deletar este usuário?",deleteUser:void 0,noUser:void 0,unknownUser:"Usuário desconhecido",noGroupFound:"Grupo não encontrado",groupNameColumn:"Nome",groupUsersColumn:"Usuários",addUserToGroupColumn:"Adicionar Usuário",userNameColumn:"e-mail",userPermissionColumn:"Permissões",userPasswordColumn:"Senha",userName:"e-mail",userPassword:"Senha",createUserButton:"Criar",noUserFound:"Usuário não encontrado",userLabel:"Usuário",adminLabel:"Administrador",noUserInGroup:"Nenhum usuário neste grupo",countUsers:"{users} user{users, plural, one {} other {s}}",selectPermission:"Selecionar Permissão",autoloadPlugin:"Carregamento automático na inicialização do servidor",savePluginConfiguration:"Salvar configuração",deletePluginConfiguration:"Deletar configuração",pluginError:"Erro Plugin",unknownPluginError:"Erro desconhecido",purgePluginConfiguration:"Configuração de limpeza do plugin",purgePluginConfigurationQuestion:"Você tem certeza que deseja executar esta configuração?",editPluginConfiguration:"Editar",cancelPluginEdition:"Cancelar",pluginConfigurationSuccess:"Configuração do Plugin",pluginConfigurationChanges:"Configuração do plugin foi efetuada com sucesso!",pluginConfigurationPresetTitle:void 0,pluginConfigurationChoosePreset:void 0,applyPluginPreset:void 0,saveNewUserFilterErrorTitle:void 0,saveNewUserFilterErrorBody:void 0,filterName:void 0,filterValue:void 0,saveNewFilterTitle:void 0,setUserFiltersTitle:void 0,setUserFiltersBody:void 0,removeUserFilterTitle:void 0,removeUserFilterBody:void 0,defaultFilter:void 0,defaultFilters:void 0,customFilters:void 0,customizeFilters:void 0,saveCustomFilters:void 0,startVmLabel:"Iniciar",recoveryModeLabel:"Iniciar recuperação",suspendVmLabel:"Suspender",stopVmLabel:"Parar",forceShutdownVmLabel:"Forçar desligamento",rebootVmLabel:"Reiniciar",forceRebootVmLabel:"Forçar reinicialização",deleteVmLabel:"Deletar",migrateVmLabel:"Migrar",snapshotVmLabel:"Snapshot",exportVmLabel:"Exportar",resumeVmLabel:"Continuar",copyVmLabel:"Copiar",cloneVmLabel:"Clonar",fastCloneVmLabel:"Clonagem rápida",convertVmToTemplateLabel:"Convertir para template",vmConsoleLabel:"Console",srRescan:"Examinar novamente todos os discos",srReconnectAll:"Conectar-se a todos os hosts",srDisconnectAll:"Desconectar-se de todos os hosts",srForget:"Esquecer esta SR",srRemoveButton:"Remover esta SR",srNoVdis:"Nenhuma VDI neste armazenamento",poolTitleRamUsage:void 0,poolRamUsage:void 0,poolMaster:void 0,hostsTabName:"Hosts",poolHaStatus:"Alta Disponibilidade",poolHaEnabled:"Habilitado",poolHaDisabled:"Desativado",hostNameLabel:"Nome",hostDescription:"Descrição",hostMemory:"Memória",noHost:"Nenhum host",memoryLeftTooltip:void 0,poolNetworkNameLabel:"Nome",poolNetworkDescription:"Descrição",poolNetworkPif:"PIFs",poolNoNetwork:"Nenhuma Rede",poolNetworkMTU:"MTU",poolNetworkPifAttached:"Conectado",poolNetworkPifDetached:"Desconectado",showPifs:void 0,hidePifs:void 0,addSrLabel:"Adicionar SR",addVmLabel:"Adicionar VM",addHostLabel:"Adicionar Host",disconnectServer:"Desconectar",startHostLabel:"Iniciar",stopHostLabel:"Parar",enableHostLabel:"Habilitar",disableHostLabel:"Desabilitar",restartHostAgent:"Reiniciar toolstack",forceRebootHostLabel:"Forçar reinicialização",rebootHostLabel:"Reinicializar",rebootUpdateHostLabel:void 0,emergencyModeLabel:"Modo de emergência",storageTabName:"Armazenamento",patchesTabName:"Correções",statLoad:"Carregar média",hardwareHostSettingsLabel:"Hardware",hostAddress:"Endereço",hostStatus:"Status",hostBuildNumber:"Número de compilação",hostIscsiName:"Nome iSCSI",hostXenServerVersion:"Versão",hostStatusEnabled:"Ativado",hostStatusDisabled:"Desativado",hostPowerOnMode:"Modo de energia",hostStartedSince:"Tempo de atividade do Host",hostStackStartedSince:"Tempo de atividade Toolstack",hostCpusModel:"Modelo CPU",hostCpusNumber:"Núcleo (soquete)",hostManufacturerinfo:"Informações do Fabricante",hostBiosinfo:"Informações BIOS",licenseHostSettingsLabel:"Licença",hostLicenseType:"Tipo",hostLicenseSocket:"Soquete",hostLicenseExpiry:"Expiração",networkCreateButton:"Adicionar a Rede",networkCreateBondedButton:void 0,pifDeviceLabel:"Dispositivo",pifNetworkLabel:"Rede",pifVlanLabel:"VLAN",pifAddressLabel:"Endereço",pifModeLabel:void 0,pifMacLabel:"MAC",pifMtuLabel:"MTU",pifStatusLabel:"Status",pifStatusConnected:"Conectado",pifStatusDisconnected:"Desconectado",pifNoInterface:"Nenhuma interface física foi detectada",pifInUse:void 0,defaultLockingMode:void 0,pifConfigureIp:void 0,configIpErrorTitle:void 0,configIpErrorMessage:void 0,staticIp:void 0,netmask:void 0,dns:void 0,gateway:void 0,addSrDeviceButton:"Adicionar um armazenamento",srNameLabel:"Nome",srType:"Tipo",pbdStatus:"Status",pbdStatusConnected:"Conectado",pbdStatusDisconnected:"Desconectado",pbdConnect:void 0,pbdDisconnect:void 0,pbdForget:void 0,srShared:"Compartilhado",srNotShared:"Não compartilhado",pbdNoSr:"Nenhum armazenamento detectado",patchNameLabel:"Nome",patchUpdateButton:"Instalar todas as correções",patchDescription:"Descrição",patchApplied:"Data de lançamento",patchSize:"Tamanho",patchStatus:"Status",patchStatusApplied:"Aplicado",patchStatusNotApplied:"Correções faltando",patchNothing:"Nenhuma correção foi detectada",patchReleaseDate:"Data de lançamento",patchGuidance:"Direção",patchAction:"Ação",hostAppliedPatches:void 0,hostMissingPatches:"Correções faltando",hostUpToDate:"Host pronto para atualizar!",refreshPatches:void 0,installPoolPatches:void 0,defaultSr:void 0,setAsDefaultSr:void 0,generalTabName:"Geral",statsTabName:"Estatísticas",consoleTabName:"Console",containersTabName:void 0,snapshotsTabName:"Snapshots",logsTabName:"Logs",advancedTabName:"Avançado",networkTabName:"Rede",disksTabName:"Disco{disks, plural, one {} other {s}}",powerStateHalted:"Interrompido",powerStateRunning:"Executando",powerStateSuspended:"Suspendido",vmStatus:"Nenhum Xen tools foi detectado",vmName:"Nenhum registro IPv4",vmDescription:"Nenhum registro IP",vmSettings:"Iniciado {ago}",vmCurrentStatus:"Status atual",vmNotRunning:"Parado",noToolsDetected:"Nenhum Xen tools foi detectado",noIpv4Record:"Nenhum registro IPv4",noIpRecord:"Nenhum registro IP",started:"Iniciado {ago}",paraVirtualizedMode:"Paravirtualização",hardwareVirtualizedMode:"Virtualização de Hadware (HVM)",statsCpu:"Uso de CPU",statsMemory:"Uso de Memória",statsNetwork:"Taxa de transferência de Rede",useStackedValuesOnStats:void 0,statDisk:"Taxa de transferência de Disco",statLastTenMinutes:"Últimos 10 minutos",statLastTwoHours:"Últimas 2 horas",statLastWeek:"Semana passada",statLastYear:"Ano passado",copyToClipboardLabel:"Copiar",ctrlAltDelButtonLabel:"Ctrl+Alt+Del",tipLabel:"Dica",tipConsoleLabel:"Teclados fora do padrão US-Keyboard podem apresentar problemas com o console: Altere seu teclado e verifique!",hideHeaderTooltip:void 0,showHeaderTooltip:void 0,containerName:void 0,containerCommand:void 0,containerCreated:void 0,containerStatus:void 0,containerAction:void 0,noContainers:void 0,containerStop:void 0,containerStart:void 0,containerPause:void 0,containerResume:void 0,containerRestart:void 0,vdiAction:"Ação",vdiAttachDeviceButton:"Anexar disco",vbdCreateDeviceButton:"Novo disco",vdiBootOrder:"Ordem de boot",vdiNameLabel:"Nome",vdiNameDescription:"Descrição",vdiTags:"Etiquetas",vdiSize:"Tamanho",vdiSr:"SR",vdiVm:void 0,vdiMigrate:void 0,vdiMigrateSelectSr:void 0,vdiMigrateAll:void 0,vdiMigrateNoSr:void 0,vdiMigrateNoSrMessage:void 0,vdiForget:void 0,vdiRemove:void 0,vdbBootableStatus:"Indicador de inicialização",vdbStatus:"Status",vbdStatusConnected:"Conectado",vbdStatusDisconnected:"Desconectado",vbdNoVbd:"Nenhum disco encontrado",vbdConnect:void 0,vbdDisconnect:void 0,vdbBootable:void 0,vdbReadonly:void 0,vdbCreate:void 0,vdbNamePlaceHolder:void 0,vdbSizePlaceHolder:void 0,saveBootOption:void 0,resetBootOption:void 0,vifCreateDeviceButton:"Novo dispositivo",vifNoInterface:"Nenhuma interface encontrada",vifDeviceLabel:"Dispositivo",vifMacLabel:"Endereço MAC",vifMtuLabel:"MTU",vifNetworkLabel:"Rede",vifStatusLabel:"Status",vifStatusConnected:"Conectado",vifStatusDisconnected:"Desconectado",vifConnect:void 0,vifDisconnect:void 0,vifRemove:void 0,vifIpAddresses:"Endereço IP",vifMacAutoGenerate:void 0,vifAllowedIps:void 0,vifNoIps:void 0,vifLockedNetwork:void 0,vifLockedNetworkNoIps:void 0,vifUnLockedNetwork:void 0,vifUnknownNetwork:void 0,vifCreate:void 0,noSnapshots:"Nenhum snapshot encontrado",snapshotCreateButton:"Novo snapshot",tipCreateSnapshotLabel:"Clique sobre o botão snapshop para criar!",revertSnapshot:void 0,deleteSnapshot:void 0,copySnapshot:void 0,exportSnapshot:void 0,snapshotDate:"Data de criação",snapshotName:"Nome",snapshotAction:"Ação",logRemoveAll:"Remover todos os logs",noLogs:"Sem registros até o momento",logDate:"Data de criação",logName:"Nome",logContent:"Conteúdo",logAction:"Ação",vmRemoveButton:"Remover",vmConvertButton:"Converter",xenSettingsLabel:"Configurações Xen",guestOsLabel:"Convidado OS",miscLabel:"Misc",uuid:"UUID",virtualizationMode:"Modo de virtualização",cpuWeightLabel:"Carga da CPU",defaultCpuWeight:"Padrão",cpuCapLabel:void 0,defaultCpuCap:void 0,pvArgsLabel:"PV argos",xenToolsStatus:"Status de ferramentas Xen",xenToolsStatusValue:"{status}",osName:"Nome OS",osKernel:"OS kernel (núcleo)",autoPowerOn:"Ligar automaticamente",ha:"HA",originalTemplate:"Modelo original (template)",unknownOsName:"Desconhecido",unknownOsKernel:"Desconhecido",unknownOriginalTemplate:"Desconhecido",vmLimitsLabel:"Limites de VM",vmCpuLimitsLabel:"Limites de CPU",vmMemoryLimitsLabel:"Limites de memória (min/max)",vmMaxVcpus:"máximo",vmMaxRam:"Limite máximo de memória",vmHomeNamePlaceholder:"Faça um longo clique para adicionar um nome",vmHomeDescriptionPlaceholder:"Faça um longo clique para adicionar uma descrição",vmViewNamePlaceholder:"Clique para adicionar um nome",vmViewDescriptionPlaceholder:"Clique para adicionar uma descrição",templateHomeNamePlaceholder:void 0,templateHomeDescriptionPlaceholder:void 0,templateDelete:void 0,templateDeleteModalTitle:void 0,templateDeleteModalBody:void 0,poolPanel:"Pool{pools, plural, one {} other {s}}",hostPanel:"Host{hosts, plural, one {} other {s}}",vmPanel:"VM{vms, plural, one {} other {s}}",memoryStatePanel:"Utilização RAM",cpuStatePanel:"Utilização de CPU",vmStatePanel:"Estado de energia das VMs",taskStatePanel:"Tarefas pendentes",usersStatePanel:"Usuários",srStatePanel:"Data do armazenamento (storage)",ofUsage:"de",noSrs:"Nenhum armazenamento (storage)",srName:"Nome",srPool:"Pool",srHost:"Host",srFormat:"Tipo",srSize:"Tamanho",srUsage:"Utilização",srUsed:"Usado",srFree:"Livre",srUsageStatePanel:"Utilização atual de armazenamento",srTopUsageStatePanel:"Top 5 de Utilização SR (em %)",vmsStates:void 0,dashboardStatsButtonRemoveAll:void 0,dashboardStatsButtonAddAllHost:void 0,dashboardStatsButtonAddAllVM:void 0,weekHeatmapData:"{value} {date, date, medium}",weekHeatmapNoData:"Nenhum dado encontrado",weeklyHeatmap:void 0,weeklyCharts:void 0,weeklyChartsScaleInfo:void 0,statsDashboardGenericErrorTitle:"Erro de estatísticas",statsDashboardGenericErrorMessage:"Não há estatísticas disponíveis para:",noSelectedMetric:"Nenhuma métrica selecionada",statsDashboardSelectObjects:"Selecionar",metricsLoading:"Carregando...",comingSoon:"Em breve!",orphanedVdis:"VDI órfãs",orphanedVms:"VMs órfãs",noOrphanedObject:"Sem órfãs",removeAllOrphanedObject:"Remover todos as VDIs órfãs",vmNameLabel:"Nome",vmNameDescription:"Descrição",vmContainer:"Residente em",alarmMessage:"Alarmes",noAlarms:"Sem alarmes",alarmDate:"Data",alarmContent:"Conteúdo",alarmObject:"Tipo de alarme",alarmPool:"Pool",alarmRemoveAll:"Remover todos os alarmes",spaceLeftTooltip:void 0,newVmCreateNewVmOn:"Criar uma nova VM em {pool}",newVmCreateNewVmOn2:void 0,newVmCreateNewVmNoPermission:void 0,newVmInfoPanel:"Informações",newVmNameLabel:"Nome",newVmTemplateLabel:"Modelo (Template)",newVmDescriptionLabel:"Descrição",newVmPerfPanel:"Desempenho",newVmVcpusLabel:"vCPUs",newVmRamLabel:"RAM",newVmStaticMaxLabel:void 0,newVmDynamicMinLabel:void 0,newVmDynamicMaxLabel:void 0,newVmInstallSettingsPanel:"Definições de instalação",newVmIsoDvdLabel:"ISO/DVD",newVmNetworkLabel:"Rede",newVmInstallNetworkPlaceHolder:void 0,newVmPvArgsLabel:"PV argos",newVmPxeLabel:"PXE",newVmInterfacesPanel:"Interfaces",newVmMacLabel:"MAC",newVmAddInterface:"Adicionar uma interface",newVmDisksPanel:"Discos",newVmSrLabel:"SR",newVmBootableLabel:"Inicializável",newVmSizeLabel:"Tamanho",newVmAddDisk:"Adicionar disco",newVmSummaryPanel:"Sumário",newVmCreate:"Criar",newVmReset:"Reiniciar",newVmSelectTemplate:"Selecionar modelo (template)",newVmSshKey:"Chave SSH",newVmConfigDrive:"Configuração do drive",newVmCustomConfig:"Configuração personalizada",newVmBootAfterCreate:"Inicializar VM após sua criação",newVmMacPlaceholder:"Auto-gerada se vazio",newVmCpuWeightLabel:"Carga da CPU",newVmDefaultCpuWeight:void 0,newVmCpuCapLabel:void 0,newVmDefaultCpuCap:void 0,newVmCloudConfig:"Configuração do Cloud",newVmCreateVms:"Criar VMs",newVmCreateVmsConfirm:"Você tem certeza que deseja criar {nbVms} VMs?",newVmMultipleVms:"Multiplas VMs",newVmSelectResourceSet:void 0,newVmMultipleVmsPattern:void 0,newVmMultipleVmsPatternPlaceholder:void 0,newVmFirstIndex:void 0,newVmNumberRecalculate:void 0,newVmNameRefresh:void 0,newVmAdvancedPanel:void 0,newVmShowAdvanced:void 0,newVmHideAdvanced:void 0,resourceSets:"Ajustes de recursos",noResourceSets:void 0,loadingResourceSets:void 0,resourceSetName:"Ajuste de nome do recurso",recomputeResourceSets:void 0,saveResourceSet:"Salvar",resetResourceSet:"Redefinir",editResourceSet:"Editar",deleteResourceSet:"Deletar",deleteResourceSetWarning:"Deletar grupo de recurso",deleteResourceSetQuestion:"Você tem certeza que deseja deletar este ajuste?",resourceSetMissingObjects:"Objetos faltando",resourceSetVcpus:"vCPUs",resourceSetMemory:"Memória",resourceSetStorage:"Armazenamento (Storage)",unknownResourceSetValue:"Desconhecido",availableHosts:"Hosts disponiveis",excludedHosts:"Hosts excluídos",noHostsAvailable:"Sem hosts disponiveis",availableHostsDescription:"VMs criadas a partir desse conjunto de recursos deve ser executado nos hosts indicados.",maxCpus:"Limite de CPUs",maxRam:"Limite de RAM (GiB)",maxDiskSpace:"Limite de espaço de disco",ipPool:void 0,quantity:void 0,noResourceSetLimits:"Sem limites",totalResource:"Total",remainingResource:"Restando;",usedResource:"Usado:",resourceSetNew:void 0,importVmsList:"Tente soltar alguns backups aqui, ou clique para selecionar os backups para que seja feito o upload. Apenas arquivos .xva são aceitos.",noSelectedVms:"Nenhuma VM selecionada",vmImportToPool:"Enviar para Pool:",vmImportToSr:"Enviar para SR:",vmsToImport:"Importar VMs",importVmsCleanList:"Reiniciar",vmImportSuccess:"Importação feita com sucesso",vmImportFailed:"Falha na importação",startVmImport:"Iniciando importação...",startVmExport:"Iniciando exportação...",nCpus:void 0,vmMemory:void 0,diskInfo:void 0,diskDescription:void 0,noDisks:void 0,noNetworks:void 0,networkInfo:void 0,noVmImportErrorDescription:void 0,vmImportError:void 0,vmImportFileType:void 0,vmImportConfigAlert:void 0,noTasks:"Nenhuma tarefa pendente",xsTasks:"Atualmente nenhuma tarefa esta pendente no XenServer",backupSchedules:void 0,getRemote:void 0,listRemote:void 0,simpleBackup:void 0,delta:"delta",restoreBackups:"Recuperação de Backups",restoreBackupsInfo:void 0,remoteEnabled:"Habilitado",remoteError:"erro",noBackup:"Nenhum backup disponível",backupVmNameColumn:void 0,backupTags:void 0,lastBackupColumn:void 0,availableBackupsColumn:void 0,backupRestoreErrorTitle:void 0,backupRestoreErrorMessage:void 0,displayBackup:void 0,importBackupTitle:void 0,importBackupMessage:void 0,vmsToBackup:void 0,emergencyShutdownHostsModalTitle:void 0,emergencyShutdownHostsModalMessage:void 0,stopHostModalTitle:"Desligar host",stopHostModalMessage:"O host será desligado. Você tem certeza que deseja continuar?",addHostModalTitle:void 0,addHostModalMessage:void 0,restartHostModalTitle:"Reiniciar host",restartHostModalMessage:"O host será reiniciado. Você tem certeza que deseja continuar?",restartHostsAgentsModalTitle:void 0,restartHostsAgentsModalMessage:void 0,restartHostsModalTitle:void 0,restartHostsModalMessage:void 0,startVmsModalTitle:"Iniciar VM{vms, plural, one {} other {s}}",startVmsModalMessage:"Você tem certeza que deseja iniciar {vms} VM{vms, plural, one {} other {s}}?",stopHostsModalTitle:void 0,stopHostsModalMessage:void 0,stopVmsModalTitle:"Parar VM{vms, plural, one {} other {s}}",stopVmsModalMessage:"Você tem certeza que deseja parar {vms} VM{vms, plural, one {} other {s}}?",restartVmModalTitle:"Reiniciar VM",restartVmModalMessage:"Você tem certeza que deseja reiniciar {name}?",stopVmModalTitle:"Parar VM",stopVmModalMessage:"Você tem certeza que deseja parar {name}?",restartVmsModalTitle:"Reiniciar VM{vms, plural, one {} other {s}}",restartVmsModalMessage:"Você tem certeza que deseja reiniciar {vms} VM{vms, plural, one {} other {s}}?",snapshotVmsModalTitle:"Snapshot VM{vms, plural, one {} other {s}}",snapshotVmsModalMessage:"Você tem certeza que deseja executar snapshop para {vms} VM{vms, plural, one {} other {s}}?",deleteVmsModalTitle:"Deletar VM{vms, plural, one {} other {s}}",deleteVmsModalMessage:"Você tem certeza que deseja deletar {vms} VM{vms, plural, one {} other {s}}? Todos os discos de VM serão removidos",deleteVmModalTitle:"Deletar VM",deleteVmModalMessage:"Você tem certeza que deseja deletar esta VM? Todos os discos de VM serão removidos",migrateVmModalTitle:"Migrar VM",migrateVmSelectHost:void 0,migrateVmSelectMigrationNetwork:void 0,migrateVmSelectSrs:void 0,migrateVmSelectNetworks:void 0,migrateVmsSelectSr:void 0,migrateVmsSelectSrIntraPool:void 0,migrateVmsSelectNetwork:void 0,migrateVmsSmartMapping:void 0,migrateVmName:void 0,migrateVmSr:void 0,migrateVmVif:void 0,migrateVmNetwork:void 0,migrateVmNoTargetHost:void 0,migrateVmNoTargetHostMessage:void 0,deleteVdiModalTitle:void 0,deleteVdiModalMessage:void 0,revertVmModalTitle:void 0,deleteSnapshotModalTitle:void 0,deleteSnapshotModalMessage:void 0,revertVmModalMessage:void 0,revertVmModalSnapshotBefore:void 0,importBackupModalTitle:"Importar este Backup: {name}",importBackupModalStart:"Iniciar VM após restauração",importBackupModalSelectBackup:"Selecionar backup...",removeAllOrphanedModalWarning:"Você tem certeza que deseja remover todos as VDIs orfãs?",removeAllLogsModalTitle:"Remover todos os logs",removeAllLogsModalWarning:"Você tem certeza que deseja remover todos os logs?",definitiveMessageModal:"Esta operação é definitiva.",existingSrModalTitle:"Uso anterior SR",existingSrModalText:"Este caminho foi previamente utilizado como um dispositivo de armazenamento por um host XenServer. Todos os dados serão perdidos se você optar por continuar a criação do SR.",existingLunModalTitle:"Uso anterior LUN",existingLunModalText:"Este LUN foi previamente utilizado como um dispositivo de armazenamento por um host XenServer. Todos os dados serão perdidos se você optar por continuar a criação do SR.",alreadyRegisteredModal:"Deseja substituir o registro atual?",alreadyRegisteredModalText:"O seu XO appliance já foi registrado com o e-mail {email}, você tem certeza que gostaria de substituir este registro?",trialReadyModal:"Pronto para iniciar o teste (trial)?",trialReadyModalText:"Durante o período experimental, XOA precisa de uma conexão internet. Esta limitação não se aplica em nossos planos pagos!",serverHost:"Host",serverUsername:"Nome de Usuário",serverPassword:"Senha",serverAction:"Ação",serverReadOnly:"Modo Leitura",serverDisconnect:void 0,serverPlaceHolderUser:void 0,serverPlaceHolderPassword:void 0,serverPlaceHolderAddress:void 0,serverConnect:void 0,copyVm:"Copiar VM",copyVmConfirm:"Você tem certeza que deseja copiar esta VM para {SR}?",copyVmName:"Nome",copyVmNamePattern:void 0,copyVmNamePlaceholder:"Se vazio: Nome da VM copiada",copyVmNamePatternPlaceholder:void 0,copyVmSelectSr:"Selecionar SR",copyVmCompress:"Compressão",copyVmsNoTargetSr:void 0,copyVmsNoTargetSrMessage:void 0,detachHostModalTitle:void 0,detachHostModalMessage:void 0,detachHost:void 0,newNetworkCreate:"Criar rede",newBondedNetworkCreate:void 0,newNetworkInterface:"Inerface",newNetworkName:"Nome",newNetworkDescription:"Descrição",newNetworkVlan:"VLAN",newNetworkDefaultVlan:"Sem VLAN, caso esteja vazia",newNetworkMtu:"MTU",newNetworkDefaultMtu:"Padrão: 1500",newNetworkNoNameErrorTitle:void 0,newNetworkNoNameErrorMessage:void 0,newNetworkBondMode:void 0,
|
73 | deleteNetwork:"Deletar rede",deleteNetworkConfirm:"Você tem certeza que deseja deletar esta rede?",networkInUse:void 0,pillBonded:void 0,addHostSelectHost:void 0,addHostNoHost:void 0,addHostNoHostMessage:void 0,xenOrchestra:"Xen Orchestra",xenOrchestraServer:"servidor",xenOrchestraWeb:"cliente web",noProSupport:"Nenhum suporte pro fornecido!",noProductionUse:"O uso deste em produção é por sua conta e risco",downloadXoa:"Você pode baixar nosso turnkey appliance em",bugTracker:"Rastreador de bug",bugTrackerText:"Problemas? Envie agora!",community:"Comunidade",communityText:"Participe do nosso forum e de nossa comunidade!",freeTrial:"Versão Premium Edition disponível para período de teste (Trial)",freeTrialNow:"Peça já seu período de teste (Trial)",issues:"Algum problema encontrado?",issuesText:"Problemas? Entre em contato conosco",documentation:"Documentação",documentationText:"Leia nossa documentação oficial (Em inglês)",proSupportIncluded:"Suporte Pro incluído",xoAccount:"Acesse sua conta XO",openTicket:"Enviar um problema",openTicketText:"Algum problema? Abra um ticket agora!",upgradeNeeded:"Atualização necessária",upgradeNow:"Atualize agora!",or:"Ou",tryIt:"Teste agora, é grátis!",availableIn:"Este recurso é disponível a partir da versão {plan}",notAvailable:void 0,updateTitle:void 0,registration:"Inscrição",trial:"Teste (Trial)",settings:"Configurações",proxySettings:void 0,proxySettingsHostPlaceHolder:void 0,proxySettingsPortPlaceHolder:void 0,proxySettingsUsernamePlaceHolder:void 0,proxySettingsPasswordPlaceHolder:void 0,updateRegistrationEmailPlaceHolder:void 0,updateRegistrationPasswordPlaceHolder:void 0,update:"Atualizar (Update)",refresh:void 0,upgrade:"Atualização (Upgrade)",noUpdaterCommunity:"Nenhuma atualização disponível para a versão Community Edition",noUpdaterSubscribe:"Oi, inscreva-se e venha testar todos nossos recursos e serviços gratuitamente por 15 dias!",noUpdaterWarning:"Atualização feita de forma manual pode corromper sua instalação atual devido a problema de dependências, tenha cuidado!",currentVersion:"Versão atual:",register:"Registrar",editRegistration:void 0,trialRegistration:"Por favor, tome seu tempo para se registrar a fim de desfrutar do seu período de teste (trial)",trialStartButton:"Iniciar teste (trial)",trialAvailableUntil:"Sua versao de teste é válida até {date, date, medium}. Após esta data escolha um de nossos planos e continue a desfrutar de nosso software e serviços!",trialConsumed:"Seu período de teste chegou ao fim. Entre em contato conosco ou faça o downgrade para a versão grátis",trialLocked:"Seu serviço de atualização XOA parece não funcionar. Seu XOA não pode funcionar corretamente sem este serviço.",noUpdateInfo:void 0,waitingUpdateInfo:void 0,upToDate:void 0,mustUpgrade:void 0,registerNeeded:void 0,updaterError:void 0,promptUpgradeReloadTitle:void 0,promptUpgradeReloadMessage:void 0,disclaimerTitle:"Xen Orchestra versão Open-Source",disclaimerText1:"Você está usando XO Open-Source! Isso é ótimo para um uso pessoal / sem fins lucrativos.",disclaimerText2:"Se você é uma empresa, é melhor usá-lo com o nosso sistema appliance + suporte pro inclusos:",disclaimerText3:"Esta versão não está vinculada a qualquer tipo de suporte nem atualizações. Use-a com cuidado em se tratando de tarefas críticas.",connectPif:"Conectar PIF",connectPifConfirm:"Você tem certeza que deseja conectar este PIF?",disconnectPif:"Desconectar PIF",disconnectPifConfirm:"Você tem certeza que deseja desconectar este PIF?",deletePif:"Deletar PIF",deletePifConfirm:"Você tem certeza que deseja conectar este PIF?",username:void 0,password:void 0,language:void 0,oldPasswordPlaceholder:void 0,newPasswordPlaceholder:void 0,confirmPasswordPlaceholder:void 0,confirmationPasswordError:void 0,confirmationPasswordErrorBody:void 0,pwdChangeSuccess:void 0,pwdChangeSuccessBody:void 0,pwdChangeError:void 0,pwdChangeErrorBody:void 0,changePasswordOk:void 0,sshKeys:void 0,newSshKey:void 0,deleteSshKey:void 0,noSshKeys:void 0,newSshKeyModalTitle:void 0,sshKeyErrorTitle:void 0,sshKeyErrorMessage:void 0,title:void 0,key:void 0,deleteSshKeyConfirm:void 0,deleteSshKeyConfirmMessage:void 0,others:void 0,loadingLogs:void 0,logUser:void 0,logMethod:void 0,logParams:void 0,logMessage:void 0,logError:void 0,logDisplayDetails:void 0,logTime:void 0,logNoStackTrace:void 0,logNoParams:void 0,logDelete:void 0,logDeleteAll:void 0,logDeleteAllTitle:void 0,logDeleteAllMessage:void 0,ipPoolName:void 0,ipPoolIps:void 0,ipPoolIpsPlaceholder:void 0,ipPoolNetworks:void 0,ipsNoIpPool:void 0,ipsCreate:void 0,ipsDeleteAllTitle:void 0,ipsDeleteAllMessage:void 0,ipsVifs:void 0,ipsNotUsed:void 0,shortcutModalTitle:void 0,shortcut_XoApp:void 0,shortcut_GO_TO_HOSTS:void 0,shortcut_GO_TO_POOLS:void 0,shortcut_GO_TO_VMS:void 0,shortcut_CREATE_VM:void 0,shortcut_UNFOCUS:void 0,shortcut_HELP:void 0,shortcut_Home:void 0,shortcut_SEARCH:void 0,shortcut_NAV_DOWN:void 0,shortcut_NAV_UP:void 0,shortcut_SELECT:void 0,shortcut_JUMP_INTO:void 0,settingsAclsButtonTooltipVM:void 0,settingsAclsButtonTooltiphost:void 0,settingsAclsButtonTooltippool:void 0,settingsAclsButtonTooltipSR:void 0,settingsAclsButtonTooltipnetwork:void 0}},{"moment/locale/pt":808,"react-intl":1103,"react-intl/locale-data/pt":1109}],1444:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),e("moment/locale/zh-cn");var o=e("react-intl/locale-data/zh"),a=r(o),i=e("react-intl");(0,i.addLocaleData)(a.default),n.default={editableLongClickPlaceholder:"长按编辑",editableClickPlaceholder:"点击编辑",alertOk:"确认",confirmOk:"确认",confirmCancel:"取消",onError:"出现错误",successful:"成功",homePage:"主页",dashboardPage:"仪表盘",overviewDashboardPage:"概览",overviewVisualizationDashboardPage:"虚拟化",overviewStatsDashboardPage:"状态统计",overviewHealthDashboardPage:"健康状态",selfServicePage:"自助服务",selfServiceDashboardPage:"仪表盘",selfServiceAdminPage:"管理",backupPage:"备份",jobsPage:"任务",updatePage:"更新",settingsPage:"设置",settingsServersPage:"服务器",settingsUsersPage:"用户",settingsGroupsPage:"组",settingsAclsPage:"访问控制",settingsPluginsPage:"插件",aboutPage:"关于",newMenu:"新建",taskMenu:"任务",taskPage:"任务",newVmPage:"虚拟机",newSrPage:"存储",newServerPage:"服务器",newImport:"导入",backupOverviewPage:"概览",backupNewPage:"新建",backupRemotesPage:"远程",backupRestorePage:"恢复",schedule:"计划",newVmBackup:"新建虚拟机备份",editVmBackup:"编辑虚拟机备份",backup:"备份",rollingSnapshot:"滚动快照",deltaBackup:"差异备份",disasterRecovery:"灾难恢复",continuousReplication:"持续复制",jobsOverviewPage:"概览",jobsNewPage:"新建",jobsSchedulingPage:"计划",customJob:"自定义任务",userPage:"用户",signOut:"注销",homeFetchingData:"获取数据",homeWelcome:"欢迎使用Xen Orchestra",homeWelcomeText:"添加您的XenServer主机或资源池",homeHelp:"需要帮助?",homeAddServer:"添加服务器",homeOnlineDoc:"在线文档",homeProSupport:"专业支持",homeNoVms:"没有可用的虚拟机",homeNoVmsOr:"或",homeImportVm:"导入虚拟机",homeImportVmMessage:"导入一个XVA格式的虚拟机",homeRestoreBackup:"恢复到备份",homeRestoreBackupMessage:"恢复到远程存储上的备份",homeNewVmMessage:"将创建一个新的虚拟机",homeFilters:"过滤器",homeTypePool:"资源池",homeTypeHost:"主机",homeTypeVm:"虚拟机",homeTypeSr:"数据存储",homeTypeVdi:"虚拟硬盘",homeSort:"排序",homeAllPools:"资源池",homeAllHosts:"主机",homeAllTags:"标签",homeNewVm:"新建虚拟机",homeFilterRunningHosts:"正在运行的主机",homeFilterDisabledHosts:"不可用的主机",homeFilterRunningVms:"正在运行的虚拟机",homeFilterNonRunningVms:"未运行的虚拟机",homeFilterPendingVms:"正在创建的虚拟机",homeFilterHvmGuests:"HVM客户机",homeFilterTags:"标签",homeSortBy:"排序方式",homeSortByName:"名称",homeSortByPowerstate:"电源状态",homeSortByRAM:"内存",homeSortByvCPUs:"虚拟机CPU",homeSortByCpus:"CPU",homeDisplayedItems:void 0,homeSelectedItems:void 0,homeMore:"更多",homeMigrateTo:"迁移至...",homeMissingPaths:"缺少补丁",highAvailability:"高可用",add:"添加",remove:"删除",preview:"预览",item:"项",noSelectedValue:"没有选择的值",selectSubjects:"选择用户和/或用户组",selectObjects:"选择对象",selectRole:"选择一个角色",selectHosts:"选择主机",selectHostsVms:"选择虚拟机",selectNetworks:"选择网络",selectPifs:"选择网卡",selectPools:"选择资源池",selectRemotes:"选择远程",selectResourceSets:"选择资源集",selectResourceSetsVmTemplate:"选择模板",selectResourceSetsSr:"选择数据存储",selectResourceSetsNetwork:"选择网络",selectResourceSetsVdi:"选择硬盘",selectSrs:"选择数据存储",selectVms:"选择虚拟机",selectVmTemplates:"选择虚拟机模板",selectTags:"选择标签",selectVdis:"选择硬盘",fillRequiredInformations:"填写需要的信息",fillOptionalInformations:"填写信息",selectTableReset:"重置",schedulingMonth:"月",schedulingEveryMonth:"每月",schedulingEachSelectedMonth:"每个选定月份",schedulingMonthDay:"本月的一天",schedulingEveryMonthDay:"每天",schedulingEachSelectedMonthDay:"每个选定天",schedulingWeekDay:"本周的一天",schedulingEveryWeekDay:"每天",schedulingEachSelectedWeekDay:"每个选定天",schedulingHour:"小时",schedulingEveryHour:"每小时",schedulingEveryNHour:"每N小时",schedulingEachSelectedHour:"每个选定小时",schedulingMinute:"分钟",schedulingEveryMinute:"每分钟",schedulingEveryNMinute:"每N分钟",schedulingEachSelectedMinute:"每个选定分钟",schedulingReset:"重置",unknownSchedule:"未知",backupEditNotFoundTitle:"不能编辑备份",backupEditNotFoundMessage:"缺少版本所需要的信息",job:"任务",jobId:"任务ID",jobName:"名称",jobStart:"开始",jobEnd:"结束",jobDuration:"周期",jobStatus:"状态",jobAction:"行为",jobTag:"标签",jobScheduling:"计划",jobState:"状态",runJob:"运行任务",runJobVerbose:"开始一次运行,可查看概要日志",jobStarted:"已经开始",jobFinished:"已完成",saveBackupJob:"保存",deleteBackupSchedule:"删除备份任务",deleteBackupScheduleQuestion:"你确认你要删除这个备份任务吗?",scheduleEnableAfterCreation:"创建后立即启用",scheduleEditMessage:"你正在编辑计划{name} ({id}).保存将覆盖前一个计划状态.",jobEditMessage:"你正在编辑任务{name} ({id}).保存将覆盖前一个任务状态",noScheduledJobs:"没有计划任务",noJobs:"未找到任务",noSchedules:"未找到计划",jobActionPlaceHolder:"选择一个xo-server API 命令",newBackupSelection:"选择你的备份类型",remoteList:"远程备份存储",newRemote:"新建远程文件系统",remoteTypeLocal:"本地",remoteTypeNfs:"NFS",remoteTypeSmb:"SMB",remoteType:"类型",remoteTestTip:"测试你的远程配置",testRemote:"测试远程配置",remoteTestFailure:"失败的测试项 {name}",remoteTestSuccess:"通过的测试项{name}",remoteTestError:"错误",remoteTestStep:"测试步骤",remoteTestFile:"测试文件",remoteTestSuccessMessage:"远程配置运行正常",newSrTitle:"创建一个新的数据存储",newSrGeneral:"常规",newSrTypeSelection:"选择存储类型",newSrSettings:"设置",newSrUsage:"存储利用率",newSrSummary:"综述",newSrHost:"主机",newSrType:"类型",newSrName:"名称",newSrDescription:"描述",newSrServer:"服务器",newSrPath:"路径",newSrIqn:"IQN",newSrLun:"LUN",newSrAuth:"启用认证",newSrUsername:"用户名",newSrPassword:"密码",newSrDevice:"设备",newSrInUse:"使用中",newSrSize:"大小",newSrCreate:"创建",subjectName:"用户/组",objectName:"对象",roleName:"角色",newGroupName:"新建组名",createGroup:"创建组",createGroupButton:"创建",deleteGroup:"删除组",deleteGroupConfirm:"你确定要删除该组?",removeUserFromGroup:"从组中删除用户",deleteUserConfirm:"你确定要删除该用户?",deleteUser:"删除用户",unknownUser:"未知用户",noGroupFound:"没有找到组",groupNameColumn:"名称",groupUsersColumn:"用户",addUserToGroupColumn:"增加用户",userNameColumn:"邮件",userPermissionColumn:"权限",userPasswordColumn:"密码",userName:"邮件",userPassword:"密码",createUserButton:"创建",noUserFound:"没有找到用户",userLabel:"用户",adminLabel:"管理",noUserInGroup:"组中没有用户",countUsers:"{users} 用户{users, plural, one {} 其他 {s}}",selectPermission:"选择权限",autoloadPlugin:"服务器启动时自动加载",savePluginConfiguration:"保存配置",deletePluginConfiguration:"删除配置",pluginError:"插件错误",unknownPluginError:"未知错误",purgePluginConfiguration:"清除插件配置",purgePluginConfigurationQuestion:"你确定要清除此配置?",editPluginConfiguration:"编辑",cancelPluginEdition:"取消",pluginConfigurationSuccess:"插件配置",pluginConfigurationChanges:"插件配置保存成功",startVmLabel:"启动",recoveryModeLabel:"恢复启动",suspendVmLabel:"暂停",stopVmLabel:"关机",forceShutdownVmLabel:"强制关机",rebootVmLabel:"重启",forceRebootVmLabel:"强制重启",deleteVmLabel:"删除",migrateVmLabel:"迁移",snapshotVmLabel:"快照",exportVmLabel:"导出",resumeVmLabel:"恢复",copyVmLabel:"复制",cloneVmLabel:"克隆",fastCloneVmLabel:"快速克隆",convertVmToTemplateLabel:"转换成模板",vmConsoleLabel:"控制台",srRescan:"重新扫描所有磁盘",srReconnectAll:"连接所有主机",srDisconnectAll:"断开所有主机",srForget:"移除此数据存储",srRemoveButton:"删除此数据存储",srNoVdis:"此存储中没有VDI",hostsTabName:"主机",poolHaStatus:"高可用",poolHaEnabled:"启用",poolHaDisabled:"禁用",hostNameLabel:"名称",hostDescription:"描述",hostMemory:"内存",noHost:"没有主机",poolNetworkNameLabel:"名称",poolNetworkDescription:"描述",poolNetworkPif:"PIFs",poolNoNetwork:"没有网络",poolNetworkMTU:"MTU",poolNetworkPifAttached:"已连接",poolNetworkPifDetached:"未连接",addSrLabel:"添加数据存储",addVmLabel:"添加虚拟机",addHostLabel:"添加主机",disconnectServer:"断开",startHostLabel:"启动",stopHostLabel:"关机",enableHostLabel:"启用",disableHostLabel:"禁用",restartHostAgent:"重启toolstack",forceRebootHostLabel:"强制重启",rebootHostLabel:"重启",emergencyModeLabel:"紧急模式",storageTabName:"存储",patchesTabName:"补丁",statLoad:"负载平衡",hardwareHostSettingsLabel:"硬件",hostAddress:"地址",hostStatus:"状态",hostBuildNumber:"版本号",hostIscsiName:"iSCSI名称",hostXenServerVersion:"版本",hostStatusEnabled:"启用",hostStatusDisabled:"禁用",hostPowerOnMode:"开机模式",hostStartedSince:"系统启动时间",hostStackStartedSince:"Toolstack启动时间",hostCpusModel:"CPU型号",hostCpusNumber:"核 (socket)",hostManufacturerinfo:"制造商信息",hostBiosinfo:"BIOS 信息",licenseHostSettingsLabel:"授权",hostLicenseType:"类型",hostLicenseSocket:"插槽",hostLicenseExpiry:"过期",networkCreateButton:"新建一个网络",pifDeviceLabel:"设备",pifNetworkLabel:"网络",pifVlanLabel:"VLAN",pifAddressLabel:"地址",pifMacLabel:"MAC",pifMtuLabel:"MTU",pifStatusLabel:"状态",pifStatusConnected:"已连接",pifStatusDisconnected:"未连接",pifNoInterface:"没有检测到物理接口",addSrDeviceButton:"新建存储",srNameLabel:"名称",srType:"类型",pdbStatus:"状态",pbdStatusConnected:"已连接",pbdStatusDisconnected:"未连接",srShared:"已共享",srNotShared:"未共享",pbdNoSr:"未检测到存储",patchNameLabel:"名称",patchUpdateButton:"安装所有补丁",patchDescription:"描述",patchApplied:"应用日期",patchSize:"大小",patchStatus:"状态",patchStatusApplied:"已应用",patchStatusNotApplied:"缺少补丁",patchNothing:"未检测到补丁",patchReleaseDate:"发布日期",patchGuidance:"导航",patchAction:"操作",hostAppliedPatches:"已应用补丁",hostMissingPatches:"缺少补丁",hostUpToDate:"主机补丁为最新",refreshPatches:"刷新补丁包",installPoolPatches:"安装池补丁",generalTabName:"常规",statsTabName:"状态",consoleTabName:"控制台",snapshotsTabName:"快照",logsTabName:"日志",advancedTabName:"高级",networkTabName:"网络",disksTabName:"磁盘{disks, plural, one {} 其他 {s}}",powerStateHalted:"已停止",powerStateRunning:"正在运行",powerStateSuspended:"已暂停",vmStatus:"没有检测到Xen Tools",vmName:"没有IPv4记录",vmDescription:"没有IP记录",vmSettings:"已启动 {ago}",vmCurrentStatus:"当前状态",vmNotRunning:"没有运行",noToolsDetected:"没有检测到Xen Tools",noIpv4Record:"没有IPv4记录",noIpRecord:"没有IP记录",started:"已启动 {ago}",paraVirtualizedMode:"半虚拟化 (PV)",hardwareVirtualizedMode:"硬件虚拟化 (HVM)",statsCpu:"CPU利用率",statsMemory:"内存利用率",statsNetwork:"网络流量",useStackedValuesOnStats:"Stacked 值",statDisk:"磁盘吞吐",statLastTenMinutes:"最近10分钟",statLastTwoHours:"最近两小时",statLastWeek:"最近一周",statLastYear:"最近一年",copyToClipboardLabel:"复制",ctrlAltDelButtonLabel:"发送Ctrl+Alt+Del",tipLabel:"提示",tipConsoleLabel:"非美式键盘操作控制台可能出现问题:请切换至美式键盘模式",vdiAction:"操作",vdiAttachDeviceButton:"附加磁盘",vbdCreateDeviceButton:"新建磁盘",vdiBootOrder:"启动顺序",vdiNameLabel:"名称",vdiNameDescription:"描述",vdiTags:"标签",vdiSize:"磁盘大小",vdiSr:"数据存储",vdiVm:"虚拟机",vdbBootableStatus:"启动标识",vdbStatus:"状态",vbdStatusConnected:"已连接",vbdStatusDisconnected:"未连接",vbdNoVbd:"没有磁盘",vifCreateDeviceButton:"新建设备",vifNoInterface:"没有网卡",vifDeviceLabel:"设备",vifMacLabel:"MAC地址",vifMtuLabel:"MTU",vifNetworkLabel:"网络",vifStatusLabel:"状态",vifStatusConnected:"已连接",vifStatusDisconnected:"未连接",vifIpAddresses:"IP地址",vifMacAutoGenerate:"如果没有自动创建",noSnapshots:"没有快照",snapshotCreateButton:"新建快照",tipCreateSnapshotLabel:"点击快照按钮来创建快照",snapshotDate:"创建日期",snapshotName:"名称",snapshotAction:"操作",logRemoveAll:"删除所有日志",noLogs:"目前没有日志",logDate:"创建日期",logName:"名称",logContent:"目录",logAction:"操作",vmRemoveButton:"删除",vmConvertButton:"转换",xenSettingsLabel:"Xen 设置",guestOsLabel:"客户操作系统",miscLabel:"Misc",uuid:"UUID",virtualizationMode:"虚拟化模式",cpuWeightLabel:"CPU权重",defaultCpuWeight:"默认",pvArgsLabel:"PV参数",xenToolsStatus:"Xen tools状态",xenToolsStatusValue:"{status}",osName:"操作系统名称",osKernel:"操作系统内核",autoPowerOn:"自动卡机",ha:"高可用",originalTemplate:"来源模板",unknownOsName:"未知",unknownOsKernel:"未知",unknownOriginalTemplate:"未知",vmLimitsLabel:"虚拟机限制",vmCpuLimitsLabel:"CPU限制",vmMemoryLimitsLabel:"内存限制(min/max)",vmMaxVcpus:"最大虚拟CPU数",vmMaxRam:"最大内存",vmHomeNamePlaceholder:"长按来添加名称",vmHomeDescriptionPlaceholder:"长按来添加描述",vmViewNamePlaceholder:"点击添加名称",vmViewDescriptionPlaceholder:"点击添加描述",poolPanel:"池{pools, plural, one {} 其他 {s}}",hostPanel:"主机{hosts, plural, one {} 其他 {s}}",vmPanel:"虚拟机{vms, plural, one {} 其他 {s}}",memoryStatePanel:"内容使用率",cpuStatePanel:"CPU使用率",vmStatePanel:"虚拟机电源状态",taskStatePanel:"正在运行的任务",usersStatePanel:"用户",srStatePanel:"存储状态",ofUsage:"{usage} (of {total})",noSrs:"没有存储",srName:"名称",srPool:"资源池",srHost:"主机",srFormat:"类型",srSize:"大小",srUsage:"利用率",srUsed:"已使用",srFree:"剩余空间",srUsageStatePanel:"存储利用率",srTopUsageStatePanel:"数据存储使用率前5名(in %)",vmsStates:"{running} 正在运行 ({halted} 已停止)",weekHeatmapData:"{value} {date, date, medium}",weekHeatmapNoData:"没有数据",weeklyHeatmap:"每周热图",weeklyCharts:"每周图表",weeklyChartsScaleInfo:"同步范围",statsDashboardGenericErrorTitle:"状态错误",statsDashboardGenericErrorMessage:"没有可用的状态:",noSelectedMetric:"没有选择度量标准",statsDashboardSelectObjects:"选择",metricsLoading:"加载中....",comingSoon:"即将呈现",orphanedVdis:"孤立的VDI",orphanedVms:"孤立的虚拟机",noOrphanedObject:"没有孤立的内容",removeAllOrphanedObject:"删除所有孤立的VDI",vmNameLabel:"名称",vmNameDescription:"描述",vmContainer:"位于",alarmMessage:"警告",noAlarms:"没有警告",alarmDate:"日期",alarmContent:"内容",alarmObject:"问题",alarmPool:"资源池",alarmRemoveAll:"删除所有警告",newVmCreateNewVmOn:"创建一个新的位于{select}的虚拟机",newVmCreateNewVmOn2:"创建一个新的位于{select1} 或 {select2}的虚拟机",newVmCreateNewVmNoPermission:"你没有权限创建虚拟机",newVmInfoPanel:"信息",newVmNameLabel:"名称",newVmTemplateLabel:"模板",newVmDescriptionLabel:"描述",newVmPerfPanel:"性能",newVmVcpusLabel:"虚拟CPU",newVmRamLabel:"内存",newVmInstallSettingsPanel:"安装设置",newVmIsoDvdLabel:"ISO/DVD",newVmNetworkLabel:"网络",newVmPvArgsLabel:"PV参数",newVmPxeLabel:"PXE",newVmInterfacesPanel:"网络接口",newVmMacLabel:"MAC",newVmAddInterface:"添加网络接口",newVmDisksPanel:"磁盘",newVmSrLabel:"数据存储",newVmBootableLabel:"启动项",newVmSizeLabel:"大小",newVmAddDisk:"添加磁盘",newVmSummaryPanel:"概述",newVmCreate:"创建",newVmReset:"重置",newVmSelectTemplate:"选择模板",newVmSshKey:"SSH Key",newVmConfigDrive:"配置驱动器",newVmCustomConfig:"自定义配置",newVmBootAfterCreate:"创建后启动",newVmMacPlaceholder:"如果为空自动创建",newVmCpuWeightLabel:"CPU权重",newVmCpuWeightQuarter:"四分之一 (1/4)",newVmCpuWeightHalf:"二分之一 (1/2)",newVmCpuWeightNormal:"普通",newVmCpuWeightDouble:"双倍(x2)",newVmCloudConfig:"云配置",newVmCreateVms:"创建虚拟机",newVmCreateVmsConfirm:"你确定要创建 {nbVms} 虚拟机?",newVmMultipleVms:"多个虚拟机",newVmSelectResourceSet:"选择资源集",newVmMultipleVmsPattern:"命名模式",newVmMultipleVmsPatternPlaceholder:"例如: \\{name\\}_%",newVmFirstIndex:"首要标识",resourceSets:"资源集",noResourceSets:"没有资源集",resourceSetName:"资源集名称",resourceSetCreation:"创建并编辑",saveResourceSet:"保存",resetResourceSet:"重置",editResourceSet:"编辑",deleteResourceSet:"删除",deleteResourceSetWarning:"删除资源集",deleteResourceSetQuestion:"你确定要删除此资源集",resourceSetMissingObjects:"缺少对象",resourceSetVcpus:"虚拟CPU",resourceSetMemory:"内存",resourceSetStorage:"存储",unknownResourceSetValue:"未知",availableHosts:"可用主机",excludedHosts:"被排除的主机",noHostsAvailable:"没有可用主机",availableHostsDescription:"从这些资源中创建的虚拟机将运行在以下主机上",maxCpus:"最大CPU",maxRam:"最大内存",maxDiskSpace:"最大磁盘空间",noResourceSetLimits:"没有限制",totalResource:"合计",remainingResource:"剩余",usedResource:"已使用",importVmsList:"尝试将备份文件拖拽到这里,或点击选择备份文件上传,仅支持.xva格式的文件",noSelectedVms:"没有选择虚拟机",vmImportToPool:"到资源池",vmImportToSr:"到存储库",vmsToImport:"导入虚拟机",importVmsCleanList:"重置",vmImportSuccess:"虚拟机导入成功",vmImportFailed:"虚拟机导入失败",startVmImport:"开始导入",startVmExport:"开始导出",noTasks:"没有等待中的任务",xsTasks:"当前,没有任何等待中的XenServer任务",listRemote:"列出远程",simpleBackup:"简单",delta:"增量",restoreBackups:"恢复备份",noRemotes:"没有远程",remoteEnabled:"启用",remoteError:"错误",noBackup:"没有可用的备份",backupVmNameColumn:"虚拟机名称",backupTagColumn:"备份标识",lastBackupColumn:"最后备份",availableBackupsColumn:"可用的备份",restoreColumn:"恢复",restoreTip:"恢复虚拟机",importBackupTitle:"导入虚拟机",importBackupMessage:"开始你的备份导入",emergencyShutdownHostsModalTitle:"紧急关闭主机{nHosts, plural, one {} other {s}}",emergencyShutdownHostsModalMessage:"你确定要关闭 {nHosts} 主机{nHosts, plural, one {} other {s}}?",stopHostModalTitle:"关闭主机",stopHostModalMessage:"此操作将关闭你的主机,你确定要继续吗?",restartHostModalTitle:"重启主机",restartHostModalMessage:"此操作将重启你的主机,你确定要继续吗?",restartHostsAgentsModalTitle:"重启主机{nHosts, plural, one {} other {s}} 代理{nHosts, plural, one {} other {s}}",restartHostsAgentsModalMessage:"你确定要重启{nHosts}主机{nHosts, plural, one {} other {s}} 代理{nHosts, plural, one {} other {s}}?",restartHostsModalTitle:"重启主机{nHosts, plural, one {} other {s}}",restartHostsModalMessage:"你确定要重启{nHosts}主机{nHosts, plural, one {} other {s}}?",startVmsModalTitle:"启动虚拟机{vms, plural, one {} other {s}}",startVmsModalMessage:"你确定要启动 {vms} 虚拟机{vms, plural, one {} other {s}}?",stopHostsModalTitle:"停止主机{nHosts, plural, one {} other {s}}",stopHostsModalMessage:"你确定要停止{nHosts}主机{nHosts, plural, one {} other {s}}?",stopVmsModalTitle:"停止虚拟机{vms, plural, one {} other {s}}",stopVmsModalMessage:"你确定要停止{vms}虚拟机{vms, plural, one {} other {s}}?",restartVmModalTitle:"重新启动虚拟机",restartVmModalMessage:"你确定要重新启动{name}?",stopVmModalTitle:"停止虚拟机",stopVmModalMessage:"你确定要停止 {name}?",restartVmsModalTitle:"重新启动虚拟机{vms, plural, one {} other {s}}",restartVmsModalMessage:"你确定要重新启动{vms}虚拟机{vms, plural, one {} other {s}}?",snapshotVmsModalTitle:"执行虚拟机快照{vms, plural, one {} other {s}}",snapshotVmsModalMessage:"你确定要执行虚拟机{vms}快照{vms, plural, one {} other {s}}?",deleteVmModalTitle:"删除虚拟机",deleteVmsModalTitle:"删除虚拟机{vms, plural, one {} other {s}}",deleteVmModalMessage:"你确定要删除此虚拟机?所有的虚拟机磁盘将被删除",deleteVmsModalMessage:"你确定要删除 {vms}虚拟机{vms, plural, one {} other {s}}?所有的虚拟机磁盘将被删除",migrateVmModalTitle:"迁移虚拟机",migrateVmSelectHost:"选择一个目标主机",migrateVmSelectMigrationNetwork:"选择一个迁移网络",migrateVmSelectSrs:"为每个虚拟磁盘,选择存储库",migrateVmSelectNetworks:"为每个虚拟网卡,选择一个网络",migrateVmsSelectSr:"选择一个目标存储库",migrateVmsSelectSrIntraPool:"为本地磁盘选择一个目标存储库",migrateVmsSelectNetwork:"选择一个网络来连接每个虚拟网卡",migrateVmsSmartMapping:"智能映射",migrateVmName:"名称",migrateVmSr:"存储库",migrateVmVif:"虚拟网卡",migrateVmNetwork:"网络",migrateVmNoTargetHost:"没有目标主机",migrateVmNoTargetHostMessage:"需要一个目标主机来迁移一个虚拟机",importBackupModalTitle:"导入一个{name}备份",importBackupModalStart:"恢复后启动虚拟机",importBackupModalSelectBackup:"选择你的备份...",removeAllOrphanedModalWarning:"你确定要删除所有孤立的虚拟磁盘?",removeAllLogsModalTitle:"删除所有日志",removeAllLogsModalWarning:"你确定要删除所有日志?",definitiveMessageModal:"这个操作是不可更改的",existingSrModalTitle:"之前存储库的使用情况",existingSrModalText:"这条路径之前已经被一台XenServer主机用来连接存储。如果你选择继续创建存储库,所有的数据将丢失。",existingLunModalTitle:"之前LUN使用情况",existingLunModalText:"这个LUN之前已经被一台XenServer主机使用。如果你选择继续创建存储库,所有的数据将丢失。",alreadyRegisteredModal:"替换当前的注册?",alreadyRegisteredModalText:"你的XO设备已经注册给{email},你确定要删除并替换这个注册信息?",trialReadyModal:"准备试用?",trialReadyModalText:"在试用期内,XOA需要Internet连接才能正常使用,如果您正式付费将不受此限制",serverHost:"主机",serverUsername:"用户名",serverPassword:"密码",serverAction:"操作",serverReadOnly:"只读",copyVm:"复制虚拟机",copyVmConfirm:"你确定要复制此虚拟机到{SR}",copyVmName:"名称",copyVmNamePattern:"命名规范",copyVmNamePlaceholder:"如果复制虚拟机名称为空",copyVmNamePatternPlaceholder:'e.g.: "\\{name\\}_COPY"',copyVmSelectSr:"选择存储库",copyVmCompress:"使用压缩",copyVmsNoTargetSr:"没有目标存储库",copyVmsNoTargetSrMessage:"复制虚拟机需要选择一个目标存储库",newNetworkCreate:"创建网络",newNetworkInterface:"接口",newNetworkName:"名称",newNetworkDescription:"描述",newNetworkVlan:"VLAN",newNetworkDefaultVlan:"如果为空则没有VLAN",newNetworkMtu:"MTU",newNetworkDefaultMtu:"默认1500",deleteNetwork:"删除网络",deleteNetworkConfirm:"你确定要删除此网络",xenOrchestra:"Xen Orchestra",xenOrchestraServer:"服务器",xenOrchestraWeb:"Web客户端",noProSupport:"不提供专业支持!",noProductionUse:"在生产环境中使用将存在风险",downloadXoa:"您可以在这里下载我们的整套设备",bugTracker:"问题跟踪器",bugTrackerText:"出现问题?报告!",community:"社区",communityText:"加入我们的社区论坛",freeTrial:"铂金版免费试用",freeTrialNow:"立即请求试用",issues:"出现任何问题?",issuesText:"有问题?联系我们!",documentation:"文档",documentationText:"阅读我们官方文档",proSupportIncluded:"包含专业支持",xoAccount:"进入你的XO账户",openTicket:"报告一个问题",openTicketText:"存在问题?开个Case!",upgradeNeeded:"需要升级",upgradeNow:"立即升级",or:"或",tryIt:"免费试用",availableIn:"这个功能将在{plan}版本中可用",updateTitle:"更新",registration:"注册",trial:"试用",settings:"设置",update:"更新",upgrade:"升级",noUpdaterCommunity:"社区版本没有可用的升级",noUpdaterSubscribe:"请考虑订购或在15天内免费试用所有功能",noUpdaterWarning:"由于相关依赖关系的问题,手动更新将跑坏你当前的安全,请小心使用",currentVersion:"当前版本",register:"注册",trialRegistration:"为了您的正常使用,请考虑花时间注册",trialStartButton:"开始试用",trialAvailableUntil:"你可以使用试用版本直到{date, date, medium}。更新你的设备来获取",trialConsumed:"你的使用已经结束,联系我们或下载免费版本",trialLocked:"你的xoa-更新服务已停止。没有此服务你的XOA不能完全正常运行",noUpdateInfo:"没有更新信息可用",waitingUpdateInfo:"更新信息可能可用",upToDate:"你的XOA是最新的",mustUpgrade:"你需要更新你的XOA(有新版本可用)",registerNeeded:"你的XOA没有注册更新",updaterError:"不能获取更新信息",promptUpgradeReloadTitle:"更新成功",promptUpgradeReloadMessage:"你的XOA已经成功更新,你的浏览器必须重新加载,你要现在重新加载吗?",disclaimerTitle:"Xen Orchestra 源码版",disclaimerText1:"你在使用XO的源码版!这非常适合个人/非商业用途",disclaimerText2:"如果你是一个公司,建议使用我们的设备结合专业的支持",disclaimerText3:"这个版本没有绑定任何支持或更新,在紧急任务下,请谨慎使用",connectPif:"连接物理网卡",connectPifConfirm:"你确定要连接这个物理网卡?",disconnectPif:"断开物理网卡",disconnectPifConfirm:"你确定要断开这个网卡网卡?",deletePif:"删除物理网卡",deletePifConfirm:"你确定要删除这个物理网卡?",username:"用户名",password:"密码",language:"语言",oldPasswordPlaceholder:"原密码",newPasswordPlaceholder:"新密码",confirmPasswordPlaceholder:"确认新密码",confirmationPasswordError:"确认密码不正确",confirmationPasswordErrorBody:"确认密码不匹配",pwdChangeSuccess:"密码已修改",pwdChangeSuccessBody:"你的密码已成功修改",pwdChangeError:"密码错误",pwdChangeErrorBody:"原密码错误,你的密码未更改",changePasswordOk:"确认",others:"其他"}},{"moment/locale/zh-cn":809,"react-intl":1103,"react-intl/locale-data/zh":1110}],1445:[function(e,t,n){"use strict";var r=e("lodash/forEach"),o=e("lodash/isString"),a={statusConnecting:"Connecting",statusDisconnected:"Disconnected",statusLoading:"Loading…",errorPageNotFound:"Page not found",errorNoSuchItem:"no such item",editableLongClickPlaceholder:"Long click to edit",editableClickPlaceholder:"Click to edit",browseFiles:"Browse files",alertOk:"OK",confirmOk:"OK",confirmCancel:"Cancel",onError:"On error",successful:"Successful",filterNoSnapshots:"Full disks only",filterOnlySnapshots:"Snapshots only",copyToClipboard:"Copy to clipboard",pillMaster:"Master",homePage:"Home",homeVmPage:"VMs",homeHostPage:"Hosts",homePoolPage:"Pools",homeTemplatePage:"Templates",homeSrPage:"Storages",dashboardPage:"Dashboard",overviewDashboardPage:"Overview",overviewVisualizationDashboardPage:"Visualizations",overviewStatsDashboardPage:"Statistics",overviewHealthDashboardPage:"Health",selfServicePage:"Self service",backupPage:"Backup",jobsPage:"Jobs",updatePage:"Updates",settingsPage:"Settings",settingsServersPage:"Servers",settingsUsersPage:"Users",settingsGroupsPage:"Groups",settingsAclsPage:"ACLs",settingsPluginsPage:"Plugins",settingsLogsPage:"Logs",settingsIpsPage:"IPs",settingsConfigPage:"Config",aboutPage:"About",aboutXoaPlan:"About XO {xoaPlan}",newMenu:"New",taskMenu:"Tasks",taskPage:"Tasks",newVmPage:"VM",newSrPage:"Storage",newServerPage:"Server",newImport:"Import",xosan:"XOSAN",backupOverviewPage:"Overview",backupNewPage:"New",backupRemotesPage:"Remotes",backupRestorePage:"Restore",backupFileRestorePage:"File restore",schedule:"Schedule",newVmBackup:"New VM backup",editVmBackup:"Edit VM backup",backup:"Backup",rollingSnapshot:"Rolling Snapshot",deltaBackup:"Delta Backup",disasterRecovery:"Disaster Recovery",continuousReplication:"Continuous Replication",jobsOverviewPage:"Overview",jobsNewPage:"New",jobsSchedulingPage:"Scheduling",customJob:"Custom Job",userPage:"User",noSupport:"No support",freeUpgrade:"Free upgrade!",signOut:"Sign out",editUserProfile:"Edit my settings {username}",homeFetchingData:"Fetching data…",homeWelcome:"Welcome on Xen Orchestra!",homeWelcomeText:"Add your XenServer hosts or pools",homeConnectServerText:"Some XenServers have been registered but are not connected",homeHelp:"Want some help?",homeAddServer:"Add server",homeConnectServer:"Connect servers",homeOnlineDoc:"Online Doc",homeProSupport:"Pro Support",homeNoVms:"There are no VMs!",homeNoVmsOr:"Or…",homeImportVm:"Import VM",homeImportVmMessage:"Import an existing VM in xva format",homeRestoreBackup:"Restore a backup",homeRestoreBackupMessage:"Restore a backup from a remote store",homeNewVmMessage:"This will create a new VM",homeFilters:"Filters",homeNoMatches:"No results! Click here to reset your filters",homeTypePool:"Pool",homeTypeHost:"Host",homeTypeVm:"VM",homeTypeSr:"SR",homeTypeVmTemplate:"Template",homeSort:"Sort",homeAllPools:"Pools",homeAllHosts:"Hosts",homeAllTags:"Tags",homeNewVm:"New VM",homeFilterNone:"None",homeFilterRunningHosts:"Running hosts",homeFilterDisabledHosts:"Disabled hosts",homeFilterRunningVms:"Running VMs",homeFilterNonRunningVms:"Non running VMs",homeFilterPendingVms:"Pending VMs",homeFilterHvmGuests:"HVM guests",homeFilterTags:"Tags",homeSortBy:"Sort by",homeSortByName:"Name",homeSortByPowerstate:"Power state",homeSortByRAM:"RAM",homeSortByvCPUs:"vCPUs",homeSortByCpus:"CPUs",homeSortByShared:"Shared/Not shared",homeSortBySize:"Size",homeSortByUsage:"Usage",homeSortByType:"Type",homeDisplayedItems:"{displayed, number}x {icon} (on {total, number})",homeSelectedItems:"{selected, number}x {icon} selected (on {total, number})",homeMore:"More",homeMigrateTo:"Migrate to…",homeMissingPaths:"Missing patches",homePoolMaster:"Master:",homeResourceSet:"Resource set: {resourceSet}",highAvailability:"High Availability",srSharedType:"Shared {type}",srNotSharedType:"Not shared {type}",add:"Add",selectAll:"Select all",remove:"Remove",preview:"Preview",item:"Item",noSelectedValue:"No selected value",selectSubjects:"Choose user(s) and/or group(s)",selectObjects:"Select Object(s)…",selectRole:"Choose a role",selectHosts:"Select Host(s)…",selectHostsVms:"Select object(s)…",selectNetworks:"Select Network(s)…",selectPifs:"Select PIF(s)…",selectPools:"Select Pool(s)…",selectRemotes:"Select Remote(s)…",selectResourceSets:"Select resource set(s)…",selectResourceSetsVmTemplate:"Select template(s)…",selectResourceSetsSr:"Select SR(s)…",selectResourceSetsNetwork:"Select network(s)…",selectResourceSetsVdi:"Select disk(s)…",selectSshKey:"Select SSH key(s)…",selectSrs:"Select SR(s)…",selectVms:"Select VM(s)…",selectVmTemplates:"Select VM template(s)…",selectTags:"Select tag(s)…",selectVdis:"Select disk(s)…",selectTimezone:"Select timezone…",selectIp:"Select IP(s)…",selectIpPool:"Select IP pool(s)…",fillRequiredInformations:"Fill required informations.",fillOptionalInformations:"Fill informations (optional)",selectTableReset:"Reset",schedulingMonth:"Month",schedulingEveryNMonth:"Every N month",schedulingEachSelectedMonth:"Each selected month",schedulingDay:"Day",schedulingEveryNDay:"Every N day",schedulingEachSelectedDay:"Each selected day",schedulingSetWeekDayMode:"Switch to week days",schedulingSetMonthDayMode:"Switch to month days",schedulingHour:"Hour",schedulingEachSelectedHour:"Each selected hour",schedulingEveryNHour:"Every N hour",schedulingMinute:"Minute",schedulingEachSelectedMinute:"Each selected minute",schedulingEveryNMinute:"Every N minute",selectTableAllMonth:"Every month",selectTableAllDay:"Every day",selectTableAllHour:"Every hour",selectTableAllMinute:"Every minute",schedulingReset:"Reset",unknownSchedule:"Unknown",timezonePickerUseLocalTime:"Web browser timezone",serverTimezoneOption:"Server timezone ({value})",cronPattern:"Cron Pattern:",backupEditNotFoundTitle:"Cannot edit backup",backupEditNotFoundMessage:"Missing required info for edition",job:"Job",jobModalTitle:"Job {job}",jobId:"ID",jobType:"Type",jobName:"Name",jobNamePlaceholder:'Name of your job (forbidden: "_")',jobStart:"Start",jobEnd:"End",jobDuration:"Duration",jobStatus:"Status",jobAction:"Action",jobTag:"Tag",jobScheduling:"Scheduling",jobState:"State",jobStateEnabled:"Enabled",jobStateDisabled:"Disabled",jobTimezone:"Timezone",jobServerTimezone:"Server",runJob:"Run job",runJobVerbose:"One shot running started. See overview for logs.",jobStarted:"Started",jobFinished:"Finished",saveBackupJob:"Save",deleteBackupSchedule:"Remove backup job",deleteBackupScheduleQuestion:"Are you sure you want to delete this backup job?",scheduleEnableAfterCreation:"Enable immediately after creation",scheduleEditMessage:"You are editing Schedule {name} ({id}). Saving will override previous schedule state.",jobEditMessage:"You are editing job {name} ({id}). Saving will override previous job state.",noScheduledJobs:"No scheduled jobs.",noJobs:"No jobs found.",noSchedules:"No schedules found",
|
74 | jobActionPlaceHolder:"Select a xo-server API command",jobTimeoutPlaceHolder:" Timeout (number of seconds after which a VM is considered failed)",jobSchedules:"Schedules",jobScheduleNamePlaceHolder:"Name of your schedule",jobScheduleJobPlaceHolder:"Select a Job",jobOwnerPlaceholder:"Job owner",jobUserNotFound:"This job's creator no longer exists",backupUserNotFound:"This backup's creator no longer exists",backupOwner:"Backup owner",newBackupSelection:"Select your backup type:",smartBackupModeSelection:"Select backup mode:",normalBackup:"Normal backup",smartBackup:"Smart backup",localRemoteWarningTitle:"Local remote selected",localRemoteWarningMessage:"Warning: local remotes will use limited XOA disk space. Only for advanced users.",backupVersionWarning:"Warning: this feature works only with XenServer 6.5 or newer.",editBackupVmsTitle:"VMs",editBackupSmartStatusTitle:"VMs statuses",editBackupSmartResidentOn:"Resident on",editBackupSmartPools:"Pools",editBackupSmartTags:"Tags",editBackupSmartTagsTitle:"VMs Tags",editBackupNot:"Reverse",editBackupTagTitle:"Tag",editBackupReportTitle:"Report",editBackupReportEnable:"Enable immediately after creation",editBackupDepthTitle:"Depth",editBackupRemoteTitle:"Remote",remoteList:"Remote stores for backup",newRemote:"New File System Remote",remoteTypeLocal:"Local",remoteTypeNfs:"NFS",remoteTypeSmb:"SMB",remoteType:"Type",remoteTestTip:"Test your remote",testRemote:"Test Remote",remoteTestFailure:"Test failed for {name}",remoteTestSuccess:"Test passed for {name}",remoteTestError:"Error",remoteTestStep:"Test Step",remoteTestFile:"Test file",remoteTestName:"Test name",remoteTestNameFailure:"Remote name already exists!",remoteTestSuccessMessage:"The remote appears to work correctly",remoteConnectionFailed:"Connection failed",remoteName:"Name",remotePath:"Path",remoteState:"State",remoteDevice:"Device",remoteShare:"Share",remoteAction:"Action",remoteAuth:"Auth",remoteMounted:"Mounted",remoteUnmounted:"Unmounted",remoteConnectTip:"Connect",remoteDisconnectTip:"Disconnect",remoteConnected:"Connected",remoteDisconnected:"Disconnected",remoteDeleteTip:"Delete",remoteNamePlaceHolder:"remote name *",remoteMyNamePlaceHolder:"Name *",remoteLocalPlaceHolderPath:"/path/to/backup",remoteNfsPlaceHolderHost:"host *",remoteNfsPlaceHolderPath:"path/to/backup",remoteSmbPlaceHolderRemotePath:"subfolder [path\\to\\backup]",remoteSmbPlaceHolderUsername:"Username",remoteSmbPlaceHolderPassword:"Password",remoteSmbPlaceHolderDomain:"Domain",remoteSmbPlaceHolderAddressShare:"<address>\\<share> *",remotePlaceHolderPassword:"password(fill to edit)",newSrTitle:"Create a new SR",newSrGeneral:"General",newSrTypeSelection:"Select Storage Type:",newSrSettings:"Settings",newSrUsage:"Storage Usage",newSrSummary:"Summary",newSrHost:"Host",newSrType:"Type",newSrName:"Name",newSrDescription:"Description",newSrServer:"Server",newSrPath:"Path",newSrIqn:"IQN",newSrLun:"LUN",newSrAuth:"with auth.",newSrUsername:"User Name",newSrPassword:"Password",newSrDevice:"Device",newSrInUse:"in use",newSrSize:"Size",newSrCreate:"Create",newSrNamePlaceHolder:"Storage name",newSrDescPlaceHolder:"Storage description",newSrAddressPlaceHolder:"Address",newSrPortPlaceHolder:"[port]",newSrUsernamePlaceHolder:"Username",newSrPasswordPlaceHolder:"Password",newSrLvmDevicePlaceHolder:"Device, e.g /dev/sda…",newSrLocalPathPlaceHolder:"/path/to/directory",subjectName:"Users/Groups",objectName:"Object",aclNoneFound:"No acls found",roleName:"Role",aclCreate:"Create",newGroupName:"New Group Name",createGroup:"Create Group",createGroupButton:"Create",deleteGroup:"Delete Group",deleteGroupConfirm:"Are you sure you want to delete this group?",removeUserFromGroup:"Remove user from Group",deleteUserConfirm:"Are you sure you want to delete this user?",deleteUser:"Delete User",noUser:"no user",unknownUser:"unknown user",noGroupFound:"No group found",groupNameColumn:"Name",groupUsersColumn:"Users",addUserToGroupColumn:"Add User",userNameColumn:"Email",userPermissionColumn:"Permissions",userPasswordColumn:"Password",userName:"Email",userPassword:"Password",createUserButton:"Create",noUserFound:"No user found",userLabel:"User",adminLabel:"Admin",noUserInGroup:"No user in group",countUsers:"{users} user{users, plural, one {} other {s}}",selectPermission:"Select Permission",noPlugins:"No plugins found",autoloadPlugin:"Auto-load at server start",savePluginConfiguration:"Save configuration",deletePluginConfiguration:"Delete configuration",pluginError:"Plugin error",unknownPluginError:"Unknown error",purgePluginConfiguration:"Purge plugin configuration",purgePluginConfigurationQuestion:"Are you sure you want to purge this configuration ?",editPluginConfiguration:"Edit",cancelPluginEdition:"Cancel",pluginConfigurationSuccess:"Plugin configuration",pluginConfigurationChanges:"Plugin configuration successfully saved!",pluginConfigurationPresetTitle:"Predefined configuration",pluginConfigurationChoosePreset:"Choose a predefined configuration.",applyPluginPreset:"Apply",saveNewUserFilterErrorTitle:"Save filter error",saveNewUserFilterErrorBody:"Bad parameter: name must be given.",filterName:"Name:",filterValue:"Value:",saveNewFilterTitle:"Save new filter",setUserFiltersTitle:"Set custom filters",setUserFiltersBody:"Are you sure you want to set custom filters?",removeUserFilterTitle:"Remove custom filter",removeUserFilterBody:"Are you sure you want to remove custom filter?",defaultFilter:"Default filter",defaultFilters:"Default filters",customFilters:"Custom filters",customizeFilters:"Customize filters",saveCustomFilters:"Save custom filters",startVmLabel:"Start",recoveryModeLabel:"Recovery start",suspendVmLabel:"Suspend",stopVmLabel:"Stop",forceShutdownVmLabel:"Force shutdown",rebootVmLabel:"Reboot",forceRebootVmLabel:"Force reboot",deleteVmLabel:"Delete",migrateVmLabel:"Migrate",snapshotVmLabel:"Snapshot",exportVmLabel:"Export",resumeVmLabel:"Resume",copyVmLabel:"Copy",cloneVmLabel:"Clone",fastCloneVmLabel:"Fast clone",convertVmToTemplateLabel:"Convert to template",vmConsoleLabel:"Console",srRescan:"Rescan all disks",srReconnectAll:"Connect to all hosts",srDisconnectAll:"Disconnect from all hosts",srForget:"Forget this SR",srsForget:"Forget SRs",srRemoveButton:"Remove this SR",srNoVdis:"No VDIs in this storage",poolTitleRamUsage:"Pool RAM usage:",poolRamUsage:"{used} used on {total}",poolMaster:"Master:",displayAllHosts:"Display all hosts of this pool",displayAllStorages:"Display all storages of this pool",displayAllVMs:"Display all VMs of this pool",hostsTabName:"Hosts",vmsTabName:"Vms",srsTabName:"Srs",poolHaStatus:"High Availability",poolHaEnabled:"Enabled",poolHaDisabled:"Disabled",hostNameLabel:"Name",hostDescription:"Description",hostMemory:"Memory",noHost:"No hosts",memoryLeftTooltip:"{used}% used ({free} free)",pif:"PIF",poolNetworkNameLabel:"Name",poolNetworkDescription:"Description",poolNetworkPif:"PIFs",poolNoNetwork:"No networks",poolNetworkMTU:"MTU",poolNetworkPifAttached:"Connected",poolNetworkPifDetached:"Disconnected",showPifs:"Show PIFs",hidePifs:"Hide PIFs",showDetails:"Show details",hideDetails:"Hide details",poolNoStats:"No stats",poolAllHosts:"All hosts",addSrLabel:"Add SR",addVmLabel:"Add VM",addHostLabel:"Add Host",disconnectServer:"Disconnect",startHostLabel:"Start",stopHostLabel:"Stop",enableHostLabel:"Enable",disableHostLabel:"Disable",restartHostAgent:"Restart toolstack",forceRebootHostLabel:"Force reboot",rebootHostLabel:"Reboot",noHostsAvailableErrorTitle:"Error while restarting host",noHostsAvailableErrorMessage:"Some VMs cannot be migrated before restarting this host. Please try force reboot.",failHostBulkRestartTitle:"Error while restarting hosts",failHostBulkRestartMessage:"{failedHosts}/{totalHosts} host{failedHosts, plural, one {} other {s}} could not be restarted.",rebootUpdateHostLabel:"Reboot to apply updates",emergencyModeLabel:"Emergency mode",storageTabName:"Storage",patchesTabName:"Patches",statLoad:"Load average",memoryHostState:"RAM Usage: {memoryUsed}",hardwareHostSettingsLabel:"Hardware",hostAddress:"Address",hostStatus:"Status",hostBuildNumber:"Build number",hostIscsiName:"iSCSI name",hostXenServerVersion:"Version",hostStatusEnabled:"Enabled",hostStatusDisabled:"Disabled",hostPowerOnMode:"Power on mode",hostStartedSince:"Host uptime",hostStackStartedSince:"Toolstack uptime",hostCpusModel:"CPU model",hostCpusNumber:"Core (socket)",hostManufacturerinfo:"Manufacturer info",hostBiosinfo:"BIOS info",licenseHostSettingsLabel:"Licence",hostLicenseType:"Type",hostLicenseSocket:"Socket",hostLicenseExpiry:"Expiry",supplementalPacks:"Installed supplemental packs",supplementalPackNew:"Install new supplemental pack",supplementalPackPoolNew:"Install supplemental pack on every host",supplementalPackTitle:"{name} (by {author})",supplementalPackInstallStartedTitle:"Installation started",supplementalPackInstallStartedMessage:"Installing new supplemental pack...",supplementalPackInstallErrorTitle:"Installation error",supplementalPackInstallErrorMessage:"The installation of the supplemental pack failed.",supplementalPackInstallSuccessTitle:"Installation success",supplementalPackInstallSuccessMessage:"Supplemental pack successfully installed.",networkCreateButton:"Add a network",networkCreateBondedButton:"Add a bonded network",pifDeviceLabel:"Device",pifNetworkLabel:"Network",pifVlanLabel:"VLAN",pifAddressLabel:"Address",pifModeLabel:"Mode",pifMacLabel:"MAC",pifMtuLabel:"MTU",pifStatusLabel:"Status",pifStatusConnected:"Connected",pifStatusDisconnected:"Disconnected",pifNoInterface:"No physical interface detected",pifInUse:"This interface is currently in use",pifAction:"Action",defaultLockingMode:"Default locking mode",pifConfigureIp:"Configure IP address",configIpErrorTitle:"Invalid parameters",configIpErrorMessage:"IP address and netmask required",staticIp:"Static IP address",netmask:"Netmask",dns:"DNS",gateway:"Gateway",addSrDeviceButton:"Add a storage",srNameLabel:"Name",srType:"Type",pbdAction:"Action",pbdStatus:"Status",pbdStatusConnected:"Connected",pbdStatusDisconnected:"Disconnected",pbdConnect:"Connect",pbdDisconnect:"Disconnect",pbdForget:"Forget",srShared:"Shared",srNotShared:"Not shared",pbdNoSr:"No storage detected",patchNameLabel:"Name",patchUpdateButton:"Install all patches",patchDescription:"Description",patchApplied:"Applied date",patchSize:"Size",patchStatus:"Status",patchStatusApplied:"Applied",patchStatusNotApplied:"Missing patches",patchNothing:"No patch detected",patchReleaseDate:"Release date",patchGuidance:"Guidance",patchAction:"Action",hostAppliedPatches:"Applied patches",hostMissingPatches:"Missing patches",hostUpToDate:"Host up-to-date!",refreshPatches:"Refresh patches",installPoolPatches:"Install pool patches",checkForUpdates:"Check for updates",defaultSr:"Default SR",setAsDefaultSr:"Set as default SR",generalTabName:"General",statsTabName:"Stats",consoleTabName:"Console",containersTabName:"Container",snapshotsTabName:"Snapshots",logsTabName:"Logs",advancedTabName:"Advanced",networkTabName:"Network",disksTabName:"Disk{disks, plural, one {} other {s}}",powerStateHalted:"halted",powerStateRunning:"running",powerStateSuspended:"suspended",vmStatus:"No Xen tools detected",vmName:"No IPv4 record",vmDescription:"No IP record",vmSettings:"Started {ago}",vmCurrentStatus:"Current status:",vmNotRunning:"Not running",noToolsDetected:"No Xen tools detected",noIpv4Record:"No IPv4 record",noIpRecord:"No IP record",started:"Started {ago}",paraVirtualizedMode:"Paravirtualization (PV)",hardwareVirtualizedMode:"Hardware virtualization (HVM)",statsCpu:"CPU usage",statsMemory:"Memory usage",statsNetwork:"Network throughput",useStackedValuesOnStats:"Stacked values",statDisk:"Disk throughput",statLastTenMinutes:"Last 10 minutes",statLastTwoHours:"Last 2 hours",statLastWeek:"Last week",statLastYear:"Last year",copyToClipboardLabel:"Copy",ctrlAltDelButtonLabel:"Ctrl+Alt+Del",tipLabel:"Tip:",tipConsoleLabel:"Due to a XenServer issue, non-US keyboard layouts aren't well supported. Switch your own layout to US to workaround it.",hideHeaderTooltip:"Hide infos",showHeaderTooltip:"Show infos",containerName:"Name",containerCommand:"Command",containerCreated:"Creation date",containerStatus:"Status",containerAction:"Action",noContainers:"No existing containers",containerStop:"Stop this container",containerStart:"Start this container",containerPause:"Pause this container",containerResume:"Resume this container",containerRestart:"Restart this container",vdiAction:"Action",vdiAttachDeviceButton:"Attach disk",vbdCreateDeviceButton:"New disk",vdiBootOrder:"Boot order",vdiNameLabel:"Name",vdiNameDescription:"Description",vdiTags:"Tags",vdiSize:"Size",vdiSr:"SR",vdiVm:"VM",vdiMigrate:"Migrate VDI",vdiMigrateSelectSr:"Destination SR:",vdiMigrateAll:"Migrate all VDIs",vdiMigrateNoSr:"No SR",vdiMigrateNoSrMessage:"A target SR is required to migrate a VDI",vdiForget:"Forget",vdiRemove:"Remove VDI",vdbBootableStatus:"Boot flag",vdbStatus:"Status",vbdStatusConnected:"Connected",vbdStatusDisconnected:"Disconnected",vbdNoVbd:"No disks",vbdConnect:"Connect VBD",vbdDisconnect:"Disconnect VBD",vdbBootable:"Bootable",vdbReadonly:"Readonly",vbdAction:"Action",vdbCreate:"Create",vdbNamePlaceHolder:"Disk name",vdbSizePlaceHolder:"Size",cdDriveNotInstalled:"CD drive not completely installed",cdDriveInstallation:"Stop and start the VM to install the CD drive",saveBootOption:"Save",resetBootOption:"Reset",vifCreateDeviceButton:"New device",vifNoInterface:"No interface",vifDeviceLabel:"Device",vifMacLabel:"MAC address",vifMtuLabel:"MTU",vifNetworkLabel:"Network",vifStatusLabel:"Status",vifStatusConnected:"Connected",vifStatusDisconnected:"Disconnected",vifConnect:"Connect",vifDisconnect:"Disconnect",vifRemove:"Remove",vifIpAddresses:"IP addresses",vifMacAutoGenerate:"Auto-generated if empty",vifAllowedIps:"Allowed IPs",vifNoIps:"No IPs",vifLockedNetwork:"Network locked",vifLockedNetworkNoIps:"Network locked and no IPs are allowed for this interface",vifUnLockedNetwork:"Network not locked",vifUnknownNetwork:"Unknown network",vifAction:"Action",vifCreate:"Create",noSnapshots:"No snapshots",snapshotCreateButton:"New snapshot",tipCreateSnapshotLabel:"Just click on the snapshot button to create one!",revertSnapshot:"Revert VM to this snapshot",deleteSnapshot:"Remove this snapshot",copySnapshot:"Create a VM from this snapshot",exportSnapshot:"Export this snapshot",snapshotDate:"Creation date",snapshotName:"Name",snapshotAction:"Action",snapshotQuiesce:"Quiesced snapshot",logRemoveAll:"Remove all logs",noLogs:"No logs so far",logDate:"Creation date",logName:"Name",logContent:"Content",logAction:"Action",vmRemoveButton:"Remove",vmConvertButton:"Convert",xenSettingsLabel:"Xen settings",guestOsLabel:"Guest OS",miscLabel:"Misc",uuid:"UUID",virtualizationMode:"Virtualization mode",cpuWeightLabel:"CPU weight",defaultCpuWeight:"Default ({value, number})",cpuCapLabel:"CPU cap",defaultCpuCap:"Default ({value, number})",pvArgsLabel:"PV args",xenToolsStatus:"Xen tools status",xenToolsStatusValue:{defaultMessage:"{status}",description:"status can be `not-installed`, `unknown`, `out-of-date` & `up-to-date`"},osName:"OS name",osKernel:"OS kernel",autoPowerOn:"Auto power on",ha:"HA",vmAffinityHost:"Affinity host",noAffinityHost:"None",originalTemplate:"Original template",unknownOsName:"Unknown",unknownOsKernel:"Unknown",unknownOriginalTemplate:"Unknown",vmLimitsLabel:"VM limits",vmCpuLimitsLabel:"CPU limits",vmMemoryLimitsLabel:"Memory limits (min/max)",vmMaxVcpus:"vCPUs max:",vmMaxRam:"Memory max:",vmHomeNamePlaceholder:"Long click to add a name",vmHomeDescriptionPlaceholder:"Long click to add a description",vmViewNamePlaceholder:"Click to add a name",vmViewDescriptionPlaceholder:"Click to add a description",templateHomeNamePlaceholder:"Click to add a name",templateHomeDescriptionPlaceholder:"Click to add a description",templateDelete:"Delete template",templateDeleteModalTitle:"Delete VM template{templates, plural, one {} other {s}}",templateDeleteModalBody:"Are you sure you want to delete {templates, plural, one {this} other {these}} template{templates, plural, one {} other {s}}?",poolPanel:"Pool{pools, plural, one {} other {s}}",hostPanel:"Host{hosts, plural, one {} other {s}}",vmPanel:"VM{vms, plural, one {} other {s}}",memoryStatePanel:"RAM Usage:",cpuStatePanel:"CPUs Usage",vmStatePanel:"VMs Power state",taskStatePanel:"Pending tasks",usersStatePanel:"Users",srStatePanel:"Storage state",ofUsage:"{usage} (of {total})",noSrs:"No storage",srName:"Name",srPool:"Pool",srHost:"Host",srFormat:"Type",srSize:"Size",srUsage:"Usage",srUsed:"used",srFree:"free",srUsageStatePanel:"Storage Usage",srTopUsageStatePanel:"Top 5 SR Usage (in %)",vmsStates:"{running} running ({halted} halted)",dashboardStatsButtonRemoveAll:"Clear selection",dashboardStatsButtonAddAllHost:"Add all hosts",dashboardStatsButtonAddAllVM:"Add all VMs",weekHeatmapData:"{value} {date, date, medium}",weekHeatmapNoData:"No data.",weeklyHeatmap:"Weekly Heatmap",weeklyCharts:"Weekly Charts",weeklyChartsScaleInfo:"Synchronize scale:",statsDashboardGenericErrorTitle:"Stats error",statsDashboardGenericErrorMessage:"There is no stats available for:",noSelectedMetric:"No selected metric",statsDashboardSelectObjects:"Select",metricsLoading:"Loading…",comingSoon:"Coming soon!",orphanedVdis:"Orphaned snapshot VDIs",orphanedVms:"Orphaned VMs snapshot",noOrphanedObject:"No orphans",removeAllOrphanedObject:"Remove all orphaned snapshot VDIs",vmNameLabel:"Name",vmNameDescription:"Description",vmContainer:"Resident on",alarmMessage:"Alarms",noAlarms:"No alarms",alarmDate:"Date",alarmContent:"Content",alarmObject:"Issue on",alarmPool:"Pool",alarmRemoveAll:"Remove all alarms",spaceLeftTooltip:"{used}% used ({free} left)",newVmCreateNewVmOn:"Create a new VM on {select}",newVmCreateNewVmOn2:"Create a new VM on {select1} or {select2}",newVmCreateNewVmNoPermission:"You have no permission to create a VM",newVmInfoPanel:"Infos",newVmNameLabel:"Name",newVmTemplateLabel:"Template",newVmDescriptionLabel:"Description",newVmPerfPanel:"Performances",newVmVcpusLabel:"vCPUs",newVmRamLabel:"RAM",newVmStaticMaxLabel:"Static memory max",newVmDynamicMinLabel:"Dynamic memory min",newVmDynamicMaxLabel:"Dynamic memory max",newVmInstallSettingsPanel:"Install settings",newVmIsoDvdLabel:"ISO/DVD",newVmNetworkLabel:"Network",newVmInstallNetworkPlaceHolder:"e.g: http://httpredir.debian.org/debian",newVmPvArgsLabel:"PV Args",newVmPxeLabel:"PXE",newVmInterfacesPanel:"Interfaces",newVmMacLabel:"MAC",newVmAddInterface:"Add interface",newVmDisksPanel:"Disks",newVmSrLabel:"SR",newVmSizeLabel:"Size",newVmAddDisk:"Add disk",newVmSummaryPanel:"Summary",newVmCreate:"Create",newVmReset:"Reset",newVmSelectTemplate:"Select template",newVmSshKey:"SSH key",newVmConfigDrive:"Config drive",newVmCustomConfig:"Custom config",newVmBootAfterCreate:"Boot VM after creation",newVmMacPlaceholder:"Auto-generated if empty",newVmCpuWeightLabel:"CPU weight",newVmDefaultCpuWeight:"Default: {value, number}",newVmCpuCapLabel:"CPU cap",newVmDefaultCpuCap:"Default: {value, number}",newVmCloudConfig:"Cloud config",newVmCreateVms:"Create VMs",newVmCreateVmsConfirm:"Are you sure you want to create {nbVms} VMs?",newVmMultipleVms:"Multiple VMs:",newVmSelectResourceSet:"Select a resource set:",newVmMultipleVmsPattern:"Name pattern:",newVmMultipleVmsPatternPlaceholder:"e.g.: \\{name\\}_%",newVmFirstIndex:"First index:",newVmNumberRecalculate:"Recalculate VMs number",newVmNameRefresh:"Refresh VMs name",newVmAffinityHost:"Affinity host",newVmAdvancedPanel:"Advanced",newVmShowAdvanced:"Show advanced settings",newVmHideAdvanced:"Hide advanced settings",newVmShare:"Share this VM",resourceSets:"Resource sets",noResourceSets:"No resource sets.",loadingResourceSets:"Loading resource sets",resourceSetName:"Resource set name",recomputeResourceSets:"Recompute all limits",saveResourceSet:"Save",resetResourceSet:"Reset",editResourceSet:"Edit",deleteResourceSet:"Delete",deleteResourceSetWarning:"Delete resource set",deleteResourceSetQuestion:"Are you sure you want to delete this resource set?",resourceSetMissingObjects:"Missing objects:",resourceSetVcpus:"vCPUs",resourceSetMemory:"Memory",resourceSetStorage:"Storage",unknownResourceSetValue:"Unknown",availableHosts:"Available hosts",excludedHosts:"Excluded hosts",noHostsAvailable:"No hosts available.",availableHostsDescription:"VMs created from this resource set shall run on the following hosts.",maxCpus:"Maximum CPUs",maxRam:"Maximum RAM (GiB)",maxDiskSpace:"Maximum disk space",ipPool:"IP pool",quantity:"Quantity",noResourceSetLimits:"No limits.",totalResource:"Total:",remainingResource:"Remaining:",usedResource:"Used:",resourceSetNew:"New",importVmsList:"Try dropping some VMs files here, or click to select VMs to upload. Accept only .xva/.ova files.",noSelectedVms:"No selected VMs.",vmImportToPool:"To Pool:",vmImportToSr:"To SR:",vmsToImport:"VMs to import",importVmsCleanList:"Reset",vmImportSuccess:"VM import success",vmImportFailed:"VM import failed",startVmImport:"Import starting…",startVmExport:"Export starting…",nCpus:"N CPUs",vmMemory:"Memory",diskInfo:"Disk {position} ({capacity})",diskDescription:"Disk description",noDisks:"No disks.",noNetworks:"No networks.",networkInfo:"Network {name}",noVmImportErrorDescription:"No description available",vmImportError:"Error:",vmImportFileType:"{type} file:",vmImportConfigAlert:"Please to check and/or modify the VM configuration.",noTasks:"No pending tasks",xsTasks:"Currently, there are not any pending XenServer tasks",backupSchedules:"Schedules",getRemote:"Get remote",listRemote:"List Remote",simpleBackup:"simple",delta:"delta",restoreBackups:"Restore Backups",restoreBackupsInfo:"Click on a VM to display restore options",remoteEnabled:"Enabled",remoteError:"Error",noBackup:"No backup available",backupVmNameColumn:"VM Name",backupTags:"Tags",lastBackupColumn:"Last Backup",availableBackupsColumn:"Available Backups",backupRestoreErrorTitle:"Missing parameters",backupRestoreErrorMessage:"Choose a SR and a backup",displayBackup:"Display backups",importBackupTitle:"Import VM",importBackupMessage:"Starting your backup import",vmsToBackup:"VMs to backup",listRemoteBackups:"List remote backups",restoreFiles:"Restore backup files",restoreFilesError:"Invalid options",restoreFilesFromBackup:"Restore file from {name}",restoreFilesSelectBackup:"Select a backup…",restoreFilesSelectDisk:"Select a disk…",restoreFilesSelectPartition:"Select a partition…",restoreFilesSelectFolderPath:"Folder path",restoreFilesSelectFiles:"Select a file…",restoreFileContentNotFound:"Content not found",restoreFilesNoFilesSelected:"No files selected",restoreFilesSelectedFiles:"Selected files ({files}):",restoreFilesDiskError:"Error while scanning disk",restoreFilesSelectAllFiles:"Select all this folder's files",restoreFilesUnselectAll:"Unselect all files",emergencyShutdownHostsModalTitle:"Emergency shutdown Host{nHosts, plural, one {} other {s}}",emergencyShutdownHostsModalMessage:"Are you sure you want to shutdown {nHosts} Host{nHosts, plural, one {} other {s}}?",stopHostModalTitle:"Shutdown host",stopHostModalMessage:"This will shutdown your host. Do you want to continue? If it's the pool master, your connection to the pool will be lost",addHostModalTitle:"Add host",addHostModalMessage:"Are you sure you want to add {host} to {pool}?",restartHostModalTitle:"Restart host",restartHostModalMessage:"This will restart your host. Do you want to continue?",restartHostsAgentsModalTitle:"Restart Host{nHosts, plural, one {} other {s}} agent{nHosts, plural, one {} other {s}}",restartHostsAgentsModalMessage:"Are you sure you want to restart {nHosts} Host{nHosts, plural, one {} other {s}} agent{nHosts, plural, one {} other {s}}?",restartHostsModalTitle:"Restart Host{nHosts, plural, one {} other {s}}",restartHostsModalMessage:"Are you sure you want to restart {nHosts} Host{nHosts, plural, one {} other {s}}?",startVmsModalTitle:"Start VM{vms, plural, one {} other {s}}",startVmsModalMessage:"Are you sure you want to start {vms} VM{vms, plural, one {} other {s}}?",stopHostsModalTitle:"Stop Host{nHosts, plural, one {} other {s}}",stopHostsModalMessage:"Are you sure you want to stop {nHosts} Host{nHosts, plural, one {} other {s}}?",stopVmsModalTitle:"Stop VM{vms, plural, one {} other {s}}",stopVmsModalMessage:"Are you sure you want to stop {vms} VM{vms, plural, one {} other {s}}?",restartVmModalTitle:"Restart VM",restartVmModalMessage:"Are you sure you want to restart {name}?",stopVmModalTitle:"Stop VM",stopVmModalMessage:"Are you sure you want to stop {name}?",restartVmsModalTitle:"Restart VM{vms, plural, one {} other {s}}",restartVmsModalMessage:"Are you sure you want to restart {vms} VM{vms, plural, one {} other {s}}?",snapshotVmsModalTitle:"Snapshot VM{vms, plural, one {} other {s}}",snapshotVmsModalMessage:"Are you sure you want to snapshot {vms} VM{vms, plural, one {} other {s}}?",deleteVmsModalTitle:"Delete VM{vms, plural, one {} other {s}}",deleteVmsModalMessage:"Are you sure you want to delete {vms} VM{vms, plural, one {} other {s}}? ALL VM DISKS WILL BE REMOVED",deleteVmModalTitle:"Delete VM",deleteVmModalMessage:"Are you sure you want to delete this VM? ALL VM DISKS WILL BE REMOVED",migrateVmModalTitle:"Migrate VM",migrateVmSelectHost:"Select a destination host:",migrateVmSelectMigrationNetwork:"Select a migration network:",migrateVmSelectSrs:"For each VDI, select an SR:",migrateVmSelectNetworks:"For each VIF, select a network:",migrateVmsSelectSr:"Select a destination SR:",migrateVmsSelectSrIntraPool:"Select a destination SR for local disks:",migrateVmsSelectNetwork:"Select a network on which to connect each VIF:",migrateVmsSmartMapping:"Smart mapping",migrateVmName:"Name",migrateVmSr:"SR",migrateVmVif:"VIF",migrateVmNetwork:"Network",migrateVmNoTargetHost:"No target host",migrateVmNoTargetHostMessage:"A target host is required to migrate a VM",deleteVdiModalTitle:"Delete VDI",deleteVdiModalMessage:"Are you sure you want to delete this disk? ALL DATA ON THIS DISK WILL BE LOST",revertVmModalTitle:"Revert your VM",deleteSnapshotModalTitle:"Delete snapshot",deleteSnapshotModalMessage:"Are you sure you want to delete this snapshot?",revertVmModalMessage:"Are you sure you want to revert this VM to the snapshot state? This operation is irreversible.",revertVmModalSnapshotBefore:"Snapshot before",importBackupModalTitle:"Import a {name} Backup",importBackupModalStart:"Start VM after restore",importBackupModalSelectBackup:"Select your backup…",removeAllOrphanedModalWarning:"Are you sure you want to remove all orphaned snapshot VDIs?",removeAllLogsModalTitle:"Remove all logs",removeAllLogsModalWarning:"Are you sure you want to remove all logs?",definitiveMessageModal:"This operation is definitive.",existingSrModalTitle:"Previous SR Usage",existingSrModalText:"This path has been previously used as a Storage by a XenServer host. All data will be lost if you choose to continue the SR creation.",existingLunModalTitle:"Previous LUN Usage",existingLunModalText:"This LUN has been previously used as a Storage by a XenServer host. All data will be lost if you choose to continue the SR creation.",alreadyRegisteredModal:"Replace current registration?",alreadyRegisteredModalText:"Your XO appliance is already registered to {email}, do you want to forget and replace this registration ?",trialReadyModal:"Ready for trial?",trialReadyModalText:"During the trial period, XOA need to have a working internet connection. This limitation does not apply for our paid plans!",serverLabel:"Label",serverHost:"Host",serverUsername:"Username",serverPassword:"Password",serverAction:"Action",serverReadOnly:"Read Only",serverDisconnect:"Disconnect server",serverPlaceHolderUser:"username",serverPlaceHolderPassword:"password",serverPlaceHolderAddress:"address[:port]",serverPlaceHolderLabel:"label",serverConnect:"Connect",serverError:"Error",serverAddFailed:"Adding server failed",serverStatus:"Status",serverConnectionFailed:"Connection failed",serverConnecting:"Connecting...",serverConnected:"Connected",serverDisconnected:"Disconnected",serverAuthFailed:"Authentication error",serverUnknownError:"Unknown error",copyVm:"Copy VM",copyVmConfirm:"Are you sure you want to copy this VM to {SR}?",copyVmName:"Name",copyVmNamePattern:"Name pattern",copyVmNamePlaceholder:"If empty: name of the copied VM",copyVmNamePatternPlaceholder:'e.g.: "\\{name\\}_COPY"',copyVmSelectSr:"Select SR",copyVmCompress:"Use compression",copyVmsNoTargetSr:"No target SR",copyVmsNoTargetSrMessage:"A target SR is required to copy a VM",detachHostModalTitle:"Detach host",detachHostModalMessage:"Are you sure you want to detach {host} from its pool? THIS WILL REMOVE ALL VMs ON ITS LOCAL STORAGE AND REBOOT THE HOST.",detachHost:"Detach",newNetworkCreate:"Create network",newBondedNetworkCreate:"Create bonded network",newNetworkInterface:"Interface",newNetworkName:"Name",newNetworkDescription:"Description",newNetworkVlan:"VLAN",newNetworkDefaultVlan:"No VLAN if empty",newNetworkMtu:"MTU",newNetworkDefaultMtu:"Default: 1500",newNetworkNoNameErrorTitle:"Name required",newNetworkNoNameErrorMessage:"A name is required to create a network",newNetworkBondMode:"Bond mode",deleteNetwork:"Delete network",deleteNetworkConfirm:"Are you sure you want to delete this network?",networkInUse:"This network is currently in use",pillBonded:"Bonded",addHostSelectHost:"Host",addHostNoHost:"No host",addHostNoHostMessage:"No host selected to be added",xenOrchestra:"Xen Orchestra",xenOrchestraServer:"Xen Orchestra server",xenOrchestraWeb:"Xen Orchestra web client",noProSupport:"No pro support provided!",noProductionUse:"Use in production at your own risks",downloadXoaFromWebsite:"You can download our turnkey appliance at {website}",bugTracker:"Bug Tracker",bugTrackerText:"Issues? Report it!",community:"Community",communityText:"Join our community forum!",freeTrial:"Free Trial for Premium Edition!",freeTrialNow:"Request your trial now!",issues:"Any issue?",issuesText:"Problem? Contact us!",documentation:"Documentation",documentationText:"Read our official doc",proSupportIncluded:"Pro support included",xoAccount:"Access your XO Account",openTicket:"Report a problem",openTicketText:"Problem? Open a ticket!",upgradeNeeded:"Upgrade needed",upgradeNow:"Upgrade now!",or:"Or",tryIt:"Try it for free!",availableIn:"This feature is available starting from {plan} Edition",notAvailable:"This feature is not available in your version, contact your administrator to know more.",updateTitle:"Updates",registration:"Registration",trial:"Trial",settings:"Settings",proxySettings:"Proxy settings",proxySettingsHostPlaceHolder:"Host (myproxy.example.org)",proxySettingsPortPlaceHolder:"Port (eg: 3128)",proxySettingsUsernamePlaceHolder:"Username",proxySettingsPasswordPlaceHolder:"Password",updateRegistrationEmailPlaceHolder:"Your email account",updateRegistrationPasswordPlaceHolder:"Your password",update:"Update",refresh:"Refresh",upgrade:"Upgrade",noUpdaterCommunity:"No updater available for Community Edition",considerSubscribe:"Please consider subscribe and try it with all features for free during 15 days on {link}.",noUpdaterWarning:"Manual update could break your current installation due to dependencies issues, do it with caution",currentVersion:"Current version:",register:"Register",editRegistration:"Edit registration",trialRegistration:"Please, take time to register in order to enjoy your trial.",trialStartButton:"Start trial",trialAvailableUntil:"You can use a trial version until {date, date, medium}. Upgrade your appliance to get it.",trialConsumed:"Your trial has been ended. Contact us or downgrade to Free version",trialLocked:"Your xoa-updater service appears to be down. Your XOA cannot run fully without reaching this service.",noUpdateInfo:"No update information available",waitingUpdateInfo:"Update information may be available",upToDate:"Your XOA is up-to-date",mustUpgrade:"You need to update your XOA (new version is available)",registerNeeded:"Your XOA is not registered for updates",
|
75 | updaterError:"Can't fetch update information",promptUpgradeReloadTitle:"Upgrade successful",promptUpgradeReloadMessage:"Your XOA has successfully upgraded, and your browser must reload the application. Do you want to reload now ?",disclaimerTitle:"Xen Orchestra from the sources",disclaimerText1:"You are using XO from the sources! That's great for a personal/non-profit usage.",disclaimerText2:"If you are a company, it's better to use it with our appliance + pro support included:",disclaimerText3:"This version is not bundled with any support nor updates. Use it with caution for critical tasks.",connectPif:"Connect PIF",connectPifConfirm:"Are you sure you want to connect this PIF?",disconnectPif:"Disconnect PIF",disconnectPifConfirm:"Are you sure you want to disconnect this PIF?",deletePif:"Delete PIF",deletePifConfirm:"Are you sure you want to delete this PIF?",pifConnected:"Connected",pifDisconnected:"Disconnected",pifPhysicallyConnected:"Physically connected",pifPhysicallyDisconnected:"Physically disconnected",username:"Username",password:"Password",language:"Language",oldPasswordPlaceholder:"Old password",newPasswordPlaceholder:"New password",confirmPasswordPlaceholder:"Confirm new password",confirmationPasswordError:"Confirmation password incorrect",confirmationPasswordErrorBody:"Password does not match the confirm password.",pwdChangeSuccess:"Password changed",pwdChangeSuccessBody:"Your password has been successfully changed.",pwdChangeError:"Incorrect password",pwdChangeErrorBody:"The old password provided is incorrect. Your password has not been changed.",changePasswordOk:"OK",sshKeys:"SSH keys",newSshKey:"New SSH key",deleteSshKey:"Delete",noSshKeys:"No SSH keys",newSshKeyModalTitle:"New SSH key",sshKeyErrorTitle:"Invalid key",sshKeyErrorMessage:"An SSH key requires both a title and a key.",title:"Title",key:"Key",deleteSshKeyConfirm:"Delete SSH key",deleteSshKeyConfirmMessage:"Are you sure you want to delete the SSH key {title}?",others:"Others",loadingLogs:"Loading logs…",logUser:"User",logMethod:"Method",logParams:"Params",logMessage:"Message",logError:"Error",logDisplayDetails:"Display details",logTime:"Date",logNoStackTrace:"No stack trace",logNoParams:"No params",logDelete:"Delete log",logDeleteAll:"Delete all logs",logDeleteAllTitle:"Delete all logs",logDeleteAllMessage:"Are you sure you want to delete all the logs?",logIndicationToEnable:"Click to enable",logIndicationToDisable:"Click to disable",reportBug:"Report a bug",ipPoolName:"Name",ipPoolIps:"IPs",ipPoolIpsPlaceholder:"IPs (e.g.: 1.0.0.12-1.0.0.17;1.0.0.23)",ipPoolNetworks:"Networks",ipsNoIpPool:"No IP pools",ipsCreate:"Create",ipsDeleteAllTitle:"Delete all IP pools",ipsDeleteAllMessage:"Are you sure you want to delete all the IP pools?",ipsVifs:"VIFs",ipsNotUsed:"Not used",ipPoolUnknownVif:"unknown VIF",ipPoolNameAlreadyExists:"Name already exists",shortcutModalTitle:"Keyboard shortcuts",shortcut_XoApp:"Global",shortcut_GO_TO_HOSTS:"Go to hosts list",shortcut_GO_TO_POOLS:"Go to pools list",shortcut_GO_TO_VMS:"Go to VMs list",shortcut_GO_TO_SRS:"Go to SRs list",shortcut_CREATE_VM:"Create a new VM",shortcut_UNFOCUS:"Unfocus field",shortcut_HELP:"Show shortcuts key bindings",shortcut_Home:"Home",shortcut_SEARCH:"Focus search bar",shortcut_NAV_DOWN:"Next item",shortcut_NAV_UP:"Previous item",shortcut_SELECT:"Select item",shortcut_JUMP_INTO:"Open",settingsAclsButtonTooltipVM:"VM",settingsAclsButtonTooltiphost:"Hosts",settingsAclsButtonTooltippool:"Pool",settingsAclsButtonTooltipSR:"SR",settingsAclsButtonTooltipnetwork:"Network",noConfigFile:"No config file selected",importTip:"Try dropping a config file here, or click to select a config file to upload.",config:"Config",importConfig:"Import",importConfigSuccess:"Config file successfully imported",importConfigError:"Error while importing config file",exportConfig:"Export",downloadConfig:"Download current config",noConfigImportCommunity:"No config import available for Community Edition",srReconnectAllModalTitle:"Reconnect all hosts",srReconnectAllModalMessage:"This will reconnect this SR to all its hosts.",srsReconnectAllModalMessage:"This will reconnect each selected SR to its host (local SR) or to every hosts of its pool (shared SR).",srDisconnectAllModalTitle:"Disconnect all hosts",srDisconnectAllModalMessage:"This will disconnect this SR from all its hosts.",srsDisconnectAllModalMessage:"This will disconnect each selected SR from its host (local SR) or from every hosts of its pool (shared SR).",srForgetModalTitle:"Forget SR",srsForgetModalTitle:"Forget selected SRs",srForgetModalMessage:"Are you sure you want to forget this SR? VDIs on this storage won't be removed.",srsForgetModalMessage:"Are you sure you want to forget all the selected SRs? VDIs on these storages won't be removed.",srAllDisconnected:"Disconnected",srSomeConnected:"Partially connected",srAllConnected:"Connected",xosanTitle:"XOSAN",xosanSrTitle:"Xen Orchestra SAN SR",xosanAvailableSrsTitle:"Select local SRs (lvm)",xosanSuggestions:"Suggestions",xosanName:"Name",xosanHost:"Host",xosanHosts:"Hosts",xosanVolumeId:"Volume ID",xosanSize:"Size",xosanUsedSpace:"Used space",xosanNeedPack:"XOSAN pack needs to be installed on each host of the pool.",xosanInstallIt:"Install it now!",xosanInstallPackTitle:"Install XOSAN pack on {pool}",xosanSelect2Srs:"Select at least 2 SRs",xosanLayout:"Layout",xosanRedundancy:"Redundancy",xosanCapacity:"Capacity",xosanAvailableSpace:"Available space",xosanDiskLossLegend:"* Can fail without data loss",xosanCreate:"Create",xosanInstalling:"Installing XOSAN. Please wait...",xosanCommunity:"No XOSAN available for Community Edition",xosanInstallCloudPlugin:"Install cloud plugin first",xosanLoadCloudPlugin:"Load cloud plugin first",xosanLoading:"Loading...",xosanNotAvailable:"XOSAN is not available at the moment",xosanRegisterBeta:"Register for the XOSAN beta",xosanSuccessfullyRegistered:"You have successfully registered for the XOSAN beta. Please wait until your request has been approved.",xosanInstallPackOnHosts:"Install XOSAN pack on these hosts:",xosanInstallPack:"Install {pack} v{version}?",xosanNoPackFound:"No compatible XOSAN pack found for your XenServer versions.",xosanPackRequirements:"At least one of these version requirements must be satisfied by all the hosts in this pool:"};r(a,function(e,t){o(e)?a[t]={id:t,defaultMessage:e}:e.id||(e.id=t)}),t.exports=a},{"lodash/forEach":716,"lodash/isString":744}],1446:[function(e,t,n){"use strict";function r(e){var t=arguments.length-1;if(!t)return e();e=arguments[t];for(var n=new Array(t),r=0;r<t;++r)n[r]=arguments[r];return e.apply(void 0,n)}Object.defineProperty(n,"__esModule",{value:!0}),n.default=r},{}],1447:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.split(".").map(function(e){return parseInt(e,10)}),n=0;return n+=t[3],n+=256*t[2],n+=65536*t[1],n+=16777216*t[0]}function a(e,t){if(!x.test(e))throw new Error(t)}function i(e,t){var n,r,i,s;return f.default.wrap(function(l){for(;;)switch(l.prev=l.next){case 0:a(e,'argument "ip1" must be a valid IPv4 address'),a(t,'argument "ip2" must be a valid IPv4 address'),n=o(e),r=o(t),n>r&&(i=n,n=r,r=i),s=n;case 6:if(!(s<=r)){l.next=12;break}return l.next=9,(s>>24&255)+"."+(s>>16&255)+"."+(s>>8&255)+"."+(255&s);case 9:s++,l.next=6;break;case 12:case"end":return l.stop()}},S[0],this)}Object.defineProperty(n,"__esModule",{value:!0}),n.parseIpPattern=n.formatIps=n.getNextIpV4=n.isIpV6=n.isIpV4=n.isIp=void 0;var s=e("babel-runtime/helpers/toConsumableArray"),l=r(s),u=e("babel-runtime/helpers/extends"),c=r(u),d=e("babel-runtime/regenerator"),f=r(d),p=e("lodash/forEachRight"),h=r(p),m=e("lodash/forEach"),v=r(m),b=e("lodash/isArray"),g=r(b),y=e("is-ip"),_=r(y),M=e("lodash/some"),w=r(M),S=[i].map(f.default.mark);n.isIp=_.default;var C=n.isIpV4=_.default.v4,x=(n.isIpV6=_.default.v6,/^(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(?:\.(?!$)|$)){4}$/),k=n.getNextIpV4=function(e){var t=e.split(".");if(4===t.length&&!(0,w.default)(t,function(e){return e<0||e>255})){var n=void 0;return(0,h.default)(t,function(e,r){return e<255?(n=r,!1):void(t[r]=1)}),0===n&&255===+t[0]?0:(t[n]++,t.join("."))}};n.formatIps=function(e){if(!(0,g.default)(e))throw new Error("ips must be an array");if(0===e.length)return[];var t=e.sort(function(e,t){var n=e.split("."),r=t.split(".");return 4!==n.length?1:4!==r.length?-1:n[3]-r[3]+256*(n[2]-r[2])+256*(n[1]-r[1])*256+256*(n[0]-r[0])*256*256}),n={first:"",last:""},r=[],o=0;return(0,v.default)(t,function(e){e!==k(n.last)?(n.first&&(r[o]=n.first===n.last?n.first:(0,c.default)({},n),o++),n.first=n.last=e):n.last=e}),r[o]=n.first===n.last?n.first:n,r},n.parseIpPattern=function(e){var t=[];return(0,v.default)(e.split(";"),function(e){var n=e.split("-");n.length<2?t.push(n[0]):C(n[0])&&C(n[1])?t.push.apply(t,(0,l.default)(i(n[0],n[1]))):t.push(e)}),t}},{"babel-runtime/helpers/extends":25,"babel-runtime/helpers/toConsumableArray":32,"babel-runtime/regenerator":147,"is-ip":365,"lodash/forEach":716,"lodash/forEachRight":717,"lodash/isArray":731,"lodash/some":774}],1448:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s=e("babel-runtime/helpers/jsx"),l=r(s),u=e("babel-runtime/core-js/object/get-prototype-of"),c=r(u),d=e("babel-runtime/helpers/classCallCheck"),f=r(d),p=e("babel-runtime/helpers/createClass"),h=r(p),m=e("babel-runtime/helpers/possibleConstructorReturn"),v=r(m),b=e("babel-runtime/helpers/inherits"),g=r(b),y=e("react"),_=(r(y),e("intl")),M=r(_),w=e("./action-button"),S=r(w),C=e("./base-component"),x=r(C),k=e("icon"),T=r(k),A=e("./prop-types"),P=r(A),N=e("tooltip"),O=r(N),E=e("modal"),z=e("./utils"),R=e("./select-objects"),j=e("./selectors"),L=e("./xo"),D=(0,l.default)(T.default,{icon:"alarm",size:"lg"}),I=(o=(0,P.default)({vm:P.default.object.isRequired}),a=(0,z.connectStore)(function(){var e=(0,j.createFinder)((0,j.createGetObjectsOfType)("VBD").pick(function(e,t){var n=t.vm;return n.$VBDs}),[function(e){return e.is_cd_drive}]),t=(0,j.createGetObject)(function(t,n){var r=e(t,n);if(r)return r.VDI});return{cdDrive:e,mountedIso:t}}),o(i=a(i=function(e){function t(){var e,n,r,o;(0,f.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,v.default)(this,(e=t.__proto__||(0,c.default)(t)).call.apply(e,[this].concat(i))),r._getPredicate=(0,j.createSelector)(function(){return r.props.vm.$pool},function(){return r.props.vm.$container},function(e,t){return function(n){var r=t!==e,o=t===n.$container,a=e===n.$pool;return a&&(!r||(n.shared||o))&&("iso"===n.SR_type||"udev"===n.SR_type&&n.size)}}),r._handleInsert=function(e){var t=r.props.vm;e?(0,L.insertCd)(t,e.id,!0):(0,L.ejectCd)(t)},r._handleEject=function(){return(0,L.ejectCd)(r.props.vm)},r._showWarning=function(){return(0,E.alert)((0,M.default)("cdDriveNotInstalled"),(0,M.default)("cdDriveInstallation"))},o=n,(0,v.default)(r,o)}return(0,g.default)(t,e),(0,h.default)(t,[{key:"render",value:function(){var e=this.props,t=e.cdDrive,n=e.mountedIso;return(0,l.default)("div",{className:"input-group"},void 0,(0,l.default)(R.SelectVdi,{srPredicate:this._getPredicate(),onChange:this._handleInsert,value:n}),(0,l.default)("span",{className:"input-group-btn"},void 0,(0,l.default)(S.default,{disabled:!n,handler:this._handleEject,icon:"vm-eject"})),n&&!t.device&&(0,l.default)(O.default,{content:(0,M.default)("cdDriveNotInstalled")},void 0,(0,l.default)("a",{className:"text-warning btn btn-link",onClick:this._showWarning},void 0,D)))}}]),t}(x.default))||i)||i);n.default=I},{"./action-button":1401,"./base-component":1405,"./prop-types":1464,"./select-objects":1469,"./selectors":1470,"./utils":1490,"./xo":1519,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,icon:1435,intl:1436,modal:1461,react:1269,tooltip:1488}],1449:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s=e("babel-runtime/helpers/jsx"),l=r(s),u=e("babel-runtime/core-js/object/get-prototype-of"),c=r(u),d=e("babel-runtime/helpers/classCallCheck"),f=r(d),p=e("babel-runtime/helpers/createClass"),h=r(p),m=e("babel-runtime/helpers/possibleConstructorReturn"),v=r(m),b=e("babel-runtime/helpers/inherits"),g=r(b),y=e("lodash/map"),_=r(y),M=e("lodash/filter"),w=r(M),S=e("react"),C=(r(S),e("uncontrollable-input")),x=r(C),k=e("../intl"),T=r(k),A=e("../button"),P=r(A),N=e("../base-component"),O=r(N),E=e("../prop-types"),z=r(E),R=e("../utils"),j=e("./generic-input"),L=r(j),D=e("./helpers"),I=(0,l.default)("hr",{}),B=(o=(0,z.default)({depth:z.default.number,disabled:z.default.bool,label:z.default.any.isRequired,required:z.default.bool,schema:z.default.object.isRequired,uiSchema:z.default.object}),a=(0,x.default)(),o(i=a(i=function(e){function t(){var e,n,r,o;(0,f.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,v.default)(this,(e=t.__proto__||(0,c.default)(t)).call.apply(e,[this].concat(i))),r.state={use:r.props.required||(0,D.forceDisplayOptionalAttr)(r.props)},r._onAddItem=function(){var e=r,t=e.props;t.onChange((t.value||R.EMPTY_ARRAY).concat(void 0))},r._onChangeItem=function(e,t){var n=Number(t),o=r,a=o.props,i=(a.value||R.EMPTY_ARRAY).slice();i[n]=e,a.onChange(i)},r._onRemoveItem=function(e){var t=r,n=t.props;n.onChange((0,w.default)(n.value,function(t,n){return n!==e}))},o=n,(0,v.default)(r,o)}return(0,g.default)(t,e),(0,h.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.depth,r=void 0===n?0:n,o=t.disabled,a=t.label,i=t.required,s=t.schema,u=t.uiSchema,c=t.value,d=void 0===c?R.EMPTY_ARRAY:c,f=this.state.use,p=r+2,h=s.items,m=u&&u.items,v=h.title||(0,T.default)("item");return(0,l.default)("div",{style:{paddingLeft:r+"em"}},void 0,(0,l.default)("legend",{},void 0,a),(0,D.descriptionRender)(s.description),I,!i&&(0,l.default)("div",{className:"checkbox"},void 0,(0,l.default)("label",{},void 0,(0,l.default)("input",{checked:f,disabled:o,onChange:this.linkState("use"),type:"checkbox"})," ",(0,T.default)("fillOptionalInformations"))),f&&(0,l.default)("div",{className:"card-block"},void 0,(0,l.default)("ul",{style:{paddingLeft:0}},void 0,(0,_.default)(d,function(t,n){return(0,l.default)("li",{className:"list-group-item clearfix"},n,(0,l.default)(L.default,{depth:p,disabled:o,label:v,name:n,onChange:e._onChangeItem,required:!0,schema:h,uiSchema:m,value:t}),(0,l.default)(P.default,{btnStyle:"danger",className:"pull-right",disabled:o,name:n,onClick:function(){return e._onRemoveItem(n)}},void 0,(0,T.default)("remove")))})),(0,l.default)(P.default,{btnStyle:"primary",className:"pull-right mt-1 mr-1",disabled:o,onClick:this._onAddItem},void 0,(0,T.default)("add"))))}}]),t}(O.default))||i)||i);n.default=B},{"../base-component":1405,"../button":1407,"../intl":1436,"../prop-types":1464,"../utils":1490,"./generic-input":1452,"./helpers":1453,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"lodash/filter":709,"lodash/map":754,react:1269,"uncontrollable-input":1361}],1450:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/helpers/objectWithoutProperties"),u=r(l),c=e("babel-runtime/core-js/object/get-prototype-of"),d=r(c),f=e("babel-runtime/helpers/classCallCheck"),p=r(f),h=e("babel-runtime/helpers/createClass"),m=r(h),v=e("babel-runtime/helpers/possibleConstructorReturn"),b=r(v),g=e("babel-runtime/helpers/inherits"),y=r(g),_=e("react"),M=r(_),w=e("uncontrollable-input"),S=r(w),C=e("../base-component"),x=r(C),k=e("../form"),T=e("./helpers"),A=(o=(0,S.default)(),o(a=function(e){function t(){return(0,p.default)(this,t),(0,b.default)(this,(t.__proto__||(0,d.default)(t)).apply(this,arguments))}return(0,y.default)(t,e),(0,m.default)(t,[{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.onChange,r=e.value,o=(0,u.default)(e,["disabled","onChange","value"]);return M.default.createElement(T.PrimitiveInputWrapper,o,(0,s.default)("div",{className:"checkbox form-control"},void 0,(0,s.default)(k.Toggle,{disabled:t,onChange:n,value:r})))}}]),t}(x.default))||a);n.default=A},{"../base-component":1405,"../form":1425,"./helpers":1453,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/objectWithoutProperties":28,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"uncontrollable-input":1361}],1451:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("lodash/map"),y=r(g),_=e("lodash/findIndex"),M=r(_),w=e("intl"),S=r(w),C=e("uncontrollable-input"),x=r(C),k=e("base-component"),T=r(k),A=e("react"),P=r(A),N=e("reselect"),O=e("./helpers"),E=(o=(0,x.default)(),o(a=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,u.default)(t)).call.apply(e,[this].concat(i))),r._getSelectedIndex=(0,N.createSelector)(function(){return r.props.schema.enum},function(){var e=r.props,t=e.schema,n=e.value,o=void 0===n?t.default:n;return o},function(e,t){var n=(0,M.default)(e,function(e){return e===t});return n===-1?"":n}),r._onChange=function(e){r.props.onChange(r.props.schema.enum[e.target.value])},o=n,(0,m.default)(r,o)}return(0,b.default)(t,e),(0,p.default)(t,[{key:"render",value:function(){var e=this.props,t=e.disabled,n=e.schema,r=n.enum,o=n.enumNames,a=void 0===o?r:o,i=e.required;return P.default.createElement(O.PrimitiveInputWrapper,this.props,(0,s.default)("select",{className:"form-control",disabled:t,onChange:this._onChange,required:i,value:this._getSelectedIndex()},void 0,(0,S.default)("noSelectedValue",function(e){return(0,s.default)("option",{value:""},void 0,e)}),(0,y.default)(a,function(e,t){return(0,s.default)("option",{value:t},t,e)})))}}]),t}(T.default))||a);n.default=E},{"./helpers":1453,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,intl:1436,"lodash/findIndex":711,"lodash/map":754,react:1269,reselect:1291,"uncontrollable-input":1361}],1452:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s=e("babel-runtime/helpers/extends"),l=r(s),u=e("babel-runtime/helpers/objectWithoutProperties"),c=r(u),d=e("babel-runtime/core-js/object/get-prototype-of"),f=r(d),p=e("babel-runtime/helpers/classCallCheck"),h=r(p),m=e("babel-runtime/helpers/createClass"),v=r(m),b=e("babel-runtime/helpers/possibleConstructorReturn"),g=r(b),y=e("babel-runtime/helpers/inherits"),_=r(y),M=e("react"),w=r(M),S=e("../get-event-value"),C=r(S),x=e("../prop-types"),k=r(x),T=e("uncontrollable-input"),A=r(T),P=e("../utils"),N=e("./array-input"),O=r(N),E=e("./boolean-input"),z=r(E),R=e("./enum-input"),j=r(R),L=e("./integer-input"),D=r(L),I=e("./number-input"),B=r(I),V=e("./object-input"),q=r(V),F=e("./string-input"),U=r(F),W=e("./helpers"),H={array:O.default,boolean:z.default,integer:D.default,number:B.default,object:q.default,string:U.default},X=(o=(0,k.default)({depth:k.default.number,disabled:k.default.bool,label:k.default.any.isRequired,required:k.default.bool,schema:k.default.object.isRequired,uiSchema:k.default.object}),a=(0,A.default)(),o(i=a(i=function(e){function t(){var e,n,r,o;(0,h.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,g.default)(this,(e=t.__proto__||(0,f.default)(t)).call.apply(e,[this].concat(i))),r._onChange=function(e){var t=r.props,n=t.name,o=t.onChange;o&&o((0,C.default)(e),n)},o=n,(0,g.default)(r,o)}return(0,_.default)(t,e),(0,v.default)(t,[{key:"render",value:function(){var e=this.props,t=e.schema,n=e.value,r=void 0===n?t.default:n,o=e.uiSchema,a=void 0===o?P.EMPTY_OBJECT:o,i=(0,c.default)(e,["schema","value","uiSchema"]),s=(0,l.default)({},i,{onChange:this._onChange,schema:t,uiSchema:a,value:r});if(t.enum)return w.default.createElement(j.default,s);var u=(0,W.getType)(t),d=a.widget||H[u.toLowerCase()];if(!d)throw new Error("Unsupported type: "+u+".");return w.default.createElement(d,(0,l.default)({},s,a.config))}}]),t}(M.Component))||i)||i);n.default=X},{"../get-event-value":1430,"../prop-types":1464,"../utils":1490,"./array-input":1449,"./boolean-input":1450,"./enum-input":1451,"./helpers":1453,"./integer-input":1455,"./number-input":1456,"./object-input":1457,"./string-input":1458,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/objectWithoutProperties":28,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"uncontrollable-input":1361}],1453:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.forceDisplayOptionalAttr=n.PrimitiveInputWrapper=n.descriptionRender=n.getXoType=n.getType=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("react"),s=(r(i),e("lodash/includes")),l=r(s),u=e("lodash/isArray"),c=r(u),d=e("marked"),f=r(d),p=e("grid"),h=(n.getType=function(e){if(e){var t=e.type;return(0,c.default)(t)?(0,l.default)(t,"integer")?"integer":(0,l.default)(t,"number")?"number":"string":t}},n.getXoType=function(e){var t=e&&(e["xo:type"]||e.$type);if(t)return t.toLowerCase()},n.descriptionRender=function(e){return(0,a.default)("span",{className:"text-muted",dangerouslySetInnerHTML:{__html:(0,f.default)(e||"")}})}),m=(0,a.default)("span",{className:"text-warning"},void 0,"*");n.PrimitiveInputWrapper=function(e){var t=e.label,n=e.required,r=void 0!==n&&n,o=e.schema,i=e.children;return(0,a.default)(p.Row,{},void 0,(0,a.default)(p.Col,{mediumSize:6},void 0,(0,a.default)("div",{className:"input-group"},void 0,(0,a.default)("span",{className:"input-group-addon"},void 0,t,r&&m),i)),(0,a.default)(p.Col,{mediumSize:6},void 0,h(o.description)))},n.forceDisplayOptionalAttr=function(e){var t=e.schema,n=e.value;if(!t||!n)return!1;if(t.items&&Array.isArray(n))return!0;for(var r in t.properties)if(n[r])return!0;return!1}},{"babel-runtime/helpers/jsx":27,grid:1431,"lodash/includes":728,"lodash/isArray":731,marked:799,react:1269}],1454:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("./generic-input"),a=r(o);n.default=a.default},{"./generic-input":1452}],1455:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/helpers/objectWithoutProperties"),u=r(l),c=e("babel-runtime/core-js/object/get-prototype-of"),d=r(c),f=e("babel-runtime/helpers/classCallCheck"),p=r(f),h=e("babel-runtime/helpers/createClass"),m=r(h),v=e("babel-runtime/helpers/possibleConstructorReturn"),b=r(v),g=e("babel-runtime/helpers/inherits"),y=r(g),_=e("react"),M=r(_),w=e("uncontrollable-input"),S=r(w),C=e("../combobox"),x=r(C),k=e("../base-component"),T=r(k),A=e("../get-event-value"),P=r(A),N=e("./helpers"),O=(o=(0,S.default)(),o(a=function(e){function t(){var e,n,r,o;(0,p.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,b.default)(this,(e=t.__proto__||(0,d.default)(t)).call.apply(e,[this].concat(i))),r._onChange=function(e){var t=(0,P.default)(e);r.props.onChange(t?+t:void 0)},o=n,(0,b.default)(r,o)}return(0,y.default)(t,e),(0,m.default)(t,[{key:"render",value:function(){var e=this.props,t=e.required,n=e.schema,r=this.props,o=r.disabled,a=(r.onChange,r.placeholder),i=void 0===a?n.default:a,l=r.value,c=(0,u.default)(r,["disabled","onChange","placeholder","value"]);return M.default.createElement(N.PrimitiveInputWrapper,c,(0,s.default)(x.default,{value:void 0===l?"":String(l),disabled:o,max:n.max,min:n.min,onChange:this._onChange,options:n.defaults,placeholder:i,required:t,step:1,type:"number"}))}}]),t}(T.default))||a);n.default=O},{"../base-component":1405,"../combobox":1412,"../get-event-value":1430,"./helpers":1453,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/objectWithoutProperties":28,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"uncontrollable-input":1361}],1456:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/helpers/objectWithoutProperties"),u=r(l),c=e("babel-runtime/core-js/object/get-prototype-of"),d=r(c),f=e("babel-runtime/helpers/classCallCheck"),p=r(f),h=e("babel-runtime/helpers/createClass"),m=r(h),v=e("babel-runtime/helpers/possibleConstructorReturn"),b=r(v),g=e("babel-runtime/helpers/inherits"),y=r(g),_=e("react"),M=r(_),w=e("uncontrollable-input"),S=r(w),C=e("../combobox"),x=r(C),k=e("../base-component"),T=r(k),A=e("../get-event-value"),P=r(A),N=e("./helpers"),O=(o=(0,S.default)(),o(a=function(e){function t(){var e,n,r,o;(0,p.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,b.default)(this,(e=t.__proto__||(0,d.default)(t)).call.apply(e,[this].concat(i))),r._onChange=function(e){var t=(0,P.default)(e);r.props.onChange(t?+t:void 0)},o=n,(0,b.default)(r,o)}return(0,y.default)(t,e),(0,m.default)(t,[{key:"render",value:function(){var e=this.props,t=e.required,n=e.schema,r=this.props,o=r.disabled,a=(r.onChange,r.placeholder),i=void 0===a?n.default:a,l=r.value,c=(0,u.default)(r,["disabled","onChange","placeholder","value"]);return M.default.createElement(N.PrimitiveInputWrapper,c,(0,s.default)(x.default,{value:void 0===l?"":String(l),disabled:o,max:n.max,min:n.min,onChange:this._onChange,options:n.defaults,placeholder:i,required:t,step:"any",type:"number"}))}}]),t}(T.default))||a);n.default=O},{"../base-component":1405,"../combobox":1412,"../get-event-value":1430,"./helpers":1453,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/objectWithoutProperties":28,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"uncontrollable-input":1361}],1457:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s=e("babel-runtime/helpers/jsx"),l=r(s),u=e("babel-runtime/helpers/defineProperty"),c=r(u),d=e("babel-runtime/helpers/extends"),f=r(d),p=e("babel-runtime/core-js/object/get-prototype-of"),h=r(p),m=e("babel-runtime/helpers/classCallCheck"),v=r(m),b=e("babel-runtime/helpers/createClass"),g=r(b),y=e("babel-runtime/helpers/possibleConstructorReturn"),_=r(y),M=e("babel-runtime/helpers/inherits"),w=r(M),S=e("lodash/map"),C=r(S),x=e("lodash/keyBy"),k=r(x),T=e("react"),A=(r(T),e("uncontrollable-input")),P=r(A),N=e("reselect"),O=e("../intl"),E=r(O),z=e("../base-component"),R=r(z),j=e("../prop-types"),L=r(j),D=e("../utils"),I=e("./generic-input"),B=r(I),V=e("./helpers"),q=(0,l.default)("hr",{}),F=(o=(0,L.default)({depth:L.default.number,disabled:L.default.bool,label:L.default.any.isRequired,required:L.default.bool,schema:L.default.object.isRequired,uiSchema:L.default.object}),a=(0,P.default)(),o(i=a(i=function(e){function t(){var e,n,r,o;(0,v.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,_.default)(this,(e=t.__proto__||(0,h.default)(t)).call.apply(e,[this].concat(i))),r.state={use:r.props.required||(0,V.forceDisplayOptionalAttr)(r.props)},r._onChildChange=function(e,t){r.props.onChange((0,f.default)({},r.props.value,(0,c.default)({},t,e)))},r._getRequiredProps=(0,N.createSelector)(function(){return r.props.schema.required},function(e){return e?(0,k.default)(e):D.EMPTY_OBJECT}),o=n,(0,_.default)(r,o)}return(0,w.default)(t,e),(0,g.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.depth,r=void 0===n?0:n,o=t.disabled,a=t.label,i=t.required,s=t.schema,u=t.uiSchema,c=t.value,d=void 0===c?D.EMPTY_OBJECT:c,f=this.state.use,p=r+2,h=null!=u&&u.properties||D.EMPTY_OBJECT,m=this._getRequiredProps();return(0,l.default)("div",{style:{paddingLeft:r+"em"}},void 0,(0,l.default)("legend",{},void 0,a),(0,V.descriptionRender)(s.description),q,!i&&(0,l.default)("div",{className:"checkbox"},void 0,(0,l.default)("label",{},void 0,(0,l.default)("input",{checked:f,disabled:o,onChange:this.linkState("use"),type:"checkbox"})," ",(0,E.default)("fillOptionalInformations"))),f&&(0,l.default)("div",{className:"card-block"},void 0,(0,C.default)(s.properties,function(t,n){return(0,l.default)("div",{className:"pb-1"},n,(0,l.default)(B.default,{depth:p,disabled:o,label:t.title||n,name:n,onChange:e._onChildChange,required:Boolean(m[n]),schema:t,uiSchema:h[n],value:d[n]}))})))}}]),t}(R.default))||i)||i);n.default=F},{"../base-component":1405,"../intl":1436,"../prop-types":1464,"../utils":1490,"./generic-input":1452,"./helpers":1453,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/defineProperty":24,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"lodash/keyBy":749,"lodash/map":754,react:1269,reselect:1291,"uncontrollable-input":1361}],1458:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s=e("babel-runtime/helpers/jsx"),l=r(s),u=e("babel-runtime/helpers/objectWithoutProperties"),c=r(u),d=e("babel-runtime/core-js/object/get-prototype-of"),f=r(d),p=e("babel-runtime/helpers/classCallCheck"),h=r(p),m=e("babel-runtime/helpers/createClass"),v=r(m),b=e("babel-runtime/helpers/possibleConstructorReturn"),g=r(b),y=e("babel-runtime/helpers/inherits"),_=r(y),M=e("react"),w=r(M),S=e("uncontrollable-input"),C=r(S),x=e("../combobox"),k=r(x),T=e("../base-component"),A=r(T),P=e("../prop-types"),N=r(P),O=e("./helpers"),E=(o=(0,N.default)({password:N.default.bool}),a=(0,C.default)(),o(i=a(i=function(e){function t(){return(0,h.default)(this,t),(0,g.default)(this,(t.__proto__||(0,f.default)(t)).apply(this,arguments))}return(0,_.default)(t,e),(0,v.default)(t,[{key:"render",value:function(){var e=this.props,t=e.required,n=e.schema,r=this.props,o=r.disabled,a=r.onChange,i=r.password,s=r.placeholder,u=void 0===s?n.default:s,d=r.value,f=(0,
|
76 | c.default)(r,["disabled","onChange","password","placeholder","value"]);return w.default.createElement(O.PrimitiveInputWrapper,f,(0,l.default)(k.default,{value:d||"",disabled:o,onChange:a,options:n.defaults,placeholder:u||n.default,required:t,type:i&&"password"}))}}]),t}(A.default))||i)||i);n.default=E},{"../base-component":1405,"../combobox":1412,"../prop-types":1464,"./helpers":1453,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/objectWithoutProperties":28,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"uncontrollable-input":1361}],1459:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.BlockLink=n.default=void 0;var o,a,i,s,l=e("babel-runtime/helpers/jsx"),u=r(l),c=e("babel-runtime/core-js/object/get-prototype-of"),d=r(c),f=e("babel-runtime/helpers/classCallCheck"),p=r(f),h=e("babel-runtime/helpers/createClass"),m=r(h),v=e("babel-runtime/helpers/possibleConstructorReturn"),b=r(v),g=e("babel-runtime/helpers/inherits"),y=r(g),_=e("react-router/lib/Link"),M=r(_),w=e("react"),S=(r(w),e("react-router/lib/PropTypes")),C=e("./base-component"),x=r(C),k=e("./prop-types"),T=r(k);n.default=M.default;var A={A:!0,BUTTON:!0,INPUT:!0,SELECT:!0};n.BlockLink=(o=(0,T.default)({tagName:T.default.string}),o((s=i=function(e){function t(){var e,n,r,o;(0,p.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,b.default)(this,(e=t.__proto__||(0,d.default)(t)).call.apply(e,[this].concat(i))),r._style={cursor:"pointer"},r._onClickCapture=function(e){for(var t=e.currentTarget,n=e.target;n!==t;){if(A[n.tagName])return;n=n.parentNode}e.stopPropagation(),e.ctrlKey||1===e.button?window.open(r.context.router.createHref(r.props.to)):r.context.router.push(r.props.to)},o=n,(0,b.default)(r,o)}return(0,y.default)(t,e),(0,m.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.tagName,r=void 0===n?"div":n,o=r;return(0,u.default)(o,{style:this._style,onClickCapture:this._onClickCapture},void 0,t)}}]),t}(x.default),i.contextTypes={router:S.routerShape},a=s))||a)},{"./base-component":1405,"./prop-types":1464,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"react-router/lib/Link":1159,"react-router/lib/PropTypes":1162}],1460:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];setTimeout(function(){if(n.length){var t;(t=console).error.apply(t,n)}throw e},0)};n.default=r},{}],1461:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.confirm=n.alert=void 0;var o,a,i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("babel-runtime/helpers/jsx"),b=r(v),g=e("babel-runtime/core-js/promise"),y=r(g),_=e("lodash/isArray"),M=r(_),w=e("lodash/isString"),S=r(w),C=e("react"),x=(r(C),e("react-bootstrap-4/lib")),k=e("./intl"),T=r(k),A=e("./button"),P=r(A),N=e("./icon"),O=r(N),E=e("./prop-types"),z=r(E),R=e("./shortcuts"),j=void 0,L=function(e,t){if(!j)throw new Error("No modal instance.");if(j.state.showModal)throw new Error("Other modal still open.");j.setState({content:e,onClose:t,showModal:!0},R.disable)},D=(n.alert=function(e,t){return new y.default(function(n){var r=x.Modal.Body,o=x.Modal.Footer,a=x.Modal.Header,i=x.Modal.Title;L((0,b.default)("div",{},void 0,(0,b.default)(a,{closeButton:!0},void 0,(0,b.default)(i,{},void 0,e)),(0,b.default)(r,{},void 0,t),(0,b.default)(o,{},void 0,(0,b.default)(P.default,{bsStyle:"primary",onClick:function(){n(),j.close()}},void 0,(0,T.default)("alertOk")))),n)})},function(e,t){if((0,S.default)(e)||(0,M.default)(e))return e;try{return(0,C.cloneElement)(e,{ref:t})}catch(e){}return e}),I=(o=(0,z.default)({children:z.default.node.isRequired,title:z.default.node.isRequired,icon:z.default.string}),o(a=function(e){function t(){var e,n,r,o;(0,u.default)(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r=(0,p.default)(this,(e=t.__proto__||(0,s.default)(t)).call.apply(e,[this].concat(i))),r._resolve=function(){var e=r.refs.body;r.props.resolve(e&&(e.getWrappedInstance?e.getWrappedInstance().value:e.value)),j.close()},r._reject=function(){r.props.reject(),j.close()},o=n,(0,p.default)(r,o)}return(0,m.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){var e=x.Modal.Body,t=x.Modal.Footer,n=x.Modal.Header,r=x.Modal.Title,o=this.props,a=o.title,i=o.icon,s=D(this.props.children,"body");return(0,b.default)("div",{},void 0,(0,b.default)(n,{closeButton:!0},void 0,(0,b.default)(r,{},void 0,i?(0,b.default)("span",{},void 0,(0,b.default)(O.default,{icon:i})," ",a):a)),(0,b.default)(e,{},void 0,s),(0,b.default)(t,{},void 0,(0,b.default)(P.default,{btnStyle:"primary",onClick:this._resolve,style:this._style},void 0,(0,T.default)("confirmOk"))," ",(0,b.default)(P.default,{onClick:this._reject},void 0,(0,T.default)("confirmCancel"))))}}]),t}(C.Component))||a),B=(n.confirm=function(e){var t=e.body,n=e.title,r=e.icon,o=void 0===r?"alarm":r;return new y.default(function(e,r){L((0,b.default)(I,{title:n,resolve:e,reject:r,icon:o},void 0,t),r)})},function(e){function t(){(0,u.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e._onHide=function(){e.close();var t=e.state.onClose;t&&t()},e.state={showModal:!1},e}return(0,m.default)(t,e),(0,d.default)(t,[{key:"componentDidMount",value:function(){if(j)throw new Error("Modal is a singleton!");j=this}},{key:"componentWillUnmount",value:function(){j=void 0}},{key:"close",value:function(){this.setState({showModal:!1},R.enable)}},{key:"render",value:function(){var e=this.state.showModal;return(0,b.default)(x.Modal,{show:e,onHide:this._onHide},void 0,this.state.content)}}]),t}(C.Component));n.default=B},{"./button":1407,"./icon":1435,"./intl":1436,"./prop-types":1464,"./shortcuts":1472,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"lodash/isArray":731,"lodash/isString":744,react:1269,"react-bootstrap-4/lib":915}],1462:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.NavTabs=n.NavLink=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("classnames"),s=r(i),l=e("react"),u=(r(l),e("./link")),c=r(u);n.NavLink=function(e){var t=e.children,n=e.to;return(0,a.default)("li",{className:"nav-item",role:"tab"},void 0,(0,a.default)(c.default,{className:"nav-link",activeClassName:"active",to:n},void 0,t))},n.NavTabs=function(e){var t=e.children,n=e.className;return(0,a.default)("ul",{className:(0,s.default)(n,"nav nav-tabs"),role:"tablist"},void 0,t)}},{"./link":1459,"babel-runtime/helpers/jsx":27,classnames:157,react:1269}],1463:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.Notification=n.success=n.info=n.error=void 0;var o=e("babel-runtime/core-js/object/get-prototype-of"),a=r(o),i=e("babel-runtime/helpers/classCallCheck"),s=r(i),l=e("babel-runtime/helpers/createClass"),u=r(l),c=e("babel-runtime/helpers/possibleConstructorReturn"),d=r(c),f=e("babel-runtime/helpers/inherits"),p=r(f),h=e("react"),m=r(h),v=e("react-notify"),b=r(v),g=void 0,y=n.error=void 0,_=n.info=void 0,M=n.success=void 0;n.Notification=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){if(g)throw new Error("Notification is a singleton!");g=this}},{key:"componentWillUnmount",value:function(){g=void 0}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"render",value:function(){return m.default.createElement(b.default,{ref:function(e){e&&(n.error=y=function(t,n){return e.error(t,n,3e3)},n.default=n.info=_=function(t,n){return e.info(t,n,3e3)},n.success=M=function(t,n){return e.success(t,n,3e3)})}})}}]),t}(h.Component);n.default=_},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"react-notify":1111}],1464:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/extends"),a=r(o),i=e("lodash/assign"),s=r(i),l=e("react"),u=function(e){return function(t){return t.propTypes=(0,a.default)({},t.propTypes,e),t}};(0,s.default)(u,l.PropTypes),n.default=u},{"babel-runtime/helpers/extends":25,"lodash/assign":690,react:1269}],1465:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("react"),b=r(v),g=e("jsonrpc-websocket-client"),y=e("novnc-node"),_=e("url"),M=e("shortcuts"),w=e("./prop-types"),S=r(w),C=function(e){return(0,_.parse)((0,_.resolve)(String(window.location),e))},x={"http:":"ws:","https:":"wss:"},k=function(e){var t=x[e.protocol];t&&(e.protocol=t)},T=(o=(0,S.default)({onClipboardChange:S.default.func,url:S.default.string.isRequired}),o(a=function(e){function t(e){(0,u.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return n._connect=function(){n._clean();var e=n.refs.canvas;if(e){var t=C(n.props.url);k(t);var r="wss:"===t.protocol,o=n.props.onClipboardChange,a=n._rfb=new y.RFB({encrypt:r,target:n.refs.canvas,wsProtocols:["chat"],onClipboard:o&&function(e,t){o(t)},onUpdateState:n._onUpdateState});a.connect((0,_.format)(t)),(0,M.disable)()}},n._focus=function(){var e=n._rfb;if(e){var t=document,r=t.activeElement;r&&r.blur(),e.get_keyboard().grab(),e.get_mouse().grab(),(0,M.disable)()}},n._unfocus=function(){var e=n._rfb;e&&(e.get_keyboard().ungrab(),e.get_mouse().ungrab(),(0,M.enable)())},n._rfb=null,n._retryGen=(0,g.createBackoff)(1/0),n._onUpdateState=function(e,t){"normal"===t&&n._retryTimeout&&(clearTimeout(n._retryTimeout),n._retryTimeout=void 0,n._retryGen=(0,g.createBackoff)(1/0)),"disconnected"===t&&(clearTimeout(n._retryTimeout),n._retryTimeout=setTimeout(n._connect,n._retryGen.next().value))},n}return(0,m.default)(t,e),(0,d.default)(t,[{key:"sendCtrlAltDel",value:function(){var e=this._rfb;e&&e.sendCtrlAltDel()}},{key:"setClipboard",value:function(e){var t=this._rfb;t&&t.clipboardPasteFrom(e)}},{key:"_clean",value:function(){var e=this._rfb;e&&(this._rfb=null,e.disconnect()),(0,M.enable)()}},{key:"componentDidMount",value:function(){this._connect()}},{key:"componentWillUnmount",value:function(){this._clean()}},{key:"componentWillReceiveProps",value:function(e){var t=this._rfb;t&&this.props.scale!==e.scale&&(t.get_display().set_scale(e.scale||1),t.get_mouse().set_scale(e.scale||1))}},{key:"render",value:function(){return b.default.createElement("canvas",{className:"center-block",height:"480",onMouseEnter:this._focus,onMouseLeave:this._unfocus,ref:"canvas",width:"640"})}}]),t}(v.Component))||a);n.default=T},{"./prop-types":1464,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/possibleConstructorReturn":29,"jsonrpc-websocket-client":376,"novnc-node":812,react:1269,shortcuts:1472,url:1365}],1466:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.renderXoItemFromId=n.default=n.VmItem=n.SrItem=n.PoolObjectItem=void 0;var o=e("babel-runtime/helpers/extends"),a=r(o),i=e("babel-runtime/helpers/objectWithoutProperties"),s=r(i),l=e("babel-runtime/helpers/jsx"),u=r(l),c=e("intl"),d=r(c),f=e("react"),p=r(f),h=e("./icon"),m=r(h),v=e("./prop-types"),b=r(v),g=e("./selectors"),y=e("./xo"),_=e("./utils"),M={"VM-template":"vm",host:"host",network:"network"},w=n.PoolObjectItem=(0,b.default)({object:b.default.object.isRequired})((0,_.connectStore)(function(){var e=(0,g.createGetObject)(function(e,t){return t.object.$pool});return function(t,n){return{pool:e(t,n)}}})(function(e){var t=e.object,n=e.pool,r=M[t.type],o=t.id;return(0,u.default)("span",{},void 0,(0,u.default)(m.default,{icon:r})," ",(t.name_label||o)+" ",n&&"("+(n.name_label||n.id)+")")})),S=(0,u.default)(m.default,{icon:"sr"}),C=n.SrItem=(0,b.default)({sr:b.default.object.isRequired})((0,_.connectStore)(function(){var e=(0,g.createGetObject)(function(e,t){return t.sr.$container});return function(t,n){return{container:e(t,n)}}})(function(e){var t=e.sr,n=(e.container,""+(t.name_label||t.id));return(0,y.isSrWritable)(t)&&(n+=" ("+(0,_.formatSize)(t.size-t.physical_usage)+" free)"),(0,u.default)("span",{},void 0,S," ",n)})),x=n.VmItem=(0,b.default)({vm:b.default.object.isRequired})((0,_.connectStore)(function(){var e=(0,g.createGetObject)(function(e,t){return t.vm.$container});return function(t,n){return{container:e(t,n)}}})(function(e){var t=e.vm,n=e.container;return(0,u.default)("span",{},void 0,(0,u.default)(m.default,{icon:"vm-"+t.power_state.toLowerCase()})," ",t.name_label||t.id,n&&" ("+(n.name_label||n.id)+")")})),k=(0,u.default)(m.default,{icon:"group"}),T=(0,u.default)(m.default,{icon:"remote"}),A=(0,u.default)(m.default,{icon:"user"}),P=(0,u.default)(m.default,{icon:"resource-set"}),N=(0,u.default)(m.default,{icon:"ssh-key"}),O=(0,u.default)(m.default,{icon:"ip"}),E=(0,u.default)(m.default,{icon:"pool"}),z=(0,u.default)(m.default,{icon:"disk"}),R=(0,u.default)(m.default,{icon:"host"}),j=(0,u.default)(m.default,{icon:"network"}),L=(0,u.default)(m.default,{icon:"tag"}),D={group:function(e){return(0,u.default)("span",{},void 0,k," ",e.name)},remote:function(e){return(0,u.default)("span",{},void 0,T," ",e.value.name)},role:function(e){return(0,u.default)("span",{},void 0,e.name)},user:function(e){return(0,u.default)("span",{},void 0,A," ",e.email)},resourceSet:function(e){return(0,u.default)("span",{},void 0,P," ",e.name)},sshKey:function(e){return(0,u.default)("span",{},void 0,N," ",e.label)},ipPool:function(e){return(0,u.default)("span",{},void 0,O," ",e.name)},ipAddress:function(e){var t=e.label,n=e.used;return n?(0,u.default)("strong",{className:"text-warning"},void 0,t):(0,u.default)("span",{},void 0,t)},pool:function(e){return(0,u.default)("span",{},void 0,E," ",e.name_label||e.id)},VDI:function(e){return(0,u.default)("span",{},void 0,z," ",e.name_label," ",e.name_description&&(0,u.default)("span",{},void 0," (",e.name_description,")"))},"VM-template":function(e){return(0,u.default)(w,{object:e})},host:function(e){return(0,u.default)(w,{object:e})},network:function(e){return(0,u.default)(w,{object:e})},SR:function(e){return(0,u.default)(C,{sr:e})},VM:function(e){return(0,u.default)(x,{vm:e})},"VM-snapshot":function(e){return(0,u.default)(x,{vm:e})},"VM-controller":function(e){return(0,u.default)("span",{},void 0,R," ",(0,u.default)(x,{vm:e}))},PIF:function(e){return(0,u.default)("span",{},void 0,j," ",e.device," (",e.deviceName,")")},tag:function(e){return(0,u.default)("span",{},void 0,L," ",e.value)}},I=(0,u.default)(m.default,{icon:"alarm"}),B=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.className,r=e.id,o=e.type,a=e.label;if(e.removed)return(0,u.default)("span",{className:"text-danger"},r," ",I," ",r);if(!o)return(0,u.default)("span",{className:n},r,a);var i=D[o];return i?(0,u.default)("span",{className:n},r,p.default.createElement(i,e)):void 0};n.default=B;var V=(0,_.connectStore)(function(){var e=(0,g.createGetObject)();return function(t,n){return{xoItem:e(t,n)}}})(function(e){var t=e.xoItem,n=(0,s.default)(e,["xoItem"]);return t?B(t,n):(0,u.default)("span",{className:"text-muted"},void 0,(0,d.default)("errorNoSuchItem"))});n.renderXoItemFromId=function(e,t){return p.default.createElement(V,(0,a.default)({},t,{id:e}))}},{"./icon":1435,"./prop-types":1464,"./selectors":1470,"./utils":1490,"./xo":1519,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/objectWithoutProperties":28,intl:1436,react:1269}],1467:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.SchedulePreview=void 0;var o,a,i,s,l,u,c,d,f,p,h,m,v,b,g=e("babel-runtime/helpers/slicedToArray"),y=r(g),_=e("babel-runtime/helpers/defineProperty"),M=r(_),w=e("babel-runtime/helpers/extends"),S=r(w),C=e("babel-runtime/core-js/object/get-prototype-of"),x=r(C),k=e("babel-runtime/helpers/classCallCheck"),T=r(k),A=e("babel-runtime/helpers/createClass"),P=r(A),N=e("babel-runtime/helpers/possibleConstructorReturn"),O=r(N),E=e("babel-runtime/helpers/inherits"),z=r(E),R=e("babel-runtime/helpers/jsx"),j=r(R),L=e("lodash/sortedIndex"),D=r(L),I=e("lodash/map"),B=r(I),V=e("lodash/isArray"),q=r(V),F=e("lodash/includes"),U=r(F),W=e("lodash/forEach"),H=r(W),X=e("classnames"),K=r(X),G=e("later"),Y=r(G),$=e("react"),Q=r($),J=e("react-intl"),Z=e("./intl"),ee=r(Z),te=e("./button"),ne=r(te),re=e("./base-component"),oe=r(re),ae=e("./prop-types"),ie=r(ae),se=e("./timezone-picker"),le=r(se),ue=e("./icon"),ce=r(ue),de=e("./tooltip"),fe=r(de),pe=e("./card"),he=e("./grid"),me=e("./form");Y.default.date.UTC();var ve={cursor:"pointer"},be={width:"400px"},ge=["minute","hour","monthDay","month","weekDay"],ye=[2,30],_e=[2,12],Me=[2,15],we=[2,6],Se=5,Ce=20,xe=[[0,1,2],[3,4,5],[6,7,8],[9,10,11]],ke=function(){for(var e=[],t=0;t<4;t++){e[t]=[];for(var n=1;n<8;n++)e[t].push(7*t+n)}return e.push([29,30,31]),e}(),Te=[[0,1,2],[3,4,5],[6]],Ae=function(){for(var e=[],t=0;t<3;t++){e[t]=[];for(var n=0;n<8;n++)e[t].push(8*t+n)}return e}(),Pe=function(){for(var e=[],t=0;t<6;t++){e[t]=[];for(var n=0;n<10;n++)e[t].push(10*t+n)}return e}(),Ne={minute:0,hour:1,monthDay:2,month:3,weekDay:4},Oe={weekday:"long",year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",timeZone:"UTC"},Ee=function(e){return(0,j.default)(J.FormattedDate,{value:Date.UTC(1970,e),month:"long",timeZone:"UTC"})},ze=function(e){return(0,j.default)(J.FormattedDate,{value:Date.UTC(1970,0,4+e),weekday:"long",timeZone:"UTC"})},Re=(0,j.default)("li",{className:"list-group-item"},void 0,"..."),je=(n.SchedulePreview=(o=(0,ie.default)({cronPattern:ie.default.string.isRequired}),o(a=function(e){function t(){return(0,T.default)(this,t),(0,O.default)(this,(t.__proto__||(0,x.default)(t)).apply(this,arguments))}return(0,z.default)(t,e),(0,P.default)(t,[{key:"render",value:function(){var e=this.props.cronPattern,t=this.state.value,n=Y.default.parse.cron(e),r=Y.default.schedule(n).next(t);return(0,j.default)("div",{},void 0,(0,j.default)("div",{className:"alert alert-info",role:"alert"},void 0,(0,ee.default)("cronPattern")," ",(0,j.default)("strong",{},void 0,e)),(0,j.default)("div",{className:"mb-1",style:be},void 0,(0,j.default)(me.Range,{min:Se,max:Ce,onChange:this.linkState("value"),value:+t})),(0,j.default)("ul",{className:"list-group"},void 0,(0,B.default)(r,function(e,t){return(0,j.default)("li",{className:"list-group-item"},t,Q.default.createElement(J.FormattedTime,(0,S.default)({value:e},Oe)))}),Re))}}]),t}(oe.default))||a),i=(0,ie.default)({children:ie.default.any.isRequired,onChange:ie.default.func.isRequired,tdId:ie.default.number.isRequired,value:ie.default.bool.isRequired}),i(s=function(e){function t(){var e,n,r,o;(0,T.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,O.default)(this,(e=t.__proto__||(0,x.default)(t)).call.apply(e,[this].concat(i))),r._onClick=function(){var e=r,t=e.props;t.onChange(t.tdId,!t.value)},o=n,(0,O.default)(r,o)}return(0,z.default)(t,e),(0,P.default)(t,[{key:"render",value:function(){var e=this.props;return(0,j.default)("td",{style:ve,className:e.value?"table-success":"",onClick:this._onClick},void 0,e.children)}}]),t}(oe.default))||s),Le=(0,j.default)(ce.default,{icon:"success"}),De=(l=(0,ie.default)({labelId:ie.default.string.isRequired,options:ie.default.array.isRequired,optionRenderer:ie.default.func,onChange:ie.default.func.isRequired,value:ie.default.array.isRequired}),l((d=c=function(e){function t(){var e,n,r,o;(0,T.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,O.default)(this,(e=t.__proto__||(0,x.default)(t)).call.apply(e,[this].concat(i))),r._reset=function(){r.props.onChange([])},r._handleChange=function(e,t){var n=r,o=n.props,a=o.value.slice(),i=(0,D.default)(a,e);t?a[i]!==e&&a.splice(i,0,e):a[i]===e&&a.splice(i,1),o.onChange(a)},o=n,(0,O.default)(r,o)}return(0,z.default)(t,e),(0,P.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.labelId,r=t.options,o=t.optionRenderer,a=t.value;return(0,j.default)("div",{},void 0,(0,j.default)("table",{className:"table table-bordered table-sm"},void 0,(0,j.default)("tbody",{},void 0,(0,B.default)(r,function(t,n){return(0,j.default)("tr",{},n,(0,B.default)(t,function(t){return(0,j.default)(je,{children:o(t),tdId:t,onChange:e._handleChange,value:(0,U.default)(a,t)},t)}))}))),(0,j.default)(ne.default,{className:"pull-right",onClick:this._reset},void 0,(0,ee.default)("selectTableAll"+n)," ",a&&!a.length&&Le))}}]),t}(oe.default),c.defaultProps={optionRenderer:function(e){return e}},u=d))||u),Ie=function(e,t){return 1===e.indexOf("/")?+e.split("/")[1]:"*"===e?[]:(0,B.default)(e.split(","),Number)},Be=function(e){return(0,q.default)(e)?e.length?e.join(","):"*":"*/"+e},Ve=(f=(0,ie.default)({headerAddon:ie.default.node,optionRenderer:ie.default.func,onChange:ie.default.func.isRequired,range:ie.default.array,labelId:ie.default.string.isRequired,value:ie.default.any.isRequired}),f(p=function(e){function t(){var e,n,r,o;(0,T.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,O.default)(this,(e=t.__proto__||(0,x.default)(t)).call.apply(e,[this].concat(i))),r._update=function(e){var t=r.state,n=t.tableValue,o=t.rangeValue,a=Ie(e),i=!(0,q.default)(a);r.setState({periodic:i,tableValue:i?n:a,rangeValue:i?a:o})},r._onChange=function(e){r.props.onChange(Be(e))},r._tableTab=function(){return r._onChange(r.state.tableValue||[])},r._periodicTab=function(){return r._onChange(r.state.rangeValue||r.props.range[0])},o=n,(0,O.default)(r,o)}return(0,z.default)(t,e),(0,P.default)(t,[{key:"componentWillReceiveProps",value:function(e){e.value!==this.props.value&&this._update(e.value)}},{key:"componentDidMount",value:function(){this._update(this.props.value)}},{key:"render",value:function(){var e=this.props,t=e.headerAddon,n=e.labelId,r=e.options,o=e.optionRenderer,a=e.range,i=this.state,s=i.periodic,l=i.tableValue,u=i.rangeValue;return(0,j.default)(pe.Card,{},void 0,(0,j.default)(pe.CardHeader,{},void 0,(0,ee.default)("scheduling"+n),t),(0,j.default)(pe.CardBlock,{},void 0,a&&(0,j.default)("ul",{className:"nav nav-tabs mb-1"},void 0,(0,j.default)("li",{className:"nav-item"},void 0,(0,j.default)("a",{onClick:this._tableTab,className:(0,K.default)("nav-link",!s&&"active"),style:ve},void 0,(0,ee.default)("schedulingEachSelected"+n))),(0,j.default)("li",{className:"nav-item"},void 0,(0,j.default)("a",{onClick:this._periodicTab,className:(0,K.default)("nav-link",s&&"active"),style:ve},void 0,(0,ee.default)("schedulingEveryN"+n)))),s?Q.default.createElement(me.Range,{ref:"range",min:a[0],max:a[1],onChange:this._onChange,value:u}):(0,j.default)(De,{labelId:n,onChange:this._onChange,options:r,optionRenderer:o,value:l||[]})))}}]),t}(oe.default))||p),qe=function(e){var t=e.monthDayPattern,n=e.weekDayPattern;if("*"!==t||"*"!==n)return"*"!==n},Fe=(h=(0,ie.default)({monthDayPattern:ie.default.string.isRequired,weekDayPattern:ie.default.string.isRequired}),h(m=function(e){function t(){var e,n,r,o;(0,T.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,O.default)(this,(e=t.__proto__||(0,x.default)(t)).call.apply(e,[this].concat(i))),r.state={weekDayMode:qe(r.props)},r._setWeekDayMode=function(e){r.props.onChange(["*","*"]),r.setState({weekDayMode:e})},r._onChange=function(e){var t=!r.state.weekDayMode||(0,U.default)(e,"/");r.props.onChange([t?e:"*",t?"*":e])},o=n,(0,O.default)(r,o)}return(0,z.default)(t,e),(0,P.default)(t,[{key:"componentWillReceiveProps",value:function(e){var t=qe(e);void 0!==t&&this.setState({weekDayMode:t})}},{key:"render",value:function(){var e=this.props,t=e.monthDayPattern,n=e.weekDayPattern,r=this.state.weekDayMode,o=(0,j.default)(fe.default,{content:(0,ee.default)(r?"schedulingSetMonthDayMode":"schedulingSetWeekDayMode")},void 0,(0,j.default)("span",{className:"pull-right"},void 0,(0,j.default)(me.Toggle,{onChange:this._setWeekDayMode,iconSize:1,value:r})));return(0,j.default)(Ve,{headerAddon:o,labelId:"Day",optionRenderer:r?ze:void 0,options:r?Te:ke,onChange:this._onChange,range:Me,setWeekDayMode:this._setWeekDayMode,value:r?n:t},r?"week":"month")}}]),t}(oe.default))||m),Ue=(0,j.default)("hr",{}),We=(v=(0,ie.default)({cronPattern:ie.default.string,onChange:ie.default.func,timezone:ie.default.string,value:ie.default.shape({cronPattern:ie.default.string.isRequired,timezone:ie.default.string})}),v(b=function(e){function t(e){(0,T.default)(this,t);var n=(0,O.default)(this,(t.__proto__||(0,x.default)(t)).call(this,e));return n._onTimezoneChange=function(e){n.props.onChange({cronPattern:n._getCronPattern(),timezone:e})},n._getCronPattern=function(){var e=n.props,t=e.value,r=e.cronPattern,o=void 0===r?t.cronPattern:r;return o},n._getTimezone=function(){var e=n.props,t=e.value,r=e.timezone,o=void 0===r?t&&t.timezone:r;return o},n._onCronChange=function(e){var t=n._getCronPattern().split(" ");(0,H.default)(e,function(e,n){t[Ne[n]]=e}),n.props.onChange({cronPattern:t.join(" "),timezone:n._getTimezone()})},(0,H.default)(ge,function(e){n["_"+e+"Change"]=function(t){return n._onCronChange((0,M.default)({},e,t))}}),n._dayChange=function(e){var t=(0,y.default)(e,2),r=t[0],o=t[1];return n._onCronChange({monthDay:r,weekDay:o})},n}return(0,z.default)(t,e),(0,P.default)(t,[{key:"render",value:function(){var e=this._getCronPattern().split(" "),t=this._getTimezone();return(0,j.default)("div",{className:"card-block"},void 0,(0,j.default)(he.Row,{},void 0,(0,j.default)(he.Col,{mediumSize:6},void 0,(0,j.default)(Ve,{labelId:"Month",optionRenderer:Ee,options:xe,onChange:this._monthChange,range:we,value:e[Ne.month]}),(0,j.default)(Fe,{onChange:this._dayChange,monthDayPattern:e[Ne.monthDay],weekDayPattern:e[Ne.weekDay]})),(0,j.default)(he.Col,{mediumSize:6},void 0,(0,j.default)(Ve,{labelId:"Hour",options:Ae,range:_e,onChange:this._hourChange,value:e[Ne.hour]}),(0,j.default)(Ve,{labelId:"Minute",options:Pe,range:ye,onChange:this._minuteChange,value:e[Ne.minute]}))),(0,j.default)(he.Row,{},void 0,(0,j.default)(he.Col,{},void 0,Ue,(0,j.default)(le.default,{value:t,onChange:this._onTimezoneChange}))))}}]),t}(oe.default))||b);n.default=We},{"./base-component":1405,"./button":1407,"./card":1408,"./form":1425,"./grid":1431,"./icon":1435,"./intl":1436,"./prop-types":1464,"./timezone-picker":1485,"./tooltip":1488,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/defineProperty":24,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/slicedToArray":30,classnames:157,later:382,"lodash/forEach":716,"lodash/includes":728,"lodash/isArray":731,"lodash/map":754,"lodash/sortedIndex":776,react:1269,"react-intl":1103}],1468:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/extends"),s=r(i),l=e("babel-runtime/helpers/jsx"),u=r(l),c=e("babel-runtime/core-js/object/get-prototype-of"),d=r(c),f=e("babel-runtime/helpers/classCallCheck"),p=r(f),h=e("babel-runtime/helpers/createClass"),m=r(h),v=e("babel-runtime/helpers/possibleConstructorReturn"),b=r(v),g=e("babel-runtime/helpers/inherits"),y=r(g),_=e("lodash/omit"),M=r(_),w=e("intl"),S=r(w),C=e("base-component"),x=r(C),k=e("icon"),T=r(k),A=e("prop-types"),P=r(A),N=e("react"),O=r(N),E=(0,u.default)(T.default,{icon:"file"}),z=(o=(0,P.default)({multi:P.default.bool,label:P.default.node,onChange:P.default.func.isRequired}),o(a=function(e){function t(){var e,n,r,o;(0,p.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,b.default)(this,(e=t.__proto__||(0,d.default)(t)).call.apply(e,[this].concat(i))),r._onChange=function(e){var t=r.props,n=t.multi,o=t.onChange,a=e.target.files;o(n?a:a[0])},o=n,(0,b.default)(r,o)}return(0,y.default)(t,e),(0,m.default)(t,[{key:"render",value:function(){return(0,u.default)("label",{className:"btn btn-secondary btn-file hidden"},void 0,E," ",this.props.label||(0,S.default)("browseFiles"),O.default.createElement("input",(0,s.default)({},(0,M.default)(this.props,["hidden","label","onChange","multi"]),{hidden:!0,onChange:this._onChange,type:"file"})))}}]),t}(x.default))||a);n.default=z},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,icon:1435,intl:1436,"lodash/omit":761,"prop-types":1464,react:1269}],1469:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.SelectIpPool=n.SelectIp=n.SelectSshKey=n.SelectResourceSetIp=n.SelectResourceSetsNetwork=n.SelectResourceSetsVdi=n.SelectResourceSetsSr=n.SelectResourceSetsVmTemplate=n.SelectResourceSet=n.SelectRemote=n.SelectRole=n.SelectSubject=n.SelectVdi=n.SelectHighLevelObject=n.SelectTag=n.SelectPif=n.SelectNetwork=n.SelectVmTemplate=n.SelectHostVm=n.SelectVm=n.SelectSr=n.SelectPool=n.SelectHost=n.GenericSelect=void 0;var o,a,i,s,l,u=e("babel-runtime/helpers/toConsumableArray"),c=r(u),d=e("babel-runtime/helpers/extends"),f=r(d),p=e("babel-runtime/helpers/jsx"),h=r(p),m=e("babel-runtime/core-js/object/get-prototype-of"),v=r(m),b=e("babel-runtime/helpers/classCallCheck"),g=r(b),y=e("babel-runtime/helpers/createClass"),_=r(y),M=e("babel-runtime/helpers/possibleConstructorReturn"),w=r(M),S=e("babel-runtime/helpers/inherits"),C=r(S),x=e("lodash/toArray"),k=r(x),T=e("lodash/sortBy"),A=r(T),P=e("lodash/pick"),N=r(P),O=e("lodash/mapValues"),E=r(O),z=e("lodash/map"),R=r(z),j=e("lodash/keys"),L=r(j),D=e("lodash/keyBy"),I=r(D),B=e("lodash/isString"),V=r(B),q=e("lodash/isInteger"),F=r(q),U=e("lodash/isEmpty"),W=r(U),H=e("lodash/isArray"),X=r(H),K=e("lodash/includes"),G=r(K),Y=e("lodash/groupBy"),$=r(Y),Q=e("lodash/forEach"),J=r(Q),Z=e("lodash/flatten"),ee=r(Z),te=e("lodash/filter"),ne=r(te),re=e("lodash/assign"),oe=r(re),ae=e("react"),ie=r(ae),se=e("classnames"),le=r(se),ue=e("xo-remote-parser"),ce=e("./intl"),de=r(ce),fe=e("./button"),pe=r(fe),he=e("./base-component"),me=r(he),ve=e("./icon"),be=r(ve),ge=e("./prop-types"),ye=r(ge),_e=e("./render-xo-item"),Me=r(_e),we=e("./store"),Se=r(we),Ce=e("./tooltip"),xe=r(Ce),ke=e("uncontrollable-input"),Te=r(ke),Ae=e("./form"),Pe=e("./selectors"),Ne=e("./utils"),Oe=e("./xo"),Ee={
|
77 | lineHeight:"1.4"},ze=function e(t){return null==t||(0,V.default)(t)||(0,F.default)(t)?t:(0,X.default)(t)?(0,R.default)(t,e):t.id},Re=function(e,t){return{label:t?je(e)+" "+je(t):je(e),value:e.id,xoItem:e}},je=function(e){return e.name_label||e.name||e.email||e.value&&e.value.name||e.value||e.label},Le=function(e){return{defaultValue:e.multi?[]:void 0}},De=(0,h.default)(be.default,{icon:"add"}),Ie=n.GenericSelect=(o=(0,ye.default)({autoFocus:ye.default.bool,clearable:ye.default.bool,disabled:ye.default.bool,hasSelectAll:ye.default.bool,multi:ye.default.bool,onChange:ye.default.func,placeholder:ye.default.any.isRequired,required:ye.default.bool,value:ye.default.any,xoContainers:ye.default.array,xoObjects:ye.default.oneOfType([ye.default.array,ye.default.objectOf(ye.default.array)]).isRequired}),o(a=function(e){function t(){var e,n,r,o;(0,g.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,w.default)(this,(e=t.__proto__||(0,v.default)(t)).call.apply(e,[this].concat(i))),r._getObjectsById=(0,Pe.createSelector)(function(){return r.props.xoObjects},function(e){return(0,I.default)((0,X.default)(e)?e:(0,ee.default)((0,k.default)(e)),"id")}),r._getOptions=(0,Pe.createSelector)(function(){return r.props.xoContainers},function(){return r.props.xoObjects},function(e,t){var n=(r.constructor.name,[]);e||(n=(0,R.default)(t,Re)),(0,J.default)(e,function(e){n.push({disabled:!0,xoItem:e}),(0,J.default)(t[e.id],function(t){n.push(Re(t,e))})});var o=r._getSelectValue(),a=r._getObjectsById(),i=function(e){e&&!a[e]&&n.push({disabled:!0,id:e,label:e,value:e,xoItem:{id:e,removed:!0}})};return(0,X.default)(o)?(0,J.default)(o,i):i(o),n}),r._getSelectValue=(0,Pe.createSelector)(function(){return r.props.value},(0,Pe.createCollectionWrapper)(ze)),r._getNewSelectedObjects=(0,Pe.createSelector)(r._getObjectsById,function(e){return e},function(e,t){return null==t?t:(0,X.default)(t)?(0,R.default)(t,function(t){return e[t.value]}):e[t.value]}),r._onChange=function(e){var t=r.props.onChange;t&&t(r._getNewSelectedObjects(e))},r._selectAll=function(){r._onChange((0,ne.default)(r._getOptions(),function(e){var t=e.disabled;return!t}))},r._renderOption=function(e){return(0,h.default)("span",{className:(0,le.default)(!e.disabled&&r.props.xoContainers&&"ml-1")},void 0,(0,Me.default)(e.xoItem))},o=n,(0,w.default)(r,o)}return(0,C.default)(t,e),(0,_.default)(t,[{key:"render",value:function(){var e=this.props,t=e.autoFocus,n=e.disabled,r=e.hasSelectAll,o=e.multi,a=e.placeholder,i=e.required,s=e.clearable,l=void 0===s?Boolean(o||!i):s,u=ie.default.createElement(Ae.Select,(0,f.default)({autofocus:t,clearable:l,disabled:n,multi:o,placeholder:a,required:i},{onChange:this._onChange,openOnFocus:!0,optionRenderer:this._renderOption,options:this._getOptions(),value:this._getSelectValue(),valueRenderer:this._renderOption}));return o&&r?(0,h.default)("div",{className:"input-group"},void 0,u,(0,h.default)("span",{className:"input-group-btn"},void 0,(0,h.default)(xe.default,{content:(0,de.default)("selectAll")},void 0,(0,h.default)(pe.default,{onClick:this._selectAll,style:Ee},void 0,De)))):u}}]),t}(me.default))||a),Be=function(e,t){return(0,Te.default)(Le)((0,Ne.connectStore)(e)(function(e){return ie.default.createElement(Ie,(0,f.default)({},t,e))}))},Ve=function(e,t){return(0,Te.default)(Le)(function(n){function r(e){(0,g.default)(this,r);var t=(0,w.default)(this,(r.__proto__||(0,v.default)(r)).call(this,e));return t._getFilteredXoContainers=(0,Pe.createFilter)(function(){return t.state.xoContainers},function(){return t.props.containerPredicate}),t._getFilteredXoObjects=(0,Pe.createSelector)(function(){return t.state.xoObjects},function(){return t.state.xoContainers&&t._getFilteredXoContainers()},function(){return t.props.predicate},function(e,t,n){if(null==t)return(0,ne.default)(e,n);var r=(0,E.default)(e,function(e){return(0,ne.default)(e,n)});return(0,N.default)(r,(0,R.default)(t,function(e){return e.id}))}),t}return(0,C.default)(r,n),(0,_.default)(r,[{key:"componentWillMount",value:function(){this.componentWillUnmount=e(this.setState.bind(this))}},{key:"render",value:function(){return ie.default.createElement(Ie,(0,f.default)({},t,this.props,{xoObjects:this._getFilteredXoObjects(),xoContainers:this.state.xoContainers&&this._getFilteredXoContainers()}))}}]),r}(me.default))},qe=function(e,t){return t.predicate};n.SelectHost=Be(function(){var e=(0,Pe.createGetObjectsOfType)("host").filter(qe).sort();return{xoObjects:e}},{placeholder:(0,de.default)("selectHosts")}),n.SelectPool=Be(function(){return{xoObjects:(0,Pe.createGetObjectsOfType)("pool").filter(qe).sort()}},{placeholder:(0,de.default)("selectPools")}),n.SelectSr=Be(function(){var e=(0,Pe.createGetObjectsOfType)("SR").filter(function(e,t){var n=t.predicate;return n||Oe.isSrWritable}).sort().groupBy("$container"),t=(0,Pe.createSelector)(e,function(e){return(0,L.default)(e)}),n=(0,Pe.createGetObjectsOfType)("pool").pick(t).sort(),r=(0,Pe.createGetObjectsOfType)("host").pick(t).sort(),o=(0,Pe.createSelector)(n,r,function(e,t){return e.concat(t)});return{xoObjects:e,xoContainers:o}},{placeholder:(0,de.default)("selectSrs")}),n.SelectVm=Be(function(){var e=(0,Pe.createGetObjectsOfType)("VM").filter(qe).sort().groupBy("$container"),t=(0,Pe.createSelector)(e,function(e){return(0,L.default)(e)}),n=(0,Pe.createGetObjectsOfType)("pool").pick(t).sort(),r=(0,Pe.createGetObjectsOfType)("host").pick(t).sort(),o=(0,Pe.createSelector)(n,r,function(e,t){return e.concat(t)});return{xoObjects:e,xoContainers:o}},{placeholder:(0,de.default)("selectVms")}),n.SelectHostVm=Be(function(){var e=(0,Pe.createGetObjectsOfType)("host").filter(qe).sort(),t=(0,Pe.createGetObjectsOfType)("VM").filter(qe).sort(),n=(0,Pe.createSelector)(e,t,function(e,t){return e.concat(t)});return{xoObjects:n}},{placeholder:(0,de.default)("selectHostsVms")}),n.SelectVmTemplate=Be(function(){var e=(0,Pe.createGetObjectsOfType)("VM-template").filter(qe).sort().groupBy("$container"),t=(0,Pe.createGetObjectsOfType)("pool").pick((0,Pe.createSelector)(e,function(e){return(0,L.default)(e)})).sort();return{xoObjects:e,xoContainers:t}},{placeholder:(0,de.default)("selectVmTemplates")}),n.SelectNetwork=Be(function(){var e=(0,Pe.createGetObjectsOfType)("network").filter(qe).sort().groupBy("$pool"),t=(0,Pe.createGetObjectsOfType)("pool").pick((0,Pe.createSelector)(e,function(e){return(0,L.default)(e)})).sort();return{xoObjects:e,xoContainers:t}},{placeholder:(0,de.default)("selectNetworks")}),n.SelectPif=Be(function(){var e=(0,Pe.createGetObjectsOfType)("PIF").filter(qe).sort().groupBy("$host"),t=(0,Pe.createGetObjectsOfType)("host").pick((0,Pe.createSelector)(e,function(e){return(0,L.default)(e)})).sort();return{xoObjects:e,xoContainers:t}},{placeholder:(0,de.default)("selectPifs")}),n.SelectTag=Be(function(e,t){return{xoObjects:(0,Pe.createSelector)((0,Pe.createGetTags)("objects"in t?function(e,t){return t.objects}:void 0).filter(qe).sort(),function(e){return(0,R.default)(e,function(e){return{id:e,type:"tag",value:e}})})}},{placeholder:(0,de.default)("selectTags")}),n.SelectHighLevelObject=Be(function(){var e=(0,Pe.createGetObjectsOfType)("host").filter(qe),t=(0,Pe.createGetObjectsOfType)("network").filter(qe),n=(0,Pe.createGetObjectsOfType)("pool").filter(qe),r=(0,Pe.createGetObjectsOfType)("SR").filter(qe),o=(0,Pe.createGetObjectsOfType)("VM").filter(qe),a=(0,Pe.createSelector)(e,t,n,r,o,function(e,t,n,r,o){return(0,A.default)((0,oe.default)({},e,t,n,r,o),["type","name_label"])});return{xoObjects:a}},{placeholder:(0,de.default)("selectObjects")}),n.SelectVdi=(0,ye.default)({srPredicate:ye.default.func})(Be(function(){var e=(0,Pe.createGetObjectsOfType)("SR").filter(function(e,t){return t.srPredicate}),t=(0,Pe.createGetObjectsOfType)("VDI").filter((0,Pe.createSelector)(e,qe,function(e,t){return t?function(n){return e[n.$SR]&&t(n)}:function(t){return e[t.$SR]}})).sort().groupBy("$SR");return{xoObjects:t,xoContainers:e.sort()}},{placeholder:(0,de.default)("selectVdis")})),n.SelectSubject=Ve(function(e){var t={},n=void 0,r=void 0,o=function(o){t=o,n&&r&&e({xoObjects:t})},a=(0,Oe.subscribeGroups)(function(e){r=!0,o([].concat((0,c.default)((0,ne.default)(t,function(e){return"user"===e.type})),(0,c.default)(e)))}),i=(0,Oe.subscribeUsers)(function(e){n=!0,o([].concat((0,c.default)((0,ne.default)(t,function(e){return"group"===e.type})),(0,c.default)(e)))});return function(){a(),i()}},{placeholder:(0,de.default)("selectSubjects")}),n.SelectRole=Ve(function(e){var t=(0,Oe.subscribeRoles)(function(t){var n=(0,R.default)((0,A.default)(t,"name"),function(e){return(0,f.default)({},e,{type:"role"})});e({xoObjects:n})});return t},{placeholder:(0,de.default)("selectRole")}),n.SelectRemote=Ve(function(e){var t=(0,Oe.subscribeRemotes)(function(t){var n=(0,$.default)((0,R.default)((0,A.default)(t,"name"),function(e){return e=(0,f.default)({},e,(0,ue.parse)(e.url)),{id:e.id,type:"remote",value:e}}),function(e){return e.value.type});e({xoObjects:n,xoContainers:(0,R.default)(n,function(e,t){return{id:t,label:t}})})});return t},{placeholder:(0,de.default)("selectRemotes")}),n.SelectResourceSet=Ve(function(e){var t=(0,Oe.subscribeResourceSets)(function(t){var n=(0,R.default)((0,A.default)((0,Ne.resolveResourceSets)(t),"name"),function(e){return(0,f.default)({},e,{type:"resourceSet"})});e({xoObjects:n})});return t},{placeholder:(0,de.default)("selectResourceSets")}),n.SelectResourceSetsVmTemplate=function(e){function t(){var e,n,r,o;(0,g.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,w.default)(this,(e=t.__proto__||(0,v.default)(t)).call.apply(e,[this].concat(i))),r._getTemplates=(0,Pe.createSelector)(function(){return r.props.resourceSet},function(e){var t=e.objectsByType,n=r.props.predicate,o=t["VM-template"];return(0,A.default)(n?(0,ne.default)(o,n):o,"name_label")}),o=n,(0,w.default)(r,o)}return(0,C.default)(t,e),(0,_.default)(t,[{key:"render",value:function(){return ie.default.createElement(Ie,(0,f.default)({ref:"select",placeholder:(0,de.default)("selectResourceSetsVmTemplate")},this.props,{xoObjects:this._getTemplates()}))}},{key:"value",get:function(){return this.refs.select.value},set:function(e){this.refs.select.value=e}}]),t}(me.default),n.SelectResourceSetsSr=function(e){function t(){var e,n,r,o;(0,g.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,w.default)(this,(e=t.__proto__||(0,v.default)(t)).call.apply(e,[this].concat(i))),r._getSrs=(0,Pe.createSelector)(function(){return r.props.resourceSet},function(e){var t=e.objectsByType,n=r.props.predicate,o=t.SR;return(0,A.default)(n?(0,ne.default)(o,n):o,"name_label")}),o=n,(0,w.default)(r,o)}return(0,C.default)(t,e),(0,_.default)(t,[{key:"render",value:function(){return ie.default.createElement(Ie,(0,f.default)({ref:"select",placeholder:(0,de.default)("selectResourceSetsSr")},this.props,{xoObjects:this._getSrs()}))}},{key:"value",get:function(){return this.refs.select.value},set:function(e){this.refs.select.value=e}}]),t}(me.default),n.SelectResourceSetsVdi=function(e){function t(){var e,n,r,o;(0,g.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,w.default)(this,(e=t.__proto__||(0,v.default)(t)).call.apply(e,[this].concat(i))),r._getSrs=(0,Pe.createSelector)(function(){return r.props.resourceSet},function(e){var t=e.objectsByType,n=r.props.srPredicate,o=t.SR;return n?(0,ne.default)(o,n):o}),r._getVdis=(0,Pe.createSelector)(r._getSrs,function(e){return(0,A.default)((0,R.default)((0,ee.default)((0,R.default)(e,function(e){return e.VDIs})),r._getObject),"name_label")}),o=n,(0,w.default)(r,o)}return(0,C.default)(t,e),(0,_.default)(t,[{key:"_getObject",value:function(e){return(0,Pe.getObject)(Se.default.getState(),e,!0)}},{key:"render",value:function(){return ie.default.createElement(Ie,(0,f.default)({ref:"select",placeholder:(0,de.default)("selectResourceSetsVdi")},this.props,{xoObjects:this._getVdis()}))}},{key:"value",get:function(){return this.refs.select.value},set:function(e){this.refs.select.value=e}}]),t}(me.default),n.SelectResourceSetsNetwork=function(e){function t(){var e,n,r,o;(0,g.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,w.default)(this,(e=t.__proto__||(0,v.default)(t)).call.apply(e,[this].concat(i))),r._getNetworks=(0,Pe.createSelector)(function(){return r.props.resourceSet},function(e){var t=e.objectsByType,n=r.props.predicate,o=t.network;return(0,A.default)(n?(0,ne.default)(o,n):o,"name_label")}),o=n,(0,w.default)(r,o)}return(0,C.default)(t,e),(0,_.default)(t,[{key:"render",value:function(){return ie.default.createElement(Ie,(0,f.default)({ref:"select",placeholder:(0,de.default)("selectResourceSetsNetwork")},this.props,{xoObjects:this._getNetworks()}))}},{key:"value",get:function(){return this.refs.select.value},set:function(e){this.refs.select.value=e}}]),t}(me.default),n.SelectResourceSetIp=(i=(0,Ne.addSubscriptions)(function(){return{ipPools:Oe.subscribeIpPools,resourceSets:Oe.subscribeResourceSets}}),s=(0,ye.default)({containerPredicate:ye.default.func,predicate:ye.default.func,resourceSetId:ye.default.string.isRequired}),i(l=s(l=function(e){function t(){var e,n,r,o;(0,g.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,w.default)(this,(e=t.__proto__||(0,v.default)(t)).call.apply(e,[this].concat(i))),r._getResourceSetIpPools=(0,Pe.createSelector)(function(){return r.props.ipPools},function(){return r.props.resourceSets},function(){return r.props.resourceSetId},function(e,t,n){var r=t[n].ipPools;return(0,ne.default)(e,function(e){var t=e.id;return(0,G.default)(r,t)})}),r._getIpPools=(0,Pe.createSelector)(function(){return r.props.ipPools},function(){return r.props.containerPredicate},function(e,t){return t?(0,ne.default)(e,t):e}),r._getIps=(0,Pe.createSelector)(r._getIpPools,function(){return r.props.predicate},function(){return r.props.ipPools},function(e,t,n){return(0,ee.default)((0,R.default)(e,function(e){var n=(0,R.default)(e.addresses,function(e,t){return(0,f.default)({},e,{id:t,label:t,type:"ipAddress",used:!(0,W.default)(e.vifs)})});return t?(0,ne.default)(n,t):n}))}),o=n,(0,w.default)(r,o)}return(0,C.default)(t,e),(0,_.default)(t,[{key:"render",value:function(){return ie.default.createElement(Ie,(0,f.default)({ref:"select",placeholder:(0,de.default)("selectIpPool")},this.props,{xoObjects:this._getIps()}))}},{key:"value",get:function(){return this.refs.select.value},set:function(e){this.refs.select.value=e}}]),t}(me.default))||l)||l),n.SelectSshKey=function(e){function t(){return(0,g.default)(this,t),(0,w.default)(this,(t.__proto__||(0,v.default)(t)).apply(this,arguments))}return(0,C.default)(t,e),(0,_.default)(t,[{key:"componentWillMount",value:function(){var e=this;this.componentWillUnmount=(0,Oe.subscribeCurrentUser)(function(t){e.setState({sshKeys:t&&t.preferences&&(0,R.default)(t.preferences.sshKeys,function(e,t){return{id:t,label:e.title,type:"sshKey"}})})})}},{key:"render",value:function(){return ie.default.createElement(Ie,(0,f.default)({ref:"select",placeholder:(0,de.default)("selectSshKey")},this.props,{xoObjects:this.state.sshKeys||[]}))}},{key:"value",get:function(){return this.refs.select.value},set:function(e){this.refs.select.value=e}}]),t}(me.default),n.SelectIp=Ve(function(e){var t=(0,Oe.subscribeIpPools)(function(t){var n=(0,A.default)(t,"name"),r=(0,E.default)((0,$.default)(n,"id"),function(e){return(0,R.default)(e[0].addresses,function(e,t){return(0,f.default)({},e,{id:t,label:t,type:"ipAddress",used:!(0,W.default)(e.vifs)})})}),o=(0,R.default)(n,function(e){return(0,f.default)({},e,{type:"ipPool"})});e({xoObjects:r,xoContainers:o})});return t},{placeholder:(0,de.default)("selectIp")}),n.SelectIpPool=Ve(function(e){var t=(0,Oe.subscribeIpPools)(function(t){e({xoObjects:(0,R.default)((0,A.default)(t,"name"),function(e){return(0,f.default)({},e,{type:"ipPool"})})})});return t},{placeholder:(0,de.default)("selectIpPool")})},{"./base-component":1405,"./button":1407,"./form":1425,"./icon":1435,"./intl":1436,"./prop-types":1464,"./render-xo-item":1466,"./selectors":1470,"./store":1479,"./tooltip":1488,"./utils":1490,"./xo":1519,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/toConsumableArray":32,classnames:157,"lodash/assign":690,"lodash/filter":709,"lodash/flatten":714,"lodash/forEach":716,"lodash/groupBy":725,"lodash/includes":728,"lodash/isArray":731,"lodash/isEmpty":735,"lodash/isInteger":738,"lodash/isString":744,"lodash/keyBy":749,"lodash/keys":750,"lodash/map":754,"lodash/mapValues":756,"lodash/pick":764,"lodash/sortBy":775,"lodash/toArray":784,react:1269,"uncontrollable-input":1361,"xo-remote-parser":1397}],1470:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.createGetHostMetrics=n.createDoesHostNeedRestart=n.getObject=n.createGetObjectMessages=n.createGetTags=n.createGetObjectsOfType=n.createSortForType=n.createGetObject=n.isAdmin=n.getCheckPermissions=n.getUser=n.getStatus=n.getLang=n.areObjectsFetched=n.createTop=n.createSort=n.createPager=n.createGroupBy=n.createFinder=n.createFilter=n.createPicker=n.createCounter=n.createCollectionWrapper=n.create=n.createSelector=void 0;var o=e("babel-runtime/core-js/symbol"),a=r(o),i=e("reselect");Object.defineProperty(n,"createSelector",{enumerable:!0,get:function(){return i.createSelector}}),Object.defineProperty(n,"create",{enumerable:!0,get:function(){return i.createSelector}});var s=e("xo-acl-resolver"),l=r(s),u=e("lodash/filter"),c=r(u),d=e("lodash/find"),f=r(d),p=e("lodash/forEach"),h=r(p),m=e("lodash/groupBy"),v=r(m),b=e("lodash/isArray"),g=r(b),y=e("lodash/isArrayLike"),_=r(y),M=e("lodash/isFunction"),w=r(M),S=e("lodash/keys"),C=r(S),x=e("lodash/map"),k=r(x),T=e("lodash/orderBy"),A=r(T),P=e("lodash/pickBy"),N=r(P),O=e("lodash/size"),E=r(O),z=e("lodash/slice"),R=r(z),j=e("./invoke"),L=r(j),D=e("./shallow-equal"),I=r(D),B=e("./utils"),V=function(e){var t=void 0,n=void 0;return function(){var r=e.apply(void 0,arguments);return r!==n&&(n=r,(0,I.default)(r,t)||(t=r)),t}};n.createCollectionWrapper=V;var q=(0,a.default)("selector placeholder"),F=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.pop();1===t.length&&(0,g.default)(t[0])&&(t=t[0]);for(var o=t.length,a=[],s=0;s<o;++s){var l=t[s];(0,w.default)(l)?(a.push(l),t[s]=q):(0,g.default)(l)&&1===l.length&&(t[s]=l[0])}if(!a.length)throw new Error("no input selectors");return(0,i.createSelector)(a,function(){for(var e=new Array(o),n=0,a=0;n<o;++n){var i=t[n];e[n]=i===q?arguments[a++]:i}return r.apply(this,e)})},U=n.createCounter=function(e,t){return F(e,t,function(e,t){if(!t)return(0,E.default)(e);var n=0;return(0,h.default)(e,function(e){t(e)&&++n}),n})},W=n.createPicker=function(e,t){return V(F(e,t,function(e,t){var n={};return(0,h.default)(t,function(t){var r=e[t];r&&(n[t]=r)}),n}))},H=n.createFilter=function(e,t){return F(e,t,V(function(e,t){return t===!1?(0,_.default)(e)?B.EMPTY_ARRAY:B.EMPTY_OBJECT:t?((0,_.default)(e)?c.default:N.default)(e,t):e}))},X=n.createFinder=function(e,t){return F(e,t,f.default)},K=n.createGroupBy=function(e,t){return F(e,t,v.default)},G=(n.createPager=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:25;return F(e,t,n,V(function(e,t,n){var r=(t-1)*n;return(0,R.default)(e,r,r+n)}))},n.createSort=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"name_label",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"asc";return F(e,t,n,A.default)}),Y=(n.createTop=function(e,t,n){return F(e,t,n,V(function(e,t,n){var r=(0,A.default)(e,t,"desc");return n<r.length&&(r.length=n),r}))},n.areObjectsFetched=function(e){return e.objects.fetched},function(e,t){var n=t.routeParams,r=t.id;return n?n.id:r}),$=(n.getLang=function(e){return e.lang},n.getStatus=function(e){return e.status},n.getUser=function(e){return e.user}),Q=(n.getCheckPermissions=(0,L.default)(function(){var e=(0,i.createSelector)(function(e){return e.permissions},function(e){return e.objects},function(e,t){t=t.all;var n=function(e){return t[e]||B.EMPTY_OBJECT};return function(t,r){return(0,l.default)(e,n,t,r)}}),t=function(){return!0},n=function(){return!1};return function(r){var o=$(r);return o?"admin"===o.permission?t:e(r):n}}),(0,L.default)(function(){var e=(0,i.createSelector)(function(e){return e.permissions},function(e){return e.objects},function(e,t){t=t.all;var n=function(e){return t[e]||B.EMPTY_OBJECT};return function(t){return(0,l.default)(e,n,t.id||t,"view")}});return function(t){var n=$(t);if(!n)return!1;if("admin"!==n.permission)return e(t)}})),J=(n.isAdmin=function(){var e=$.apply(void 0,arguments);return e&&"admin"===e.permission},n.createGetObject=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y;return function(t,n,r){var o=t.objects.all[e(t,n)];if(o){if(r)return o;var a=Q(t);if(a)return a(o)?o:void 0;if(null==a)return o}}}),Z=n.createSortForType=(0,L.default)(function(){var e={message:function(e){return e.time},PIF:function(e){return e.device},pool:function(e){return e.name_label},pool_patch:function(e){return e.name},tag:function(e){return e},VBD:function(e){return e.position},"VDI-snapshot":function(e){return e.snapshot_time},"VM-snapshot":function(e){return e.snapshot_time}},t=[function(e){return e.$pool},function(e){return e.name_label}],n=function(n){return e[n]||t},r={message:"desc","VDI-snapshot":"desc","VM-snapshot":"desc"},o=function(e){return r[e]},a=function(e,t){return(0,w.default)(e)?function(n,r){return t(e(n,r))}:[t(e)]};return function(e,t){return G(t,a(e,n),a(e,o))}}),ee=function(e,t){var n=function(e){return e.count=function(t){return U(e,t)},e};n(e);var r=function(e){return e.groupBy=function(t){return K(e,t)},e};r(e);var o=function(e){return e.find=function(t){return X(e,t)},e};o(e);var a=function(e){return e.sort=function(){return r(Z(t,e))},e};a(e);var i=function(e){return e.filter=function(t){return n(r(a(H(e,t))))},e};return i(e),e.pick=function(t){return o(i(r(a(W(e,t)))))},e},te=n.createGetObjectsOfType=function(e){var t=(0,w.default)(e)?function(t,n){return t.objects.byType[e(t,n)]||B.EMPTY_OBJECT}:function(t){return t.objects.byType[e]||B.EMPTY_OBJECT};return ee(H(t,Q),e)};n.createGetTags=function(e){e||(e=[te("host"),te("pool"),te("VM")]);var t=(0,i.createSelector)(e,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r={},o=function(e){r[e]=null},a=function(e){(0,h.default)(e.tags,o)},i=function(e){(0,h.default)(e,a)};return(0,h.default)(t,i),(0,C.default)(r)});return ee(t,"tag")},n.createGetObjectMessages=function(e){return te("message").filter((0,i.createSelector)(function(){return e.apply(void 0,arguments).id},function(e){return function(t){return t.$object===e}})).sort()},n.getObject=J(function(e,t){return t}),n.createDoesHostNeedRestart=function(e){var t=te("pool_patch").pick((0,i.createSelector)(te("host_patch").pick(function(t,n){var r=e(t,n);return r&&r.patches}).filter((0,i.createSelector)(function(t,n){var r=e(t,n);return r&&r.startTime},function(e){return function(t){return t.time>e}})),function(e){return(0,k.default)(e,function(e){return e.pool_patch})})).find([function(e){var t=e.guidance;return(0,f.default)(t,function(e){return"restartHost"===e||"restartXapi"===e})}]);return function(e,n){return void 0!==t(e,n)}},n.createGetHostMetrics=function(e){return(0,i.createSelector)(e,V(function(e){var t={count:0,cpus:0,memoryTotal:0,memoryUsage:0};return(0,h.default)(e,function(e){t.count++,t.cpus+=e.cpus.cores,t.memoryTotal+=e.memory.size,t.memoryUsage+=e.memory.usage}),t}))}},{"./invoke":1446,"./shallow-equal":1471,"./utils":1490,"babel-runtime/core-js/symbol":18,"lodash/filter":709,"lodash/find":710,"lodash/forEach":716,"lodash/groupBy":725,"lodash/isArray":731,"lodash/isArrayLike":732,"lodash/isFunction":737,"lodash/keys":750,"lodash/map":754,"lodash/orderBy":763,"lodash/pickBy":765,"lodash/size":772,"lodash/slice":773,reselect:1291,"xo-acl-resolver":1393}],1471:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("kindof"),a=r(o),i=function(e,t){if(e===t)return!0;var n=(0,a.default)(e);if(n!==(0,a.default)(t))return!1;if("array"===n){var r=e.length;if(r!==t.length)return!1;for(var o=0;o<r;++o)if(e[o]!==t[o])return!1;return!0}if("object"!==n)return!1;var i=0;for(var s in t)++i;for(var l in e){if(e[l]!==t[l])return!1;--i}return!i};n.default=i},{kindof:381}],1472:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.disable=n.enable=void 0;var o=e("babel-runtime/core-js/object/get-prototype-of"),a=r(o),i=e("babel-runtime/helpers/classCallCheck"),s=r(i),l=e("babel-runtime/helpers/createClass"),u=r(l),c=e("babel-runtime/helpers/possibleConstructorReturn"),d=r(c),f=e("babel-runtime/helpers/inherits"),p=r(f),h=e("base-component"),m=r(h),v=e("lodash/forEach"),b=r(v),g=e("react"),y=r(g),_=e("lodash/remove"),M=r(_),w=e("react-shortcuts"),S=!0,C=[],x=function(){(0,b.default)(C,function(e){return e.forceUpdate()})},k=(n.enable=function(){S=!0,x()},n.disable=function(){S=!1,x()},function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,u.default)(t,[{key:"componentDidMount",value:function(){C.push(this)}},{key:"componentWillUnmount",value:function(){(0,M.default)(C,this)}},{key:"render",value:function(){return S?y.default.createElement(w.Shortcuts,this.props):null}}]),t}(m.default));n.default=k},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,"lodash/forEach":716,"lodash/remove":769,react:1269,"react-shortcuts":1192}],1473:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("react"),s=r(i),l=e("./prop-types"),u=r(l),c={display:"flex"},d={marginTop:"auto",marginBottom:"auto"},f=(0,u.default)({className:u.default.string})(function(e){var t=e.children,n=e.className;return(0,a.default)("div",{className:(n||"")+" row",style:c},void 0,s.default.Children.map(t,function(e){return e&&(0,i.cloneElement)(e,{style:d})}))});n.default=f},{"./prop-types":1464,"babel-runtime/helpers/jsx":27,react:1269}],1474:[function(e,t,n){t.exports={clickableColumn:"mc5df48f8c_clickableColumn",clickableRow:"mc5df48f8c_clickableRow"}},{}],1475:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l,u,c=e("babel-runtime/helpers/jsx"),d=r(c),f=e("babel-runtime/core-js/object/get-prototype-of"),p=r(f),h=e("babel-runtime/helpers/classCallCheck"),m=r(h),v=e("babel-runtime/helpers/createClass"),b=r(v),g=e("babel-runtime/helpers/possibleConstructorReturn"),y=r(g),_=e("babel-runtime/helpers/inherits"),M=r(_),w=e("intl"),S=r(w),C=e("lodash/ceil"),x=r(C),k=e("classnames"),T=r(k),A=e("lodash/debounce"),P=r(A),N=e("lodash/findIndex"),O=r(N),E=e("lodash/isEmpty"),z=r(E),R=e("lodash/isFunction"),j=r(R),L=e("lodash/map"),D=r(L),I=e("react"),B=r(I),V=e("react-bootstrap-4/lib"),q=e("react-bootstrap-4/lib/DropdownMenu"),F=r(q),U=e("react-bootstrap-4/lib/DropdownToggle"),W=r(U),H=e("react-overlays"),X=e("../button"),K=r(X),G=e("../base-component"),Y=r(G),$=e("../icon"),Q=r($),J=e("../prop-types"),Z=r(J),ee=e("../single-line-row"),te=r(ee),ne=e("../link"),re=e("../grid"),oe=e("../complex-matcher"),ae=e("../selectors"),ie=e("./index.css"),se=r(ie),le=(0,d.default)("span",{className:"input-group-addon"},void 0,(0,d.default)(Q.default,{icon:"search"})),ue=(0,d.default)(W.default,{bsStyle:"info"},void 0,(0,d.default)(Q.default,{icon:"search"})),ce=(0,d.default)(Q.default,{icon:"clear-search"}),de=(o=(0,Z.default)({filters:Z.default.object,nFilteredItems:Z.default.number.isRequired,nItems:Z.default.number.isRequired,onChange:Z.default.func.isRequired}),o(a=function(e){function t(){var e,n,r,o;(0,m.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,y.default)(this,(e=t.__proto__||(0,p.default)(t)).call.apply(e,[this].concat(i))),r._cleanFilter=function(){return r._setFilter("")},r._setFilter=function(e){var t=r.refs.filter;t.value=e,t.focus(),r.props.onChange(e)},r._onChange=function(e){r.props.onChange(e.target.value)},o=n,(0,y.default)(r,o)}return(0,M.default)(t,e),(0,b.default)(t,[{key:"render",value:function(){var e=this,t=this.props;return(0,d.default)("div",{className:"input-group"},void 0,(0,d.default)("span",{className:"input-group-addon"},void 0,t.nFilteredItems," / ",t.nItems),(0,z.default)(t.filters)?le:(0,d.default)("div",{className:"input-group-btn"},void 0,(0,d.default)(V.Dropdown,{id:"filter"},void 0,ue,(0,d.default)(F.default,{},void 0,(0,D.default)(t.filters,function(t,n){return(0,d.default)(V.MenuItem,{onClick:function(){return e._setFilter(t)}},n,(0,S.default)(n))})))),B.default.createElement("input",{type:"text",ref:"filter",onChange:this._onChange,className:"form-control"}),(0,d.default)("div",{className:"input-group-btn"},void 0,(0,d.default)(K.default,{onClick:this._cleanFilter},void 0,ce)))}}]),t}(Y.default))||a),fe=(i=(0,Z.default)({columnId:Z.default.number.isRequired,name:Z.default.node,sort:Z.default.func,sortIcon:Z.default.string}),i(s=function(e){function t(){var e,n,r,o;(0,m.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,y.default)(this,(e=t.__proto__||(0,p.default)(t)).call.apply(e,[this].concat(i))),r._sort=function(){var e=r,t=e.props;t.sort(t.columnId)},o=n,(0,y.default)(r,o)}return(0,M.default)(t,e),(0,b.default)(t,[{key:"render",value:function(){var e=this.props,t=e.name,n=e.sortIcon,r=e.textAlign;if(!this.props.sort)return(0,d.default)("th",{className:r&&"text-xs-"+r},void 0,t);var o="asc"===n||"desc"===n;return(0,d.default)("th",{className:(0,T.default)(r&&"text-xs-"+r,se.default.clickableColumn,o&&(0,T.default)("text-white","bg-info")),onClick:this._sort},void 0,t,(0,d.default)("span",{className:"pull-right"},void 0,(0,d.default)(Q.default,{icon:n})))}}]),t}(Y.default))||s),pe=10,he=(l=(0,Z.default)({defaultColumn:Z.default.number,collection:Z.default.oneOfType([Z.default.array,Z.default.object]).isRequired,columns:Z.default.arrayOf(Z.default.shape({default:Z.default.bool,name:Z.default.node,itemRenderer:Z.default.func.isRequired,sortCriteria:Z.default.oneOfType([Z.default.func,Z.default.string]),sortOrder:Z.default.string,textAlign:Z.default.string})).isRequired,filterContainer:Z.default.func,filters:Z.default.object,itemsPerPage:Z.default.number,paginationContainer:Z.default.func,rowAction:Z.default.func,rowLink:Z.default.oneOfType([Z.default.func,Z.default.string]),userData:Z.default.any}),l(u=function(e){function t(e){(0,m.default)(this,t);var n=(0,y.default)(this,(t.__proto__||(0,p.default)(t)).call(this,e));n._sort=function(e){var t=n.state,r=void 0;r=t.selectedColumn===e?"desc"===t.sortOrder?"asc":"desc":"desc"===n.props.columns[e].sortOrder?"desc":"asc",n.setState({selectedColumn:e,sortOrder:r})},n._onPageSelection=function(e,t){return n.setState({activePage:t.eventKey})},n._onFilterChange=(0,P.default)(function(e){n.setState({filter:e,activePage:1})},500);var r=e.defaultColumn;return null==r&&(r=(0,O.default)(e.columns,"default"),r===-1&&(r=0)),n.state={
|
78 | selectedColumn:r,itemsPerPage:e.itemsPerPage||pe},n._getSelectedColumn=function(){return n.props.columns[n.state.selectedColumn]},n._getTotalNumberOfItems=(0,ae.createCounter)(function(){return n.props.collection}),n._getAllItems=(0,ae.createSort)((0,ae.createFilter)(function(){return n.props.collection},(0,ae.createSelector)(function(){return n.state.filter||""},oe.create)),(0,ae.createSelector)(function(){return n._getSelectedColumn().sortCriteria},function(){return n.props.userData},function(e,t){return"function"==typeof e?function(n){return e(n,t)}:e}),function(){return n.state.sortOrder}),n.state.activePage=1,n._getVisibleItems=(0,ae.createPager)(n._getAllItems,function(){return n.state.activePage},n.state.itemsPerPage),n}return(0,M.default)(t,e),(0,b.default)(t,[{key:"componentWillMount",value:function(){this.setState({sortOrder:"desc"===this.props.columns[this.state.selectedColumn].sortOrder?"desc":"asc"})}},{key:"componentDidMount",value:function(){this.props.paginationContainer&&this.forceUpdate()}},{key:"render",value:function(){var e=this,t=this.props,n=this.state,r=t.paginationContainer,o=t.filterContainer,a=t.filters,i=t.rowAction,s=t.rowLink,l=t.userData,u=this._getAllItems().length,c=(0,d.default)(V.Pagination,{first:!0,last:!0,prev:!0,next:!0,ellipsis:!0,boundaryLinks:!0,maxButtons:10,items:(0,x.default)(u/n.itemsPerPage),activePage:this.state.activePage,onSelect:this._onPageSelection}),f=(0,d.default)(de,{filters:a,nFilteredItems:u,nItems:this._getTotalNumberOfItems(),onChange:this._onFilterChange});return(0,d.default)("div",{},void 0,(0,d.default)("table",{className:"table"},void 0,(0,d.default)("thead",{className:"thead-default"},void 0,(0,d.default)("tr",{},void 0,(0,D.default)(t.columns,function(t,r){return(0,d.default)(fe,{textAlign:t.textAlign,columnId:r,name:t.name,sort:t.sortCriteria&&e._sort,sortIcon:n.selectedColumn===r?n.sortOrder:"sort"},r)}))),(0,d.default)("tbody",{},void 0,(0,D.default)(this._getVisibleItems(),function(e,n){var r=(0,D.default)(t.columns,function(t,n){return(0,d.default)("td",{className:t.textAlign&&"text-xs-"+t.textAlign},n,t.itemRenderer(e,l))}),o=e.id,a=void 0===o?n:o;return s?(0,d.default)(ne.BlockLink,{tagName:"tr",to:(0,j.default)(s)?s(e,l):s},a,r):(0,d.default)("tr",{className:i&&se.default.clickableRow,onClick:i&&function(){return i(e,l)}},a,r)}))),(!r||!o)&&(0,d.default)(re.Container,{},void 0,(0,d.default)(te.default,{},void 0,(0,d.default)(re.Col,{mediumSize:8},void 0,r?(0,d.default)(H.Portal,{container:function(){return r()}},void 0,c):c),(0,d.default)(re.Col,{mediumSize:4},void 0,o?(0,d.default)(H.Portal,{container:function(){return o()}},void 0,f):f))))}}]),t}(Y.default))||u);n.default=he},{"../base-component":1405,"../button":1407,"../complex-matcher":1413,"../grid":1431,"../icon":1435,"../link":1459,"../prop-types":1464,"../selectors":1470,"../single-line-row":1473,"./index.css":1474,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,classnames:157,intl:1436,"lodash/ceil":693,"lodash/debounce":701,"lodash/findIndex":711,"lodash/isEmpty":735,"lodash/isFunction":737,"lodash/map":754,react:1269,"react-bootstrap-4/lib":915,"react-bootstrap-4/lib/DropdownMenu":853,"react-bootstrap-4/lib/DropdownToggle":854,"react-overlays":1121}],1476:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/extends"),a=r(o),i=e("babel-runtime/helpers/objectWithoutProperties"),s=r(i),l=e("babel-runtime/helpers/taggedTemplateLiteral"),u=r(l),c=(0,u.default)(["\n background-color: ","\n border: 2px solid ","\n color: ","\n"],["\n background-color: ","\n border: 2px solid ","\n color: ","\n"]),d=e("react"),f=r(d),p=e("styled-components"),h=r(p),m=e("./action-button"),v=r(m),b=e("./prop-types"),g=r(b),y=(0,h.default)(v.default)(c,function(e){return e.theme[(e.state?"enabled":"disabled")+"StateBg"]},function(e){return e.theme[(e.state?"enabled":"disabled")+"StateColor"]},function(e){return e.theme[(e.state?"enabled":"disabled")+"StateColor"]}),_=function(e){var t=e.disabledHandler,n=e.disabledLabel,r=e.disabledTooltip,o=e.enabledLabel,i=e.enabledTooltip,l=e.enabledHandler,u=e.state,c=(0,s.default)(e,["disabledHandler","disabledLabel","disabledTooltip","enabledLabel","enabledTooltip","enabledHandler","state"]);return f.default.createElement(y,(0,a.default)({handler:u?l:t,tooltip:u?i:r},c,{icon:u?"running":"halted",size:"small",state:u}),u?o:n)};n.default=(0,g.default)({state:g.default.bool.isRequired})(_)},{"./action-button":1401,"./prop-types":1464,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/objectWithoutProperties":28,"babel-runtime/helpers/taggedTemplateLiteral":31,react:1269,"styled-components":1303}],1477:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.xoaConfiguration=n.xoaRegisterState=n.xoaUpdaterLog=n.xoaTrialState=n.xoaUpdaterState=n.signedOut=n.signedIn=n.updatePermissions=n.updateObjects=n.disconnected=n.connected=n.selectLang=void 0;var o=e("babel-runtime/core-js/object/define-property"),a=r(o),i=function(){var e=a.default;return function(t,n){return e(n?function(){return{type:t,payload:n.apply(void 0,arguments)}}:function(e){return function(){if(arguments.length)throw new Error("this action expects no payload!");return e}}({type:t}),"toString",{value:function(){return t}})}}();n.selectLang=i("SELECT_LANG",function(e){return e}),n.connected=i("CONNECTED"),n.disconnected=i("DISCONNECTED"),n.updateObjects=i("UPDATE_OBJECTS",function(e){return e}),n.updatePermissions=i("UPDATE_PERMISSIONS",function(e){return e}),n.signedIn=i("SIGNED_IN",function(e){return e}),n.signedOut=i("SIGNED_OUT"),n.xoaUpdaterState=i("XOA_UPDATER_STATE",function(e){return e}),n.xoaTrialState=i("XOA_TRIAL_STATE",function(e){return e}),n.xoaUpdaterLog=i("XOA_UPDATER_LOG",function(e){return e}),n.xoaRegisterState=i("XOA_REGISTER_STATE",function(e){return e}),n.xoaConfiguration=i("XOA_CONFIGURATION",function(e){return e})},{"babel-runtime/core-js/object/define-property":12}],1478:[function(e,t,n){"use strict";t.exports=!1},{}],1479:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("redux-thunk"),a=r(o),i=e("redux"),s=e("../xo"),l=e("./dev-tools"),u=r(l),c=e("./reducer"),d=r(c),f=[(0,i.applyMiddleware)(a.default)];u.default&&f.push(u.default.instrument());var p=(0,i.createStore)((0,i.combineReducers)(d.default),i.compose.apply(null,f));(0,s.connectStore)(p),n.default=p},{"../xo":1519,"./dev-tools":1478,"./reducer":1480,redux:1287,"redux-thunk":1281,"xoa-updater":1527}],1480:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var a,i=e("babel-runtime/helpers/extends"),s=o(i),l=e("babel-runtime/helpers/defineProperty"),u=o(l),c=e("babel-runtime/helpers/typeof"),d=o(c),f=e("cookies-js"),p=o(f),h=e("../invoke"),m=o(h),v=e("./actions"),b=r(v),g=function(e){var t=e.error,n=e.next;return function(e,r,o){if(o.error){if(t)return t(e,r,o)}else if(n)return n(e,r,o);return e}},y=(0,m.default)(Object.hasOwnProperty,function(e){for(var t in e)return t},function(e,t){return function(n,r){var o=0;for(var a in r)if(e.call(r,a)){if("undefined"===a)throw new Error("invalid action type: undefined");++o;var i=r[a];"object"===("undefined"==typeof i?"undefined":(0,d.default)(i))&&(r[a]=g(i))}if(!o)throw new Error("no action handlers declared");if(1===o){var s=function(){var e=t(r),o=r[e];return{v:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,r=arguments[1];return r.type===e?o(t,r.payload,r):t}}}();if("object"===("undefined"==typeof s?"undefined":(0,d.default)(s)))return s.v}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n,t=arguments[1],o=r[t.type];return o?o(e,t.payload,t):e}}});n.default={lang:y(p.default.get("lang")||"en",(0,u.default)({},b.selectLang,function(e,t){return p.default.set("lang",t),t})),permissions:y({},(0,u.default)({},b.updatePermissions,function(e,t){return t})),objects:y({all:{},byType:{}},(0,u.default)({},b.updateObjects,function(e,t){var n=e.all,r=e.byType,o=(0,s.default)({},r),a=function(e){var t=o[e],n=r[e];return t===n?o[e]=(0,s.default)({},n):t};for(var i in t){var l=t[i],u=n[i];if(l){var c=l.type;n[i]=l,a(c)[i]=l,u&&u.type!==c&&delete a(u.type)[i]}else u&&(delete n[i],delete a(u.type)[i])}return{all:n,byType:o,fetched:!0}})),user:y(null,(0,u.default)({},b.signedIn,{next:function(e,t){return t}})),status:y("disconnected",(a={},(0,u.default)(a,b.connected,function(){return"connected"}),(0,u.default)(a,b.disconnected,function(){return"disconnected"}),a)),xoaUpdaterState:y("disconnected",(0,u.default)({},b.xoaUpdaterState,function(e,t){return t})),xoaTrialState:y({},(0,u.default)({},b.xoaTrialState,function(e,t){return t})),xoaUpdaterLog:y([],(0,u.default)({},b.xoaUpdaterLog,function(e,t){return t})),xoaRegisterState:y({state:"?"},(0,u.default)({},b.xoaRegisterState,function(e,t){return t})),xoaConfiguration:y({proxyHost:"",proxyPort:"",proxyUser:""},(0,u.default)({},b.xoaConfiguration,function(e,t){return delete t.password,t}))}},{"../invoke":1446,"./actions":1477,"babel-runtime/helpers/defineProperty":24,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/typeof":33,"cookies-js":193}],1481:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.TabButtonLink=n.default=void 0;var o=e("babel-runtime/helpers/extends"),a=r(o),i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/helpers/objectWithoutProperties"),u=r(l),c=e("react"),d=r(c),f=e("./intl"),p=r(f),h=e("./action-button"),m=r(h),v=e("./icon"),b=r(v),g=e("./link"),y=r(g),_={marginBottom:"1em",marginLeft:"1em"},M=function(e){var t=e.labelId,n=(0,u.default)(e,["labelId"]);return d.default.createElement(m.default,(0,a.default)({},n,{size:"large",style:_}),(0,s.default)("span",{className:"hidden-md-down"},void 0,(0,p.default)(t)))};n.default=M;var w=function(e){var t=e.labelId,n=e.icon,r=(0,u.default)(e,["labelId","icon"]);return d.default.createElement(y.default,(0,a.default)({},r,{className:"btn btn-lg btn-primary",style:_}),(0,s.default)("span",{className:"hidden-md-down"},void 0,n&&(0,s.default)("span",{},void 0,(0,s.default)(b.default,{icon:n})," "),(0,p.default)(t)))};n.TabButtonLink=w},{"./action-button":1401,"./icon":1435,"./intl":1436,"./link":1459,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/objectWithoutProperties":28,react:1269}],1482:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Tag=n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/helpers/toConsumableArray"),u=r(l),c=e("babel-runtime/core-js/object/get-prototype-of"),d=r(c),f=e("babel-runtime/helpers/classCallCheck"),p=r(f),h=e("babel-runtime/helpers/createClass"),m=r(h),v=e("babel-runtime/helpers/possibleConstructorReturn"),b=r(v),g=e("babel-runtime/helpers/inherits"),y=r(g),_=e("lodash/filter"),M=r(_),w=e("lodash/includes"),S=r(w),C=e("lodash/map"),x=r(C),k=e("react"),T=r(k),A=e("./base-component"),P=r(A),N=e("./icon"),O=r(N),E=e("./prop-types"),z=r(E),R={margin:"2px",maxWidth:"4em"},j={backgroundColor:"#2598d9",borderRadius:"0.5em",color:"white",fontSize:"0.6em",margin:"0.2em",marginTop:"-0.1em",padding:"0.3em",verticalAlign:"middle"},L={cursor:"pointer"},D={cursor:"pointer",fontSize:"0.8em",marginLeft:"0.2em"},I={cursor:"pointer"},B=(0,s.default)(O.default,{icon:"tags"}),V=(0,s.default)(O.default,{icon:"add-tag"}),q=(o=(0,z.default)({labels:z.default.arrayOf(T.default.PropTypes.string).isRequired,onAdd:z.default.func,onChange:z.default.func,onClick:z.default.func,onDelete:z.default.func}),o(a=function(e){function t(){var e,n,r,o;(0,p.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,b.default)(this,(e=t.__proto__||(0,d.default)(t)).call.apply(e,[this].concat(i))),r._startEdit=function(){r.setState({editing:!0})},r._stopEdit=function(){r.setState({editing:!1})},r._addTag=function(e){var t=r.props,n=t.labels,o=t.onAdd,a=t.onChange;(0,S.default)(n,e)||(o&&o(e),a&&a([].concat((0,u.default)(n),[e])))},r._deleteTag=function(e){var t=r.props,n=t.onChange,o=t.onDelete;o&&o(e),n&&n((0,M.default)(r.props.labels,function(t){return t!==e}))},r._onKeyDown=function(e){var t=e.keyCode,n=e.target;if(13===t)n.value&&(r._addTag(n.value),n.value="");else{if(27!==t)return;r._stopEdit()}e.preventDefault()},o=n,(0,b.default)(r,o)}return(0,y.default)(t,e),(0,m.default)(t,[{key:"componentWillMount",value:function(){this.setState({editing:!1})}},{key:"render",value:function(){var e=this.props,t=e.labels,n=e.onAdd,r=e.onChange,o=e.onClick,a=e.onDelete,i=(a||r)&&this._deleteTag;return(0,s.default)("span",{className:"form-group",style:{color:"#999"}},void 0,B," ",(0,s.default)("span",{},void 0,(0,x.default)(t.sort(),function(e,t){return(0,s.default)(U,{label:e,onDelete:i,onClick:o},t)})),!n&&!r||this.state.editing?(0,s.default)("span",{},void 0,(0,s.default)("input",{type:"text",autoFocus:!0,style:R,onKeyDown:this._onKeyDown,onBlur:this._stopEdit})):(0,s.default)("span",{onClick:this._startEdit,style:D},void 0,V))}}]),t}(P.default))||a);n.default=q;var F=(0,s.default)(O.default,{icon:"remove-tag"}),U=n.Tag=function(e){var t=(e.type,e.label),n=e.onDelete,r=e.onClick;return(0,s.default)("span",{style:j},void 0,(0,s.default)("span",{onClick:r&&function(){return r(t)},style:r&&L},void 0,t)," ",n?(0,s.default)("span",{onClick:n&&function(){return n(t)},style:I},void 0,F):[])};U.propTypes={label:T.default.PropTypes.string.isRequired}},{"./base-component":1405,"./icon":1435,"./prop-types":1464,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/toConsumableArray":32,"lodash/filter":709,"lodash/includes":728,"lodash/map":754,react:1269}],1483:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default={disabledStateBg:"#fff",disabledStateColor:"#c0392b",enabledStateBg:"#fff",enabledStateColor:"#27ae60"}},{}],1484:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.base=void 0;var a=e("babel-runtime/core-js/object/create"),i=o(a),s=e("./base"),l=r(s),u={};u.base={enumerable:!0,get:function(){return l.default}},n.base=l,n.default=(0,i.default)(null,u)},{"./base":1483,"babel-runtime/core-js/object/create":10}],1485:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/helpers/toConsumableArray"),u=r(l),c=e("babel-runtime/core-js/object/get-prototype-of"),d=r(c),f=e("babel-runtime/helpers/classCallCheck"),p=r(f),h=e("babel-runtime/helpers/createClass"),m=r(h),v=e("babel-runtime/helpers/possibleConstructorReturn"),b=r(v),g=e("babel-runtime/helpers/inherits"),y=r(g),_=e("action-button"),M=r(_),w=e("lodash/map"),S=r(w),C=e("moment-timezone"),x=r(C),k=e("react"),T=(r(k),e("./intl")),A=r(T),P=e("./base-component"),N=r(P),O=e("./prop-types"),E=r(O),z=e("./xo"),R=e("./form"),j="server",L=x.default.tz.guess(),D=(o=(0,E.default)({defaultValue:E.default.string,onChange:E.default.func.isRequired,required:E.default.bool,value:E.default.string}),o(a=function(e){function t(){var e,n,r,o;(0,p.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,b.default)(this,(e=t.__proto__||(0,d.default)(t)).call.apply(e,[this].concat(i))),r._onChange=function(e){e&&e.value===r.state.timezone||r.setState({timezone:null!=e&&e.value||j},function(){return r.props.onChange(r.state.timezone===j?null:r.state.timezone)})},r._useLocalTime=function(){r._onChange({value:L})},o=n,(0,b.default)(r,o)}return(0,y.default)(t,e),(0,m.default)(t,[{key:"componentDidMount",value:function(){var e=this;z.getXoServerTimezone.then(function(t){e.setState({timezone:e.props.value||e.props.defaultValue||j,options:[].concat((0,u.default)((0,S.default)(x.default.tz.names(),function(e){return{label:e,value:e}})),[{label:(0,A.default)("serverTimezoneOption",{value:t}),value:j}])})})}},{key:"componentWillReceiveProps",value:function(e){e.value!==this.props.value&&this.setState({timezone:e.value||j})}},{key:"render",value:function(){var e=this.state,t=e.timezone,n=e.options;return(0,s.default)("div",{},void 0,(0,s.default)(R.Select,{className:"mb-1",onChange:this._onChange,options:n,placeholder:(0,A.default)("selectTimezone"),required:this.props.required,value:t}),(0,s.default)("div",{className:"pull-right"},void 0,(0,s.default)(M.default,{handler:this._useLocalTime,icon:"time"},void 0,(0,A.default)("timezonePickerUseLocalTime"))))}},{key:"value",get:function(){return this.state.timezone===j?null:this.state.timezone},set:function(e){this.setState({timezone:e||j})}}]),t}(N.default))||a);n.default=D},{"./base-component":1405,"./form":1425,"./intl":1436,"./prop-types":1464,"./xo":1519,"action-button":1401,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/toConsumableArray":32,"lodash/map":754,"moment-timezone":801,react:1269}],1486:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e,t,n,s,l,u){var c=n.clientWidth,d=n.clientHeight,f=r(e,t,l),p=f.mouseX,h=f.mouseY,m=o(l,t.clientWidth,t.clientHeight,c,d),v=a(u),b=v.extraOffsetX,g=v.extraOffsetY,y=window.innerWidth,_=window.innerHeight,M=i(t),w=M.parentTop,S=M.parentLeft,C=function(e){var t=m[e].l;return p+t+b},x=function(e){var t=m[e].r;return p+t+b},k=function(e){var t=m[e].t;return h+t+g},T=function(e){var t=m[e].b;return h+t+g},A=function(){var e=!1,t=void 0;return k("left")<0&&T("left")<=_&&T("bottom")<=_?(e=!0,t="bottom"):T("left")>_&&k("left")>=0&&k("top")>=0&&(e=!0,t="top"),{result:e,newPlace:t}},P=function(){var e=A(),t=e.result,n=e.newPlace;return t&&O().result?{result:!1}:(!t&&C("left")<0&&x("right")<=y&&(t=!0,n="right"),{result:t,newPlace:n})},N=function(){var e=A(),t=e.result,n=e.newPlace;return t&&O().result?{result:!1}:(!t&&x("right")>y&&C("left")>=0&&(t=!0,n="left"),{result:t,newPlace:n})},O=function(){var e=!1,t=void 0;return C("top")<0&&x("top")<=y&&x("right")<=y?(e=!0,t="right"):x("top")>y&&C("top")>=0&&C("left")>=0&&(e=!0,t="left"),{result:e,newPlace:t}},E=function(){var e=O(),t=e.result,n=e.newPlace;return t&&A().result?{result:!1}:(!t&&k("top")<0&&T("bottom")<=_&&(t=!0,n="bottom"),{result:t,newPlace:n})},z=function(){var e=O(),t=e.result,n=e.newPlace;return t&&A().result?{result:!1}:(!t&&T("bottom")>_&&k("top")>=0&&(t=!0,n="top"),{result:t,newPlace:n})},R=P(),j=N(),L=E(),D=z();return"left"===s&&R.result?{isNewState:!0,newState:{place:R.newPlace}}:"right"===s&&j.result?{isNewState:!0,newState:{place:j.newPlace}}:"top"===s&&L.result?{isNewState:!0,newState:{place:L.newPlace}}:"bottom"===s&&D.result?{isNewState:!0,newState:{place:D.newPlace}}:{isNewState:!1,position:{left:C(s)-S,top:k(s)-w}}};var r=function(e,t,n){var r=t.getBoundingClientRect(),o=r.top,a=r.left,i=t.clientWidth,s=t.clientHeight;return"float"===n?{mouseX:e.clientX,mouseY:e.clientY}:{mouseX:a+i/2,mouseY:o+s/2}},o=function(e,t,n,r,o){var a=void 0,i=void 0,s=void 0,l=void 0,u=3,c=2,d=12;return"float"===e?(a={l:-(r/2),r:r/2,t:-(o+u+c),b:-u},s={l:-(r/2),r:r/2,t:u+d,b:o+u+c+d},l={l:-(r+u+c),r:-u,t:-(o/2),b:o/2},i={l:u,r:r+u+c,t:-(o/2),b:o/2}):"solid"===e&&(a={l:-(r/2),r:r/2,t:-(n/2+o+c),b:-(n/2)},s={l:-(r/2),r:r/2,t:n/2,b:n/2+o+c},l={l:-(r+t/2+c),r:-(t/2),t:-(o/2),b:o/2},i={l:t/2,r:r+t/2+c,t:-(o/2),b:o/2}),{top:a,bottom:s,left:l,right:i}},a=function(e){var t=0,n=0;"[object String]"===Object.prototype.toString.apply(e)&&(e=JSON.parse(e.toString().replace(/'/g,'"')));for(var r in e)"top"===r?n-=parseInt(e[r],10):"bottom"===r?n+=parseInt(e[r],10):"left"===r?t-=parseInt(e[r],10):"right"===r&&(t+=parseInt(e[r],10));return{extraOffsetX:t,extraOffsetY:n}},i=function(e){for(var t=e;t&&!(t.style.transform.length>0);)t=t.parentElement;var n=t&&t.getBoundingClientRect().top,r=t&&t.getBoundingClientRect().left;return{parentTop:n,parentLeft:r}}},{}],1487:[function(e,t,n){t.exports={tooltipEnabled:"mcaf272ffe_tooltipEnabled",tooltipDisabled:"mcaf272ffe_tooltipDisabled"}},{}],1488:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.TooltipViewer=void 0;var o,a,i=e("babel-runtime/helpers/extends"),s=r(i),l=e("babel-runtime/helpers/jsx"),u=r(l),c=e("babel-runtime/core-js/object/get-prototype-of"),d=r(c),f=e("babel-runtime/helpers/classCallCheck"),p=r(f),h=e("babel-runtime/helpers/createClass"),m=r(h),v=e("babel-runtime/helpers/possibleConstructorReturn"),b=r(v),g=e("babel-runtime/helpers/inherits"),y=r(g),_=e("classnames"),M=r(_),w=e("lodash/isString"),S=r(w),C=e("react"),x=(r(C),e("react-dom")),k=r(x),T=e("../base-component"),A=r(T),P=e("./get-position"),N=r(P),O=e("../prop-types"),E=r(O),z=e("./index.css"),R=r(z),j=void 0,L=(n.TooltipViewer=function(e){function t(){(0,p.default)(this,t);var e=(0,b.default)(this,(t.__proto__||(0,d.default)(t)).call(this));return e.state.place="top",e}return(0,y.default)(t,e),(0,m.default)(t,[{key:"componentDidMount",value:function(){if(j)throw new Error("Tooltip viewer is a singleton!");j=this}},{key:"componentWillUnmount",value:function(){j=void 0}},{key:"render",value:function(){var e=this.state,t=e.className,n=e.content,r=e.place,o=e.show,a=e.style;return(0,u.default)("div",{className:(0,M.default)(o?R.default.tooltipEnabled:R.default.tooltipDisabled,t),style:(0,s.default)({marginTop:"top"===r&&"-10px"||"bottom"===r&&"10px",marginLeft:"left"===r&&"-10px"||"right"===r&&"10px"},a)},void 0,n)}}]),t}(A.default),(0,u.default)("span",{})),D=(o=(0,E.default)({children:E.default.oneOfType([E.default.element,E.default.string]),className:E.default.string,content:E.default.node,style:E.default.object,tagName:E.default.string}),o(a=function(e){function t(){var e,n,r,o;(0,p.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,b.default)(this,(e=t.__proto__||(0,d.default)(t)).call.apply(e,[this].concat(i))),r._showTooltip=function(){var e=r,t=e.props;j.setState({className:t.className,content:t.content,show:!0,style:t.style})},r._hideTooltip=function(){j.setState({show:!1})},r._updateTooltip=function(e){var t=k.default.findDOMNode(j),n=(0,N.default)(e,e.currentTarget,t,j.state.place,"solid",{});if(n.isNewState)return j.setState(n.newState,function(){return r._updateTooltip(e)});var o=n.position;t.style.left=o.left+"px",t.style.top=o.top+"px"},o=n,(0,b.default)(r,o)}return(0,y.default)(t,e),(0,m.default)(t,[{key:"componentDidMount",value:function(){this._addListeners()}},{key:"componentWillUnmount",value:function(){this._removeListeners()}},{key:"componentWillReceiveProps",value:function(e){e.children!==this.props.children&&this._removeListeners()}},{key:"componentDidUpdate",value:function(e){e.children!==this.props.children&&this._addListeners()}},{key:"_addListeners",value:function(){var e=this._node=k.default.findDOMNode(this);e.addEventListener("mouseenter",this._showTooltip),e.addEventListener("mouseleave",this._hideTooltip),e.addEventListener("mousemove",this._updateTooltip)}},{key:"_removeListeners",value:function(){var e=this._node;this._hideTooltip(),e&&(e.removeEventListener("mouseenter",this._showTooltip),e.removeEventListener("mouseleave",this._hideTooltip),e.removeEventListener("mousemove",this._updateTooltip),this._node=null)}},{key:"render",value:function(){var e=this.props.children;return e?(0,S.default)(e)?(0,u.default)("span",{},void 0,e):e:L}}]),t}(A.default))||a);n.default=D},{"../base-component":1405,"../prop-types":1464,"./get-position":1486,"./index.css":1487,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,classnames:157,"lodash/isString":744,react:1269,"react-dom":974}],1489:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Limits=n.UsageElement=n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("intl"),s=r(i),l=e("classnames"),u=r(l),c=e("react"),d=r(c),f=e("lodash/sum"),p=r(f),h=e("../tooltip"),m=r(h),v=function(e){var t=e.total,n=e.children,r=t/400,o=d.default.Children.map(n,function(e){var t=e.props.value;return t<r&&t}),i=(0,p.default)(o);return(0,a.default)("span",{className:"usage"},void 0,d.default.Children.map(n,function(e,n){return e.props.value>r&&(0,c.cloneElement)(e,{total:t})}),(0,a.default)(b,{others:!0,tooltip:(0,s.default)("others"),total:t,value:i}))};v.propTypes={total:c.PropTypes.number.isRequired},n.default=v;var b=function(e){var t=e.highlight,n=e.href,r=e.others,o=e.tooltip,i=e.total,s=e.value;return(0,a.default)(m.default,{content:o},void 0,(0,a.default)("a",{href:n,className:(0,u.default)("usage-element",t&&"usage-element-highlight",r&&"usage-element-others"),style:{width:s/i*100+"%"}}))};b.propTypes={highlight:c.PropTypes.bool,href:c.PropTypes.string,others:c.PropTypes.bool,tooltip:c.PropTypes.node,value:c.PropTypes.number.isRequired},n.UsageElement=b;var g=n.Limits=function(e){var t=e.used,n=e.toBeUsed,r=e.limit,o=r-t;return(0,a.default)("span",{className:"limits"},void 0,(0,a.default)("span",{className:"limits-used",style:{width:(t||0)/r*100+"%"}}),(0,a.default)("span",{className:n>o?"limits-over-used":"limits-to-be-used",style:{width:Math.min(n||0,o)/r*100+"%"}}))};g.propTypes={used:c.PropTypes.number,toBeUsed:c.PropTypes.number,limit:c.PropTypes.number.isRequired}},{"../tooltip":1488,"babel-runtime/helpers/jsx":27,classnames:157,intl:1436,"lodash/sum":780,react:1269}],1490:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function a(e){return this.then(function(t){return d.default.resolve(e(t)).then(function(){return t})})}function i(e){return this.catch(function(t){return d.default.resolve(e(t)).then(function(){throw t})})}function s(e,t){var n=new RegExp((0,oe.default)((0,le.default)((0,ie.default)(t),I.default),"|"),"g");return function(){for(var r=arguments.length,o=Array(r),a=0;a<r;a++)o[a]=arguments[a];return(0,ve.default)(e,n,function(e){var n=t[e];return(0,J.default)(n)?n.apply(void 0,o):n})}}Object.defineProperty(n,"__esModule",{value:!0}),n.isXosanPack=n.compareVersions=n.resolveIds=n.resolveId=n.htmlFileToStream=n.streamToString=n.resolveResourceSets=n.resolveResourceSet=n.throwFn=n.routes=n.normalizeXenToolsStatus=n.parseSize=n.formatSizeRaw=n.formatSize=n.osFamily=n.noop=n.mapPlus=n.getXoaPlan=n.firstDefined=n.Debug=n.connectStore=n.checkPropsState=n.addSubscriptions=n.propsEqual=n.ensureArray=n.EMPTY_OBJECT=n.EMPTY_ARRAY=void 0;var l=e("babel-runtime/helpers/objectWithoutProperties"),u=o(l),c=e("babel-runtime/core-js/promise"),d=o(c),f=e("babel-runtime/helpers/jsx"),p=o(f),h=e("babel-runtime/core-js/object/create"),m=o(h),v=e("babel-runtime/helpers/typeof"),b=o(v),g=e("babel-runtime/helpers/extends"),y=o(g),_=e("babel-runtime/helpers/defineProperty"),M=o(_),w=e("babel-runtime/core-js/object/get-prototype-of"),S=o(w),C=e("babel-runtime/helpers/classCallCheck"),x=o(C),k=e("babel-runtime/helpers/createClass"),T=o(k),A=e("babel-runtime/helpers/possibleConstructorReturn"),P=o(A),N=e("babel-runtime/helpers/inherits"),O=o(N),E=e("babel-runtime/core-js/get-iterator"),z=o(E),R=e("babel-runtime/core-js/object/freeze"),j=o(R),L=e("./debug");Object.defineProperty(n,"Debug",{enumerable:!0,get:function(){return o(L).default}}),n.tap=a,n.rethrow=i,n.buildTemplate=s;var D=e("lodash/escapeRegExp"),I=o(D),B=e("lodash/every"),V=o(B),q=e("lodash/forEach"),F=o(q),U=e("get-stream"),W=o(U),H=e("human-format"),X=o(H),K=e("lodash/isArray"),G=o(K),Y=e("lodash/isEmpty"),$=o(Y),Q=e("lodash/isFunction"),J=o(Q),Z=e("lodash/isPlainObject"),ee=o(Z),te=e("lodash/isString"),ne=o(te),re=e("lodash/join"),oe=o(re),ae=e("lodash/keys"),ie=o(ae),se=e("lodash/map"),le=o(se),ue=e("lodash/mapValues"),ce=o(ue),de=e("react"),fe=o(de),pe=e("readable-stream"),he=o(pe),me=e("lodash/replace"),ve=o(me),be=e("lodash/startsWith"),ge=o(be),ye=e("react-redux"),_e=e("./intl"),Me=o(_e),we=e("./store/actions"),Se=r(we),Ce=e("./base-component"),xe=o(Ce),ke=e("./invoke"),Te=o(ke),Ae=e("./store"),Pe=o(Ae),Ne=e("./selectors"),Oe=(n.EMPTY_ARRAY=(0,j.default)([]),n.EMPTY_OBJECT=(0,j.default)({}),n.ensureArray=function(e){return void 0===e?[]:Array.isArray(e)?e:[e]}),Ee=(n.propsEqual=function(e,t,n){n=Oe(n);var r=!0,o=!1,a=void 0;try{for(var i,s=(0,z.default)(n);!(r=(i=s.next()).done);r=!0){var l=i.value;if(e[l]!==t[l])return!1}}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return!0},n.addSubscriptions=function(e){return function(t){var n=function(n){function r(){(0,x.default)(this,r);var e=(0,P.default)(this,(r.__proto__||(0,S.default)(r)).call(this));return e._unsubscribes=null,e}return(0,O.default)(r,n),(0,T.default)(r,[{key:"componentWillMount",value:function(){var t=this;this._unsubscribes=(0,le.default)((0,J.default)(e)?e():e,function(e,n){return e(function(e){return t._setState((0,M.default)({},n,e))})})}},{key:"componentDidMount",value:function(){this._setState=this.setState}},{key:"componentWillUnmount",value:function(){(0,F.default)(this._unsubscribes,function(e){return e()}),this._unsubscribes=null,delete this._setState}},{key:"_setState",value:function(e){this.state=(0,y.default)({},this.state,{nextState:e})}},{key:"render",value:function(){return fe.default.createElement(t,(0,y.default)({},this.props,this.state))}}]),r}(xe.default);return n}},n.checkPropsState=function(e,t){return function(n){var r=e&&e.length,o=t&&t.length;return n.prototype.shouldComponentUpdate=function(n,a){for(var i=(void 0).props,s=(void 0).state,l=0;l<r;++l){var u=e[l];if(n[u]!==i[u])return!0}for(var c=0;c<o;++c){var d=t[c];if(a[d]!==s[d])return!0}},n}},function e(t){if((0,J.default)(t)){var n=function(){var e=function e(r,o){var a=t(r,o);if((0,J.default)(a))return t=a,e;if((0,ee.default)(a)){if((0,$.default)(a))return a;if((0,V.default)(a,J.default))return(n=function(e,t){return(0,ce.default)(a,function(n){return n(e,t)})})(r,o)}return n=t,a},n=e;return{v:function(e,t){return n(e,t)}}}();if("object"===("undefined"==typeof n?"undefined":(0,b.default)(n)))return n.v}return t=(0,ce.default)(t,e),function(e,n){return(0,ce.default)(t,function(t){return t(e,n)})}}),ze=(n.connectStore=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,ye.connect)(Ee(e),Se,void 0,t);return function(e){var r=n(e);return t.withRef&&"value"in e.prototype&&Object.defineProperty(r.prototype,"value",{
|
79 | configurable:!0,get:function(){return this.getWrappedInstance().value},set:function(e){this.getWrappedInstance().value=e}}),r}},n.firstDefined=function(){for(var e=arguments.length,t=0;t<e;++t){var n=arguments[t];if(void 0!==n)return n}},n.getXoaPlan=function(e){switch(e||5){case 1:return"Free";case 2:return"Starter";case 3:return"Enterprise";case 4:return"Premium";case 5:return"Community"}return"Unknown"},n.mapPlus=function(e,t){var n=[],r=n.push.bind(n);return(0,F.default)(e,function(e,n){return t(e,r,n)}),n},n.noop=function(){},n.osFamily=(0,Te.default)({centos:["centos"],debian:["debian"],docker:["coreos"],fedora:["fedora"],freebsd:["freebsd"],gentoo:["gentoo"],"linux-mint":["linux-mint"],netbsd:["netbsd"],oracle:["oracle"],osx:["osx"],redhat:["redhat","rhel"],solaris:["solaris"],suse:["sles","suse"],ubuntu:["ubuntu"],windows:["windows"]},function(e){var t=(0,m.default)(null);return(0,F.default)(e,function(e,n){(0,F.default)(e,function(e){t[e]=n})}),function(e){return e&&t[e.toLowerCase()]}}),n.formatSize=function(e){return(0,X.default)(e,{scale:"binary",unit:"B"})},n.formatSizeRaw=function(e){return X.default.raw(e,{scale:"binary",unit:"B"})},n.parseSize=function(e){var t=X.default.parse.raw(e,{scale:"binary"});if(t.unit&&"B"!==t.unit&&(t=X.default.parse.raw(e),t.unit&&"B"!==t.unit))throw new Error("invalid size: "+e);return Math.floor(t.value*t.factor)},n.normalizeXenToolsStatus=function(e){return e===!1?"not-installed":void 0===e?"unknown":"up to date"===e?"up-to-date":"out-of-date"},function(){return(0,p.default)("h1",{},void 0,(0,Me.default)("errorPageNotFound"))}),Re=(n.routes=function(e,t){return function(n){return(0,G.default)(e)?(t=e,e=void 0):(0,J.default)(e)?e={component:e}:(0,ne.default)(e)&&(e={onEnter:(0,Te.default)(e,function(e){return function(t,n){var r=t.location.pathname;n(("/"===r?"":r)+"/"+e)}})}),(0,ee.default)(t)&&(t=(0,le.default)(t,function(e,t){return(0,ee.default)(e)?(0,y.default)({},e,{path:t}):(0,y.default)({},e.route,{component:e,path:t})})),t&&t.push({component:ze,path:"*"}),n.route={indexRoute:e,childRoutes:t},n}},n.throwFn=function(e){return function(){throw(0,ne.default)(e)?new Error(e):e}},function(e){if(e){var t=e.objects,n=e.ipPools,r=(0,u.default)(e,["objects","ipPools"]),o={},a=(0,y.default)({},r,{missingObjects:[],objectsByType:o,ipPools:n}),i=Pe.default.getState();return(0,F.default)(t,function(e){var t=(0,Ne.getObject)(i,e,!0);if(!t)return void a.missingObjects.push(e);var n=t.type;o[n]?o[n].push(t):o[n]=[t]}),a}});n.resolveResourceSet=Re;var je=(n.resolveResourceSets=function(e){return(0,le.default)(e,Re)},n.streamToString=W.default,n.htmlFileToStream=function(e){var t=new FileReader,n=new he.default,r=0;return t.onloadend=function(e){n.push(e.target.result)},t.onerror=function(e){n.emit("error",e)},n._read=function(o){r>=e.size?n.push(null):(t.readAsBinaryString(e.slice(r,r+o)),r+=o)},n},n.resolveId=function(e){return null!=e&&"object"===("undefined"==typeof e?"undefined":(0,b.default)(e))&&"id"in e?e.id:e},n.resolveIds=function(e){for(var t in e){var n=e[t];null!=n&&"object"===("undefined"==typeof n?"undefined":(0,b.default)(n))&&"id"in n&&(e[t]=n.id)}return e},{"<":function(e){return e<0},"<=":function(e){return e<=0},"===":function(e){return 0===e},">":function(e){return e>0},">=":function(e){return e>=0}}),Le=function(e){return function(){var t=arguments.length;if(2===t)return e(arguments[0],arguments[1]);for(var n=1,r=arguments[0],o=void 0,a=void 0;n<t;){if(o=arguments[n++],a=arguments[n++],!je[o](e(r,a)))return!1;r=a}return!0}};n.compareVersions=Le(function(e,t){e=e.split("."),t=t.split(".");for(var n=0;n<Math.max(e.length,t.length);n++){var r=+e[n]||0,o=+t[n]||0;if(r<o)return-1;if(r>o)return 1}return 0}),n.isXosanPack=function(e){var t=e.name;return(0,ge.default)(t,"XOSAN")}},{"./base-component":1405,"./debug":1417,"./intl":1436,"./invoke":1446,"./selectors":1470,"./store":1479,"./store/actions":1477,"babel-runtime/core-js/get-iterator":5,"babel-runtime/core-js/object/create":10,"babel-runtime/core-js/object/freeze":13,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/defineProperty":24,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/objectWithoutProperties":28,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/typeof":33,"get-stream":305,"human-format":322,"lodash/escapeRegExp":707,"lodash/every":708,"lodash/forEach":716,"lodash/isArray":731,"lodash/isEmpty":735,"lodash/isFunction":737,"lodash/isPlainObject":743,"lodash/isString":744,"lodash/join":748,"lodash/keys":750,"lodash/map":754,"lodash/mapValues":756,"lodash/replace":770,"lodash/startsWith":777,react:1269,"react-redux":1150,"readable-stream":1278}],1491:[function(e,t,n){t.exports={wizard:"mc12c16a24_wizard",section:"mc12c16a24_section",title:"mc12c16a24_title",success:"mc12c16a24_success",content:"mc12c16a24_content",active:"mc12c16a24_active",bullet:"mc12c16a24_bullet"}},{}],1492:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.Section=n.default=void 0;var o,a,i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("babel-runtime/helpers/jsx"),b=r(v),g=e("classnames"),y=r(g),_=e("lodash/every"),M=r(_),w=e("lodash/map"),S=r(w),C=e("react"),x=r(C),k=e("../intl"),T=r(k),A=e("../icon"),P=r(A),N=e("../prop-types"),O=r(N),E=e("./index.css"),z=r(E),R=function(e){var t=e.children,n=(0,M.default)(x.default.Children.toArray(t),function(e){return e.props.done||e.props.summary});return(0,b.default)("ul",{className:z.default.wizard},void 0,(0,S.default)(x.default.Children.toArray(t),function(e,t){return(0,C.cloneElement)(e,{allDone:n,key:t})}))};n.default=R;n.Section=(o=(0,O.default)({icon:O.default.string.isRequired,title:O.default.string.isRequired}),o(a=function(e){function t(){var e,n,r,o;(0,u.default)(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r=(0,p.default)(this,(e=t.__proto__||(0,s.default)(t)).call.apply(e,[this].concat(i))),r._onFocus=function(){return r.setState({isActive:!0})},r._onBlur=function(){return r.setState({isActive:!1})},o=n,(0,p.default)(r,o)}return(0,m.default)(t,e),(0,d.default)(t,[{key:"componentWillMount",value:function(){this.setState({isActive:!1})}},{key:"render",value:function(){var e=this.props,t=e.allDone,n=e.icon,r=e.title,o=e.done,a=e.children;return(0,b.default)("li",{className:(0,y.default)(z.default.section,z.default.bullet,(o||t)&&z.default.success),onFocus:this._onFocus,onBlur:this._onBlur},void 0,(0,b.default)("div",{className:(0,y.default)(z.default.title,(o||t)&&z.default.success)},void 0,(0,b.default)("h4",{},void 0,n&&(0,b.default)(P.default,{icon:n})," ",(0,T.default)(r))),(0,b.default)("div",{className:(0,y.default)(z.default.content,this.state.isActive&&z.default.active,(o||t)&&z.default.success)},void 0,a))}}]),t}(C.Component))||a)},{"../icon":1435,"../intl":1436,"../prop-types":1464,"./index.css":1491,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,classnames:157,"lodash/every":708,"lodash/map":754,react:1269}],1493:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.generateUiSchema=void 0;var o=e("lodash/forEach"),a=r(o),i=e("./xo-highlevel-object-input"),s=r(i),l=e("./xo-host-input"),u=r(l),c=e("./xo-pool-input"),d=r(c),f=e("./xo-remote-input"),p=r(f),h=e("./xo-role-input"),m=r(h),v=e("./xo-sr-input"),b=r(v),g=e("./xo-subject-input"),y=r(g),_=e("./xo-tag-input"),M=r(_),w=e("./xo-vm-input"),S=r(w),C=e("../json-schema-input/helpers"),x={host:u.default,pool:d.default,remote:p.default,role:m.default,sr:b.default,subject:y.default,tag:M.default,vm:S.default,xoobject:s.default},k=function(e,t,n){"password"===t&&(e.config={password:!0}),e.widget=x[n]},T=function e(t,n,r){var o=(0,C.getType)(t);if("object"===o)!function(){var r=n.properties={};(0,a.default)(t.properties,function(t,n){var o=r[n]={};e(t,o,n)})}();else if("array"===o){var i=x[(0,C.getXoType)(t.items)];if(i)n.widget=i,n.config={multi:!0};else{var s=n.items={};e(t.items,s,r)}}else"string"===o&&k(n,r,(0,C.getXoType)(t))};n.generateUiSchema=function(e){var t={};return T(e,t,""),t}},{"../json-schema-input/helpers":1453,"./xo-highlevel-object-input":1495,"./xo-host-input":1496,"./xo-pool-input":1497,"./xo-remote-input":1498,"./xo-role-input":1499,"./xo-sr-input":1500,"./xo-subject-input":1501,"./xo-tag-input":1502,"./xo-vm-input":1503,"lodash/forEach":716}],1494:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/core-js/object/get-prototype-of"),a=r(o),i=e("babel-runtime/helpers/classCallCheck"),s=r(i),l=e("babel-runtime/helpers/possibleConstructorReturn"),u=r(l),c=e("babel-runtime/helpers/inherits"),d=r(c),f=e("lodash/map"),p=r(f),h=e("react"),m=e("../get-event-value"),v=r(m),b=function(e){return null!=e&&e.id||e},g=function(e){function t(){var e,n,r,o;(0,s.default)(this,t);for(var i=arguments.length,l=Array(i),c=0;c<i;c++)l[c]=arguments[c];return n=r=(0,u.default)(this,(e=t.__proto__||(0,a.default)(t)).call.apply(e,[this].concat(l))),r._onChange=function(e){var t=(0,v.default)(e),n=r,o=n.props;return o.onChange("array"===o.schema.type?(0,p.default)(t,b):b(t))},o=n,(0,u.default)(r,o)}return(0,d.default)(t,e),t}(h.PureComponent);n.default=g},{"../get-event-value":1430,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/possibleConstructorReturn":29,"lodash/map":754,react:1269}],1495:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/core-js/object/get-prototype-of"),a=r(o),i=e("babel-runtime/helpers/classCallCheck"),s=r(i),l=e("babel-runtime/helpers/createClass"),u=r(l),c=e("babel-runtime/helpers/possibleConstructorReturn"),d=r(c),f=e("babel-runtime/helpers/inherits"),p=r(f),h=e("react"),m=r(h),v=e("select-objects"),b=e("./xo-abstract-input"),g=r(b),y=e("../json-schema-input/helpers"),_=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props;return m.default.createElement(y.PrimitiveInputWrapper,e,m.default.createElement(v.SelectHighLevelObject,{disabled:e.disabled,hasSelectAll:!0,multi:e.multi,onChange:this._onChange,ref:"input",required:e.required,value:e.value}))}}]),t}(g.default);n.default=_},{"../json-schema-input/helpers":1453,"./xo-abstract-input":1494,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"select-objects":1469}],1496:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/core-js/object/get-prototype-of"),a=r(o),i=e("babel-runtime/helpers/classCallCheck"),s=r(i),l=e("babel-runtime/helpers/createClass"),u=r(l),c=e("babel-runtime/helpers/possibleConstructorReturn"),d=r(c),f=e("babel-runtime/helpers/inherits"),p=r(f),h=e("react"),m=r(h),v=e("select-objects"),b=e("./xo-abstract-input"),g=r(b),y=e("../json-schema-input/helpers"),_=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props;return m.default.createElement(y.PrimitiveInputWrapper,e,m.default.createElement(v.SelectHost,{disabled:e.disabled,hasSelectAll:!0,multi:e.multi,onChange:this._onChange,ref:"input",required:e.required,value:e.value}))}}]),t}(g.default);n.default=_},{"../json-schema-input/helpers":1453,"./xo-abstract-input":1494,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"select-objects":1469}],1497:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/core-js/object/get-prototype-of"),a=r(o),i=e("babel-runtime/helpers/classCallCheck"),s=r(i),l=e("babel-runtime/helpers/createClass"),u=r(l),c=e("babel-runtime/helpers/possibleConstructorReturn"),d=r(c),f=e("babel-runtime/helpers/inherits"),p=r(f),h=e("react"),m=r(h),v=e("select-objects"),b=e("./xo-abstract-input"),g=r(b),y=e("../json-schema-input/helpers"),_=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props;return m.default.createElement(y.PrimitiveInputWrapper,e,m.default.createElement(v.SelectPool,{disabled:e.disabled,hasSelectAll:!0,multi:e.multi,onChange:this._onChange,ref:"input",required:e.required,value:e.value}))}}]),t}(g.default);n.default=_},{"../json-schema-input/helpers":1453,"./xo-abstract-input":1494,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"select-objects":1469}],1498:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/core-js/object/get-prototype-of"),a=r(o),i=e("babel-runtime/helpers/classCallCheck"),s=r(i),l=e("babel-runtime/helpers/createClass"),u=r(l),c=e("babel-runtime/helpers/possibleConstructorReturn"),d=r(c),f=e("babel-runtime/helpers/inherits"),p=r(f),h=e("react"),m=r(h),v=e("select-objects"),b=e("./xo-abstract-input"),g=r(b),y=e("../json-schema-input/helpers"),_=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props;return m.default.createElement(y.PrimitiveInputWrapper,e,m.default.createElement(v.SelectRemote,{disabled:e.disabled,hasSelectAll:!0,multi:e.multi,onChange:this._onChange,ref:"input",required:e.required,value:e.value}))}}]),t}(g.default);n.default=_},{"../json-schema-input/helpers":1453,"./xo-abstract-input":1494,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"select-objects":1469}],1499:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/core-js/object/get-prototype-of"),a=r(o),i=e("babel-runtime/helpers/classCallCheck"),s=r(i),l=e("babel-runtime/helpers/createClass"),u=r(l),c=e("babel-runtime/helpers/possibleConstructorReturn"),d=r(c),f=e("babel-runtime/helpers/inherits"),p=r(f),h=e("react"),m=r(h),v=e("select-objects"),b=e("./xo-abstract-input"),g=r(b),y=e("../json-schema-input/helpers"),_=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props;return m.default.createElement(y.PrimitiveInputWrapper,e,m.default.createElement(v.SelectRole,{disabled:e.disabled,hasSelectAll:!0,multi:e.multi,onChange:this._onChange,ref:"input",required:e.required,value:e.value}))}}]),t}(g.default);n.default=_},{"../json-schema-input/helpers":1453,"./xo-abstract-input":1494,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"select-objects":1469}],1500:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/core-js/object/get-prototype-of"),a=r(o),i=e("babel-runtime/helpers/classCallCheck"),s=r(i),l=e("babel-runtime/helpers/createClass"),u=r(l),c=e("babel-runtime/helpers/possibleConstructorReturn"),d=r(c),f=e("babel-runtime/helpers/inherits"),p=r(f),h=e("react"),m=r(h),v=e("select-objects"),b=e("./xo-abstract-input"),g=r(b),y=e("../json-schema-input/helpers"),_=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props;return m.default.createElement(y.PrimitiveInputWrapper,e,m.default.createElement(v.SelectSr,{disabled:e.disabled,hasSelectAll:!0,multi:e.multi,onChange:this._onChange,ref:"input",required:e.required,value:e.value}))}}]),t}(g.default);n.default=_},{"../json-schema-input/helpers":1453,"./xo-abstract-input":1494,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"select-objects":1469}],1501:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/core-js/object/get-prototype-of"),a=r(o),i=e("babel-runtime/helpers/classCallCheck"),s=r(i),l=e("babel-runtime/helpers/createClass"),u=r(l),c=e("babel-runtime/helpers/possibleConstructorReturn"),d=r(c),f=e("babel-runtime/helpers/inherits"),p=r(f),h=e("react"),m=r(h),v=e("select-objects"),b=e("./xo-abstract-input"),g=r(b),y=e("../json-schema-input/helpers"),_=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props;return m.default.createElement(y.PrimitiveInputWrapper,e,m.default.createElement(v.SelectSubject,{disabled:e.disabled,hasSelectAll:!0,multi:e.multi,onChange:this._onChange,ref:"input",required:e.required,value:e.value}))}}]),t}(g.default);n.default=_},{"../json-schema-input/helpers":1453,"./xo-abstract-input":1494,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"select-objects":1469}],1502:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/core-js/object/get-prototype-of"),a=r(o),i=e("babel-runtime/helpers/classCallCheck"),s=r(i),l=e("babel-runtime/helpers/createClass"),u=r(l),c=e("babel-runtime/helpers/possibleConstructorReturn"),d=r(c),f=e("babel-runtime/helpers/inherits"),p=r(f),h=e("react"),m=r(h),v=e("select-objects"),b=e("./xo-abstract-input"),g=r(b),y=e("../json-schema-input/helpers"),_=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props;return m.default.createElement(y.PrimitiveInputWrapper,e,m.default.createElement(v.SelectTag,{disabled:e.disabled,hasSelectAll:!0,multi:e.multi,onChange:this._onChange,ref:"input",required:e.required,value:e.value}))}}]),t}(g.default);n.default=_},{"../json-schema-input/helpers":1453,"./xo-abstract-input":1494,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"select-objects":1469}],1503:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/core-js/object/get-prototype-of"),a=r(o),i=e("babel-runtime/helpers/classCallCheck"),s=r(i),l=e("babel-runtime/helpers/createClass"),u=r(l),c=e("babel-runtime/helpers/possibleConstructorReturn"),d=r(c),f=e("babel-runtime/helpers/inherits"),p=r(f),h=e("react"),m=r(h),v=e("select-objects"),b=e("./xo-abstract-input"),g=r(b),y=e("../json-schema-input/helpers"),_=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props;return m.default.createElement(y.PrimitiveInputWrapper,e,m.default.createElement(v.SelectVm,{disabled:e.disabled,hasSelectAll:!0,multi:e.multi,onChange:this._onChange,ref:"input",required:e.required,value:e.value}))}}]),t}(g.default);n.default=_},{"../json-schema-input/helpers":1453,"./xo-abstract-input":1494,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"select-objects":1469}],1504:[function(e,t,n){t.exports={dashedLine:"mc3ce03460_dashedLine"}},{}],1505:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.PoolLoadLineChart=n.LoadLineChart=n.PoolPifLineChart=n.PifLineChart=n.VifLineChart=n.XvdLineChart=n.PoolMemoryLineChart=n.MemoryLineChart=n.PoolCpuLineChart=n.CpuLineChart=void 0;var o=e("babel-runtime/helpers/extends"),a=r(o),i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("lodash/values"),u=r(l),c=e("lodash/sum"),d=r(c),f=e("lodash/size"),p=r(f),h=e("lodash/max"),m=r(h),v=e("lodash/map"),b=r(v),g=e("lodash/floor"),y=r(g),_=e("lodash/flatten"),M=r(_),w=e("lodash/find"),S=r(w),C=e("react-chartist"),x=r(C),k=e("chartist-plugin-legend"),T=r(k),A=e("chartist-plugin-tooltip"),P=r(A),N=e("react"),O=(r(N),e("react-intl")),E=e("intl"),z=e("../prop-types"),R=r(z),j=e("../xo-stats"),L=e("../utils"),D=e("./index.css"),I=r(D),B=5,V=40,q=85,F=function(e){return(0,p.default)((0,S.default)(e,function(e){return null!=e}))},U=function(e){var t=e.intl,n=e.nValues,r=e.endTimestamp,o=e.interval,a=e.valueTransform;return{showPoint:!0,lineSmooth:!1,showArea:!0,height:300,low:0,axisX:{labelInterpolationFnc:W(t,n,r,o),offset:V},axisY:{labelInterpolationFnc:a,offset:q},plugins:[(0,T.default)(),(0,P.default)({valueTransform:function(e){return a(+e)}})]}},W=function(e,t,n,r){var o=(0,y.default)(t/B),a=void 0;return 3600===r?a={minute:"numeric",hour:"numeric",weekday:"short"}:86400===r&&(a={day:"numeric",month:"numeric",year:"numeric"}),function(i,s){return s%o===0?e.formatTime(1e3*(n-(t-s-1)*r),a):null}},H=function(e){var t=e.stats,n=e.label,r=e.addSumSeries,o=[];for(var a in t){var i=t[a];for(var s in i){var l=i[s];l&&o.push({name:""+n+s+" ("+a+")",data:l})}r&&o.push({name:"All "+a,data:(0,j.computeArraysSum)((0,u.default)(i)),className:I.default.dashedLine})}return o},X=(0,s.default)("div",{},void 0,"No stats."),K=(n.CpuLineChart=(0,O.injectIntl)((0,R.default)({addSumSeries:R.default.bool,data:R.default.object.isRequired,options:R.default.object})(function(e){var t=e.addSumSeries,n=e.data,r=e.options,o=void 0===r?{}:r,i=e.intl,l=n.stats.cpus,u=F(l);if(!u)return X;var c=(0,b.default)(l,function(e,t){return{name:"Cpu"+t,data:e}});return t&&c.push({name:"All Cpus",data:(0,j.computeArraysSum)(l),className:I.default.dashedLine}),(0,s.default)(x.default,{type:"Line",data:{series:c},options:(0,a.default)({},U({intl:i,nValues:u,endTimestamp:n.endTimestamp,interval:n.interval,valueTransform:function(e){return(0,y.default)(e)+"%"}}),{high:t?100*l.length:100},o)})})),n.PoolCpuLineChart=(0,O.injectIntl)((0,R.default)({addSumSeries:R.default.bool,data:R.default.object.isRequired,options:R.default.object})(function(e){var t=e.addSumSeries,n=e.data,r=e.options,o=void 0===r?{}:r,i=e.intl,l=n[0],u=F(l.stats.cpus);if(!u)return X;var c=(0,b.default)(n,function(e){var t=e.host,n=e.stats;return{name:t,data:(0,j.computeArraysSum)(n.cpus)}});t&&c.push({name:i.formatMessage(E.messages.poolAllHosts),data:(0,j.computeArraysSum)((0,b.default)(c,"data")),className:I.default.dashedLine});var f=(0,b.default)(n,function(e){var t=e.stats;return t.cpus.length});return(0,s.default)(x.default,{type:"Line",data:{series:c},options:(0,a.default)({},U({intl:i,nValues:u,endTimestamp:l.endTimestamp,interval:l.interval,valueTransform:function(e){return(0,y.default)(e)+"%"}}),{high:100*(t?(0,d.default)(f):(0,m.default)(f))},o)})})),n.MemoryLineChart=(0,O.injectIntl)((0,R.default)({data:R.default.object.isRequired,options:R.default.object})(function(e){var t=e.data,n=e.options,r=void 0===n?{}:n,o=e.intl,i=t.stats,l=i.memory,u=i.memoryUsed;return l&&u?(0,s.default)(x.default,{type:"Line",data:{series:[{name:"RAM",data:u}]},options:(0,a.default)({},U({intl:o,nValues:u.length,endTimestamp:t.endTimestamp,interval:t.interval,valueTransform:L.formatSize}),{high:l[l.length-1]},r)}):X})),n.PoolMemoryLineChart=(0,O.injectIntl)((0,R.default)({addSumSeries:R.default.bool,data:R.default.object.isRequired,options:R.default.object})(function(e){var t=e.addSumSeries,n=e.data,r=e.options,o=void 0===r?{}:r,i=e.intl,l=n[0],u=l.stats,c=u.memory,f=u.memoryUsed;if(!c||!f)return X;var p=(0,b.default)(n,function(e){var t=e.host,n=e.stats;return{name:t,data:n.memoryUsed}});t&&p.push({name:i.formatMessage(E.messages.poolAllHosts),data:(0,j.computeArraysSum)((0,b.default)(n,"stats.memoryUsed")),className:I.default.dashedLine});var h=(0,b.default)(n,function(e){var t=e.stats;return t.memory[t.memory.length-1]});return(0,s.default)(x.default,{type:"Line",data:{series:p},options:(0,a.default)({},U({intl:i,nValues:l.stats.memoryUsed.length,endTimestamp:l.endTimestamp,interval:l.interval,valueTransform:L.formatSize}),{high:t?(0,d.default)(h):(0,m.default)(h)},o)})})),n.XvdLineChart=(0,O.injectIntl)((0,R.default)({addSumSeries:R.default.bool,data:R.default.object.isRequired,options:R.default.object})(function(e){var t=e.addSumSeries,n=e.data,r=e.options,o=void 0===r?{}:r,i=e.intl,l=n.stats.xvds,u=l&&F(l.r);return u?(0,s.default)(x.default,{type:"Line",data:{series:H({addSumSeries:t,stats:l,label:"Xvd"})},options:(0,a.default)({},U({intl:i,nValues:u,endTimestamp:n.endTimestamp,interval:n.interval,valueTransform:L.formatSize}),o)}):X})),n.VifLineChart=(0,O.injectIntl)((0,R.default)({addSumSeries:R.default.bool,data:R.default.object.isRequired,options:R.default.object})(function(e){var t=e.addSumSeries,n=e.data,r=e.options,o=void 0===r?{}:r,i=e.intl,l=n.stats.vifs,u=l&&F(l.rx);return u?(0,s.default)(x.default,{type:"Line",data:{series:H({addSumSeries:t,stats:l,label:"Vif"})},options:(0,a.default)({},U({intl:i,nValues:u,endTimestamp:n.endTimestamp,interval:n.interval,valueTransform:L.formatSize}),o)}):X})),n.PifLineChart=(0,O.injectIntl)((0,R.default)({addSumSeries:R.default.bool,data:R.default.object.isRequired,options:R.default.object})(function(e){var t=e.addSumSeries,n=e.data,r=e.options,o=void 0===r?{}:r,i=e.intl,l=n.stats.pifs,u=l&&F(l.rx);return u?(0,s.default)(x.default,{type:"Line",data:{series:H({addSumSeries:t,stats:l,label:"Pif"})},options:(0,a.default)({},U({intl:i,nValues:u,endTimestamp:n.endTimestamp,interval:n.interval,valueTransform:L.formatSize}),o)}):X})),["rx","tx"]);n.PoolPifLineChart=(0,O.injectIntl)((0,R.default)({addSumSeries:R.default.bool,data:R.default.object.isRequired,options:R.default.object})(function(e){var t=e.addSumSeries,n=e.data,r=e.options,o=void 0===r?{}:r,i=e.intl,l=n[0],u=l.stats&&F(l.stats.pifs.rx);if(!u)return X;var c=t?(0,b.default)(K,function(e){return{name:i.formatMessage(E.messages.poolAllHosts)+" ("+e+")",data:(0,j.computeArraysSum)((0,b.default)(n,function(t){var n=t.stats;return(0,j.computeArraysSum)(n.pifs[e])}))}}):(0,M.default)((0,b.default)(n,function(e){var t=e.stats,n=e.host;return(0,b.default)(K,function(e){return{name:n+" ("+e+")",data:(0,j.computeArraysSum)(t.pifs[e])}})}));return(0,s.default)(x.default,{type:"Line",data:{series:c},options:(0,a.default)({},U({intl:i,nValues:u,endTimestamp:l.endTimestamp,interval:l.interval,valueTransform:L.formatSize}),o)})})),n.LoadLineChart=(0,O.injectIntl)((0,R.default)({data:R.default.object.isRequired,options:R.default.object})(function(e){var t=e.data,n=e.options,r=void 0===n?{}:n,o=e.intl,i=t.stats.load,l=i||{},u=l.length;return u?(0,s.default)(x.default,{type:"Line",data:{series:[{name:"Load average",data:i}]},options:(0,a.default)({},U({intl:o,nValues:u,endTimestamp:t.endTimestamp,interval:t.interval,valueTransform:function(e){return""+e.toPrecision(3)}}),r)}):X})),n.PoolLoadLineChart=(0,O.injectIntl)((0,R.default)({addSumSeries:R.default.bool,data:R.default.object.isRequired,options:R.default.object})(function(e){var t=e.addSumSeries,n=e.data,r=e.options,o=void 0===r?{}:r,i=e.intl,l=n[0],u=l.stats&&l.stats.load.length;if(!u)return X;var c=(0,b.default)(n,function(e){var t=e.host,n=e.stats;return{name:t,data:n.load}});return t&&c.push({name:i.formatMessage(E.messages.poolAllHosts),data:(0,j.computeArraysSum)((0,b.default)(n,"stats.load")),className:I.default.dashedLine}),(0,s.default)(x.default,{type:"Line",data:{series:c},options:(0,a.default)({},U({intl:i,nValues:u,endTimestamp:l.endTimestamp,interval:l.interval,valueTransform:function(e){return""+e.toPrecision(3)}}),o)})}))},{"../prop-types":1464,"../utils":1490,"../xo-stats":1508,"./index.css":1504,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/jsx":27,"chartist-plugin-legend":154,"chartist-plugin-tooltip":155,intl:1436,"lodash/find":710,"lodash/flatten":714,"lodash/floor":715,"lodash/map":754,"lodash/max":757,"lodash/size":772,"lodash/sum":780,"lodash/values":794,react:1269,"react-chartist":937,"react-intl":1103}],1506:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,i,s=e("babel-runtime/helpers/slicedToArray"),l=o(s),u=e("babel-runtime/core-js/object/get-prototype-of"),c=o(u),d=e("babel-runtime/helpers/classCallCheck"),f=o(d),p=e("babel-runtime/helpers/createClass"),h=o(p),m=e("babel-runtime/helpers/possibleConstructorReturn"),v=o(m),b=e("babel-runtime/helpers/inherits"),g=o(b),y=e("d3"),_=r(y),M=e("react"),w=o(M),S=e("lodash/forEach"),C=o(S),x=e("lodash/keys"),k=o(x),T=e("lodash/map"),A=o(T),P=e("lodash/times"),N=o(P),O=e("./base-component"),E=o(O),z=e("./prop-types"),R=o(z),j=e("./d3-utils"),L=2e3,D=800,I=L/100,B=4,V=10,q=500,F=200,U=2*L/100,W={display:"block",height:"100%",left:0,position:"absolute",top:0,width:"100%"},H={"padding-bottom":"50%","vertical-align":"middle",overflow:"hidden",position:"relative",width:"100%"},X={"font-size":L/100+"px"},K={"font-size":"100%","font-weight":"bold","text-anchor":"middle"},G={"font-size":"100%"},Y={"stroke-opacity":.5,
|
80 | "stroke-width":L/q,fill:"none",stroke:"red"},$={fill:"white","font-size":"125%","font-weight":"bold"},Q=(a=(0,R.default)({dataSet:R.default.arrayOf(R.default.shape({data:R.default.object.isRequired,label:R.default.string.isRequired,objectId:R.default.string.isRequired})).isRequired,labels:R.default.object.isRequired,renderers:R.default.object}),a(i=function(e){function t(){var e,n,r,o;(0,f.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,v.default)(this,(e=t.__proto__||(0,c.default)(t)).call.apply(e,[this].concat(i))),r._line=_.line(),r._color=_.scaleOrdinal(_.schemeCategory10),r._handleBrush=function(){var e=[];r._svg.selectAll(".chartColumn").selectAll(".brush").each(function(t,n,r){var o=(0,l.default)(r,1),a=o[0];null!=_.brushSelection(a)&&e.push(a)});var t=r._svg.select(".linesContainer").selectAll("path");t.each(function(t,n,o){var a=t.data,i=e.every(function(e){var t=_.brushSelection(e),n=e.__data__,o=r._y[n].invert;return o(t[1])<=a[n]&&a[n]<=o(t[0])}),s=_.select(o[n]);i?s.attr("stroke-opacity",.5).attr("stroke",r._color(t.label)):s.attr("stroke-opacity",1).attr("stroke","#e6e6e6")})},r._brush=_.brushY().extent([[-U/2,0],[U/2,D]]).on("brush",r._handleBrush).on("end",r._handleBrush),r._handleMouseOver=function(e,t,n){r._highlight(e,_.mouse(n[t]))},r._handleMouseOut=function(e){r._highlight()},o=n,(0,v.default)(r,o)}return(0,g.default)(t,e),(0,h.default)(t,[{key:"_highlight",value:function(e,t){var n,r=this._svg;if(r.selectAll(".objectTooltip").remove(),r.selectAll(".chartLine").attr("stroke-width",L/q),t){r.select("#chartLine-"+e.objectId).attr("stroke-width",L/F);var o=e.label,a=r.append("g").attr("class","objectTooltip"),i=(n=a.append("text").text(o).attr("x",t[0]).attr("y",t[1]-30),j.setStyles).call(n,$).node().getBBox();a.insert("rect","*").attr("x",i.x-V).attr("y",i.y-V).attr("width",i.width+2*V).attr("height",i.height+2*V).style("fill",this._color(o))}}},{key:"_draw",value:function(){var e,t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,r=this._svg,o=n.labels,a=n.dataSet,i=(0,k.default)(o),s=(L-200)/(i.length-1),l=_.scaleOrdinal().domain(i).range((0,N.default)(i.length,function(e){return e*s}));r.selectAll(".chartColumn").remove(),r.selectAll(".linesContainer").remove();var u=this._y={};(0,C.default)(i,function(e,t){var n=_.max(a,function(t){return t.data[e]});u[e]=_.scaleLinear().domain([0,n]).range([D,0])});var c=r.selectAll(".chartColumn").data(i).enter().append("g").attr("class","chartColumn").attr("transform",function(e){return"translate("+l(e)+")"});(e=c.append("text").text(function(e){return o[e]}).attr("y",-50),j.setStyles).call(e,K),(e=c.append("g").each(function(e,t,r){var o=_.axisLeft().ticks(B,",f").tickSize(I).scale(u[e]),a=n.renderers[e];a&&o.tickFormat(a),_.select(r[t]).call(o)}),j.setStyles).call(e,G);var d=function(e){return t._line((0,A.default)(i.map(function(t){return[l(t),u[t](e.data[t])]})))};(e=r.append("g").attr("class","linesContainer"),j.setStyles).call(e,Y).selectAll("path").data(a).enter().append("path").attr("d",d).attr("class","chartLine").attr("id",function(e){return"chartLine-"+e.objectId}).attr("stroke",function(e){return t._color(e.label)}).attr("shape-rendering","optimizeQuality").attr("stroke-linecap","round").attr("stroke-linejoin","round").on("mouseover",this._handleMouseOver).on("mouseout",this._handleMouseOut),c.append("g").attr("class","brush").each(function(e,n,r){_.select(r[n]).call(t._brush)})}},{key:"componentDidMount",value:function(){var e;this._svg=(e=(e=(e=_.select(this.refs.chart).append("div"),j.setStyles).call(e,H).append("svg"),j.setStyles).call(e,W).attr("preserveAspectRatio","xMinYMin meet").attr("viewBox","0 0 "+L+" "+D).append("g").attr("transform","translate(100, 100)"),j.setStyles).call(e,X),this._draw()}},{key:"componentWillReceiveProps",value:function(e){this._draw(e)}},{key:"render",value:function(){return w.default.createElement("div",{ref:"chart"})}}]),t}(E.default))||i);n.default=Q},{"./base-component":1405,"./d3-utils":1416,"./prop-types":1464,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/slicedToArray":30,d3:219,"lodash/forEach":716,"lodash/keys":750,"lodash/map":754,"lodash/times":783,react:1269}],1507:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.LoadSparkLines=n.PifSparkLines=n.VifSparkLines=n.XvdSparkLines=n.MemorySparkLines=n.CpuSparkLines=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("react"),s=(r(i),e("react-sparklines")),l=e("./prop-types"),u=r(l),c=e("./xo-stats"),d={},f=120,p=20,h=.5,m=(0,a.default)("div",{},void 0,"No stats.");n.CpuSparkLines=(0,u.default)({data:u.default.object.isRequired})(function(e){var t=e.data,n=e.width,r=void 0===n?f:n,o=e.height,i=void 0===o?p:o,l=e.strokeWidth,u=void 0===l?h:l,v=t.stats.cpus;return v?(0,a.default)(s.Sparklines,{style:d,data:(0,c.computeArraysAvg)(v),max:100,min:0,width:r,height:i},void 0,(0,a.default)(s.SparklinesLine,{style:{strokeWidth:u,stroke:"#366e98",fill:"#366e98",fillOpacity:.5},color:"#2598d9"})):m}),n.MemorySparkLines=(0,u.default)({data:u.default.object.isRequired})(function(e){var t=e.data,n=e.width,r=void 0===n?f:n,o=e.height,i=void 0===o?p:o,l=e.strokeWidth,u=void 0===l?h:l,c=t.stats,v=c.memory,b=c.memoryUsed;return v&&b?(0,a.default)(s.Sparklines,{style:d,data:b,max:v[v.length-1],min:0,width:r,height:i},void 0,(0,a.default)(s.SparklinesLine,{style:{strokeWidth:u,stroke:"#990822",fill:"#990822",fillOpacity:.5},color:"#cc0066"})):m}),n.XvdSparkLines=(0,u.default)({data:u.default.object.isRequired})(function(e){var t=e.data,n=e.width,r=void 0===n?f:n,o=e.height,i=void 0===o?p:o,l=e.strokeWidth,u=void 0===l?h:l,v=t.stats.xvds;return v?(0,a.default)(s.Sparklines,{style:d,data:(0,c.computeObjectsAvg)(v),min:0,width:r,height:i},void 0,(0,a.default)(s.SparklinesLine,{style:{strokeWidth:u,stroke:"#089944",fill:"#089944",fillOpacity:.5},color:"#33cc33"})):m}),n.VifSparkLines=(0,u.default)({data:u.default.object.isRequired})(function(e){var t=e.data,n=e.width,r=void 0===n?f:n,o=e.height,i=void 0===o?p:o,l=e.strokeWidth,u=void 0===l?h:l,v=t.stats.vifs;return v?(0,a.default)(s.Sparklines,{style:d,data:(0,c.computeObjectsAvg)(v),min:0,width:r,height:i},void 0,(0,a.default)(s.SparklinesLine,{style:{strokeWidth:u,stroke:"#eca649",fill:"#eca649",fillOpacity:.5},color:"#ffd633"})):m}),n.PifSparkLines=(0,u.default)({data:u.default.object.isRequired})(function(e){var t=e.data,n=e.width,r=void 0===n?f:n,o=e.height,i=void 0===o?p:o,l=e.strokeWidth,u=void 0===l?h:l,v=t.stats.pifs;return v?(0,a.default)(s.Sparklines,{style:d,data:(0,c.computeObjectsAvg)(v),min:0,width:r,height:i},void 0,(0,a.default)(s.SparklinesLine,{style:{strokeWidth:u,stroke:"#eca649",fill:"#eca649",fillOpacity:.5},color:"#ffd633"})):m}),n.LoadSparkLines=(0,u.default)({data:u.default.object.isRequired})(function(e){var t=e.data,n=e.width,r=void 0===n?f:n,o=e.height,i=void 0===o?p:o,l=e.strokeWidth,u=void 0===l?h:l,c=t.stats.load;return c?(0,a.default)(s.Sparklines,{style:d,data:c,min:0,width:r,height:i},void 0,(0,a.default)(s.SparklinesLine,{style:{strokeWidth:u,stroke:"#33cc33",fill:"#33cc33",fillOpacity:.5},color:"#33cc33"})):m})},{"./prop-types":1464,"./xo-stats":1508,"babel-runtime/helpers/jsx":27,react:1269,"react-sparklines":1195}],1508:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.computeObjectsAvg=n.computeArraysAvg=n.computeArraysSum=void 0;var o=e("lodash/map"),a=r(o),i=e("lodash/values"),s=r(i),l=e("utils"),u=function(e){if(!e||!e.length||!e[0].length)return[];for(var t=e[0].length,n=e.length,r=new Array(t),o=0;o<t;o++){r[o]=0;for(var a=0;a<n;a++)r[o]+=e[a][o]}return r},c=function(e){var t=u(e);if(!e[0])return[];for(var n=e&&e[0].length,r=e.length,o=0;o<n;o++)t[o]/=r;return t},d=function(e){return(0,l.mapPlus)(e,function(e,t){null!=e&&t(e)})},f=(n.computeArraysSum=function(e){return u(d(e))},n.computeArraysAvg=function(e){return c(d(e))});n.computeObjectsAvg=function(e){return c((0,a.default)(e,function(e){return f((0,s.default)(e))}))}},{"lodash/map":754,"lodash/values":794,utils:1490}],1509:[function(e,t,n){t.exports={container:"mc4ba0a608_container"}},{}],1510:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,i,s,l,u,c,d,f=e("babel-runtime/helpers/extends"),p=o(f),h=e("babel-runtime/helpers/jsx"),m=o(h),v=e("babel-runtime/core-js/object/get-prototype-of"),b=o(v),g=e("babel-runtime/helpers/classCallCheck"),y=o(g),_=e("babel-runtime/helpers/createClass"),M=o(_),w=e("babel-runtime/helpers/possibleConstructorReturn"),S=o(w),C=e("babel-runtime/helpers/inherits"),x=o(C),k=e("react"),T=o(k),A=e("d3"),P=r(A),N=e("lodash/forEach"),O=o(N),E=e("lodash/map"),z=o(E),R=e("../base-component"),j=o(R),L=e("../intl"),D=o(L),I=e("../prop-types"),B=o(I),V=e("../form"),q=e("../d3-utils"),F=e("../selectors"),U=e("../utils"),W=e("./index.css"),H=o(W),X={"shape-rendering":"crispEdges",fill:"none",stroke:"#000"},K={"font-size":"125%",fill:"black",stroke:"transparent"},G={"font-size":"125%"},Y={"pointer-events":"all",fill:"none"},$={"stroke-width":"2px","stroke-dasharray":"5 5",stroke:"red",fill:"none"},Q={fill:"black"},J=4,Z=20,ee={"fill-opacity":.25,"stroke-opacity":.3,fill:"darkgreen",stroke:"transparent"},te=(a=(0,B.default)({chartHeight:B.default.number,chartWidth:B.default.number,data:B.default.arrayOf(B.default.shape({date:B.default.number.isRequired,value:B.default.number.isRequired})).isRequired,maxValue:B.default.number,objectId:B.default.string.isRequired,onTooltipChange:B.default.func.isRequired,tooltipX:B.default.number.isRequired,valueRenderer:B.default.func}),i=(0,U.connectStore)(function(){var e=(0,F.createSelector)((0,F.createGetObject)(function(e,t){return t.objectId}),function(e){return e.name_label});return{label:e}}),a(s=i((u=l=function(e){function t(){var e,n,r,o;(0,y.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,S.default)(this,(e=t.__proto__||(0,b.default)(t)).call.apply(e,[this].concat(i))),r._x=P.scaleTime(),r._y=P.scaleLinear(),r._bisectDate=P.bisector(function(e){return e.date}).left,r._xAxis=P.axisBottom().scale(r._x),r._line=P.line().x(function(e){return r._x(e.date)}).y(function(e){return r._y(e.value)}),r._handleMouseMove=function(){r.props.onTooltipChange(P.mouse(r.refs.chart)[0]-Z)},o=n,(0,S.default)(r,o)}return(0,x.default)(t,e),(0,M.default)(t,[{key:"_drawHorizonArea",value:function(e){for(var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.max(e,function(e){return e.value}),r=n/J,o=[],a=new Date(e[0].date),i=0;i<J;i++)o[i]=[{date:a,value:0}];(0,O.default)(e,function(e){for(var t=new Date(e.date),n=0;n<J;n++)o[n].push({date:t,value:Math.min(Math.max(0,e.value-r*n),r)})}),a=new Date(e[e.length-1].date);for(var s=0;s<J;s++)o[s].push({date:a,value:0});this._x.domain(P.extent(o[0],function(e){return e.date})),this._y.domain([0,n/J]);var l=this._svg;l.select(".horizon-area").selectAll("path").remove(),(0,O.default)(o,function(e){var n;(n=l.select(".horizon-area").append("path").datum(e).attr("d",t._line),q.setStyles).call(n,ee)})}},{key:"_draw",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=this._svg,r=t.chartWidth,o=r-2*Z,a=t.chartHeight,i=a+Z;this._x.range([0,o]),this._y.range([a,0]),n.attr("width",r).attr("height",i).select(".mouse-area").attr("width",o).attr("height",a),n.select(".hover-container").select(".hover-line").attr("y2",a),this._drawHorizonArea(t.data,t.maxValue),(e=n.select(".x-axis").call(this._xAxis).attr("transform","translate(0, "+t.chartHeight+")").selectAll("text"),q.setStyles).call(e,K),n.select(".label").attr("dx",5).attr("dy",20).text(t.label)}},{key:"_updateTooltip",value:function(e){var t=this._x.invert(e),n=this.props.data,r=this._bisectDate(n,t,1),o=n[r-1],a=n[r];if(void 0!==a){var i=t-o.date>a.date-t?a:o,s=this._x(i.date),l=this.props,u=this._svg.select(".hover-container");u.select(".hover-line").attr("x1",s).attr("x2",s),u.select(".hover-text").attr("dx",s+5).attr("dy",l.chartHeight/2).text(l.valueRenderer(i.value))}}},{key:"componentDidMount",value:function(){var e,t=this._svg=P.select(this.refs.chart).append("svg").attr("transform","translate("+Z+", 0)");(e=t.append("g").attr("class","x-axis"),q.setStyles).call(e,X),t.append("g").attr("class","horizon-area"),(e=t.append("text").attr("class","label"),q.setStyles).call(e,G),(e=t.append("rect").attr("class","mouse-area").on("mousemove",this._handleMouseMove),q.setStyles).call(e,Y);var n=(e=t.append("g").attr("class","hover-container"),q.setStyles).call(e,"pointer-events","none");(e=n.append("line").attr("class","hover-line").attr("y1",0),q.setStyles).call(e,$),(e=n.append("text").attr("class","hover-text"),q.setStyles).call(e,Q),this._draw()}},{key:"componentWillReceiveProps",value:function(e){var t=this.props;(0,U.propsEqual)(t,e,["chartHeight","chartWidth","data","maxValue"])||this._draw(e),t.tooltipX!==e.tooltipX&&this._updateTooltip(e.tooltipX)}},{key:"render",value:function(){return T.default.createElement("div",{ref:"chart"})}}]),t}(j.default),l.defaultProps={chartHeight:70,chartWidth:300,valueRenderer:function(e){return e}},s=u))||s)||s),ne=(c=(0,B.default)({chartHeight:B.default.number,series:B.default.arrayOf(B.default.shape({data:B.default.arrayOf(B.default.shape({date:B.default.number.isRequired,value:B.default.number.isRequired})).isRequired,objectId:B.default.string.isRequired})).isRequired,valueRenderer:B.default.func}),c(d=function(e){function t(){var e,n,r,o;(0,y.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,S.default)(this,(e=t.__proto__||(0,b.default)(t)).call.apply(e,[this].concat(i))),r._handleResize=function(){var e=r.refs.container;r.setState({chartsWidth:e&&e.offsetWidth})},r._handleTooltipChange=function(e){r.setState({tooltipX:e})},r._updateScale=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.props.series,n=void 0;e&&(n=0,(0,O.default)(t,function(e){(0,O.default)(e.data,function(e){n=Math.max(e.value,n)})})),r.setState({maxValue:n})},o=n,(0,S.default)(r,o)}return(0,x.default)(t,e),(0,M.default)(t,[{key:"componentDidMount",value:function(){window.addEventListener("resize",this._handleResize),this._handleResize()}},{key:"componentWillMount",value:function(){this.setState({tooltipX:0})}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this._handleResize)}},{key:"componentWillReceiveProps",value:function(e){var t=e.series;this.props.series!==t&&(this.setState({tooltipX:0}),this._updateScale(void 0!==this.state.maxValue,t))}},{key:"render",value:function(){var e=this,t=this.props,n=this.state,r=n.chartsWidth,o=n.maxValue,a=n.tooltipX;return(0,m.default)("div",{},void 0,(0,m.default)("div",{},void 0,(0,m.default)("p",{className:"mt-1"},void 0,(0,D.default)("weeklyChartsScaleInfo")," ",(0,m.default)(V.Toggle,{iconSize:1,icon:"scale",onChange:this._updateScale}))),T.default.createElement("div",{ref:"container",className:H.default.container},r&&(0,z.default)(t.series,function(n,i){return T.default.createElement(te,(0,p.default)({},n,{chartWidth:r,key:i,maxValue:o,onTooltipChange:e._handleTooltipChange,tooltipX:a,valueRenderer:t.valueRenderer}))})))}}]),t}(j.default))||d);n.default=ne},{"../base-component":1405,"../d3-utils":1416,"../form":1425,"../intl":1436,"../prop-types":1464,"../selectors":1470,"../utils":1490,"./index.css":1509,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,d3:219,"lodash/forEach":716,"lodash/map":754,react:1269}],1511:[function(e,t,n){t.exports={cell:"mce63b6806_cell",table:"mce63b6806_table"}},{}],1512:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l=e("babel-runtime/helpers/extends"),u=r(l),c=e("babel-runtime/helpers/jsx"),d=r(c),f=e("babel-runtime/core-js/object/get-prototype-of"),p=r(f),h=e("babel-runtime/helpers/classCallCheck"),m=r(h),v=e("babel-runtime/helpers/createClass"),b=r(v),g=e("babel-runtime/helpers/possibleConstructorReturn"),y=r(g),_=e("babel-runtime/helpers/inherits"),M=r(_),w=e("babel-runtime/helpers/slicedToArray"),S=r(w),C=e("react"),x=r(C),k=e("lodash/forEach"),T=r(k),A=e("lodash/map"),P=r(A),N=e("moment"),O=r(N),E=e("lodash/sortBy"),z=r(E),R=e("lodash/times"),j=r(R),L=e("d3"),D=e("react-intl"),I=e("../intl"),B=r(I),V=e("../base-component"),q=r(V),F=e("../prop-types"),U=r(F),W=e("../tooltip"),H=r(W),X=e("./index.css"),K=r(X),G={day:"numeric",month:"numeric"},Y=function(e){var t=Number.MAX_VALUE,n=Number.MIN_VALUE;return(0,T.default)(e,function(e){var r=(0,L.extent)(e.hours,function(e){return e&&e.value}),o=(0,S.default)(r,2),a=o[0],i=o[1];a<t&&(t=a),i>n&&(n=i)}),(0,L.scaleSequential)(L.interpolateViridis).domain([n,t])},$=function(e){for(var t=e.slice(),n=e.length-1,r=new Array(24),o=(0,O.default)(e[n].timestamp),a=void 0,i=n;i>0;i--){a=(0,O.default)(e[i-1].timestamp);var s=o.diff(a,"days");if(s>1){var l=(0,j.default)(s-1,function(){return{hours:r,timestamp:o.subtract(1,"days").valueOf()}}).reverse();t.splice.apply(t,[i,0].concat(l))}o=a}return t},Q=(0,d.default)("th",{}),J=(o=(0,U.default)({cellRenderer:U.default.func,data:U.default.arrayOf(U.default.shape({date:U.default.number.isRequired,value:U.default.number.isRequired})).isRequired}),o((s=i=function(e){function t(){return(0,m.default)(this,t),(0,y.default)(this,(t.__proto__||(0,p.default)(t)).apply(this,arguments))}return(0,M.default)(t,e),(0,b.default)(t,[{key:"componentWillReceiveProps",value:function(e){this._updateDays(e.data)}},{key:"componentWillMount",value:function(){this._updateDays(this.props.data)}},{key:"_updateDays",value:function(e){var t={};(0,T.default)(e,function(e){var n=new Date(e.date),r=(0,O.default)(n).format("YYYYMMDD"),o=n.getHours(),a=e.value;t[r]||(t[r]={hours:new Array(24),timestamp:e.date});var i=t[r].hours;if(i[o]){var s=i[o];s.value=(s.value*s.nb+a)/(s.nb+1),s.nb++}else i[o]={date:n,nb:1,value:a}});var n=Y(t);(0,T.default)(t,function(e){(0,T.default)(e.hours,function(e){e&&(e.color=n(e.value))})}),this.setState({days:$((0,z.default)(t,"timestamp"))})}},{key:"render",value:function(){var e=this;return(0,d.default)("table",{className:K.default.table},void 0,(0,d.default)("tbody",{},void 0,(0,d.default)("tr",{},void 0,Q,(0,j.default)(24,function(e){return(0,d.default)("th",{className:"text-xs-center"},e,e)})),(0,P.default)(this.state.days,function(t,n){return(0,d.default)("tr",{},n,(0,d.default)("th",{},void 0,x.default.createElement(D.FormattedTime,(0,u.default)({value:t.timestamp},G))),(0,P.default)(t.hours,function(t,n){return(0,d.default)(H.default,{content:t?(0,B.default)("weekHeatmapData",{date:t.date,value:e.props.cellRenderer(t.value)}):(0,B.default)("weekHeatmapNoData")},n,(0,d.default)("td",{className:K.default.cell,style:{background:t?t.color:"#ffffff"}}))}))})))}}]),t}(q.default),i.defaultProps={cellRenderer:function(e){return e}},a=s))||a);n.default=J},{"../base-component":1405,"../intl":1436,"../prop-types":1464,"../tooltip":1488,"./index.css":1511,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/slicedToArray":30,d3:219,"lodash/forEach":716,"lodash/map":754,"lodash/sortBy":775,"lodash/times":783,moment:810,react:1269,"react-intl":1103}],1513:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("lodash/forEach"),y=r(g),_=e("intl"),M=r(_),w=e("base-component"),S=r(w),C=e("react"),x=(r(C),e("single-line-row")),k=r(x),T=e("grid"),A=e("utils"),P=e("selectors"),N=e("select-objects"),O=(o=(0,A.connectStore)(function(){return{singleHosts:(0,P.createSelector)(function(e,t){var n=t.pool;return n&&n.id},(0,P.createGetObjectsOfType)("host"),(0,P.createCollectionWrapper)(function(e,t){var n={},r={};return(0,y.default)(t,function(t){var o=t.$pool;if(o!==e){var a=n[o];if(a)delete r[a];else{var i=t.id;r[i]=!0,n[o]=i}}}),r}))}},{withRef:!0}),o(a=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,u.default)(t)).call.apply(e,[this].concat(i))),r._getHostPredicate=(0,P.createSelector)(function(){return r.props.singleHosts},function(e){return function(t){return e[t.id]}}),o=n,(0,m.default)(r,o)}return(0,b.default)(t,e),(0,p.default)(t,[{key:"render",value:function(){return(0,s.default)("div",{},void 0,(0,s.default)(k.default,{},void 0,(0,s.default)(T.Col,{size:6},void 0,(0,M.default)("addHostSelectHost")),(0,s.default)(T.Col,{size:6},void 0,(0,s.default)(N.SelectHost,{onChange:this.linkState("host"),predicate:this._getHostPredicate(),value:this.state.host}))))}},{key:"value",get:function(){return this.state}}]),t}(S.default))||a);n.default=O},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,grid:1431,intl:1436,"lodash/forEach":716,react:1269,"select-objects":1469,selectors:1470,"single-line-row":1473,utils:1490}],1514:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,i,s=e("babel-runtime/helpers/jsx"),l=o(s),u=e("babel-runtime/core-js/object/get-prototype-of"),c=o(u),d=e("babel-runtime/helpers/classCallCheck"),f=o(d),p=e("babel-runtime/helpers/createClass"),h=o(p),m=e("babel-runtime/helpers/possibleConstructorReturn"),v=o(m),b=e("babel-runtime/helpers/inherits"),g=o(b),y=e("lodash/keys"),_=o(y),M=e("react"),w=(o(M),e("../../form-grid")),S=r(w),C=e("../../intl"),x=o(C),k=e("../../combobox"),T=o(k),A=e("../../base-component"),P=o(A),N=e("../../prop-types"),O=o(N),E=e("../../selectors"),z=(a=(0,O.default)({type:O.default.string.isRequired,user:O.default.object.isRequired,value:O.default.string.isRequired}),a(i=function(e){function t(){var e,n,r,o;(0,f.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,v.default)(this,(e=t.__proto__||(0,c.default)(t)).call.apply(e,[this].concat(i))),r._getFilterOptions=(0,E.createSelector)(function(e){return(e=r.props.user)&&(e=e.preferences)&&(e=e.filters)&&e[r.props.type]},_.default),o=n,(0,v.default)(r,o)}return(0,g.default)(t,e),(0,h.default)(t,[{key:"render",value:function(){var e=this.props.value,t=this._getFilterOptions();return(0,l.default)("div",{},void 0,(0,l.default)(S.Row,{},void 0,(0,l.default)(S.LabelCol,{},void 0,(0,x.default)("filterName")),(0,l.default)(S.InputCol,{},void 0,(0,l.default)(T.default,{onChange:this.linkState("name"),options:t,value:this.state.name||""}))),(0,l.default)(S.Row,{},void 0,(0,l.default)(S.LabelCol,{},void 0,(0,x.default)("filterValue")),(0,l.default)(S.InputCol,{},void 0,(0,l.default)("input",{className:"form-control",disabled:!0,type:"text",value:e}))))}},{key:"value",get:function(){return this.state.name||""}}]),t}(P.default))||i);n.default=z},{"../../base-component":1405,"../../combobox":1412,"../../form-grid":1424,"../../intl":1436,"../../prop-types":1464,"../../selectors":1470,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"lodash/keys":750,react:1269}],1515:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("react"),b=(r(v),e("../../intl")),g=r(b),y=e("../../single-line-row"),_=r(y),M=e("xoa-upgrade"),w=r(M),S=e("../../grid"),C=e("../../select-objects"),x=e("../../form"),k=e("react-intl"),T=((0,a.default)("div",{},void 0,(0,a.default)(w.default,{place:"vmCopy",available:3})),function(e){function t(){var e,n,r,o;(0,u.default)(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r=(0,p.default)(this,(e=t.__proto__||(0,s.default)(t)).call.apply(e,[this].concat(i))),r.state={compress:!1},r._onChangeSr=function(e){return r.setState({sr:e})},r._onChangeName=function(e){return r.setState({name:e.target.value})},r._onChangeCompress=function(e){return r.setState({compress:e})},o=n,(0,p.default)(r,o)}return(0,m.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){var e=this.props.intl.formatMessage;return(0,a.default)("div",{},void 0,(0,a.default)(_.default,{},void 0,(0,a.default)(S.Col,{size:6},void 0,(0,g.default)("copyVmSelectSr")),(0,a.default)(S.Col,{size:6},void 0,(0,a.default)(C.SelectSr,{onChange:this._onChangeSr})))," ",(0,a.default)(_.default,{},void 0,(0,a.default)(S.Col,{size:6},void 0,(0,g.default)("copyVmName")),(0,a.default)(S.Col,{size:6},void 0,(0,a.default)("input",{className:"form-control",onChange:this._onChangeName,placeholder:e(b.messages.copyVmNamePlaceholder),type:"text"})))," ",(0,a.default)(_.default,{},void 0,(0,a.default)(S.Col,{size:6},void 0,(0,g.default)("copyVmCompress")),(0,a.default)(S.Col,{size:6},void 0,(0,a.default)(x.Toggle,{onChange:this._onChangeCompress}))))}},{key:"value",get:function(){var e=this.state;return{compress:e.compress,name:this.state.name||this.props.vm.name_label,sr:e.sr.id}}}]),t}(v.Component));n.default=(0,k.injectIntl)(T,{withRef:!0})},{"../../form":1425,"../../grid":1431,"../../intl":1436,"../../select-objects":1469,"../../single-line-row":1473,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"react-intl":1103,"xoa-upgrade":1528}],1516:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("intl"),y=r(g),_=e("lodash/map"),M=r(_),w=e("react"),S=(r(w),e("react-intl")),C=e("base-component"),x=r(C),k=e("single-line-row"),T=r(k),A=e("xoa-upgrade"),P=r(A),N=e("grid"),O=e("selectors"),E=e("select-objects"),z=e("form"),R=e("utils"),j=((0,s.default)("div",{},void 0,(0,s.default)(P.default,{place:"vmCopy",available:3})),o=(0,R.connectStore)(function(){var e=(0,O.createGetObjectsOfType)("VM").pick(function(e,t){return t.vms});return{vms:e}},{withRef:!0}),o(a=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,u.default)(t)).call.apply(e,[this].concat(i))),r._onChangeSr=function(e){return r.setState({sr:e})},r._onChangeNamePattern=function(e){return r.setState({namePattern:e.target.value})},r._onChangeCompress=function(e){return r.setState({compress:e})},o=n,(0,m.default)(r,o)}return(0,b.default)(t,e),(0,p.default)(t,[{key:"componentWillMount",value:function(){this.setState({compress:!1,namePattern:"{name}_COPY"})}},{key:"render",value:function(){var e=this.props.intl.formatMessage,t=this.state,n=t.compress,r=t.namePattern,o=t.sr;return(0,s.default)("div",{},void 0,(0,s.default)(T.default,{},void 0,(0,s.default)(N.Col,{size:6},void 0,(0,y.default)("copyVmSelectSr")),(0,s.default)(N.Col,{size:6},void 0,(0,s.default)(E.SelectSr,{onChange:this.linkState("sr"),value:o})))," ",(0,s.default)(T.default,{},void 0,(0,s.default)(N.Col,{size:6},void 0,(0,y.default)("copyVmName")),(0,s.default)(N.Col,{size:6},void 0,(0,s.default)("input",{className:"form-control",onChange:this.linkState("namePattern"),placeholder:e(g.messages.copyVmNamePatternPlaceholder),type:"text",value:r})))," ",(0,s.default)(T.default,{},void 0,(0,s.default)(N.Col,{size:6},void 0,(0,y.default)("copyVmCompress")),(0,s.default)(N.Col,{size:6},void 0,(0,s.default)(z.Toggle,{onChange:this.linkState("compress"),value:n}))))}},{key:"value",get:function(){var e=this.state;if(!e||!e.sr)return{};var t=this.props.vms,n=e.namePattern,r=n?(0,M.default)(t,(0,R.buildTemplate)(n,{"{name}":function(e){return e.name_label},"{id}":function(e){return e.id}})):(0,M.default)(t,function(e){return e.name_label});return{compress:e.compress,names:r,sr:e.sr.id}}}]),t}(x.default))||a);n.default=(0,S.injectIntl)(j,{withRef:!0})},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,form:1425,grid:1431,intl:1436,"lodash/map":754,react:1269,"react-intl":1103,"select-objects":1469,selectors:1470,"single-line-row":1473,utils:1490,"xoa-upgrade":1528}],1517:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("base-component"),y=r(g),_=e("lodash/map"),M=r(_),w=e("react"),S=(r(w),e("selectors")),C=e("xo"),x=e("react-intl"),k=e("../../intl"),T=r(k),A=e("../../grid"),P=e("../../utils"),N=e("../../select-objects"),O=e("../../single-line-row"),E=r(O),z=(o=(0,P.connectStore)(function(){return{poolMaster:(0,S.createSelector)((0,S.createGetObject)(function(e,t){return t.pool}),function(e){return e.master})}},{withRef:!0}),o(a=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,u.default)(t)).call.apply(e,[this].concat(i))),r._getPifPredicate=(0,S.createSelector)(function(){return r.props.poolMaster;
|
81 | },function(e){return function(t){return t.$host===e&&t.vlan===-1}}),o=n,(0,m.default)(r,o)}return(0,b.default)(t,e),(0,p.default)(t,[{key:"componentWillMount",value:function(){var e=this;(0,C.getBondModes)().then(function(t){return e.setState({bondModes:t,bondMode:t[0]})})}},{key:"render",value:function(){var e=this.props.intl.formatMessage;return(0,s.default)("div",{},void 0,(0,s.default)(E.default,{},void 0,(0,s.default)(A.Col,{size:6},void 0,(0,T.default)("newNetworkInterface")),(0,s.default)(A.Col,{size:6},void 0,(0,s.default)(N.SelectPif,{multi:!0,onChange:this.linkState("pifs"),predicate:this._getPifPredicate()})))," ",(0,s.default)(E.default,{},void 0,(0,s.default)(A.Col,{size:6},void 0,(0,T.default)("newNetworkName")),(0,s.default)(A.Col,{size:6},void 0,(0,s.default)("input",{className:"form-control",onChange:this.linkState("name"),type:"text"})))," ",(0,s.default)(E.default,{},void 0,(0,s.default)(A.Col,{size:6},void 0,(0,T.default)("newNetworkDescription")),(0,s.default)(A.Col,{size:6},void 0,(0,s.default)("input",{className:"form-control",onChange:this.linkState("description"),type:"text"})))," ",(0,s.default)(E.default,{},void 0,(0,s.default)(A.Col,{size:6},void 0,(0,T.default)("newNetworkMtu")),(0,s.default)(A.Col,{size:6},void 0,(0,s.default)("input",{className:"form-control",onChange:this.linkState("mtu"),placeholder:e(k.messages.newNetworkDefaultMtu),type:"text"})))," ",(0,s.default)(E.default,{},void 0,(0,s.default)(A.Col,{size:6},void 0,(0,T.default)("newNetworkBondMode")),(0,s.default)(A.Col,{size:6},void 0,(0,s.default)("select",{className:"form-control",onChange:this.linkState("bondMode")},void 0,(0,M.default)(this.state.bondModes,function(e){return(0,s.default)("option",{value:e},void 0,e)})))))}},{key:"value",get:function(){var e=this.state,t=e.name,n=e.description,r=e.pifs,o=e.mtu,a=e.bondMode;return{pool:this.props.pool,name:t,description:n,pifs:(0,M.default)(r,function(e){return e.id}),mtu:o,bondMode:a}}}]),t}(y.default))||a);n.default=(0,x.injectIntl)(z,{withRef:!0})},{"../../grid":1431,"../../intl":1436,"../../select-objects":1469,"../../single-line-row":1473,"../../utils":1490,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,"lodash/map":754,react:1269,"react-intl":1103,selectors:1470,xo:1519}],1518:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("react"),b=r(v),g=e("react-intl"),y=e("selectors"),_=e("../../single-line-row"),M=r(_),w=e("../../intl"),S=r(w),C=e("../../select-objects"),x=e("../../grid"),k=function(e){function t(){var e,n,r,o;(0,u.default)(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r=(0,p.default)(this,(e=t.__proto__||(0,s.default)(t)).call.apply(e,[this].concat(i))),r._getPifPredicate=(0,y.createSelector)(function(){var e=r.props.container;return"pool"===e.type?e.master:e.id},function(e){return function(t){return t.$host===e&&t.vlan===-1}}),o=n,(0,p.default)(r,o)}return(0,m.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){var e=this.props.intl.formatMessage;return(0,a.default)("div",{},void 0,(0,a.default)(M.default,{},void 0,(0,a.default)(x.Col,{size:6},void 0,(0,S.default)("newNetworkInterface")),(0,a.default)(x.Col,{size:6},void 0,b.default.createElement(C.SelectPif,{predicate:this._getPifPredicate(),ref:"pif"})))," ",(0,a.default)(M.default,{},void 0,(0,a.default)(x.Col,{size:6},void 0,(0,S.default)("newNetworkName")),(0,a.default)(x.Col,{size:6},void 0,b.default.createElement("input",{className:"form-control",ref:"name",type:"text"})))," ",(0,a.default)(M.default,{},void 0,(0,a.default)(x.Col,{size:6},void 0,(0,S.default)("newNetworkDescription")),(0,a.default)(x.Col,{size:6},void 0,b.default.createElement("input",{className:"form-control",ref:"description",type:"text"})))," ",(0,a.default)(M.default,{},void 0,(0,a.default)(x.Col,{size:6},void 0,(0,S.default)("newNetworkVlan")),(0,a.default)(x.Col,{size:6},void 0,b.default.createElement("input",{className:"form-control",placeholder:e(w.messages.newNetworkDefaultVlan),ref:"vlan",type:"text"})))," ",(0,a.default)(M.default,{},void 0,(0,a.default)(x.Col,{size:6},void 0,(0,S.default)("newNetworkMtu")),(0,a.default)(x.Col,{size:6},void 0,b.default.createElement("input",{className:"form-control",placeholder:e(w.messages.newNetworkDefaultMtu),ref:"mtu",type:"text"}))))}},{key:"value",get:function(){var e=this.refs,t=this.props.container;return{pool:t.$pool,name:e.name.value,description:e.description.value,pif:e.pif.value.id,mtu:e.mtu.value,vlan:e.vlan.value}}}]),t}(v.Component);n.default=(0,g.injectIntl)(k,{withRef:!0})},{"../../grid":1431,"../../intl":1436,"../../select-objects":1469,"../../single-line-row":1473,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,react:1269,"react-intl":1103,selectors:1470}],1519:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.registerXosan=n.downloadAndInstallXosanPack=n.computeXosanPossibleOptions=n.createXosanSR=n.getVolumeInfo=n.setIpPool=n.deleteIpPool=n.createIpPool=n.setDefaultHomeFilter=n.editCustomFilter=n.removeCustomFilter=n.addCustomFilter=n.deleteSshKey=n.addSshKey=n.changePassword=n.editUser=n.deleteUser=n.createUser=n.addUserToGroup=n.removeUserFromGroup=n.deleteGroup=n.setGroupName=n.createGroup=n.editAcl=n.removeAcl=n.addAcl=n.deleteApiLog=n.deleteJobsLog=n.createSrLvm=n.createSrIso=n.createSrIscsi=n.createSrNfs=n.reattachSrIso=n.reattachSr=n.probeSrIscsiExists=n.probeSrIscsiLuns=n.probeSrIscsiIqns=n.probeSrNfsExists=n.probeSrNfs=n.fetchFiles=n.scanFiles=n.scanDisk=n.testRemote=n.listRemoteBackups=n.listRemote=n.editRemote=n.disableRemote=n.enableRemote=n.deleteRemote=n.createRemote=n.getRemote=n.recomputeResourceSetsLimits=n.deleteResourceSet=n.editResourceSet=n.createResourceSet=n.testPlugin=n.purgePluginConfiguration=n.configurePlugin=n.disablePluginAutoload=n.enablePluginAutoload=n.unloadPlugin=n.loadPlugin=n.getSchedule=n.enableSchedule=n.editSchedule=n.disableSchedule=n.deleteSchedule=n.deleteBackupSchedule=n.createSchedule=n.runJob=n.getJob=n.editJob=n.deleteJob=n.createJob=n.destroyTask=n.cancelTask=n.removeTag=n.addTag=n.deleteMessage=n.deletePbd=n.disconnectPbd=n.connectPbd=n.rescanSrs=n.rescanSr=n.editSr=n.disconnectAllHostsSrs=n.disconnectAllHostsSr=n.reconnectAllHostsSrs=n.reconnectAllHostsSr=n.forgetSrs=n.forgetSr=n.deleteSr=n.editPif=n.getIpv4ConfigModes=n.reconfigurePifIp=n.deletePif=n.disconnectPif=n.connectPif=n.deleteNetwork=n.createBondedNetwork=n.getBondModes=n.createNetwork=n.editNetwork=n.setVif=n.deleteVif=n.disconnectVif=n.connectVif=n.createVmInterface=n.setBootableVbd=n.editVbd=n.deleteVbd=n.disconnectVbd=n.connectVbd=n.migrateVdi=n.deleteOrphanedVdis=n.deleteVdi=n.editVdi=n.createDisk=n.attachDiskToVm=n.setVmBootOrder=n.ejectCd=n.insertCd=n.exportVm=n.importVms=n.importVm=n.fetchVmStats=n.editVm=n.revertSnapshot=n.importDeltaBackup=n.importBackup=n.deleteVms=n.deleteVm=n.getCloudInitConfig=n.createVms=n.createVm=n.migrateVms=n.migrateVm=n.deleteSnapshot=n.snapshotVms=n.snapshotVm=n.deleteTemplates=n.convertVmToTemplate=n.copyVms=n.copyVm=n.cloneVm=n.restartVms=n.restartVm=n.recoveryStartVm=n.resumeVm=n.suspendVm=n.stopVms=n.stopVm=n.startVms=n.startVm=n.unpauseContainer=n.stopContainer=n.startContainer=n.restartContainer=n.pauseContainer=n.installSupplementalPackOnAllHosts=n.installSupplementalPack=n.installAllPatchesOnPool=n.installAllHostPatches=n.installHostPatch=n.emergencyShutdownHosts=n.emergencyShutdownHost=n.getHostMissingPatches=n.disableHost=n.enableHost=n.stopHosts=n.stopHost=n.startHost=n.restartHostsAgents=n.restartHostAgent=n.restartHosts=n.restartHost=n.fetchHostStats=n.editHost=n.setDefaultSr=n.detachHost=n.addHostToPool=n.editPool=n.removeServer=n.disconnectServer=n.connectServer=n.editServer=n.addServer=n.exportConfig=n.importConfig=n.getXoServerTimezone=n.serverVersion=n.apiMethods=n.subscribeIsInstallingXosan=n.subscribeResourceCatalog=n.subscribeIpPools=n.subscribeRoles=n.subscribeGroups=n.subscribeUsers=n.subscribeServers=n.subscribeSchedules=n.subscribeScheduleTable=n.subscribeResourceSets=n.subscribeRemotes=n.subscribePlugins=n.subscribePermissions=n.subscribeApiLogs=n.subscribeJobsLogs=n.subscribeJobs=n.subscribeAcls=n.subscribeCurrentUser=n.resolveUrl=n.connectStore=n.connect=n.signOut=n.isVmRunning=n.isSrShared=n.isSrWritable=n.XEN_DEFAULT_CPU_CAP=n.XEN_DEFAULT_CPU_WEIGHT=void 0;var o=e("babel-runtime/core-js/number/parse-int"),a=r(o),i=e("babel-runtime/helpers/defineProperty"),s=r(i),l=e("babel-runtime/helpers/toConsumableArray"),u=r(l),c=e("babel-runtime/core-js/json/stringify"),d=r(c),f=e("babel-runtime/regenerator"),p=r(f),h=e("babel-runtime/helpers/asyncToGenerator"),m=r(h),v=e("babel-runtime/helpers/jsx"),b=r(v),g=e("babel-runtime/helpers/extends"),y=r(g),_=e("babel-runtime/core-js/object/create"),M=r(_),w=e("babel-runtime/core-js/promise"),S=r(w),C=e("asap"),x=r(C),k=e("lodash/assign"),T=r(k),A=e("cookies-js"),P=r(A),N=e("lodash/isEmpty"),O=r(N),E=e("lodash/isEqual"),z=r(E),R=e("lodash/filter"),j=r(R),L=e("lodash/forEach"),D=r(L),I=e("lodash/map"),B=r(I),V=e("lodash/once"),q=r(V),F=e("react"),U=(r(F),e("lodash/fp/sortBy")),W=r(U),H=e("superagent"),X=r(H),K=e("lodash/size"),G=r(K),Y=e("lodash/sortBy"),$=r(Y),Q=e("lodash/throttle"),J=r(Q),Z=e("xo-lib"),ee=r(Z),te=e("jsonrpc-websocket-client"),ne=e("xo-common/api-errors"),re=e("promise-toolbox"),oe=e("url"),ae=e("../intl"),ie=r(ae),se=e("../invoke"),le=r(se),ue=e("../log-error"),ce=r(ue),de=e("../modal"),fe=e("../notification"),pe=e("../utils"),he=e("../store/actions"),me=e("./add-host-modal"),ve=r(me),be=e("./copy-vm-modal"),ge=r(be),ye=e("./copy-vms-modal"),_e=r(ye),Me=e("./migrate-vm-modal"),we=r(Me),Se=e("./migrate-vms-modal"),Ce=r(Se),xe=e("./revert-snapshot-modal"),ke=r(xe),Te=e("./create-network-modal"),Ae=r(Te),Pe=e("./create-bonded-network-modal"),Ne=r(Pe),Oe=e("./new-ssh-key-modal"),Ee=r(Oe),ze=e("./add-user-filter-modal"),Re=r(ze),je=e("./install-xosan-pack-modal"),Le=r(je),De=(n.XEN_DEFAULT_CPU_WEIGHT=256,n.XEN_DEFAULT_CPU_CAP=0,n.isSrWritable=function(e){return e&&"iso"!==e.content_type&&e.size>0},n.isSrShared=function(e){return e&&e.$PBDs.length>1},n.isVmRunning=function(e){return e&&"Running"===e.power_state},n.signOut=function(){P.default.expire("token"),window.location.reload(!0)}),Ie=n.connect=function(){Be.open((0,te.createBackoff)()).catch(function(e){(0,ce.default)(e,"failed to connect to xo-server")})},Be=(0,le.default)(function(){var e=P.default.get("token");if(!e)throw De(),new Error("no valid token");var t=new ee.default({credentials:{token:e}});return t.on("authenticationFailure",De),t.on("scheduledAttempt",function(e){var t=e.delay;console.warn("next attempt in %s ms",t)}),t.on("closed",Ie),t});Ie();var Ve=new S.default(function(e){return Be.once("authenticated",e)}),qe=function(e,t){var n=Ve.then(function(){return Be.call(e,t)});return n},Fe=(n.connectStore=function(e){var t={},n=(0,J.default)(function(){e.dispatch((0,he.updateObjects)(t)),t={}},500);Be.on("open",function(){return e.dispatch((0,he.connected)())}),Be.on("closed",function(){e.dispatch((0,he.signedOut)()),e.dispatch((0,he.disconnected)())}),Be.on("authenticated",function(){e.dispatch((0,he.signedIn)(Be.user)),qe("xo.getAllObjects").then(function(t){return e.dispatch((0,he.updateObjects)(t))})}),Be.on("notification",function(e){"all"===e.method&&((0,T.default)(t,e.params.items),n())}),Ge(function(t){return e.dispatch((0,he.updatePermissions)(t))}),tt(function(t){e.dispatch((0,he.signedIn)(Be.user))})},n.resolveUrl=(0,le.default)(Be._url,function(e){return function(t){return(0,oe.resolve)(e,t)}}),function(e){var t=5e3,n=(0,M.default)(null),r=void 0,o=0,a=0,i=void 0,s=!1,l=function o(){s||(s=!0,Ve.then(function(){return e()}).then(function(e){s=!1,i=setTimeout(o,t),(0,z.default)(e,r)||(r=e,(0,D.default)(n,function(t){t&&t(e)}))},function(e){s=!1,console.error(e)}))},u=function(e){var t=a++;return n[t]=e,o++?void 0!==r&&(0,x.default)(function(){return e(r)}):l(),(0,q.default)(function(){delete n[t],--o||(clearTimeout(i),r=void 0)})};return u.forceRefresh=function(){o&&(clearTimeout(i),l())},u}),Ue=n.subscribeCurrentUser=Fe(function(){return Be.refreshUser()}),We=n.subscribeAcls=Fe(function(){return qe("acl.get")}),He=n.subscribeJobs=Fe(function(){return qe("job.getAll")}),Xe=n.subscribeJobsLogs=Fe(function(){return qe("log.get",{namespace:"jobs"})}),Ke=n.subscribeApiLogs=Fe(function(){return qe("log.get",{namespace:"api"})}),Ge=n.subscribePermissions=Fe(function(){return qe("acl.getCurrentPermissions")}),Ye=n.subscribePlugins=Fe(function(){return qe("plugin.get")}),$e=n.subscribeRemotes=Fe(function(){return qe("remote.getAll")}),Qe=n.subscribeResourceSets=Fe(function(){return qe("resourceSet.getAll")}),Je=n.subscribeScheduleTable=Fe(function(){return qe("scheduler.getScheduleTable")}),Ze=n.subscribeSchedules=Fe(function(){return qe("schedule.getAll")}),et=n.subscribeServers=Fe((0,le.default)((0,W.default)("host"),function(e){return function(){return qe("server.getAll").then(e)}})),tt=n.subscribeUsers=Fe(function(){return qe("user.getAll").then(function(e){return(0,D.default)(e,function(e){e.type="user"}),(0,$.default)(e,"email")})}),nt=n.subscribeGroups=Fe(function(){return qe("group.getAll").then(function(e){return(0,D.default)(e,function(e){e.type="group"}),(0,$.default)(e,"name")})}),rt=(n.subscribeRoles=Fe((0,le.default)((0,$.default)("name"),function(e){return function(){return qe("role.getAll").then(e)}})),n.subscribeIpPools=Fe(function(){return qe("ipPool.getAll")})),ot=(n.subscribeResourceCatalog=Fe(function(){return qe("cloud.getResourceCatalog")}),{}),at=(n.subscribeIsInstallingXosan=function(e,t){var n=(0,pe.resolveId)(e);return ot[n]||(ot[n]=Fe(function(){return qe("xosan.checkSrIsBusy",{poolId:n})})),ot[n](t)},n.apiMethods=qe("system.getMethodsInfo"),n.serverVersion=qe("system.getServerVersion"),n.getXoServerTimezone=qe("system.getServerTimezone"),n.importConfig=function(e){return qe("xo.importConfig").then(function(t){var n=t.$sendTo;return X.default.post(n).send(e).then(function(e){if(200!==e.status)throw new Error("config import failed")})})},n.exportConfig=function(){return qe("xo.exportConfig").then(function(e){var t=e.$getFrom;window.location="."+t})},n.addServer=function(e,t,n,r){var o;return(o=(o=qe("server.add",{host:e,label:r,password:n,username:t}),pe.tap).call(o,et.forceRefresh),pe.rethrow).call(o,function(){return(0,fe.error)((0,ie.default)("serverError"),(0,ie.default)("serverAddFailed"))})},n.editServer=function(e,t){var n;return(n=qe("server.set",(0,y.default)({},t,{id:(0,pe.resolveId)(e)})),pe.tap).call(n,et.forceRefresh)},n.connectServer=function(e){var t;return(t=qe("server.connect",{id:(0,pe.resolveId)(e)}),pe.tap).call(t,et.forceRefresh)},n.disconnectServer=function(e){var t;return(t=qe("server.disconnect",{id:(0,pe.resolveId)(e)}),pe.tap).call(t,et.forceRefresh)},n.removeServer=function(e){var t;return(t=qe("server.remove",{id:(0,pe.resolveId)(e)}),pe.tap).call(t,et.forceRefresh)},n.editPool=function(e,t){return qe("pool.set",(0,y.default)({id:(0,pe.resolveId)(e)},t))},n.addHostToPool=function(e,t){return t?(0,de.confirm)({title:(0,ie.default)("addHostModalTitle"),body:(0,ie.default)("addHostModalMessage",{pool:e.name_label,host:t.name_label})}).then(function(){return qe("pool.mergeInto",{source:t.$pool,target:e.id,force:!0})}):(0,de.confirm)({title:(0,ie.default)("addHostModalTitle"),body:(0,b.default)(ve.default,{pool:e})}).then(function(t){return t.host?void qe("pool.mergeInto",{source:t.host.$pool,target:e.id,force:!0}):void(0,fe.error)((0,ie.default)("addHostNoHost"),(0,ie.default)("addHostNoHostMessage"))},pe.noop)},n.detachHost=function(e){return(0,de.confirm)({icon:"host-eject",title:(0,ie.default)("detachHostModalTitle"),body:(0,ie.default)("detachHostModalMessage",{host:(0,b.default)("strong",{},void 0,e.name_label)})}).then(function(){return qe("host.detach",{host:e.id})})},n.setDefaultSr=function(e){return qe("pool.setDefaultSr",{sr:(0,pe.resolveId)(e)})},n.editHost=function(e,t){return qe("host.set",(0,y.default)({},t,{id:(0,pe.resolveId)(e)}))},n.fetchHostStats=function(e,t){return qe("host.stats",{host:(0,pe.resolveId)(e),granularity:t})},n.restartHost=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,de.confirm)({title:(0,ie.default)("restartHostModalTitle"),body:(0,ie.default)("restartHostModalMessage")}).then(function(){return qe("host.restart",{id:(0,pe.resolveId)(e),force:t}).catch(function(e){ne.noHostsAvailable.is(e)&&(0,de.alert)((0,ie.default)("noHostsAvailableErrorTitle"),(0,ie.default)("noHostsAvailableErrorMessage"))})},pe.noop)},n.restartHosts=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,G.default)(e);return(0,de.confirm)({title:(0,ie.default)("restartHostsModalTitle",{nHosts:n}),body:(0,ie.default)("restartHostsModalMessage",{nHosts:n})}).then(function(){return S.default.all((0,B.default)(e,function(e){var n;return(n=qe("host.restart",{id:(0,pe.resolveId)(e),force:t}),re.reflect).call(n)})).then(function(e){var t=(0,j.default)(e,function(e){return!e.isFulfilled()}).length;if(t)return(0,de.alert)((0,ie.default)("failHostBulkRestartTitle"),(0,ie.default)("failHostBulkRestartMessage",{failedHosts:t,totalHosts:e.length}))})},pe.noop)},n.restartHostAgent=function(e){return qe("host.restart_agent",{id:(0,pe.resolveId)(e)})}),it=(n.restartHostsAgents=function(e){var t=(0,G.default)(e);return(0,de.confirm)({title:(0,ie.default)("restartHostsAgentsModalTitle",{nHosts:t}),body:(0,ie.default)("restartHostsAgentsModalMessage",{nHosts:t})}).then(function(){return(0,B.default)(e,at)},pe.noop)},n.startHost=function(e){return qe("host.start",{id:(0,pe.resolveId)(e)})},n.stopHost=function(e){return(0,de.confirm)({title:(0,ie.default)("stopHostModalTitle"),body:(0,ie.default)("stopHostModalMessage")}).then(function(){return qe("host.stop",{id:(0,pe.resolveId)(e)})},pe.noop)},n.stopHosts=function(e){var t=(0,G.default)(e);return(0,de.confirm)({title:(0,ie.default)("stopHostsModalTitle",{nHosts:t}),body:(0,ie.default)("stopHostsModalMessage",{nHosts:t})}).then(function(){return(0,B.default)(e,function(e){return qe("host.stop",{id:(0,pe.resolveId)(e)})})},pe.noop)},n.enableHost=function(e){return qe("host.enable",{id:(0,pe.resolveId)(e)})},n.disableHost=function(e){return qe("host.disable",{id:(0,pe.resolveId)(e)})},n.getHostMissingPatches=function(e){return qe("host.listMissingPatches",{host:(0,pe.resolveId)(e)})},n.emergencyShutdownHost=function(e){return qe("host.emergencyShutdownHost",{host:(0,pe.resolveId)(e)})}),st=(n.emergencyShutdownHosts=function(e){var t=(0,G.default)(e);return(0,de.confirm)({title:(0,ie.default)("emergencyShutdownHostsModalTitle",{nHosts:t}),body:(0,ie.default)("emergencyShutdownHostsModalMessage",{nHosts:t})}).then(function(){return(0,B.default)(e,function(e){return it(e)})},pe.noop)},n.installHostPatch=function(e,t){var n=t.uuid;return qe("host.installPatch",{host:(0,pe.resolveId)(e),patch:n})},n.installAllHostPatches=function(e){return qe("host.installAllPatches",{host:(0,pe.resolveId)(e)})},n.installAllPatchesOnPool=function(e){return qe("pool.installAllPatches",{pool:(0,pe.resolveId)(e)})},n.installSupplementalPack=function(e,t){return(0,fe.info)((0,ie.default)("supplementalPackInstallStartedTitle"),(0,ie.default)("supplementalPackInstallStartedMessage")),qe("host.installSupplementalPack",{host:(0,pe.resolveId)(e)}).then(function(e){var n=e.$sendTo;return X.default.post(n).send(t).then(function(e){if(200!==e.status)throw new Error("installing supplemental pack failed");(0,fe.success)((0,ie.default)("supplementalPackInstallSuccessTitle"),(0,ie.default)("supplementalPackInstallSuccessMessage"))}).catch(function(e){throw(0,fe.error)((0,ie.default)("supplementalPackInstallErrorTitle"),(0,ie.default)("supplementalPackInstallErrorMessage")),e})})},n.installSupplementalPackOnAllHosts=function(e,t){return(0,fe.info)((0,ie.default)("supplementalPackInstallStartedTitle"),(0,ie.default)("supplementalPackInstallStartedMessage")),qe("pool.installSupplementalPack",{pool:(0,pe.resolveId)(e)}).then(function(e){var n=e.$sendTo;return X.default.post(n).send(t).then(function(e){if(200!==e.status)throw new Error("installing supplemental pack failed");(0,fe.success)((0,ie.default)("supplementalPackInstallSuccessTitle"),(0,ie.default)("supplementalPackInstallSuccessMessage"))}).catch(function(e){throw(0,fe.error)((0,ie.default)("supplementalPackInstallErrorTitle"),(0,ie.default)("supplementalPackInstallErrorMessage")),e})})},n.pauseContainer=function(e,t){return qe("docker.pause",{vm:(0,pe.resolveId)(e),container:t})},n.restartContainer=function(e,t){return qe("docker.restart",{vm:(0,pe.resolveId)(e),container:t})},n.startContainer=function(e,t){return qe("docker.start",{vm:(0,pe.resolveId)(e),container:t})},n.stopContainer=function(e,t){return qe("docker.stop",{vm:(0,pe.resolveId)(e),container:t})},n.unpauseContainer=function(e,t){return qe("docker.unpause",{vm:(0,pe.resolveId)(e),container:t})},n.startVm=function(e){return qe("vm.start",{id:(0,pe.resolveId)(e)})}),lt=(n.startVms=function(e){return(0,de.confirm)({title:(0,ie.default)("startVmsModalTitle",{vms:e.length}),body:(0,ie.default)("startVmsModalMessage",{vms:e.length})}).then(function(){return(0,B.default)(e,function(e){return st({id:e})})},pe.noop)},n.stopVm=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,de.confirm)({title:(0,ie.default)("stopVmModalTitle"),body:(0,ie.default)("stopVmModalMessage",{name:e.name_label})}).then(function(){return qe("vm.stop",{id:(0,pe.resolveId)(e),force:t})},pe.noop)},n.stopVms=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,de.confirm)({title:(0,ie.default)("stopVmsModalTitle",{vms:e.length}),body:(0,ie.default)("stopVmsModalMessage",{vms:e.length})}).then(function(){return(0,B.default)(e,function(e){return qe("vm.stop",{id:(0,pe.resolveId)(e),force:t})})},pe.noop)},n.suspendVm=function(e){return qe("vm.suspend",{id:(0,pe.resolveId)(e)})},n.resumeVm=function(e){return qe("vm.resume",{id:(0,pe.resolveId)(e)})},n.recoveryStartVm=function(e){return qe("vm.recoveryStart",{id:(0,pe.resolveId)(e)})},n.restartVm=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,de.confirm)({title:(0,ie.default)("restartVmModalTitle"),body:(0,ie.default)("restartVmModalMessage",{name:e.name_label})}).then(function(){return qe("vm.restart",{id:(0,pe.resolveId)(e),force:t})},pe.noop)},n.restartVms=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,de.confirm)({title:(0,ie.default)("restartVmsModalTitle",{vms:e.length}),body:(0,ie.default)("restartVmsModalMessage",{vms:e.length})}).then(function(){return S.default.all((0,B.default)(e,function(e){return qe("vm.restart",{id:(0,pe.resolveId)(e),force:t})}))},pe.noop)},n.cloneVm=function(e){var t=e.id,n=e.name_label,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return qe("vm.clone",{id:t,name:n+"_clone",full_copy:r})},n.copyVm=function(e,t,n,r){return t?(0,de.confirm)({title:(0,ie.default)("copyVm"),body:(0,ie.default)("copyVmConfirm",{SR:t.name_label})}).then(function(){return qe("vm.copy",{vm:e.id,sr:t.id,name:n||e.name_label+"_COPY",compress:r})}):(0,de.confirm)({title:(0,ie.default)("copyVm"),body:(0,b.default)(ge.default,{vm:e})}).then(function(t){return t.sr?void qe("vm.copy",(0,y.default)({vm:e.id},t)):void(0,fe.error)("copyVmsNoTargetSr","copyVmsNoTargetSrMessage")},pe.noop)},n.copyVms=function(e){var t=(0,pe.resolveIds)(e);return(0,de.confirm)({title:(0,ie.default)("copyVm"),body:(0,b.default)(_e.default,{vms:t})}).then(function(e){if(!e.sr)return void(0,fe.error)((0,ie.default)("copyVmsNoTargetSr"),(0,ie.default)("copyVmsNoTargetSrMessage"));var n=e.compress,r=e.names,o=e.sr;S.default.all((0,B.default)(t,function(e,t){return qe("vm.copy",{vm:e,sr:o,compress:n,name:r[t]})}))},pe.noop)},(0,b.default)("div",{},void 0,(0,b.default)("p",{},void 0,"Are you sure you want to convert this VM into a template?"),(0,b.default)("p",{},void 0,"This operation is definitive."))),ut=(n.convertVmToTemplate=function(e){return(0,de.confirm)({title:"Convert to template",body:lt}).then(function(){return qe("vm.convert",{id:(0,pe.resolveId)(e)})},pe.noop)},n.deleteTemplates=function(e){return(0,de.confirm)({title:(0,ie.default)("templateDeleteModalTitle",{templates:e.length}),body:(0,ie.default)("templateDeleteModalBody",{templates:e.length})}).then(function(){return S.default.all((0,B.default)((0,pe.resolveIds)(e),function(e){return qe("vm.delete",{id:e,delete_disks:!0})}))},pe.noop)},n.snapshotVm=function(e){return qe("vm.snapshot",{id:(0,pe.resolveId)(e)})}),ct=(n.snapshotVms=function(e){return(0,de.confirm)({title:(0,ie.default)("snapshotVmsModalTitle",{vms:e.length}),body:(0,ie.default)("snapshotVmsModalMessage",{vms:e.length})}).then(function(){return(0,B.default)(e,function(e){return ut({id:e})})},pe.noop)},n.deleteSnapshot=function(e){return(0,de.confirm)({title:(0,ie.default)("deleteSnapshotModalTitle"),body:(0,ie.default)("deleteSnapshotModalMessage")}).then(function(){return qe("vm.delete",{id:(0,pe.resolveId)(e),delete_disks:!0})},pe.noop)},n.migrateVm=function(e,t){return(0,de.confirm)({title:(0,ie.default)("migrateVmModalTitle"),body:(0,b.default)(we.default,{vm:e,host:t})}).then(function(t){return t.targetHost?void qe("vm.migrate",(0,y.default)({vm:e.id},t)):(0,fe.error)((0,ie.default)("migrateVmNoTargetHost"),(0,ie.default)("migrateVmNoTargetHostMessage"))},pe.noop)},n.migrateVms=function(e){return(0,de.confirm)({title:(0,ie.default)("migrateVmModalTitle"),body:(0,b.default)(Ce.default,{vms:(0,pe.resolveIds)(e)})}).then(function(e){if(!(0,O.default)(e.vms)){if(!e.targetHost)return(0,fe.error)((0,ie.default)("migrateVmNoTargetHost"),(0,ie.default)("migrateVmNoTargetHostMessage"));var t=e.mapVmsMapVdisSrs,n=e.mapVmsMapVifsNetworks,r=e.mapVmsMigrationNetwork,o=e.targetHost,a=e.vms;S.default.all((0,B.default)(a,function(e){var a=e.id;return qe("vm.migrate",{mapVdisSrs:t[a],mapVifsNetworks:n[a],migrationNetwork:r[a],targetHost:o,vm:a})}))}},pe.noop)},n.createVm=function(e){return qe("vm.create",e)},n.createVms=function(e,t){return(0,de.confirm)({title:(0,ie.default)("newVmCreateVms"),body:(0,ie.default)("newVmCreateVmsConfirm",{nbVms:t.length})}).then(function(){return S.default.all((0,B.default)(t,function(t){return qe("vm.create",(0,y.default)({},e,{name_label:t}))}))},pe.noop)},n.getCloudInitConfig=function(e){return qe("vm.getCloudInitConfig",{template:e})},n.deleteVm=function(e){return(0,de.confirm)({title:(0,ie.default)("deleteVmModalTitle"),body:(0,ie.default)("deleteVmModalMessage")}).then(function(){return qe("vm.delete",{id:(0,pe.resolveId)(e),delete_disks:!0})},pe.noop)},n.deleteVms=function(e){return(0,de.confirm)({title:(0,ie.default)("deleteVmsModalTitle",{vms:e.length}),body:(0,ie.default)("deleteVmsModalMessage",{vms:e.length})}).then(function(){return(0,B.default)(e,function(e){return qe("vm.delete",{id:e,delete_disks:!0})})},pe.noop)},n.importBackup=function(e){var t=e.remote,n=e.file,r=e.sr;return qe("vm.importBackup",(0,pe.resolveIds)({remote:t,file:n,sr:r}))},n.importDeltaBackup=function(e){var t=e.remote,n=e.file,r=e.sr;return qe("vm.importDeltaBackup",(0,pe.resolveIds)({remote:t,filePath:n,sr:r}))},(0,b.default)(ke.default,{})),dt=(n.revertSnapshot=function(e){return(0,de.confirm)({title:(0,ie.default)("revertVmModalTitle"),body:ct}).then(function(t){return qe("vm.revert",{id:(0,pe.resolveId)(e),snapshotBefore:t})},pe.noop)},n.editVm=function(e,t){return qe("vm.set",(0,y.default)({},t,{id:(0,pe.resolveId)(e)}))},n.fetchVmStats=function(e,t){return qe("vm.stats",{id:(0,pe.resolveId)(e),granularity:t})},n.importVm=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"xva",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=arguments[3],o=e.name;return(0,fe.info)((0,ie.default)("startVmImport"),o),qe("vm.import",{type:t,data:n,sr:(0,pe.resolveId)(r)}).then(function(t){var n=t.$sendTo,r=X.default.post(n);r.send(e),r.end(function(e,t){e||200!==t.status?(0,fe.error)((0,ie.default)("vmImportFailed"),o):(0,fe.success)((0,ie.default)("vmImportSuccess"),o)})})}),ft=(n.importVms=function(e,t){return S.default.all((0,B.default)(e,function(e){var n=e.file,r=e.type,o=e.data;return dt(n,r,o,t).catch(pe.noop)}))},n.exportVm=function(e){return(0,fe.info)((0,ie.default)("startVmExport"),e.id),qe("vm.export",{vm:(0,pe.resolveId)(e)}).then(function(e){var t=e.$getFrom;window.location="."+t})},n.insertCd=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return qe("vm.insertCd",{id:(0,pe.resolveId)(e),cd_id:(0,pe.resolveId)(t),force:n})},n.ejectCd=function(e){return qe("vm.ejectCd",{id:(0,pe.resolveId)(e)})},n.setVmBootOrder=function(e,t){return qe("vm.setBootOrder",{vm:(0,pe.resolveId)(e),order:t})},n.attachDiskToVm=function(e,t,n){var r=n.bootable,o=n.mode,a=n.position;return qe("vm.attachDisk",{bootable:r,mode:o,position:a&&String(a)||void 0,vdi:(0,pe.resolveId)(e),vm:(0,pe.resolveId)(t)})},n.createDisk=function(e,t,n){return qe("disk.create",{name:e,size:t,sr:(0,pe.resolveId)(n)})},n.editVdi=function(e,t){return qe("vdi.set",(0,y.default)({},t,{id:(0,pe.resolveId)(e)}))},n.deleteVdi=function(e){return(0,de.confirm)({title:(0,ie.default)("deleteVdiModalTitle"),body:(0,ie.default)("deleteVdiModalMessage")}).then(function(){return qe("vdi.delete",{id:(0,pe.resolveId)(e)})},pe.noop)},n.deleteOrphanedVdis=function(e){return(0,de.confirm)({title:(0,ie.default)("removeAllOrphanedObject"),body:(0,b.default)("div",{},void 0,(0,b.default)("p",{},void 0,(0,ie.default)("removeAllOrphanedModalWarning")),(0,b.default)("p",{},void 0,(0,ie.default)("definitiveMessageModal")))}).then(function(){return S.default.all((0,B.default)((0,pe.resolveIds)(e),function(e){return qe("vdi.delete",{id:e})}))},pe.noop)},n.migrateVdi=function(e,t){return qe("vdi.migrate",{id:(0,pe.resolveId)(e),sr_id:(0,pe.resolveId)(t)})},n.connectVbd=function(e){return qe("vbd.connect",{id:(0,pe.resolveId)(e)})},n.disconnectVbd=function(e){return qe("vbd.disconnect",{id:(0,pe.resolveId)(e)})},n.deleteVbd=function(e){return qe("vbd.delete",{id:(0,pe.resolveId)(e)})},n.editVbd=function(e,t){return qe("vbd.set",(0,y.default)({},t,{id:(0,pe.resolveId)(e)}))},n.setBootableVbd=function(e,t){return qe("vbd.setBootable",{vbd:(0,pe.resolveId)(e),bootable:t})},n.createVmInterface=function(e,t,n){return qe("vm.createInterface",(0,pe.resolveIds)({vm:e,network:t,mac:n}))},n.connectVif=function(e){return qe("vif.connect",{id:(0,pe.resolveId)(e)})},n.disconnectVif=function(e){return qe("vif.disconnect",{id:(0,pe.resolveId)(e)})},n.deleteVif=function(e){return qe("vif.delete",{id:(0,pe.resolveId)(e)})},n.setVif=function(e,t){var n=t.network,r=t.mac,o=t.allowedIpv4Addresses,a=t.allowedIpv6Addresses;return qe("vif.set",{id:(0,pe.resolveId)(e),network:(0,pe.resolveId)(n),mac:r,allowedIpv4Addresses:o,allowedIpv6Addresses:a})},n.editNetwork=function(e,t){return qe("network.set",(0,y.default)({},t,{id:(0,pe.resolveId)(e)}))},n.createNetwork=function(e){return(0,de.confirm)({icon:"network",title:(0,ie.default)("newNetworkCreate"),body:(0,
|
82 | b.default)(Ae.default,{container:e})}).then(function(e){return e.name?qe("network.create",e):(0,fe.error)((0,ie.default)("newNetworkNoNameErrorTitle"),(0,ie.default)("newNetworkNoNameErrorMessage"))},pe.noop)},n.getBondModes=function(){return qe("network.getBondModes")},n.createBondedNetwork=function(e){return(0,de.confirm)({icon:"network",title:(0,ie.default)("newBondedNetworkCreate"),body:(0,b.default)(Ne.default,{pool:e.$pool})}).then(function(e){return e.name?qe("network.createBonded",e):(0,fe.error)((0,ie.default)("newNetworkNoNameErrorTitle"),(0,ie.default)("newNetworkNoNameErrorMessage"))},pe.noop)},n.deleteNetwork=function(e){return(0,de.confirm)({title:(0,ie.default)("deleteNetwork"),body:(0,ie.default)("deleteNetworkConfirm")}).then(function(){return qe("network.delete",{network:(0,pe.resolveId)(e)})},pe.noop)},n.connectPif=function(e){return(0,de.confirm)({title:(0,ie.default)("connectPif"),body:(0,ie.default)("connectPifConfirm")}).then(function(){return qe("pif.connect",{pif:(0,pe.resolveId)(e)})},pe.noop)},n.disconnectPif=function(e){return(0,de.confirm)({title:(0,ie.default)("disconnectPif"),body:(0,ie.default)("disconnectPifConfirm")}).then(function(){return qe("pif.disconnect",{pif:(0,pe.resolveId)(e)})},pe.noop)},n.deletePif=function(e){return(0,de.confirm)({title:(0,ie.default)("deletePif"),body:(0,ie.default)("deletePifConfirm")}).then(function(){return qe("pif.delete",{pif:(0,pe.resolveId)(e)})},pe.noop)},n.reconfigurePifIp=function(e,t){var n=t.mode,r=t.ip,o=t.netmask,a=t.gateway,i=t.dns;return qe("pif.reconfigureIp",{pif:(0,pe.resolveId)(e),mode:n,ip:r,netmask:o,gateway:a,dns:i})},n.getIpv4ConfigModes=function(){return qe("pif.getIpv4ConfigurationModes")},n.editPif=function(e,t){var n=t.vlan;return qe("pif.editPif",{pif:(0,pe.resolveId)(e),vlan:n})},(0,b.default)("div",{},void 0,(0,b.default)("p",{},void 0,"Are you sure you want to remove this SR?"),(0,b.default)("p",{},void 0,"This operation is definitive, and ALL DISKS WILL BE LOST FOREVER."))),pt=(n.deleteSr=function(e){return(0,de.confirm)({title:"Delete SR",body:ft}).then(function(){return qe("sr.destroy",{id:(0,pe.resolveId)(e)})},pe.noop)},n.forgetSr=function(e){return(0,de.confirm)({title:(0,ie.default)("srForgetModalTitle"),body:(0,ie.default)("srForgetModalMessage")}).then(function(){return qe("sr.forget",{id:(0,pe.resolveId)(e)})},pe.noop)},n.forgetSrs=function(e){return(0,de.confirm)({title:(0,ie.default)("srsForgetModalTitle"),body:(0,ie.default)("srsForgetModalMessage")}).then(function(){return S.default.all((0,B.default)((0,pe.resolveIds)(e),function(e){return qe("sr.forget",{id:e})}))},pe.noop)},n.reconnectAllHostsSr=function(e){return(0,de.confirm)({title:(0,ie.default)("srReconnectAllModalTitle"),body:(0,ie.default)("srReconnectAllModalMessage")}).then(function(){return qe("sr.connectAllPbds",{id:(0,pe.resolveId)(e)})},pe.noop)},n.reconnectAllHostsSrs=function(e){return(0,de.confirm)({title:(0,ie.default)("srReconnectAllModalTitle"),body:(0,ie.default)("srReconnectAllModalMessage")}).then(function(){return S.default.all((0,pe.resolveIds)(e),function(e){return qe("sr.connectAllPbds",{id:e})})},pe.noop)},n.disconnectAllHostsSr=function(e){return(0,de.confirm)({title:(0,ie.default)("srDisconnectAllModalTitle"),body:(0,ie.default)("srDisconnectAllModalMessage")}).then(function(){return qe("sr.disconnectAllPbds",{id:(0,pe.resolveId)(e)})},pe.noop)},n.disconnectAllHostsSrs=function(e){return(0,de.confirm)({title:(0,ie.default)("srDisconnectAllModalTitle"),body:(0,ie.default)("srsDisconnectAllModalMessage")}).then(function(){return S.default.all((0,pe.resolveIds)(e),function(e){return qe("sr.disconnectAllPbds",{id:e})})},pe.noop)},n.editSr=function(e,t){var n=t.nameDescription,r=t.nameLabel;return qe("sr.set",{id:(0,pe.resolveId)(e),name_description:n,name_label:r})},n.rescanSr=function(e){return qe("sr.scan",{id:(0,pe.resolveId)(e)})},n.rescanSrs=function(e){return S.default.all((0,B.default)((0,pe.resolveIds)(e),function(e){return qe("sr.scan",{id:e})}))},n.connectPbd=function(e){return qe("pbd.connect",{id:(0,pe.resolveId)(e)})},n.disconnectPbd=function(e){return qe("pbd.disconnect",{id:(0,pe.resolveId)(e)})},n.deletePbd=function(e){return qe("pbd.delete",{id:(0,pe.resolveId)(e)})},n.deleteMessage=function(e){return qe("message.delete",{id:(0,pe.resolveId)(e)})},n.addTag=function(e,t){return qe("tag.add",{id:(0,pe.resolveId)(e),tag:t})},n.removeTag=function(e,t){return qe("tag.remove",{id:(0,pe.resolveId)(e),tag:t})},n.cancelTask=function(e){return qe("task.cancel",{id:(0,pe.resolveId)(e)})},n.destroyTask=function(e){return qe("task.destroy",{id:(0,pe.resolveId)(e)})},n.createJob=function(e){var t;return(t=qe("job.create",{job:e}),pe.tap).call(t,He.forceRefresh)},n.deleteJob=function(e){var t;return(t=qe("job.delete",{id:(0,pe.resolveId)(e)}),pe.tap).call(t,He.forceRefresh)},n.editJob=function(e){var t;return(t=qe("job.set",{job:e}),pe.tap).call(t,He.forceRefresh)},n.getJob=function(e){return qe("job.get",{id:e})},n.runJob=function(e){return(0,fe.info)((0,ie.default)("runJob"),(0,ie.default)("runJobVerbose")),qe("job.runSequence",{idSequence:[e]})},n.createSchedule=function(e,t){var n,r=t.cron,o=t.enabled,a=t.name,i=void 0===a?void 0:a,s=t.timezone,l=void 0===s?void 0:s;return(n=qe("schedule.create",{jobId:e,cron:r,enabled:o,name:i,timezone:l}),pe.tap).call(n,Ze.forceRefresh)},n.deleteBackupSchedule=function(){var e=(0,m.default)(p.default.mark(function e(t){return p.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,de.confirm)({title:(0,ie.default)("deleteBackupSchedule"),body:(0,ie.default)("deleteBackupScheduleQuestion")});case 2:return e.next=4,qe("schedule.delete",{id:t.id});case 4:return e.next=6,qe("job.delete",{id:t.job});case 6:Ze.forceRefresh(),He.forceRefresh();case 8:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}(),n.deleteSchedule=function(e){var t;return(t=qe("schedule.delete",{id:(0,pe.resolveId)(e)}),pe.tap).call(t,Ze.forceRefresh)},n.disableSchedule=function(e){var t;return(t=qe("scheduler.disable",{id:e}),pe.tap).call(t,Je.forceRefresh)},n.editSchedule=function(e){var t,n=e.id,r=e.job,o=e.cron,a=e.enabled,i=e.name,s=e.timezone;return(t=qe("schedule.set",{id:n,jobId:r,cron:o,enabled:a,name:i,timezone:s}),pe.tap).call(t,Ze.forceRefresh)},n.enableSchedule=function(e){var t;return(t=qe("scheduler.enable",{id:e}),pe.tap).call(t,Je.forceRefresh)},n.getSchedule=function(e){return qe("schedule.get",{id:e})},n.loadPlugin=function(){var e=(0,m.default)(p.default.mark(function e(t){var n;return p.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(n=(n=qe("plugin.load",{id:t}),pe.tap).call(n,Ye.forceRefresh),pe.rethrow).call(n,function(e){return(0,fe.error)((0,ie.default)("pluginError"),e&&e.message||(0,ie.default)("unknownPluginError"))}));case 1:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}(),n.unloadPlugin=function(e){var t;return(t=(t=qe("plugin.unload",{id:e}),pe.tap).call(t,Ye.forceRefresh),pe.rethrow).call(t,function(e){return(0,fe.error)((0,ie.default)("pluginError"),e&&e.message||(0,ie.default)("unknownPluginError"))})},n.enablePluginAutoload=function(e){var t;return(t=qe("plugin.enableAutoload",{id:e}),pe.tap).call(t,Ye.forceRefresh)},n.disablePluginAutoload=function(e){var t;return(t=qe("plugin.disableAutoload",{id:e}),pe.tap).call(t,Ye.forceRefresh)},n.configurePlugin=function(e,t){var n;return(n=(n=qe("plugin.configure",{id:e,configuration:t}),pe.tap).call(n,function(){(0,fe.info)((0,ie.default)("pluginConfigurationSuccess"),(0,ie.default)("pluginConfigurationChanges")),Ye.forceRefresh()}),pe.rethrow).call(n,function(e){return(0,fe.error)((0,ie.default)("pluginError"),(0,d.default)(e.data)||(0,ie.default)("unknownPluginError"))})},n.purgePluginConfiguration=function(){var e=(0,m.default)(p.default.mark(function e(t){return p.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,de.confirm)({title:(0,ie.default)("purgePluginConfiguration"),body:(0,ie.default)("purgePluginConfigurationQuestion")});case 2:return e.next=4,qe("plugin.purgeConfiguration",{id:t});case 4:Ye.forceRefresh();case 5:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}(),n.testPlugin=function(){var e=(0,m.default)(p.default.mark(function e(t,n){return p.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",qe("plugin.test",{id:t,data:n}));case 1:case"end":return e.stop()}},e,void 0)}));return function(t,n){return e.apply(this,arguments)}}(),n.createResourceSet=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.subjects,o=n.objects,a=n.limits;return(t=qe("resourceSet.create",{name:e,subjects:r,objects:o,limits:a}),pe.tap).call(t,Qe.forceRefresh)},n.editResourceSet=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.name,o=n.subjects,a=n.objects,i=n.limits,s=n.ipPools;return(t=qe("resourceSet.set",{id:e,name:r,subjects:o,objects:a,limits:i,ipPools:s}),pe.tap).call(t,Qe.forceRefresh)},n.deleteResourceSet=function(){var e=(0,m.default)(p.default.mark(function e(t){return p.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,de.confirm)({title:(0,ie.default)("deleteResourceSetWarning"),body:(0,ie.default)("deleteResourceSetQuestion")});case 2:return e.next=4,qe("resourceSet.delete",{id:(0,pe.resolveId)(t)});case 4:Qe.forceRefresh();case 5:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}(),n.recomputeResourceSetsLimits=function(){return qe("resourceSet.recomputeAllLimits")},n.getRemote=function(e){var t;return(t=qe("remote.get",(0,pe.resolveIds)({id:e})),pe.rethrow).call(t,function(e){return(0,fe.error)((0,ie.default)("getRemote"),e.message||String(e))})},n.createRemote=function(e,t){var n;return(n=qe("remote.create",{name:e,url:t}),pe.tap).call(n,$e.forceRefresh)},n.deleteRemote=function(e){var t;return(t=qe("remote.delete",{id:(0,pe.resolveId)(e)}),pe.tap).call(t,$e.forceRefresh)},n.enableRemote=function(e){var t;return(t=qe("remote.set",{id:(0,pe.resolveId)(e),enabled:!0}),pe.tap).call(t,$e.forceRefresh)},n.disableRemote=function(e){var t;return(t=qe("remote.set",{id:(0,pe.resolveId)(e),enabled:!1}),pe.tap).call(t,$e.forceRefresh)},n.editRemote=function(e,t){var n,r=t.name,o=t.url;return(n=qe("remote.set",(0,pe.resolveIds)({remote:e,name:r,url:o})),pe.tap).call(n,$e.forceRefresh)},n.listRemote=function(e){var t;return(t=(t=qe("remote.list",(0,pe.resolveIds)({id:e})),pe.tap).call(t,$e.forceRefresh),pe.rethrow).call(t,function(e){return(0,fe.error)((0,ie.default)("listRemote"),e.message||String(e))})},n.listRemoteBackups=function(e){var t;return(t=qe("backup.list",(0,pe.resolveIds)({remote:e})),pe.rethrow).call(t,function(e){return(0,fe.error)((0,ie.default)("listRemote"),e.message||String(e))})},n.testRemote=function(e){var t;return(t=qe("remote.test",(0,pe.resolveIds)({id:e})),pe.rethrow).call(t,function(e){return(0,fe.error)((0,ie.default)("testRemote"),e.message||String(e))})},n.scanDisk=function(e,t){return qe("backup.scanDisk",(0,pe.resolveIds)({remote:e,disk:t}))},n.scanFiles=function(e,t,n,r){return qe("backup.scanFiles",(0,pe.resolveIds)({remote:e,disk:t,path:n,partition:r}))},n.fetchFiles=function(e,t,n,r,o){return qe("backup.fetchFiles",(0,pe.resolveIds)({remote:e,disk:t,partition:n,paths:r,format:o})).then(function(e){var t=e.$getFrom;window.location="."+t})},n.probeSrNfs=function(e,t){return qe("sr.probeNfs",{host:e,server:t})},n.probeSrNfsExists=function(e,t,n){return qe("sr.probeNfsExists",{host:e,server:t,serverPath:n})},n.probeSrIscsiIqns=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,o=arguments[4],a={host:e,target:t};return n&&(a.port=n),r&&(a.chapUser=r),o&&(a.chapPassword=o),qe("sr.probeIscsiIqns",a)},n.probeSrIscsiLuns=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,o=arguments[4],a={host:e,target:t,targetIqn:n};return r&&(a.chapUser=r),o&&(a.chapPassword=o),qe("sr.probeIscsiLuns",a)},n.probeSrIscsiExists=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:void 0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:void 0,i=arguments[6],s={host:e,target:t,targetIqn:n,scsiId:r};return o&&(s.port=o),a&&(s.chapUser=a),i&&(s.chapPassword=i),qe("sr.probeIscsiExists",s)},n.reattachSr=function(e,t,n,r,o){return qe("sr.reattach",{host:e,uuid:t,nameLabel:n,nameDescription:r,type:o})},n.reattachSrIso=function(e,t,n,r,o){return qe("sr.reattachIso",{host:e,uuid:t,nameLabel:n,nameDescription:r,type:o})},n.createSrNfs=function(e,t,n,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:void 0,i={host:e,nameLabel:t,nameDescription:n,server:r,serverPath:o};return a&&(i.nfsVersion=a),qe("sr.createNfs",i)},n.createSrIscsi=function(e,t,n,r,o,a){var i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:void 0,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:void 0,l=arguments.length>8&&void 0!==arguments[8]?arguments[8]:void 0,u={host:e,nameLabel:t,nameDescription:n,target:r,targetIqn:o,scsiId:a};return i&&(u.port=i),s&&(u.chapUser=s),l&&(u.chapPassword=l),qe("sr.createIscsi",u)},n.createSrIso=function(e,t,n,r,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:void 0,i=arguments.length>6&&void 0!==arguments[6]?arguments[6]:void 0,s={host:e,nameLabel:t,nameDescription:n,path:r,type:o};return a&&(s.user=a),i&&(s.password=i),qe("sr.createIso",s)},n.createSrLvm=function(e,t,n,r){return qe("sr.createLvm",{host:e,nameLabel:t,nameDescription:n,device:r})},n.deleteJobsLog=function(e){var t;return(t=qe("log.delete",{namespace:"jobs",id:e}),pe.tap).call(t,Xe.forceRefresh)},n.deleteApiLog=function(e){var t;return(t=qe("log.delete",{namespace:"api",id:e}),pe.tap).call(t,Ke.forceRefresh)},n.addAcl=function(e){var t,n=e.subject,r=e.object,o=e.action;return(t=(t=qe("acl.add",(0,pe.resolveIds)({subject:n,object:r,action:o})),pe.tap).call(t,We.forceRefresh),pe.rethrow).call(t,function(e){return(0,fe.error)("Add ACL",e.message||String(e))})},n.removeAcl=function(e){var t,n=e.subject,r=e.object,o=e.action;return(t=(t=qe("acl.remove",(0,pe.resolveIds)({subject:n,object:r,action:o})),pe.tap).call(t,We.forceRefresh),pe.rethrow).call(t,function(e){return(0,fe.error)("Remove ACL",e.message||String(e))})},n.editAcl=function(e,t){var n,r=e.subject,o=e.object,a=e.action,i=t.subject,s=void 0===i?r:i,l=t.object,u=void 0===l?o:l,c=t.action,d=void 0===c?a:c;return(n=(n=qe("acl.remove",(0,pe.resolveIds)({subject:r,object:o,action:a})).then(function(){return qe("acl.add",(0,pe.resolveIds)({subject:s,object:u,action:d}))}),pe.tap).call(n,We.forceRefresh),pe.rethrow).call(n,function(e){return(0,fe.error)("Edit ACL",e.message||String(e))})},n.createGroup=function(e){var t;return(t=(t=qe("group.create",{name:e}),pe.tap).call(t,nt.forceRefresh),pe.rethrow).call(t,function(e){return(0,fe.error)((0,ie.default)("createGroup"),e.message||String(e))})},n.setGroupName=function(e,t){var n;return(n=qe("group.set",(0,pe.resolveIds)({group:e,name:t})),pe.tap).call(n,nt.forceRefresh)},n.deleteGroup=function(e){var t;return(t=(t=(0,de.confirm)({title:(0,ie.default)("deleteGroup"),body:(0,b.default)("p",{},void 0,(0,ie.default)("deleteGroupConfirm"))}).then(function(){return qe("group.delete",(0,pe.resolveIds)({id:e}))}),pe.tap).call(t,nt.forceRefresh),pe.rethrow).call(t,function(e){return(0,fe.error)((0,ie.default)("deleteGroup"),e.message||String(e))})},n.removeUserFromGroup=function(e,t){var n;return(n=(n=qe("group.removeUser",(0,pe.resolveIds)({id:t,userId:e})),pe.tap).call(n,nt.forceRefresh),pe.rethrow).call(n,function(e){return(0,fe.error)((0,ie.default)("removeUserFromGroup"),e.message||String(e))})},n.addUserToGroup=function(e,t){var n;return(n=(n=qe("group.addUser",(0,pe.resolveIds)({id:t,userId:e})),pe.tap).call(n,nt.forceRefresh),pe.rethrow).call(n,function(e){return(0,fe.error)("Add User",e.message||String(e))})},n.createUser=function(e,t,n){var r;return(r=(r=qe("user.create",{email:e,password:t,permission:n}),pe.tap).call(r,tt.forceRefresh),pe.rethrow).call(r,function(e){return(0,fe.error)("Create user",e.message||String(e))})},n.deleteUser=function(e){return(0,de.confirm)({title:(0,ie.default)("deleteUser"),body:(0,b.default)("p",{},void 0,(0,ie.default)("deleteUserConfirm"))}).then(function(){var t;return(t=(t=qe("user.delete",{id:(0,pe.resolveId)(e)}),pe.tap).call(t,tt.forceRefresh),pe.rethrow).call(t,function(e){return(0,fe.error)((0,ie.default)("deleteUser"),e.message||String(e))})})},n.editUser=function(e,t){var n,r=t.email,o=t.password,a=t.permission;return(n=qe("user.set",{id:(0,pe.resolveId)(e),email:r,password:o,permission:a}),pe.tap).call(n,tt.forceRefresh)},n.changePassword=function(e,t){return qe("user.changePassword",{oldPassword:e,newPassword:t}).then(function(){return(0,fe.success)((0,ie.default)("pwdChangeSuccess"),(0,ie.default)("pwdChangeSuccessBody"))},function(){return(0,fe.error)((0,ie.default)("pwdChangeError"),(0,ie.default)("pwdChangeErrorBody"))})},function(e){var t;return(t=qe("user.set",{id:Be.user.id,preferences:e}),pe.tap).call(t,Ue.forceRefresh)}),ht=(0,b.default)(Ee.default,{});n.addSshKey=function(e){var t=Be.user.preferences,n=t&&t.sshKeys||[];return e?pt({sshKeys:[].concat((0,u.default)(n),[e])}):(0,de.confirm)({icon:"ssh-key",title:(0,ie.default)("newSshKeyModalTitle"),body:ht}).then(function(e){return e.title&&e.key?pt({sshKeys:[].concat((0,u.default)(n),[e])}):void(0,fe.error)((0,ie.default)("sshKeyErrorTitle"),(0,ie.default)("sshKeyErrorMessage"))},pe.noop)},n.deleteSshKey=function(e){return(0,de.confirm)({title:(0,ie.default)("deleteSshKeyConfirm"),body:(0,ie.default)("deleteSshKeyConfirmMessage",{title:(0,b.default)("strong",{},void 0,e.title)})}).then(function(){var t=Be.user.preferences;return pt({sshKeys:(0,j.default)(t&&t.sshKeys,function(t){return!(0,z.default)(t,e)})})},pe.noop)},n.addCustomFilter=function(e,t){var n=Be.user;return(0,de.confirm)({title:(0,ie.default)("saveNewFilterTitle"),body:(0,b.default)(Re.default,{user:n,type:e,value:t})}).then(function(r){if(0===r.length)return(0,fe.error)((0,ie.default)("saveNewUserFilterErrorTitle"),(0,ie.default)("saveNewUserFilterErrorBody"));var o=n.preferences,a=o&&o.filters||{};return pt({filters:(0,y.default)({},a,(0,s.default)({},e,(0,y.default)({},a[e],(0,s.default)({},r,t))))})})},n.removeCustomFilter=function(e,t){return(0,de.confirm)({title:(0,ie.default)("removeUserFilterTitle"),body:(0,b.default)("p",{},void 0,(0,ie.default)("removeUserFilterBody"))}).then(function(){var n=Be.user,r=n.preferences.filters;return pt({filters:(0,y.default)({},r,(0,s.default)({},e,(0,y.default)({},r[e],(0,s.default)({},t,void 0))))})})},n.editCustomFilter=function(e,t,n){var r,o=n.newName,a=void 0===o?t:o,i=n.newValue,l=Be.user.preferences.filters;return pt({filters:(0,y.default)({},l,(0,s.default)({},e,(0,y.default)({},l[e],(r={},(0,s.default)(r,t,void 0),(0,s.default)(r,a,i||l[e][t]),r))))})},n.setDefaultHomeFilter=function(e,t){var n=Be.user,r=n.preferences,o=r&&r.defaultHomeFilters||{};return pt({defaultHomeFilters:(0,y.default)({},o,(0,s.default)({},e,t))})},n.createIpPool=function(e){var t,n=e.name,r=e.ips,o=e.networks,a={};return(0,D.default)(r,function(e){a[e]={}}),(t=qe("ipPool.create",{name:n,addresses:a,networks:(0,pe.resolveIds)(o)}),pe.tap).call(t,rt.forceRefresh)},n.deleteIpPool=function(e){var t;return(t=qe("ipPool.delete",{id:(0,pe.resolveId)(e)}),pe.tap).call(t,rt.forceRefresh)},n.setIpPool=function(e,t){var n,r=t.name,o=t.addresses,a=t.networks;return(n=qe("ipPool.set",{id:(0,pe.resolveId)(e),name:r,addresses:o,networks:(0,pe.resolveIds)(a)}),pe.tap).call(n,rt.forceRefresh)},n.getVolumeInfo=function(e){return qe("xosan.getVolumeInfo",{sr:e})},n.createXosanSR=function(e){var t=e.template,n=e.pif,r=e.vlan,o=e.srs,i=e.glusterType,s=e.redundancy;return qe("xosan.createSR",{template:t,pif:n.id,vlan:String(r),srs:(0,pe.resolveIds)(o),glusterType:i,redundancy:(0,a.default)(s)})},n.computeXosanPossibleOptions=function(e){return qe("xosan.computeXosanPossibleOptions",{lvmSrs:e})},n.downloadAndInstallXosanPack=function(e){return(0,de.confirm)({title:(0,ie.default)("xosanInstallPackTitle",{pool:e.name_label}),icon:"export",body:(0,b.default)(Le.default,{pool:e})}).then(function(t){return qe("xosan.downloadAndInstallXosanPack",{id:t.id,version:t.version,pool:(0,pe.resolveId)(e)})})},n.registerXosan=function(e){return qe("cloud.registerResource",{namespace:"xosan"})}},{"../intl":1436,"../invoke":1446,"../log-error":1460,"../modal":1461,"../notification":1463,"../store/actions":1477,"../utils":1490,"./add-host-modal":1513,"./add-user-filter-modal":1514,"./copy-vm-modal":1515,"./copy-vms-modal":1516,"./create-bonded-network-modal":1517,"./create-network-modal":1518,"./install-xosan-pack-modal":1520,"./migrate-vm-modal":1522,"./migrate-vms-modal":1523,"./new-ssh-key-modal":1524,"./revert-snapshot-modal":1525,asap:2,"babel-runtime/core-js/json/stringify":7,"babel-runtime/core-js/number/parse-int":8,"babel-runtime/core-js/object/create":10,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/asyncToGenerator":21,"babel-runtime/helpers/defineProperty":24,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/toConsumableArray":32,"babel-runtime/regenerator":147,"cookies-js":193,"jsonrpc-websocket-client":376,"lodash/assign":690,"lodash/filter":709,"lodash/forEach":716,"lodash/fp/sortBy":723,"lodash/isEmpty":735,"lodash/isEqual":736,"lodash/map":754,"lodash/once":762,"lodash/size":772,"lodash/sortBy":775,"lodash/throttle":782,"promise-toolbox":829,react:1269,superagent:1344,url:1365,"xo-common/api-errors":1394,"xo-lib":1396}],1520:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("lodash/some"),y=r(g),_=e("lodash/map"),M=r(_),w=e("lodash/forEach"),S=r(w),C=e("lodash/filter"),x=r(C),k=e("lodash/every"),T=r(k),A=e("intl"),P=r(A),N=e("base-component"),O=r(N),E=e("react"),z=(r(E),e("utils")),R=e("xo"),j=e("selectors"),L=e("semver"),D=function(e,t){var n=function(e){return(0,T.default)(t,function(t){return(0,L.satisfies)(t,e)})},r={version:"0"};if((0,S.default)(e,function(e){var t=e.requirements&&e.requirements.xenserver;"iso"===e.type&&(0,z.compareVersions)(e.version,r.version)>0&&(!t||n(t))&&(r=e)}),"0"!==r.version)return r},I=(o=(0,z.connectStore)(function(){return{hosts:(0,j.createGetObjectsOfType)("host").filter((0,j.createSelector)(function(e,t){var n=t.pool;return null!=n&&n.id},function(e){return!!e&&function(t){return t.$pool===e&&!(0,y.default)(t.supplementalPacks,z.isXosanPack)}}))}},{withRef:!0}),o(a=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,u.default)(t)).call.apply(e,[this].concat(i))),r._getXosanLatestPack=(0,j.createSelector)(function(){return r.state.catalog&&r.state.catalog.xosan},(0,j.createSelector)(function(){return r.props.hosts},(0,j.createCollectionWrapper)(function(e){return(0,M.default)(e,"version")})),D),r._getXosanPacks=(0,j.createSelector)(function(){return r.state.catalog&&r.state.catalog.xosan},function(e){return(0,x.default)(e,function(e){var t=e.type;return"iso"===t})}),o=n,(0,m.default)(r,o)}return(0,b.default)(t,e),(0,p.default)(t,[{key:"componentDidMount",value:function(){var e=this;this._unsubscribePlugins=(0,R.subscribePlugins)(function(t){return e.setState({plugins:t})}),this._unsubscribeResourceCatalog=(0,R.subscribeResourceCatalog)(function(t){return e.setState({catalog:t})})}},{key:"componentWillUnmount",value:function(){this._unsubscribePlugins(),this._unsubscribeResourceCatalog()}},{key:"render",value:function(){var e=this.props.hosts,t=this._getXosanLatestPack();return(0,s.default)("div",{},void 0,t?(0,s.default)("div",{},void 0,(0,P.default)("xosanInstallPackOnHosts"),(0,s.default)("ul",{},void 0,(0,M.default)(e,function(e){return(0,s.default)("li",{},e.id,e.name_label)})),(0,s.default)("div",{className:"mt-1"},void 0,(0,P.default)("xosanInstallPack",{pack:t.name,version:t.version}))):(0,s.default)("div",{},void 0,(0,s.default)("p",{},void 0,(0,P.default)("xosanNoPackFound")),(0,s.default)("p",{},void 0,(0,P.default)("xosanPackRequirements"),(0,s.default)("ul",{},void 0,(0,M.default)(this._getXosanPacks(),function(e){var t=e.name,n=e.requirements;return(0,s.default)("li",{},void 0,t,": ",(0,s.default)("strong",{},void 0,n&&n.xenserver?n.xenserver:"/"))})))))}},{key:"value",get:function(){return this._getXosanLatestPack()}}]),t}(O.default))||a);n.default=I},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,intl:1436,"lodash/every":708,"lodash/filter":709,"lodash/forEach":716,"lodash/map":754,"lodash/some":774,react:1269,selectors:1470,semver:1293,utils:1490,xo:1519}],1521:[function(e,t,n){t.exports={listTitle:"mc9c3d73b2_listTitle",listItem:"mc9c3d73b2_listItem",block:"mc9c3d73b2_block",groupBlock:"mc9c3d73b2_groupBlock"}},{}],1522:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/defineProperty"),s=r(i),l=e("babel-runtime/helpers/extends"),u=r(l),c=e("babel-runtime/helpers/jsx"),d=r(c),f=e("babel-runtime/core-js/object/get-prototype-of"),p=r(f),h=e("babel-runtime/helpers/classCallCheck"),m=r(h),v=e("babel-runtime/helpers/createClass"),b=r(v),g=e("babel-runtime/helpers/possibleConstructorReturn"),y=r(g),_=e("babel-runtime/helpers/inherits"),M=r(_),w=e("base-component"),S=r(w),C=e("lodash/every"),x=r(C),k=e("lodash/forEach"),T=r(k),A=e("lodash/find"),P=r(A),N=e("lodash/map"),O=r(N),E=e("lodash/mapValues"),z=r(E),R=e("react"),j=(r(R),e("store")),L=r(j),D=e("../../intl"),I=r(D),B=e("../../invoke"),V=r(B),q=e("../../single-line-row"),F=r(q),U=e("../../grid"),W=e("../utils"),H=e("../../select-objects"),X=e("../../utils"),K=e("../../selectors"),G=e("xo"),Y=e("../"),$=e("./index.css"),Q=r($),J=(0,d.default)("br",{}),Z=(0,d.default)("br",{}),ee=(o=(0,X.connectStore)(function(){var e=function(e,t){return t.vm},t=(0,K.createGetObjectsOfType)("VBD").pick(function(t,n){return e(t,n).$VBDs}).sort(),n=(0,K.createGetObjectsOfType)("VDI").pick((0,K.createSelector)(t,function(e){return(0,X.mapPlus)(e,function(e,t){!e.is_cd_drive&&e.VDI&&t(e.VDI)})})),r=(0,K.createGetObjectsOfType)("VIF").pick((0,K.createSelector)(e,function(e){return e.VIFs})).sort(),o=(0,K.createGetObjectsOfType)("PIF"),a=(0,K.createGetObjectsOfType)("network"),i=(0,K.createGetObjectsOfType)("pool");return{networks:a,pifs:o,pools:i,vbds:t,vdis:n,vifs:r}},{withRef:!0}),o(a=function(e){function t(e){(0,m.default)(this,t);var n=(0,y.default)(this,(t.__proto__||(0,p.default)(t)).call(this,e));return n._selectHost=function(e){if(!e)return void n.setState({host:void 0,intraPool:void 0});var t=n.props,r=t.pools,o=t.vbds,a=t.vdis,i=t.vm,s=i.$pool===e.$pool,l=r[e.$pool].default_SR;if(s){var u=void 0;return i.$container===e.id?u=!0:!function(){var e={};(0,T.default)(o,function(t){null!=t.VDI&&(e[t.VDI]=(0,G.isSrShared)(n._getObject(n._getObject(t.VDI).$SR)))}),u=(0,x.default)(e)}(),void n.setState({doNotMigrateVdis:u,host:e,intraPool:s,mapVdisSrs:u?void 0:(0,z.default)(a,function(e){return l}),mapVifsNetworks:void 0,migrationNetwork:void 0})}var c=n.props,d=c.networks,f=c.pifs,p=c.vifs,h=(0,P.default)(f,function(t){return t.$host===e.id&&t.management}).$network,m=(0,V.default)(function(){var t=(0,P.default)(e.$PIFs,function(e){return f[e].ip}),n=t&&f[t];return n&&n.$network}),v={};(0,T.default)(p,function(t){v[t.id]=(0,W.getDefaultNetworkForVif)(t,e,f,d)||m}),n.setState({doNotMigrateVdis:!1,host:e,intraPool:s,mapVdisSrs:(0,z.default)(a,function(e){return l}),mapVifsNetworks:v,migrationNetworkId:h})},n._selectMigrationNetwork=function(e){return n.setState({migrationNetworkId:e.id})},n.state={mapVdisSrs:{},mapVifsNetworks:{}},n._getHostPredicate=(0,K.createSelector)(function(){return n.props.vm},function(e){var t=e.$container;return function(e){return e.id!==t}}),n._getSrPredicate=(0,K.createSelector)(function(){return n.state.host},function(e){return!!e&&function(t){return(0,Y.isSrWritable)(t)&&(t.$container===e.id||t.$container===e.$pool)}}),n._getTargetNetworkPredicate=(0,K.createSelector)((0,K.createPicker)(function(){return n.props.pifs},function(){return n.state.host.$PIFs}),function(e){if(!e)return!1;var t={};return(0,T.default)(e,function(e){t[e.$network]=!0}),function(e){return t[e.id]}}),n._getMigrationNetworkPredicate=(0,K.createSelector)((0,K.createPicker)(function(){return n.props.pifs},function(){return n.state.host.$PIFs}),function(e){if(!e)return!1;var t={};return(0,T.default)(e,function(e){e.ip&&(t[e.$network]=!0)}),function(e){return t[e.id]}}),n}return(0,M.default)(t,e),(0,b.default)(t,[{key:"componentDidMount",value:function(){this._selectHost(this.props.host)}},{key:"_getObject",value:function(e){return(0,K.getObject)(L.default.getState(),e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.vdis,r=t.vifs,o=t.networks,a=this.state,i=a.doNotMigrateVdis,l=a.host,c=a.intraPool,f=a.mapVdisSrs,p=a.mapVifsNetworks,h=a.migrationNetworkId;return(0,d.default)("div",{},void 0,(0,d.default)("div",{className:Q.default.block},void 0,(0,d.default)(F.default,{},void 0,(0,d.default)(U.Col,{size:6},void 0,(0,I.default)("migrateVmSelectHost")),(0,d.default)(U.Col,{size:6},void 0,(0,d.default)(H.SelectHost,{onChange:this._selectHost,predicate:this._getHostPredicate(),value:l})))),l&&!i&&(0,d.default)("div",{className:Q.default.groupBlock},void 0,(0,d.default)(F.default,{},void 0,(0,d.default)(U.Col,{},void 0,(0,I.default)("migrateVmSelectSrs"))),J,(0,d.default)(F.default,{},void 0,(0,d.default)(U.Col,{size:6},void 0,(0,d.default)("span",{className:Q.default.listTitle},void 0,(0,I.default)("migrateVmName"))),(0,d.default)(U.Col,{size:6},void 0,(0,d.default)("span",{className:Q.default.listTitle},void 0,(0,I.default)("migrateVmSr")))),(0,O.default)(n,function(t){return(0,d.default)("div",{className:Q.default.listItem},t.id,(0,d.default)(F.default,{},void 0,(0,d.default)(U.Col,{size:6},void 0,t.name_label),(0,d.default)(U.Col,{size:6},void 0,(0,d.default)(H.SelectSr,{onChange:function(n){return e.setState({mapVdisSrs:(0,u.default)({},f,(0,s.default)({},t.id,n.id))})},predicate:e._getSrPredicate(),value:f[t.id]}))))})),void 0!==c&&!c&&(0,d.default)("div",{},void 0,(0,d.default)("div",{className:Q.default.groupBlock},void 0,(0,d.default)(F.default,{},void 0,(0,d.default)(U.Col,{size:6},void 0,(0,I.default)("migrateVmSelectMigrationNetwork")),(0,d.default)(U.Col,{size:6},void 0,(0,d.default)(H.SelectNetwork,{onChange:this._selectMigrationNetwork,predicate:this._getMigrationNetworkPredicate(),value:h})))),(0,d.default)("div",{className:Q.default.groupBlock},void 0,(0,d.default)(F.default,{},void 0,(0,d.default)(U.Col,{},void 0,(0,I.default)("migrateVmSelectNetworks"))),Z,(0,d.default)(F.default,{},void 0,(0,d.default)(U.Col,{size:6},void 0,(0,d.default)("span",{className:Q.default.listTitle},void 0,(0,I.default)("migrateVmVif"))),(0,d.default)(U.Col,{size:6},void 0,(0,d.default)("span",{className:Q.default.listTitle},void 0,(0,I.default)("migrateVmNetwork")))),(0,O.default)(r,function(t){
|
83 | return(0,d.default)("div",{className:Q.default.listItem},t.id,(0,d.default)(F.default,{},void 0,(0,d.default)(U.Col,{size:6},void 0,t.MAC," (",o[t.$network].name_label,")"),(0,d.default)(U.Col,{size:6},void 0,(0,d.default)(H.SelectNetwork,{onChange:function(n){return e.setState({mapVifsNetworks:(0,u.default)({},p,(0,s.default)({},t.id,n.id))})},predicate:e._getTargetNetworkPredicate(),value:p[t.id]}))))}))))}},{key:"value",get:function(){return{targetHost:this.state.host&&this.state.host.id,mapVdisSrs:this.state.mapVdisSrs,mapVifsNetworks:this.state.mapVifsNetworks,migrationNetwork:this.state.migrationNetworkId}}}]),t}(S.default))||a);n.default=ee},{"../":1519,"../../grid":1431,"../../intl":1436,"../../invoke":1446,"../../select-objects":1469,"../../selectors":1470,"../../single-line-row":1473,"../../utils":1490,"../utils":1526,"./index.css":1521,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/defineProperty":24,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,"lodash/every":708,"lodash/find":710,"lodash/forEach":716,"lodash/map":754,"lodash/mapValues":756,react:1269,store:1479,xo:1519}],1523:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("base-component"),y=r(g),_=e("lodash/every"),M=r(_),w=e("lodash/flatten"),S=r(w),C=e("lodash/forEach"),x=r(C),k=e("lodash/filter"),T=r(k),A=e("lodash/find"),P=r(A),N=e("lodash/isEmpty"),O=r(N),E=e("lodash/map"),z=r(E),R=e("lodash/mapValues"),j=r(R),L=e("react"),D=(r(L),e("lodash/some")),I=r(D),B=e("store"),V=r(B),q=e("../../intl"),F=r(q),U=e("../../invoke"),W=r(U),H=e("../../single-line-row"),X=r(H),K=e("../../grid"),G=e("../utils"),Y=e("../../select-objects"),$=e("../../utils"),Q=e("../../selectors"),J=e("xo"),Z=e("../"),ee={paddingBottom:"1em"},te=(o=(0,$.connectStore)(function(){var e=(0,Q.createGetObjectsOfType)("network"),t=(0,Q.createGetObjectsOfType)("PIF"),n=(0,Q.createGetObjectsOfType)("pool"),r=(0,Q.createGetObjectsOfType)("VM").pick(function(e,t){return t.vms}),o=(0,Q.createGetObjectsOfType)("VBD").pick((0,Q.createSelector)(r,function(e){return(0,S.default)((0,z.default)(e,function(e){return e.$VBDs}))})).groupBy("VM"),a=(0,Q.createGetObjectsOfType)("VIF").pick((0,Q.createSelector)(r,function(e){return(0,S.default)((0,z.default)(e,function(e){return e.VIFs}))})).groupBy("$VM");return{networks:e,pifs:t,pools:n,vbdsByVm:o,vifsByVm:a,vms:r}},{withRef:!0}),o(a=function(e){function t(e){(0,d.default)(this,t);var n=(0,m.default)(this,(t.__proto__||(0,u.default)(t)).call(this,e));return n._selectHost=function(e){if(!e)return void n.setState({targetHost:void 0});var t=n.props,r=t.pools,o=t.pifs,a=(0,P.default)(o,function(t){return t.$host===e.id&&t.management}).$network,i=r[e.$pool].default_SR,s={},l={};(0,x.default)(n.props.vbdsByVm,function(t,r){if(n._getObject(r).$container===e.id)return void(s[r]=!0);var o={};(0,x.default)(t,function(e){null!=e.VDI&&(l[e.VDI]=o[e.VDI]=(0,J.isSrShared)(n._getObject(n._getObject(e.VDI).$SR)))}),s[r]=(0,M.default)(o)});var u=(0,M.default)(s);n.setState({host:e,intraPool:(0,M.default)(n.props.vms,function(t){return t.$pool===e.$pool}),doNotMigrateVdi:l,doNotMigrateVmVdis:s,migrationNetworkId:a,networkId:a,noVdisMigration:u,smartVifMapping:!0,srId:i})},n._selectMigrationNetwork=function(e){return n.setState({migrationNetworkId:e.id})},n._selectNetwork=function(e){return n.setState({networkId:e.id})},n._selectSr=function(e){return n.setState({srId:e.id})},n._toggleSmartVifMapping=function(){return n.setState({smartVifMapping:!n.state.smartVifMapping})},n._getHostPredicate=(0,Q.createSelector)(function(){return n.props.vms},function(e){return function(t){return(0,I.default)(e,function(e){return t.id!==e.$container})}}),n._getSrPredicate=(0,Q.createSelector)(function(){return n.state.host},function(e){return!!e&&function(t){return(0,Z.isSrWritable)(t)&&(t.$container===e.id||t.$container===e.$pool)}}),n._getTargetNetworkPredicate=(0,Q.createSelector)((0,Q.createPicker)(function(){return n.props.pifs},function(){return n.state.host.$PIFs}),function(e){if(!e)return!1;var t={};return(0,x.default)(e,function(e){t[e.$network]=!0}),function(e){return t[e.id]}}),n._getMigrationNetworkPredicate=(0,Q.createSelector)((0,Q.createPicker)(function(){return n.props.pifs},function(){return n.state.host.$PIFs}),function(e){if(!e)return!1;var t={};return(0,x.default)(e,function(e){e.ip&&(t[e.$network]=!0)}),function(e){return t[e.id]}}),n}return(0,b.default)(t,e),(0,p.default)(t,[{key:"componentDidMount",value:function(){this._selectHost(this.props.host)}},{key:"_getObject",value:function(e){return(0,Q.getObject)(V.default.getState(),e)}},{key:"render",value:function(){var e=this.state,t=e.host,n=e.intraPool,r=e.migrationNetworkId,o=e.networkId,a=e.noVdisMigration,i=e.smartVifMapping,l=e.srId;return(0,s.default)("div",{},void 0,(0,s.default)("div",{style:ee},void 0,(0,s.default)(X.default,{},void 0,(0,s.default)(K.Col,{size:6},void 0,(0,F.default)("migrateVmSelectHost")),(0,s.default)(K.Col,{size:6},void 0,(0,s.default)(Y.SelectHost,{onChange:this._selectHost,predicate:this._getHostPredicate(),value:t})))),n===!1&&(0,s.default)("div",{style:ee},void 0,(0,s.default)(X.default,{},void 0,(0,s.default)(K.Col,{size:6},void 0,(0,F.default)("migrateVmSelectMigrationNetwork")),(0,s.default)(K.Col,{size:6},void 0,(0,s.default)(Y.SelectNetwork,{onChange:this._selectMigrationNetwork,predicate:this._getMigrationNetworkPredicate(),value:r})))),t&&(!n||!a)&&(0,s.default)("div",{style:ee},"sr",(0,s.default)(X.default,{},void 0,(0,s.default)(K.Col,{size:6},void 0,n?(0,F.default)("migrateVmsSelectSrIntraPool"):(0,F.default)("migrateVmsSelectSr")),(0,s.default)(K.Col,{size:6},void 0,(0,s.default)(Y.SelectSr,{onChange:this._selectSr,predicate:this._getSrPredicate(),value:l})))),t&&!n&&(0,s.default)("div",{style:ee},"network",(0,s.default)(X.default,{},void 0,(0,s.default)(K.Col,{size:6},void 0,(0,F.default)("migrateVmsSelectNetwork")),(0,s.default)(K.Col,{size:6},void 0,(0,s.default)(Y.SelectNetwork,{disabled:i,onChange:this._selectNetwork,predicate:this._getTargetNetworkPredicate(),value:o}))),(0,s.default)(X.default,{},void 0,(0,s.default)(K.Col,{size:6,offset:6},void 0,(0,s.default)("input",{type:"checkbox",onChange:this._toggleSmartVifMapping,checked:i})," ",(0,F.default)("migrateVmsSmartMapping")))))}},{key:"value",get:function(){var e=this,t=this.state.host,n=(0,T.default)(this.props.vms,function(e){return e.$container!==t.id});if(!t||(0,O.default)(n))return{vms:n};var r=this.props,o=r.networks,a=r.pifs,i=r.vbdsByVm,s=r.vifsByVm,l=this.state,u=l.intraPool,c=l.doNotMigrateVdi,d=l.doNotMigrateVmVdis,f=l.migrationNetworkId,p=l.networkId,h=l.smartVifMapping,m=l.srId,v={};(0,x.default)(i,function(t,n){if(!d[n]){var r={};(0,x.default)(t,function(t){var n=t.VDI;!t.is_cd_drive&&n&&(r[n]=u&&c[n]?e._getObject(n).SR:m)}),v[n]=r}});var b=h&&(0,W.default)(function(){var e=(0,P.default)(t.$PIFs,function(e){return a[e].ip}),n=e&&a[e];return n&&n.$network}),g={};(0,x.default)(n,function(e){if(e.$pool!==t.$pool){var n={};(0,x.default)(s[e.id],function(e){n[e.id]=h?(0,G.getDefaultNetworkForVif)(e,t,a,o)||b:p}),g[e.id]=n}});var y=(0,j.default)(d,function(e){return e?void 0:f});return{mapVmsMapVdisSrs:v,mapVmsMapVifsNetworks:g,mapVmsMigrationNetwork:y,targetHost:t.id,vms:n}}}]),t}(y.default))||a);n.default=te},{"../":1519,"../../grid":1431,"../../intl":1436,"../../invoke":1446,"../../select-objects":1469,"../../selectors":1470,"../../single-line-row":1473,"../../utils":1490,"../utils":1526,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,"lodash/every":708,"lodash/filter":709,"lodash/find":710,"lodash/flatten":714,"lodash/forEach":716,"lodash/isEmpty":735,"lodash/map":754,"lodash/mapValues":756,"lodash/some":774,react:1269,store:1479,xo:1519}],1524:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("base-component"),b=r(v),g=e("react"),y=(r(g),e("../../intl")),_=r(y),M=e("../../single-line-row"),w=r(M),S=e("../../grid"),C=e("../../get-event-value"),x=r(C),k=function(e){function t(){var e,n,r,o;(0,u.default)(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r=(0,p.default)(this,(e=t.__proto__||(0,s.default)(t)).call.apply(e,[this].concat(i))),r._onKeyChange=function(e){var t=(0,x.default)(e),n=t.split(" ");r.state.title||3!==n.length||r.setState({title:n[2].split("\n")[0]}),r.setState({key:t})},o=n,(0,p.default)(r,o)}return(0,m.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){var e=this.state,t=e.key,n=e.title;return(0,a.default)("div",{},void 0,(0,a.default)("div",{className:"pb-1"},void 0,(0,a.default)(w.default,{},void 0,(0,a.default)(S.Col,{size:4},void 0,(0,_.default)("title")),(0,a.default)(S.Col,{size:8},void 0,(0,a.default)("input",{className:"form-control",onChange:this.linkState("title"),type:"text",value:n||""})))),(0,a.default)("div",{className:"pb-1"},void 0,(0,a.default)(w.default,{},void 0,(0,a.default)(S.Col,{size:4},void 0,(0,_.default)("key")),(0,a.default)(S.Col,{size:8},void 0,(0,a.default)("textarea",{className:"form-control",onChange:this._onKeyChange,rows:10,value:t||""})))))}},{key:"value",get:function(){return this.state}}]),t}(b.default);n.default=k},{"../../get-event-value":1430,"../../grid":1431,"../../intl":1436,"../../single-line-row":1473,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,react:1269}],1525:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("intl"),b=r(v),g=e("base-component"),y=r(g),_=e("react"),M=(r(_),(0,a.default)("br",{})),w=function(e){function t(){var e,n,r,o;(0,u.default)(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r=(0,p.default)(this,(e=t.__proto__||(0,s.default)(t)).call.apply(e,[this].concat(i))),r.state={snapshotBefore:!0},o=n,(0,p.default)(r,o)}return(0,m.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){return(0,a.default)("div",{},void 0,(0,a.default)("div",{},void 0,(0,b.default)("revertVmModalMessage")),M,(0,a.default)("label",{},void 0,(0,a.default)("input",{type:"checkbox",onChange:this.linkState("snapshotBefore"),checked:this.state.snapshotBefore})," ",(0,b.default)("revertVmModalSnapshotBefore")))}},{key:"value",get:function(){return this.state.snapshotBefore}}]),t}(y.default);n.default=w},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,intl:1436,react:1269}],1526:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.getDefaultNetworkForVif=void 0;var o=e("lodash/map"),a=r(o),i=e("lodash/includes"),s=r(i),l=e("lodash/forEach"),u=r(l);n.getDefaultNetworkForVif=function(e,t,n,r){var o=r[e.$network],i=(0,a.default)(o.PIFs,function(e){return n[e].vlan}),l=n[t.$PIFs[0]].$network;return(0,u.default)(t.$PIFs,function(e){var t=n[e],a=t.$network,u=t.vlan;return r[a].name_label===o.name_label?(l=a,!1):void(u!==-1&&(0,s.default)(i,u)&&(l=a))}),l}},{"lodash/forEach":716,"lodash/includes":728,"lodash/map":754}],1527:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return e&&e.end&&Date.now()<e.end}function a(e){return!(e&&(o(e)||"premium"===e.plan))}function i(e){var t="untrustedTrial"===e.state;return t}function s(){if("undefined"==typeof window)throw new Error("cannot get current URL");return String(window.location)}function l(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,/^http(s?):\/\/([^\/:]*(?::[^\/]*)?)(?:[^:]*)?$/.exec(e));if(!t||!t[2])throw new Error("current URL not recognized");return"ws"+t[1]+"://"+t[2]+"/api/updater"}Object.defineProperty(n,"__esModule",{value:!0}),n.connectStore=n.NotRegistered=void 0;var u=e("babel-runtime/regenerator"),c=r(u),d=e("babel-runtime/helpers/asyncToGenerator"),f=r(d),p=e("babel-runtime/core-js/object/get-prototype-of"),h=r(p),m=e("babel-runtime/helpers/classCallCheck"),v=r(m),b=e("babel-runtime/helpers/createClass"),g=r(b),y=e("babel-runtime/helpers/possibleConstructorReturn"),_=r(y),M=e("babel-runtime/helpers/inherits"),w=r(M);n.isTrialRunning=o,n.exposeTrial=a,n.blockXoaAccess=i;var S=e("lodash/assign"),C=r(S),x=e("jsonrpc-websocket-client"),k=r(x),T=e("event-to-promise"),A=r(T),P=e("lodash/forEach"),N=r(P),O=e("make-error"),E=r(O),z=e("lodash/map"),R=r(z),j=e("events"),L=e("store/actions"),D=["disconnected","updating","upgrading","upToDate","upgradeNeeded","registerNeeded","error"],I=n.NotRegistered=(0,E.default)("NotRegistered"),B=function(e){function t(){(0,v.default)(this,t);var e=(0,_.default)(this,(t.__proto__||(0,h.default)(t)).call(this));return e._waiting=!1,e._log=[],e._lastRun=0,e._lowState=null,e.state("disconnected"),e.registerError="",e._configuration={},e}return(0,w.default)(t,e),(0,g.default)(t,[{key:"state",value:function(e){this._state=e,this.emit(e,this._lowState&&this._lowState.source)}},{key:"update",value:function(){function e(){return t.apply(this,arguments)}var t=(0,f.default)(c.default.mark(function e(){return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._waiting){e.next=2;break}return e.abrupt("return");case 2:this._waiting=!0,this.state("updating"),this._update(!1);case 5:case"end":return e.stop()}},e,this)}));return e}()},{key:"upgrade",value:function(){function e(){return t.apply(this,arguments)}var t=(0,f.default)(c.default.mark(function e(){return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._waiting){e.next=2;break}return e.abrupt("return");case 2:return this._waiting=!0,this.state("upgrading"),e.next=6,this._update(!0);case 6:case"end":return e.stop()}},e,this)}));return e}()},{key:"_upgradeSuccessful",value:function(){this.emit("upgradeSuccessful",this._lowState&&this._lowState.source)}},{key:"_open",value:function(){function e(){return t.apply(this,arguments)}var t=(0,f.default)(c.default.mark(function e(){var t,n,r,o=this;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=function(e){switch(!0){case e instanceof x.AbortedConnection:o.log("error","AbortedConnection");break;case e instanceof x.ConnectionError:o.log("error","ConnectionError");break;default:o.log("error",e)}throw delete o._client,o.state("disconnected"),e},n=function(e){var t=new j.EventEmitter,n=function(e){o.log("error",e.message),o._lowState=e,o.state("error"),o._waiting=!1,o.emit("error",e)};return e.on("notification",function(e){return t.emit(e.method,e.params)}),e.on("closed",function(){return t.emit("disconnected")}),t.on("print",function(e){var t=e.content;Array.isArray(t)||(t=[t]),t.forEach(function(e){return o.log("info",e)}),o.emit("print",t)}),t.on("end",function(e){switch(o._lowState=e,o._lowState.state){case"xoa-up-to-date":case"xoa-upgraded":case"updater-upgraded":case"installer-upgraded":o.state("upToDate");break;case"xoa-upgrade-needed":case"updater-upgrade-needed":case"installer-upgrade-needed":o.state("upgradeNeeded");break;case"register-needed":o.state("registerNeeded");break;default:o.state("error")}o.log(e.level,e.message),o._lastRun=Date.now(),o._waiting=!1,o.emit("end",e),"register-needed"===o._lowState&&o.isRegistered(),"updater-upgraded"===o._lowState.state||"installer-upgraded"===o._lowState.state?o.update():"xoa-upgraded"===o._lowState.state&&o._upgradeSuccessful(),o.xoaState()}),t.on("warning",function(e){o.log("warning",e.message),o.emit("warning",e)}),t.on("server-error",n),t.on("disconnected",function(){o._lowState=null,o.state("disconnected"),o._waiting=!1,o.log("warning","Lost connection with xoa-updater"),t.emit("reconnect_failed")}),t.on("reconnect_failed",function(){o._waiting=!1,t.removeAllListeners(),o._client.removeAllListeners(),"closed"!==o._client.status&&o._client.close(),delete o._client;var e="xoa-updater could not be reached";o._xoaStateError({message:e}),o.log("error",e),o.emit("disconnected")}),o.update(),o.isRegistered(),o.getConfiguration(),e},this._client){e.next=13;break}return e.prev=3,this._client=new k.default(l(s())),e.next=7,this._client.open();case 7:n(this._client),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(3),t(e.t0);case 13:if(r=this._client,"open"!==r.status){e.next=18;break}return e.abrupt("return",r);case 18:return e.abrupt("return",A.default.multi(r,["open"],["closed","error"]).then(function(){return r}));case 19:case"end":return e.stop()}},e,this,[[3,10]])}));return e}()},{key:"isRegistered",value:function(){function e(){return t.apply(this,arguments)}var t=(0,f.default)(c.default.mark(function e(){var t;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._call("isRegistered");case 3:if(t=e.sent,void 0!==t.registrationToken){e.next=8;break}throw new I("Your Xen Orchestra Appliance is not registered");case 8:return this.registerState="registered",this.token=t,e.abrupt("return",t);case 11:e.next=17;break;case 13:e.prev=13,e.t0=e.catch(0),delete this.token,e.t0 instanceof I?this.registerState="unregistered":(this.registerError=e.t0.message,this.registerState="error");case 17:return e.prev=17,this.emit("registerState",{state:this.registerState,email:this.token&&this.token.registrationEmail||"",error:this.registerError}),e.finish(17);case 20:case"end":return e.stop()}},e,this,[[0,13,17,20]])}));return e}()},{key:"register",value:function(){function e(e,n){return t.apply(this,arguments)}var t=(0,f.default)(c.default.mark(function e(t,n){var r,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._call("register",{email:t,password:n,renew:o});case 3:return r=e.sent,this.registerState="registered",this.registerError="",this.token=r,e.abrupt("return",r);case 10:e.prev=10,e.t0=e.catch(0),o||delete this.token,e.t0.code&&1===e.t0.code?this.registerError="Authentication failed":(this.registerError=e.t0.message,this.registerState="error");case 14:return e.prev=14,this.emit("registerState",{state:this.registerState,email:this.token&&this.token.registrationEmail||"",error:this.registerError}),"registered"===this.registerState&&this.update(),e.finish(14);case 18:case"end":return e.stop()}},e,this,[[0,10,14,18]])}));return e}()},{key:"requestTrial",value:function(){function e(){return t.apply(this,arguments)}var t=(0,f.default)(c.default.mark(function e(){var t;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.xoaState();case 2:if(t=e.sent,"ERROR"!==!t.state){e.next=5;break}throw new Error(t.message);case 5:if(!o(t.trial)){e.next=7;break}throw new Error("You are already under trial");case 7:return e.prev=7,e.abrupt("return",this._call("requestTrial",{trialPlan:"premium"}));case 9:return e.prev=9,this.xoaState(),e.finish(9);case 12:case"end":return e.stop()}},e,this,[[7,,9,12]])}));return e}()},{key:"xoaState",value:function(){function e(){return t.apply(this,arguments)}var t=(0,f.default)(c.default.mark(function e(){var t;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._call("xoaState");case 3:return t=e.sent,this._xoaState=t,e.abrupt("return",t);case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",this._xoaStateError(e.t0));case 11:return e.prev=11,this.emit("trialState",(0,C.default)({},this._xoaState)),e.finish(11);case 14:case"end":return e.stop()}},e,this,[[0,8,11,14]])}));return e}()},{key:"_xoaStateError",value:function(e){var t=e.message||String(e);return this._xoaState={state:"ERROR",message:t},this._xoaState}},{key:"_update",value:function(){function e(){return t.apply(this,arguments)}var t=(0,f.default)(c.default.mark(function e(){var t,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._open();case 3:t=e.sent,this.log("info","Start "+(n?"upgrading":"updating...")),t.notify("update",{upgrade:n}),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),this._waiting=!1;case 11:case"end":return e.stop()}},e,this,[[0,8]])}));return e}()},{key:"start",value:function(){function e(){return t.apply(this,arguments)}var t=(0,f.default)(c.default.mark(function e(){var t=this;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isStarted()){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.xoaState();case 4:return e.next=6,this.isRegistered();case 6:this._interval=setInterval(function(){return t.run()},36e5),this.run();case 8:case"end":return e.stop()}},e,this)}));return e}()},{key:"stop",value:function(){this._interval&&(clearInterval(this._interval),delete this._interval),this._client&&(this._client.removeAllListeners(),"closed"!==this._client.status&&this._client.close(),delete this._client),this.state("disconnected")}},{key:"run",value:function(){Date.now()-this._lastRun>=864e5&&this.update()}},{key:"isStarted",value:function(){return this._interval}},{key:"log",value:function(e,t){t=null!=t&&t.message||String(t);var n=new Date;for(this._log.unshift({date:n.toLocaleString(),level:e,message:t});this._log.length>10;)this._log.pop();this.emit("log",(0,R.default)(this._log,function(e){return(0,C.default)({},e)}))}},{key:"getConfiguration",value:function(){function e(){return t.apply(this,arguments)}var t=(0,f.default)(c.default.mark(function e(){return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._call("getConfiguration");case 3:return this._configuration=e.sent,e.abrupt("return",this._configuration);case 7:e.prev=7,e.t0=e.catch(0),this._configuration={};case 10:return e.prev=10,this.emit("configuration",(0,C.default)({},this._configuration)),e.finish(10);case 13:case"end":return e.stop()}},e,this,[[0,7,10,13]])}));return e}()},{key:"_call",value:function(){function e(){return t.apply(this,arguments)}var t=(0,f.default)(c.default.mark(function e(){var t,n=arguments;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._open();case 2:return t=e.sent,e.prev=3,e.next=6,t.call.apply(t,n);case 6:return e.abrupt("return",e.sent);case 9:throw e.prev=9,e.t0=e.catch(3),this.log("error",e.t0),e.t0;case 13:case"end":return e.stop()}},e,this,[[3,9]])}));return e}()},{key:"configure",value:function(){function e(e){return t.apply(this,arguments)}var t=(0,f.default)(c.default.mark(function e(t){return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._call("configure",t);case 3:return this._configuration=e.sent,this.update(),e.abrupt("return",this._configuration);case 8:e.prev=8,e.t0=e.catch(0),this._configuration={};case 11:return e.prev=11,this.emit("configuration",(0,C.default)({},this._configuration)),e.finish(11);case 14:case"end":return e.stop()}},e,this,[[0,8,11,14]])}));return e}()}]),t}(j.EventEmitter),V=new B;n.default=V;n.connectStore=function(e){(0,N.default)(D,function(t){return V.on(t,function(){return e.dispatch((0,L.xoaUpdaterState)(t))})}),V.on("trialState",function(t){return e.dispatch((0,L.xoaTrialState)(t))}),V.on("log",function(t){return e.dispatch((0,L.xoaUpdaterLog)(t))}),V.on("registerState",function(t){return e.dispatch((0,L.xoaRegisterState)(t))}),V.on("configuration",function(t){return e.dispatch((0,L.xoaConfiguration)(t))})}},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/asyncToGenerator":21,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/regenerator":147,"event-to-promise":278,events:279,"jsonrpc-websocket-client":376,"lodash/assign":690,"lodash/forEach":716,"lodash/map":754,"make-error":798,"store/actions":1477}],1528:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("react"),s=(r(i),e("./intl")),l=r(s),u=e("./icon"),c=r(u),d=e("./link"),f=r(d),p=e("./prop-types"),h=r(p),m=e("./card"),v=e("./utils"),b=e("selectors"),g=(0,a.default)(c.default,{icon:"plan-upgrade"}),y=(0,a.default)(c.default,{icon:"plan-trial"}),_=(0,h.default)({available:h.default.number,place:h.default.string.isRequired,required:h.default.number})((0,v.connectStore)({isAdmin:b.isAdmin}))(function(e){var t=e.available,n=e.children,r=e.isAdmin,o=e.place,i=e.required,s=void 0===i?t:i;return"5"<s?(0,a.default)(m.Card,{},void 0,(0,a.default)(m.CardHeader,{},void 0,(0,l.default)("upgradeNeeded")),r?(0,a.default)(m.CardBlock,{className:"text-xs-center"},void 0,(0,a.default)("p",{},void 0,(0,l.default)("availableIn",{plan:(0,v.getXoaPlan)(s)})),(0,a.default)("p",{},void 0,(0,a.default)("a",{href:"https://xen-orchestra.com/#!/pricing?pk_campaign=xoa_"+(0,v.getXoaPlan)()+"_upgrade&pk_kwd="+o,className:"btn btn-primary btn-lg"},void 0,g," ",(0,l.default)("upgradeNow"))," ",(0,l.default)("or")," ",(0,a.default)(f.default,{className:"btn btn-success btn-lg",to:"/xoa-update"},void 0,y," ",(0,l.default)("tryIt")))):(0,a.default)(m.CardBlock,{className:"text-xs-center"},void 0,(0,a.default)("p",{},void 0,(0,l.default)("notAvailable")))):n});n.default=_},{"./card":1408,"./icon":1435,"./intl":1436,"./link":1459,"./prop-types":1464,"./utils":1490,"babel-runtime/helpers/jsx":27,react:1269,selectors:1470}],1529:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=e("babel-runtime/helpers/extends"),a=r(o),i=e("babel-runtime/helpers/jsx"),s=r(i);e("./patch-react");var l=e("store/dev-tools"),u=r(l),c=e("react-router/lib/hashHistory"),d=r(c),f=e("react"),p=(r(f),e("react-router/lib/Router")),h=r(p),m=e("store"),v=r(m),b=e("react-redux"),g=e("react-dom"),y=e("./xo-app"),_=r(y);(0,g.render)((0,s.default)(b.Provider,{store:v.default},void 0,(0,s.default)("div",{},void 0,(0,s.default)(h.default,{history:d.default,routes:(0,a.default)({},_.default.route,{component:_.default,path:"/"})}),u.default&&(0,s.default)(u.default,{}))),document.getElementById("xo-app"))},{"./patch-react":1531,"./xo-app":1563,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/jsx":27,react:1269,"react-dom":974,"react-redux":1150,"react-router/lib/Router":1164,"react-router/lib/hashHistory":1173,store:1479,"store/dev-tools":1478}],1530:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.help=n.default=void 0;var o=e("intl"),a=r(o),i=e("lodash/mapValues"),s=r(i),l={XoApp:{GO_TO_HOSTS:"g h",GO_TO_POOLS:"g p",GO_TO_VMS:"g v",GO_TO_SRS:"g s",CREATE_VM:"c v",UNFOCUS:"esc",HELP:["?","h"]},Home:{SEARCH:"/",NAV_DOWN:"j",NAV_UP:"k",SELECT:"x",JUMP_INTO:"enter"}};n.default=l;n.help=(0,s.default)(l,function(e,t){return{name:(0,a.default)("shortcut_"+t),shortcuts:(0,s.default)(e,function(t,n){return{keys:e[n],message:(0,a.default)("shortcut_"+n)}})}})},{intl:1436,"lodash/mapValues":756}],1531:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("lodash/isFunction"),s=r(i),l=e("lodash/assign"),u=r(l),c=e("log-error"),d=r(c),f=e("react"),p=r(f);p.default.createElement=function(e){var t=(0,a.default)("p",{className:"text-danger",style:{fontWeight:"bold"}},void 0,"an error has occured"),n=function(e){return function(){try{return e.apply(this,arguments)}catch(e){return(0,d.default)(e),t}}};return function(t){if((0,s.default)(t)){var r=t._patched;if(r)arguments[0]=r;else{var o=t.prototype,a=void 0;o&&(0,s.default)(a=o.render)?(o.render=n(a),t._patched=t):arguments[0]=t._patched=(0,u.default)(n(t),t)}}return e.apply(this,arguments)}}(p.default.createElement)},{"babel-runtime/helpers/jsx":27,"lodash/assign":690,"lodash/isFunction":737,"log-error":1460,react:1269}],1532:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("babel-runtime/helpers/jsx"),b=r(v),g=e("intl"),y=r(g),_=e("base-component"),M=r(_),w=e("copiable"),S=r(w),C=e("icon"),x=r(C),k=e("link"),T=(r(k),e("../page")),A=r(T),P=e("react"),N=(r(P),e("selectors")),O=e("xo"),E=e("grid"),z=e("utils"),R=e("../../../package"),j=r(R),L=(0,b.default)(E.Container,{},void 0,(0,b.default)(E.Row,{},void 0,(0,b.default)(E.Col,{mediumSize:12},void 0,(0,b.default)("h2",{},void 0,(0,b.default)(x.default,{icon:"menu-about"})," ",(0,y.default)("aboutXoaPlan",{xoaPlan:(0,z.getXoaPlan)()}))))),D=(0,b.default)(x.default,{icon:"host",size:4}),I=(0,b.default)(x.default,{icon:"vm",size:4}),B=(0,b.default)("a",{href:"https://xen-orchestra.com/#!/?pk_campaign=xoa_source_upgrade&pk_kwd=about"},void 0,"http://xen-orchestra.com"),V=(0,b.default)(x.default,{icon:"bug",size:4}),q=(0,b.default)(x.default,{icon:"group",size:4}),F=((0,b.default)(x.default,{icon:"help",size:4}),(0,b.default)(x.default,{icon:"user",size:4}),(0,b.default)(x.default,{icon:"help",size:4}),(0,b.default)(x.default,{icon:"user",size:4}),o=(0,z.connectStore)(function(){return{user:N.getUser}}),o(a=function(e){function t(){return(0,u.default)(this,t),(0,p.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,d.default)(t,[{key:"componentWillMount",value:function(){var e=this;O.serverVersion.then(function(t){e.setState({serverVersion:t})})}},{key:"render",value:function(){var e=this.props.user,t=e&&"admin"===e.permission;return(0,b.default)(A.default,{header:L,title:"aboutPage",formatTitle:!0},void 0,(0,b.default)(E.Container,{className:"text-xs-center"},void 0,t&&(0,b.default)(E.Row,{},void 0,(0,b.default)(E.Col,{mediumSize:6},void 0,D,(0,b.default)(S.default,{tagName:"h4",data:"xo-server "+this.state.serverVersion},void 0,"xo-server ",this.state.serverVersion||"unknown"),(0,
|
84 | b.default)("p",{className:"text-muted"},void 0,(0,y.default)("xenOrchestraServer"))),(0,b.default)(E.Col,{mediumSize:6},void 0,I,(0,b.default)(S.default,{tagName:"h4",data:"xo-web "+j.default.version},void 0,"xo-web ",j.default.version),(0,b.default)("p",{className:"text-muted"},void 0,(0,y.default)("xenOrchestraWeb")))),(0,b.default)("div",{},void 0,(0,b.default)(E.Row,{},void 0,(0,b.default)(E.Col,{},void 0,(0,b.default)("h2",{className:"text-danger"},void 0,(0,y.default)("noProSupport")),(0,b.default)("h4",{className:"text-danger"},void 0,(0,y.default)("noProductionUse")),(0,b.default)("p",{className:"text-muted"},void 0,(0,y.default)("downloadXoaFromWebsite",{website:B})))),(0,b.default)(E.Row,{},void 0,(0,b.default)(E.Col,{mediumSize:6},void 0,(0,b.default)("a",{href:"https://github.com/vatesfr/xo-web/issues/new"},void 0,V,(0,b.default)("h4",{},void 0,(0,y.default)("bugTracker"))),(0,b.default)("p",{className:"text-muted"},void 0,(0,y.default)("bugTrackerText"))),(0,b.default)(E.Col,{mediumSize:6},void 0,(0,b.default)("a",{href:"https://xen-orchestra.com/forum"},void 0,q,(0,b.default)("h4",{},void 0,(0,y.default)("community"))),(0,b.default)("p",{className:"text-muted"},void 0,(0,y.default)("communityText")))))))}}]),t}(M.default))||a);n.default=F},{"../../../package":1399,"../page":1578,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,copiable:1415,grid:1431,icon:1435,intl:1436,link:1459,react:1269,selectors:1470,utils:1490,xo:1519}],1533:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("intl"),b=r(v),g=e("base-component"),y=r(g),_=e("react"),M=(r(_),e("xo")),w=e("../new"),S=r(w),C=function(e){function t(){return(0,u.default)(this,t),(0,p.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,d.default)(t,[{key:"componentWillMount",value:function(){var e=this,t=this.props.routeParams.id;null!=t&&(0,M.getSchedule)(t).then(function(t){(0,M.getJob)(t.job).then(function(n){e.setState({job:n,schedule:t})})})}},{key:"render",value:function(){var e=this.state,t=e.job,n=e.schedule;return t&&n?(0,a.default)(S.default,{job:t,schedule:n}):(0,a.default)("h1",{},void 0,(0,b.default)("statusLoading"))}}]),t}(y.default);n.default=C},{"../new":1537,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,intl:1436,react:1269,xo:1519}],1534:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("babel-runtime/regenerator"),b=r(v),g=e("babel-runtime/helpers/extends"),y=r(g),_=e("babel-runtime/core-js/promise"),M=r(_),w=e("babel-runtime/helpers/asyncToGenerator"),S=r(w),C=e("babel-runtime/helpers/jsx"),x=r(C),k=e("lodash/uniq"),T=r(k),A=e("lodash/reduce"),P=r(A),N=e("lodash/mapValues"),O=r(N),E=e("lodash/map"),z=r(E),R=e("lodash/isEmpty"),j=r(R),L=e("lodash/groupBy"),D=r(L),I=e("lodash/forEach"),B=r(I),V=e("lodash/filter"),q=r(V),F=e("lodash/find"),U=r(F),W=e("intl"),H=r(W),X=e("base-component"),K=r(X),G=e("icon"),Y=r(G),$=e("react"),Q=(r($),e("sorted-table")),J=r(Q),Z=e("xoa-upgrade"),ee=r(Z),te=e("modal"),ne=e("utils"),re=e("grid"),oe=e("notification"),ae=e("react-intl"),ie=e("xo"),se=e("./restore-file-modal"),le=r(se),ue=[{name:(0,H.default)("backupVmNameColumn"),itemRenderer:function(e){var t=e.last;return t.name},sortCriteria:function(e){var t=e.last;return t.name}},{name:(0,H.default)("backupTags"),itemRenderer:function(e){var t=e.tagsByRemote;return(0,x.default)(re.Container,{},void 0,(0,z.default)(t,function(e){var t=e.tags,n=e.remoteName;return(0,x.default)(re.Row,{},void 0,(0,x.default)(re.Col,{mediumSize:3},void 0,(0,x.default)("strong",{},void 0,n)),(0,x.default)(re.Col,{mediumSize:9},void 0,t.join(", ")))}))}},{name:(0,H.default)("lastBackupColumn"),itemRenderer:function(e){var t=e.last;return(0,x.default)(ae.FormattedDate,{value:1e3*t.datetime,month:"long",day:"numeric",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"})},sortCriteria:function(e){var t=e.last;return t.datetime},sortOrder:"desc"},{name:(0,H.default)("availableBackupsColumn"),itemRenderer:function(e){var t=e.count;return(0,x.default)("span",{},void 0,t)},sortCriteria:function(e){var t=e.count;return t}}],ce=function(e){var t=e.backups;return(0,te.confirm)({title:(0,H.default)("restoreFilesFromBackup",{name:t[0].name}),body:(0,x.default)(le.default,{vmName:t[0].name,backups:t})}).then(function(e){var t=e.remote,n=e.disk,r=e.partition,o=e.paths,a=e.format;return t&&n&&o&&o.length?(0,ie.fetchFiles)(t,n,r,o,a):(0,oe.error)((0,H.default)("restoreFiles"),(0,H.default)("restoreFilesError"))},ne.noop)},de=function(){var e=(0,S.default)(b.default.mark(function e(t){var n,r,o;return b.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,M.default.all((0,z.default)(t,function(e){return(0,ie.listRemoteBackups)(e)}));case 2:return n=e.sent,r={},(0,B.default)(n,function(e,n){(0,B.default)(e,function(e){if(e.disks){var o=t[n];r[e.name]||(r[e.name]=[]),r[e.name].push((0,y.default)({},e,{remoteId:o.id,remoteName:o.name}))}})}),o=(0,O.default)(r,function(e){return{backups:e,count:e.length,last:(0,P.default)(e,function(e,t){return t.datetime>e.datetime?t:e}),tagsByRemote:(0,O.default)((0,D.default)(e,"remoteId"),function(e,n){return{remoteName:(0,U.default)(t,function(e){return e.id===n}).name,tags:(0,T.default)((0,z.default)(e,"tag"))}})}}),e.abrupt("return",o);case 7:case"end":return e.stop()}},e,void 0)}));return function(t){return e.apply(this,arguments)}}(),fe=(0,x.default)(Y.default,{icon:"info"}),pe=((0,x.default)(re.Container,{},void 0,(0,x.default)(ee.default,{place:"restoreFiles",available:4})),o=(0,ne.addSubscriptions)({backupInfoByVm:function(e){return(0,ie.subscribeRemotes)(function(t){return de((0,q.default)(t,"enabled")).then(e)})}}),o(a=function(e){function t(){return(0,u.default)(this,t),(0,p.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){var e=this.props.backupInfoByVm;return e?(0,x.default)(re.Container,{},void 0,(0,x.default)("h2",{},void 0,(0,H.default)("restoreFiles")),(0,j.default)(e)?(0,H.default)("noBackup"):(0,x.default)("div",{},void 0,(0,x.default)("em",{},void 0,fe," ",(0,H.default)("restoreBackupsInfo")),(0,x.default)(J.default,{collection:e,columns:ue,rowAction:ce,defaultColumn:2}))):(0,x.default)("h2",{},void 0,(0,H.default)("statusLoading"))}}]),t}(K.default))||a);n.default=pe},{"./restore-file-modal":1535,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/asyncToGenerator":21,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/regenerator":147,"base-component":1405,grid:1431,icon:1435,intl:1436,"lodash/filter":709,"lodash/find":710,"lodash/forEach":716,"lodash/groupBy":725,"lodash/isEmpty":735,"lodash/map":754,"lodash/mapValues":756,"lodash/reduce":768,"lodash/uniq":793,modal:1461,notification:1463,react:1269,"react-intl":1103,"sorted-table":1475,utils:1490,xo:1519,"xoa-upgrade":1528}],1535:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/core-js/object/get-prototype-of"),a=r(o),i=e("babel-runtime/helpers/classCallCheck"),s=r(i),l=e("babel-runtime/helpers/createClass"),u=r(l),c=e("babel-runtime/helpers/possibleConstructorReturn"),d=r(c),f=e("babel-runtime/helpers/inherits"),p=r(f),h=e("babel-runtime/helpers/jsx"),m=r(h),v=e("lodash/filter"),b=r(v),g=e("lodash/map"),y=r(g),_=e("lodash/isEmpty"),M=r(_),w=e("lodash/find"),S=r(w),C=e("intl"),x=r(C),k=e("action-button"),T=r(k),A=e("base-component"),P=r(A),N=e("lodash/endsWith"),O=r(N),E=e("icon"),z=r(E),R=e("react"),j=(r(R),e("lodash/replace")),L=r(j),D=e("tooltip"),I=r(D),B=e("grid"),V=e("utils"),q=e("react-intl"),F=e("form"),U=e("xo"),W=function(e){return(0,m.default)("span",{},void 0,e.tag," - ",e.remoteName," ","(",(0,m.default)(q.FormattedDate,{value:1e3*e.datetime,month:"long",day:"numeric",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}),")")},H=function(e){return(0,m.default)("span",{},void 0,e.name," ",e.type," ",e.size&&"("+(0,V.formatSize)(+e.size)+")")},X=function(e){return(0,m.default)("span",{},void 0,e.name)},K=function(e){return(0,m.default)("span",{},void 0,e.name)},G=function(e,t){var n="/"!==t?[{name:"..",id:"..",path:Y(t),content:{}}]:[];return n.concat((0,y.default)(e,function(e,n){return{name:n,id:""+t+n,path:""+t+n,content:e}}))},Y=function(e){return(0,L.default)(e,/^(\/+.+)*(\/+.+)/,"$1/")},$=(0,m.default)("br",{}),Q=(0,m.default)(z.default,{icon:"error"}),J=(0,m.default)("br",{}),Z=(0,m.default)("br",{}),ee=(0,m.default)(z.default,{icon:"loading"}),te=(0,m.default)(z.default,{icon:"error"}),ne=(0,m.default)("br",{}),re=(0,m.default)("br",{}),oe=function(e){function t(){var e,n,r,o;(0,s.default)(this,t);for(var i=arguments.length,l=Array(i),u=0;u<i;u++)l[u]=arguments[u];return n=r=(0,d.default)(this,(e=t.__proto__||(0,a.default)(t)).call.apply(e,[this].concat(l))),r.state={format:"zip"},r._scanFiles=function(){var e=r.state,t=e.backup,n=e.disk,o=e.partition,a=e.path;return r.setState({scanningFiles:!0}),(0,U.scanFiles)(t.remoteId,n,a,o).then(function(e){return r.setState({files:G(e,a),scanningFiles:!1})},function(e){throw r.setState({scanningFiles:!1,scanFilesError:!0}),e})},r._onBackupChange=function(e){r.setState({backup:e,disk:void 0,partition:void 0,file:void 0,selectedFiles:void 0,scanDiskError:!1})},r._onDiskChange=function(e){r.setState({partition:void 0,file:void 0,selectedFiles:void 0,scanDiskError:!1}),e&&(0,U.scanDisk)(r.state.backup.remoteId,e).then(function(t){var n=t.partitions;return(0,M.default)(n)?void r.setState({disk:e,path:"/"},r._scanFiles):void r.setState({disk:e,partitions:n})},function(t){throw r.setState({disk:e,scanDiskError:!0}),t})},r._onPartitionChange=function(e){r.setState({partition:e,path:"/",file:void 0,selectedFiles:void 0},e&&r._scanFiles)},r._onFileChange=function(e){var t=r.state,n=t.path,o=t.selectedFiles,a=e&&".."!==e.id&&!(0,O.default)(e.path,"/");if(a)return void r.setState({file:e,selectedFiles:(0,S.default)(o,{id:e.id})?o:(o||[]).concat(e)});r.setState({file:void 0});var i=document.activeElement;i.blur(),i.focus(),e&&r.setState({path:".."===e.id?Y(n):e.path},r._scanFiles)},r._unselectFile=function(e){r.setState({selectedFiles:(0,b.default)(r.state.selectedFiles,function(t){var n=t.id;return n!==e.id})})},r._unselectAllFiles=function(){r.setState({selectedFiles:void 0})},r._selectAllFolderFiles=function(){var e=r.state,t=e.files,n=e.selectedFiles;r.setState({selectedFiles:(n||[]).concat((0,b.default)(t,function(e){var t=e.path;return!(0,O.default)(t,"/")&&!(0,S.default)(n,function(e){return e.path===t})}))})},o=n,(0,d.default)(r,o)}return(0,p.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this,t=this.props.backups,n=this.state,r=n.backup,o=n.disk,a=n.file,i=n.files,s=n.format,l=n.partition,u=n.partitions,c=n.path,d=n.scanDiskError,f=n.scanFilesError,p=n.scanningFiles,h=n.selectedFiles,v=(0,M.default)(u);return(0,m.default)("div",{},void 0,(0,m.default)(F.SelectPlainObject,{onChange:this._onBackupChange,optionKey:"id",optionRenderer:W,options:t,placeholder:(0,x.default)("restoreFilesSelectBackup"),value:r}),r&&[$,(0,m.default)(F.SelectPlainObject,{onChange:this._onDiskChange,optionKey:"id",optionRenderer:X,options:r.disks,placeholder:(0,x.default)("restoreFilesSelectDisk"),value:o})],d&&(0,m.default)("span",{},void 0,Q," ",(0,x.default)("restoreFilesDiskError")),o&&!d&&!v&&[J,(0,m.default)(F.SelectPlainObject,{onChange:this._onPartitionChange,optionKey:"id",optionRenderer:H,options:u,placeholder:(0,x.default)("restoreFilesSelectPartition"),value:l})],(l||o&&!d&&v)&&[Z,(0,m.default)(B.Container,{},void 0,(0,m.default)(B.Row,{},void 0,(0,m.default)(B.Col,{size:10},void 0,(0,m.default)("pre",{},void 0,c," ",p&&ee,f&&te)),(0,m.default)(B.Col,{size:2},void 0,(0,m.default)("span",{className:"pull-right"},void 0,(0,m.default)(I.default,{content:(0,x.default)("restoreFilesSelectAllFiles")},void 0,(0,m.default)(T.default,{handler:this._selectAllFolderFiles,icon:"add",size:"small"})))))),(0,m.default)(F.SelectPlainObject,{onChange:this._onFileChange,optionKey:"id",optionRenderer:K,options:i,placeholder:(0,x.default)("restoreFilesSelectFiles"),value:a}),ne,(0,m.default)("div",{},void 0,(0,m.default)("span",{className:"mr-1"},void 0,(0,m.default)("input",{checked:"zip"===s,name:"format",onChange:this.linkState("format"),type:"radio",value:"zip"})," ZIP"),(0,m.default)("span",{},void 0,(0,m.default)("input",{checked:"tar"===s,name:"format",onChange:this.linkState("format"),type:"radio",value:"tar"})," TAR")),re,h&&h.length?(0,m.default)(B.Container,{},void 0,(0,m.default)(B.Row,{},void 0,(0,m.default)(B.Col,{className:"pl-0 pb-1",size:10},void 0,(0,m.default)("em",{},void 0,(0,x.default)("restoreFilesSelectedFiles",{files:h.length}))),(0,m.default)(B.Col,{size:2,className:"text-xs-right"},void 0,(0,m.default)(T.default,{handler:this._unselectAllFiles,icon:"remove",size:"small",tooltip:(0,x.default)("restoreFilesUnselectAll")}))),(0,y.default)(h,function(t){return(0,m.default)(B.Row,{},t.id,(0,m.default)(B.Col,{size:10},void 0,(0,m.default)("pre",{},void 0,t.path)),(0,m.default)(B.Col,{size:2,className:"text-xs-right"},void 0,(0,m.default)(T.default,{handler:e._unselectFile,handlerParam:t,icon:"remove",size:"small"})))})):(0,m.default)("em",{},void 0,(0,x.default)("restoreFilesNoFilesSelected"))])}},{key:"value",get:function(){var e=this.state;return{disk:e.disk,format:e.format,partition:e.partition,paths:e.selectedFiles&&(0,y.default)(e.selectedFiles,"path"),remote:e.backup.remoteId}}}]),t}(P.default);n.default=oe},{"action-button":1401,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,form:1425,grid:1431,icon:1435,intl:1436,"lodash/endsWith":705,"lodash/filter":709,"lodash/find":710,"lodash/isEmpty":735,"lodash/map":754,"lodash/replace":770,react:1269,"react-intl":1103,tooltip:1488,utils:1490,xo:1519}],1536:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("intl"),s=r(i),l=e("icon"),u=r(l),c=e("../page"),d=r(c),f=e("react"),p=(r(f),e("utils")),h=e("grid"),m=e("nav"),v=e("./edit"),b=r(v),g=e("./new"),y=r(g),_=e("./overview"),M=r(_),w=e("./restore"),S=r(w),C=e("./file-restore"),x=r(C),k=(0,a.default)(h.Container,{},void 0,(0,a.default)(h.Row,{},void 0,(0,a.default)(h.Col,{mediumSize:3},void 0,(0,a.default)("h2",{},void 0,(0,a.default)(u.default,{icon:"backup"})," ",(0,s.default)("backupPage"))),(0,a.default)(h.Col,{mediumSize:9},void 0,(0,a.default)(m.NavTabs,{className:"pull-right"},void 0,(0,a.default)(m.NavLink,{to:"/backup/overview"},void 0,(0,a.default)(u.default,{icon:"menu-backup-overview"})," ",(0,s.default)("backupOverviewPage")),(0,a.default)(m.NavLink,{to:"/backup/new"},void 0,(0,a.default)(u.default,{icon:"menu-backup-new"})," ",(0,s.default)("backupNewPage")),(0,a.default)(m.NavLink,{to:"/backup/restore"},void 0,(0,a.default)(u.default,{icon:"menu-backup-restore"})," ",(0,s.default)("backupRestorePage")),(0,a.default)(m.NavLink,{to:"/backup/file-restore"},void 0,(0,a.default)(u.default,{icon:"menu-backup-file-restore"})," ",(0,s.default)("backupFileRestorePage")))))),T=(0,p.routes)("overview",{":id/edit":b.default,new:y.default,overview:M.default,restore:S.default,"file-restore":x.default})(function(e){var t=e.children;return(0,a.default)(d.default,{header:k,title:"backupPage",formatTitle:!0},void 0,t)});n.default=T},{"../page":1578,"./edit":1533,"./file-restore":1534,"./new":1537,"./overview":1538,"./restore":1539,"babel-runtime/helpers/jsx":27,grid:1431,icon:1435,intl:1436,nav:1462,react:1269,utils:1490}],1537:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l=e("babel-runtime/helpers/jsx"),u=r(l),c=e("babel-runtime/regenerator"),d=r(c),f=e("babel-runtime/helpers/asyncToGenerator"),p=r(f),h=e("babel-runtime/helpers/objectWithoutProperties"),m=r(h),v=e("babel-runtime/helpers/typeof"),b=r(v),g=e("babel-runtime/core-js/object/get-prototype-of"),y=r(g),_=e("babel-runtime/helpers/classCallCheck"),M=r(_),w=e("babel-runtime/helpers/createClass"),S=r(w),C=e("babel-runtime/helpers/possibleConstructorReturn"),x=r(C),k=e("babel-runtime/helpers/inherits"),T=r(k),A=e("babel-runtime/helpers/extends"),P=r(A),N=e("lodash/startsWith"),O=r(N),E=e("lodash/noop"),z=r(E),R=e("lodash/mapValues"),j=r(R),L=e("lodash/map"),D=r(L),I=e("lodash/isArray"),B=r(I),V=e("lodash/identity"),q=r(V),F=e("lodash/forEach"),U=r(F),W=e("intl"),H=r(W),X=e("action-button"),K=r(X),G=e("button"),Y=r(G),$=e("base-component"),Q=r($),J=e("json-schema-input"),Z=r(J),ee=e("get-event-value"),te=r(ee),ne=e("icon"),re=r(ne),oe=e("moment-timezone"),ae=r(oe),ie=e("react"),se=r(ie),le=e("scheduling"),ue=r(le),ce=e("uncontrollable-input"),de=r(ce),fe=e("xoa-upgrade"),pe=r(fe),he=e("wizard"),me=r(he),ve=e("modal"),be=e("utils"),ge=e("grid"),ye=e("reselect"),_e=e("xo-json-schema-input"),Me=e("selectors"),we=e("select-objects"),Se=e("xo"),Ce={type:"object",properties:{vms:{type:"array",items:{type:"string","xo:type":"vm"},title:(0,H.default)("editBackupVmsTitle"),description:"Choose VMs to backup."}},required:["vms"]},xe=(0,_e.generateUiSchema)(Ce),ke={type:"object",properties:{power_state:{default:"All",enum:["All","Running","Halted"],title:(0,H.default)("editBackupSmartStatusTitle"),description:"The statuses of VMs to backup."},$pool:{type:"object",title:(0,H.default)("editBackupSmartPools"),properties:{not:{type:"boolean",title:(0,H.default)("editBackupNot"),description:"Toggle on to backup VMs that are NOT resident on these pools"},values:{type:"array",items:{type:"string","xo:type":"pool"},title:(0,H.default)("editBackupSmartResidentOn"),description:"Not used if empty."}}},tags:{type:"object",title:(0,H.default)("editBackupSmartTags"),properties:{not:{type:"boolean",title:(0,H.default)("editBackupNot"),description:"Toggle on to backup VMs that do NOT contain these tags"},values:{type:"array",items:{type:"string","xo:type":"tag"},title:(0,H.default)("editBackupSmartTagsTitle"),description:"VMs which contain at least one of these tags. Not used if empty."}}}},required:["power_state","$pool","tags"]},Te=(0,_e.generateUiSchema)(ke),Ae={type:"object",properties:{tag:{type:"string",title:(0,H.default)("editBackupTagTitle"),description:"Back-up tag."},_reportWhen:{default:"failure",enum:["never","always","failure"],title:(0,H.default)("editBackupReportTitle"),description:["When to send reports.","","Plugins *tranport-email* and *backup-reports* need to be configured."].join("\n")},enabled:{type:"boolean",title:(0,H.default)("editBackupReportEnable")}},required:["tag","vms","_reportWhen"]},Pe={type:"integer",title:(0,H.default)("editBackupDepthTitle"),description:"How many backups to rollover.",min:1},Ne={type:"string","xo:type":"remote",title:(0,H.default)("editBackupRemoteTitle")},Oe={type:"object",properties:(0,P.default)({},Ae.properties,{depth:Pe,remoteId:Ne,compress:{type:"boolean",title:"Enable compression",default:!0}}),required:Ae.required.concat(["depth","remoteId"])},Ee={type:"object",properties:(0,P.default)({},Ae.properties,{depth:Pe}),required:Ae.required.concat("depth")},ze={type:"object",properties:(0,P.default)({},Ae.properties,{depth:Pe,remote:Ne}),required:Ae.required.concat(["depth","remote"])},Re={type:"object",properties:(0,P.default)({},Ae.properties,{depth:Pe,sr:{type:"string","xo:type":"sr",title:"To SR"}}),required:Ae.required.concat(["depth","sr"])},je={type:"object",properties:(0,P.default)({},Ae.properties,{sr:{type:"string","xo:type":"sr",title:"To SR"}}),required:Ae.required.concat("sr")},Le={"vm.rollingBackup":{schema:Oe,uiSchema:(0,_e.generateUiSchema)(Oe),label:"backup",icon:"backup",jobKey:"rollingBackup",method:"vm.rollingBackup"},"vm.rollingSnapshot":{schema:Ee,uiSchema:(0,_e.generateUiSchema)(Ee),label:"rollingSnapshot",icon:"rolling-snapshot",jobKey:"rollingSnapshot",method:"vm.rollingSnapshot"},"vm.rollingDeltaBackup":{schema:ze,uiSchema:(0,_e.generateUiSchema)(ze),label:"deltaBackup",icon:"delta-backup",jobKey:"deltaBackup",method:"vm.rollingDeltaBackup"},"vm.rollingDrCopy":{schema:Re,uiSchema:(0,_e.generateUiSchema)(Re),label:"disasterRecovery",icon:"disaster-recovery",jobKey:"disasterRecovery",method:"vm.rollingDrCopy"},"vm.deltaCopy":{schema:je,uiSchema:(0,_e.generateUiSchema)(je),label:"continuousReplication",icon:"continuous-replication",jobKey:"continuousReplication",method:"vm.deltaCopy"}},De=(o=(0,de.default)(),o(a=function(e){function t(){var e,n,r,o;(0,M.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,x.default)(this,(e=t.__proto__||(0,y.default)(t)).call.apply(e,[this].concat(i))),r._onChange=function(e){var t=(0,te.default)(e).trim();r.props.onChange(""===t?null:1e3*+t)},o=n,(0,x.default)(r,o)}return(0,T.default)(t,e),(0,S.default)(t,[{key:"render",value:function(){var e=this.props,t=e.value;return se.default.createElement("input",(0,P.default)({},e,{onChange:this._onChange,type:"number",value:null==t?"":String(t/1e3)}))}}]),t}(Q.default))||a),Ie="0 0 * * *",Be=ae.default.tz.guess(),Ve=function(e){for(;"object"===("undefined"==typeof e?"undefined":(0,b.default)(e));)e=e.id;return e},qe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q.default;return e&&{not:!!e.__not,values:t((e.__not||e).__or)}},Fe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:be.EMPTY_OBJECT,t=e.not,n=e.values,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q.default;if(null!=n&&n.length){var o={__or:r(n)};return t?{__not:o}:o}},Ue=(0,u.default)(re.default,{icon:"error"}),We=(0,u.default)(re.default,{icon:"vm"}),He=(0,u.default)(re.default,{icon:"vm"}),Xe=((0,u.default)(pe.default,{place:"newBackup",available:3}),i=(0,be.connectStore)({currentUser:Me.getUser}),i(s=function(e){function t(){var e,n,r,o,a=this;(0,M.default)(this,t);for(var i=arguments.length,s=Array(i),l=0;l<i;l++)s[l]=arguments[l];return n=r=(0,x.default)(this,(e=t.__proto__||(0,y.default)(t)).call.apply(e,[this].concat(s))),r._getParams=(0,ye.createSelector)(function(){return r.props.job},function(e){if(!e)return{main:{},vms:{vms:[]}};var t=e.paramsVector.items;if(1===t.length){var n=(0,m.default)(t[0].values[0],[]);return{main:n,vms:{vms:(0,D.default)(t[0].values.slice(1),Ve)}}}if("map"===t[1].type){var r=t[1].collection.pattern,o=r.$pool,a=r.tags;return{main:t[0].values[0],vms:{$pool:qe(o),power_state:r.power_state,tags:qe(a,function(e){return(0,D.default)(e,function(e){return(0,B.default)(e)?e[0]:e})})}}}return{main:t[1].values[0],vms:{vms:(0,D.default)(t[0].values,Ve)}}}),r._getMainParams=function(){return r.state.mainParams||r._getParams().main},r._getVmsParam=function(){return r.state.vmsParam||r._getParams().vms},r._getScheduling=(0,ye.createSelector)(function(){return r.props.schedule},function(){return r.state.scheduling},function(e,t){if(void 0!==t)return t;var n=e||be.EMPTY_OBJECT,r=n.cron,o=void 0===r?Ie:r,a=n.timezone,i=void 0===a?Be:a;return{cronPattern:o,timezone:i}}),r._handleSubmit=(0,p.default)(d.default.mark(function e(){var t,n,o,i,s,l,u,c,f,p,h,v,b,g,y,_;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r,n=t.props,o=t.state,i=r._getValue("job","method"),s=Le[i],l=r._getMainParams(),u=l.enabled,c=(0,m.default)(l,["enabled"]),f=r._getVmsParam(),p=(0,P.default)({},o.job,{type:"call",key:s.jobKey,paramsVector:{type:"crossProduct",items:(0,B.default)(f.vms)?[{type:"set",values:(0,D.default)(f.vms,function(e){return{id:Ve(e)}})},{type:"set",values:[c]}]:[{type:"set",values:[c]},{type:"map",collection:{type:"fetchObjects",pattern:{$pool:Fe(f.$pool),power_state:"All"===f.power_state?void 0:f.power_state,tags:Fe(f.tags,function(e){return(0,D.default)(e,function(e){return[e]})}),type:"VM"}},iteratee:{type:"extractProperties",mapping:{id:"id"}}}]}}),h=r._getScheduling(),v=void 0,"call"===p.type&&(b=p.paramsVector,"crossProduct"===b.type&&(g=b.items,(0,U.default)(g,function(e){if("set"===e.type&&((0,U.default)(e.values,function(e){if(e.remoteId)return v=e.remoteId,!1}),v))return!1}))),!v){e.next=16;break}return e.next=12,(0,Se.getRemote)(v);case 12:if(y=e.sent,!(0,O.default)(y.url,"file:")){e.next=16;break}return e.next=16,(0,ve.confirm)({title:(0,H.default)("localRemoteWarningTitle"),body:(0,H.default)("localRemoteWarningMessage")});case 16:if(_=n.job,!_){e.next=22;break}return p.id=_.id,e.next=21,(0,Se.editJob)(p);case 21:return e.abrupt("return",(0,Se.editSchedule)({id:n.schedule.id,cron:h.cronPattern,timezone:h.timezone}));case 22:return null===p.timeout&&delete p.timeout,e.t0=Se.createSchedule,e.next=26,(0,Se.createJob)(p);case 26:return e.t1=e.sent,e.t2={cron:h.cronPattern,enabled:u,timezone:h.timezone},e.abrupt("return",(0,e.t0)(e.t1,e.t2));case 29:case"end":return e.stop()}},e,a)})),r._handleReset=function(){r.setState((0,j.default)(r.state,z.default))},r._handleSmartBackupMode=function(e){r.setState("smart"===e.target.value?{vmsParam:{}}:{vmsParam:{vms:[]}})},r._subjectPredicate=function(e){var t=e.type,n=e.permission;return"user"===t&&"admin"===n},r._getValue=function(e,t,n){var o=void 0;return null!=(o=r.state[e])&&void 0!==(o=o[t])?o:null!=(o=r.props[e])&&void 0!==(o=o[t])?o:n},o=n,(0,x.default)(r,o)}return(0,T.default)(t,e),(0,S.default)(t,[{key:"render",value:function(){var e=this._getValue("job","method",""),t=this._getScheduling(),n=this._getVmsParam(),r=Le[e],o=!(0,B.default)(n.vms);return(0,u.default)(pe.default,{place:"newBackup",required:2},void 0,(0,u.default)(me.default,{},void 0,(0,u.default)("form",{id:"form-new-vm-backup"},void 0,(0,u.default)(he.Section,{icon:"backup",title:this.props.job?"editVmBackup":"newVmBackup"},void 0,(0,u.default)(ge.Container,{},void 0,(0,u.default)(ge.Row,{},void 0,(0,u.default)(ge.Col,{},void 0,(0,u.default)("fieldset",{className:"form-group"},void 0,(0,u.default)("label",{},void 0,(0,H.default)("backupOwner")),(0,u.default)(we.SelectSubject,{onChange:this.linkState("job.userId","id"),predicate:this._subjectPredicate,required:!0,value:this._getValue("job","userId",this.props.currentUser.id)})),(0,u.default)("fieldset",{className:"form-group"},void 0,(0,u.default)("label",{},void 0,(0,H.default)("jobTimeoutPlaceHolder")),(0,u.default)(De,{className:"form-control",onChange:this.linkState("job.timeout"),value:this._getValue("job","timeout")})),(0,u.default)("fieldset",{className:"form-group"},void 0,(0,u.default)("label",{htmlFor:"selectBackup"},void 0,(0,H.default)("newBackupSelection")),(0,u.default)("select",{className:"form-control",id:"selectBackup",onChange:this.linkState("job.method"),required:!0,value:e},void 0,(0,H.default)("noSelectedValue",function(e){return(0,u.default)("option",{value:""},void 0,e)}),(0,D.default)(Le,function(e,t){return(0,H.default)(e.label,function(e){return(0,u.default)("option",{value:t},t,e)})}))),("vm.rollingDeltaBackup"===e||"vm.deltaCopy"===e)&&(0,u.default)("div",{className:"alert alert-warning",role:"alert"},void 0,Ue," ",(0,H.default)("backupVersionWarning")),r&&(0,u.default)("div",{},void 0,(0,u.default)(Z.default,{label:(0,u.default)("span",{},void 0,(0,u.default)(re.default,{icon:r.icon})," ",(0,H.default)(r.label)),required:!0,schema:r.schema,uiSchema:r.uiSchema,onChange:this.linkState("mainParams"),value:this._getMainParams()}),(0,u.default)("fieldset",{className:"form-group"},void 0,(0,u.default)("label",{htmlFor:"smartMode"},void 0,(0,H.default)("smartBackupModeSelection")),(0,u.default)("select",{className:"form-control",id:"smartMode",onChange:this._handleSmartBackupMode,required:!0,value:o?"smart":"normal"},void 0,(0,H.default)("normalBackup",function(e){return(0,u.default)("option",{value:"normal"},void 0,e)}),(0,H.default)("smartBackup",function(e){return(0,u.default)("option",{value:"smart"},void 0,e)}))),o?(0,u.default)(pe.default,{place:"newBackup",required:3},void 0,(0,u.default)(Z.default,{label:(0,u.default)("span",{},void 0,We," ",(0,H.default)("vmsToBackup")),onChange:this.linkState("vmsParam"),required:!0,schema:ke,uiSchema:Te,value:n})):(0,u.default)(Z.default,{label:(0,u.default)("span",{},void 0,He," ",(0,H.default)("vmsToBackup")),onChange:this.linkState("vmsParam"),required:!0,schema:Ce,uiSchema:xe,value:n})))))),(0,u.default)(he.Section,{icon:"schedule",title:"schedule"},void 0,(0,u.default)(ue.default,{onChange:this.linkState("scheduling"),value:t})),(0,u.default)(he.Section,{icon:"preview",title:"preview",summary:!0},void 0,(0,u.default)(ge.Container,{},void 0,(0,u.default)(ge.Row,{},void 0,(0,u.default)(ge.Col,{},void 0,(0,u.default)(le.SchedulePreview,{cronPattern:t.cronPattern}),(0,u.default)("fieldset",{className:"pull-right pt-1"},void 0,(0,u.default)(K.default,{btnStyle:"primary",className:"mr-1",disabled:!r,form:"form-new-vm-backup",handler:this._handleSubmit,icon:"save",redirectOnSuccess:"/backup/overview",size:"large"},void 0,(0,H.default)("saveBackupJob")),(0,u.default)(Y.default,{onClick:this._handleReset,size:"large"},void 0,(0,H.default)("selectTableReset"))))))))))}}]),t}(Q.default))||s);n.default=Xe},{"action-button":1401,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/asyncToGenerator":21,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/objectWithoutProperties":28,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/typeof":33,"babel-runtime/regenerator":147,"base-component":1405,button:1407,"get-event-value":1430,grid:1431,icon:1435,intl:1436,"json-schema-input":1454,"lodash/forEach":716,"lodash/identity":727,"lodash/isArray":731,"lodash/map":754,"lodash/mapValues":756,"lodash/noop":759,"lodash/startsWith":777,modal:1461,"moment-timezone":801,react:1269,reselect:1291,scheduling:1467,"select-objects":1469,selectors:1470,"uncontrollable-input":1361,utils:1490,wizard:1492,xo:1519,"xo-json-schema-input":1493,"xoa-upgrade":1528}],1538:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/core-js/object/keys"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("babel-runtime/helpers/jsx"),y=r(g),_=e("intl"),M=r(_),w=e("action-row-button"),S=r(w),C=e("button-group"),x=r(C),k=e("base-component"),T=r(k),A=e("lodash/filter"),P=r(A),N=e("lodash/find"),O=r(N),E=e("lodash/forEach"),z=r(E),R=e("lodash/get"),j=r(R),L=e("icon"),D=r(L),I=e("link"),B=r(I),V=e("../../logs"),q=r(V),F=e("lodash/map"),U=r(F),W=e("lodash/orderBy"),H=r(W),X=e("react"),K=(r(X),
|
85 | e("sorted-table")),G=r(K),Y=e("state-button"),$=r(Y),Q=e("tooltip"),J=r(Q),Z=e("utils"),ee=e("selectors"),te=e("card"),ne=e("xo"),re={continuousReplication:(0,M.default)("continuousReplication"),deltaBackup:(0,M.default)("deltaBackup"),disasterRecovery:(0,M.default)("disasterRecovery"),rollingBackup:(0,M.default)("backup"),rollingSnapshot:(0,M.default)("rollingSnapshot")},oe=(0,y.default)(D.default,{className:"mr-1",icon:"error"}),ae=(0,y.default)(D.default,{icon:"edit"}),ie=[{name:(0,M.default)("jobId"),itemRenderer:function(e){var t=e.jobId;return t.slice(4,8)},sortCriteria:"jobId"},{name:(0,M.default)("jobType"),itemRenderer:function(e){var t=e.jobLabel;return t},sortCriteria:"jobLabel"},{name:(0,M.default)("jobTag"),itemRenderer:function(e){var t=e.scheduleTag;return t},default:!0,sortCriteria:function(e){var t=e.scheduleTag;return t}},{name:(0,M.default)("jobScheduling"),itemRenderer:function(e){var t=e.schedule;return t.cron},sortCriteria:function(e){var t=e.schedule;return t.cron}},{name:(0,M.default)("jobTimezone"),itemRenderer:function(e){var t=e.schedule;return t.timezone||(0,M.default)("jobServerTimezone")},sortCriteria:function(e){var t=e.schedule;return t.timezone}},{name:(0,M.default)("jobState"),itemRenderer:function(e){var t=e.schedule,n=e.scheduleToggleValue;return(0,y.default)($.default,{disabledLabel:(0,M.default)("jobStateDisabled"),disabledHandler:ne.enableSchedule,disabledTooltip:(0,M.default)("logIndicationToEnable"),enabledLabel:(0,M.default)("jobStateEnabled"),enabledHandler:ne.disableSchedule,enabledTooltip:(0,M.default)("logIndicationToDisable"),handlerParam:t.id,state:n})},sortCriteria:"scheduleToggleValue"},{name:(0,M.default)("jobAction"),itemRenderer:function(e,t){var n=e.schedule;return(0,y.default)("fieldset",{},void 0,!t[n.id]&&(0,y.default)(J.default,{content:(0,M.default)("backupUserNotFound")},void 0,oe),(0,y.default)(B.default,{className:"btn btn-sm btn-primary mr-1",to:"/backup/"+n.id+"/edit"},void 0,ae),(0,y.default)(x.default,{},void 0,(0,y.default)(S.default,{icon:"delete",btnStyle:"danger",handler:ne.deleteBackupSchedule,handlerParam:n}),(0,y.default)(S.default,{disabled:!t[n.id],icon:"run-schedule",btnStyle:"warning",handler:ne.runJob,handlerParam:n.job})))},textAlign:"right"}],se=(0,y.default)(D.default,{icon:"schedule"}),le=(o=(0,Z.addSubscriptions)({users:ne.subscribeUsers}),o(a=function(e){function t(e){(0,d.default)(this,t);var n=(0,m.default)(this,(t.__proto__||(0,u.default)(t)).call(this,e));return n._getScheduleCollection=(0,ee.createSelector)(function(){return n.state.schedules},function(){return n.state.scheduleTable},function(){return n.state.jobs},function(e,t,n){return e&&n?(0,U.default)(e,function(e){var r=n[e.job],o=r.paramsVector.items;return{jobId:r.id,jobLabel:re[r.key]||(0,M.default)("unknownSchedule"),scheduleTag:(0,j.default)(o,"[0].values[0].tag")||(0,j.default)(o,"[1].values[0].tag")||e.id,schedule:e,scheduleToggleValue:t&&t[e.id]}}):[]}),n._getIsScheduleUserMissing=(0,ee.createSelector)(function(){return n.state.schedules},function(){return n.state.jobs},function(){return n.props.users},function(e,t,n){var r={};return(0,z.default)(e,function(e){r[e.id]=!(!t||!(0,O.default)(n,function(n){return n.id===t[e.job].userId}))}),r}),n.state={schedules:[],scheduleTable:{}},n}return(0,b.default)(t,e),(0,p.default)(t,[{key:"componentWillMount",value:function(){var e=this,t=(0,ne.subscribeJobs)(function(t){var n={};(0,z.default)(t,function(e){n[e.id]=e}),e.setState({jobs:n})}),n=(0,ne.subscribeSchedules)(function(t){t=(0,P.default)(t,function(t){var n=e.state.jobs&&e.state.jobs[t.job];return n&&re[n.key]}),e.setState({schedules:(0,H.default)(t,function(e){return+e.id.split(":")[1]},["desc"])})}),r=(0,ne.subscribeScheduleTable)(function(t){e.setState({scheduleTable:t})});this.componentWillUnmount=function(){t(),n(),r()}}},{key:"render",value:function(){var e=this.state.schedules,t=this._getIsScheduleUserMissing();return(0,y.default)("div",{},void 0,(0,y.default)(te.Card,{},void 0,(0,y.default)(te.CardHeader,{},void 0,(0,y.default)("h5",{},void 0,se," ",(0,M.default)("backupSchedules"))),(0,y.default)(te.CardBlock,{},void 0,e.length?(0,y.default)(G.default,{columns:ie,collection:this._getScheduleCollection(),userData:t}):(0,y.default)("p",{},void 0,(0,M.default)("noScheduledJobs")))),(0,y.default)(q.default,{jobKeys:(0,s.default)(re)}))}}]),t}(T.default))||a);n.default=le},{"../../logs":1570,"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/object/keys":15,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,"button-group":1406,card:1408,icon:1435,intl:1436,link:1459,"lodash/filter":709,"lodash/find":710,"lodash/forEach":716,"lodash/get":724,"lodash/map":754,"lodash/orderBy":763,react:1269,selectors:1470,"sorted-table":1475,"state-button":1476,tooltip:1488,utils:1490,xo:1519}],1539:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/regenerator"),s=r(i),l=e("babel-runtime/helpers/slicedToArray"),u=r(l),c=e("babel-runtime/core-js/promise"),d=r(c),f=e("babel-runtime/helpers/asyncToGenerator"),p=r(f),h=e("babel-runtime/core-js/object/get-prototype-of"),m=r(h),v=e("babel-runtime/helpers/classCallCheck"),b=r(v),g=e("babel-runtime/helpers/createClass"),y=r(g),_=e("babel-runtime/helpers/possibleConstructorReturn"),M=r(_),w=e("babel-runtime/helpers/inherits"),S=r(w),C=e("babel-runtime/helpers/jsx"),x=r(C),k=e("intl"),T=r(k),A=e("base-component"),P=r(A),N=e("lodash/filter"),O=r(N),E=e("lodash/find"),z=r(E),R=e("lodash/forEach"),j=r(R),L=e("lodash/groupBy"),D=r(L),I=e("icon"),B=r(I),V=e("lodash/isEmpty"),q=r(V),F=e("lodash/map"),U=r(F),W=e("lodash/mapValues"),H=r(W),X=e("moment"),K=r(X),G=e("react"),Y=(r(G),e("lodash/reduce")),$=r(Y),Q=e("sorted-table"),J=r(Q),Z=e("lodash/uniq"),ee=r(Z),te=e("xoa-upgrade"),ne=r(te),re=e("modal"),oe=e("utils"),ae=e("grid"),ie=e("react-intl"),se=e("notification"),le=e("form"),ue=e("select-objects"),ce=e("xo"),de=function(e){return+(0,K.default)(e,"YYYYMMDDTHHmmssZ").format("x")},fe=function(e){return(0,x.default)("span",{},void 0,"delta"===e.type&&(0,x.default)("span",{},void 0,(0,x.default)("span",{className:"tag tag-info"},void 0,(0,T.default)("delta"))," "),e.tag," - ",e.remoteName," ","(",(0,x.default)(ie.FormattedDate,{value:new Date(e.date),month:"long",day:"numeric",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}),")")},pe=[{name:(0,T.default)("backupVmNameColumn"),itemRenderer:function(e){var t=e.last;return t.name},sortCriteria:function(e){var t=e.last;return t.name}},{name:(0,T.default)("backupTags"),itemRenderer:function(e){var t=e.tagsByRemote;return(0,x.default)(ae.Container,{},void 0,(0,U.default)(t,function(e){var t=e.tags,n=e.remoteName;return(0,x.default)(ae.Row,{},void 0,(0,x.default)(ae.Col,{mediumSize:3},void 0,(0,x.default)("strong",{},void 0,n)),(0,x.default)(ae.Col,{mediumSize:9},void 0,t.join(", ")))}))}},{name:(0,T.default)("lastBackupColumn"),itemRenderer:function(e){var t=e.last;return(0,x.default)(ie.FormattedDate,{value:t.date,month:"long",day:"numeric",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"})},sortCriteria:function(e){var t=e.last;return t.date},sortOrder:"desc"},{name:(0,T.default)("availableBackupsColumn"),itemRenderer:function(e){var t=e.simpleCount,n=e.deltaCount;return(0,x.default)("span",{},void 0,!!t&&(0,x.default)("span",{},void 0,(0,T.default)("simpleBackup")," ",(0,x.default)("span",{className:"tag tag-pill tag-primary"},void 0,t)),!!t&&!!n&&", ",!!n&&(0,x.default)("span",{},void 0,(0,T.default)("delta")," ",(0,x.default)("span",{className:"tag tag-pill tag-primary"},void 0,n)))}}],he=function(e){var t=e.backups;return(0,re.confirm)({title:(0,T.default)("importBackupModalTitle",{name:t[0].name}),body:(0,x.default)(ye,{vmName:t[0].name,backups:t})}).then(me)},me=function(e){var t=e.backup,n=e.sr,r=e.start;if(!n||!t)return void(0,se.error)((0,T.default)("backupRestoreErrorTitle"),(0,T.default)("backupRestoreErrorMessage"));var o={delta:ce.importDeltaBackup,simple:ce.importBackup};(0,se.info)((0,T.default)("importBackupTitle"),(0,T.default)("importBackupMessage"));try{var a=o[t.type]({remote:t.remoteId,sr:n,file:t.path}).then(function(e){return e});r&&a.then(function(e){return(0,ce.startVm)({id:e})})}catch(e){(0,se.error)("VM import",e.message||String(e))}},ve=(0,x.default)("br",{}),be=(0,x.default)("br",{}),ge=function(e){function t(){return(0,b.default)(this,t),(0,M.default)(this,(t.__proto__||(0,m.default)(t)).apply(this,arguments))}return(0,S.default)(t,e),(0,y.default)(t,[{key:"render",value:function(){var e=this.props,t=e.backups,n=e.intl;return(0,x.default)("div",{},void 0,(0,x.default)(ue.SelectSr,{onChange:this.linkState("sr"),predicate:ce.isSrWritable}),ve,(0,x.default)(le.SelectPlainObject,{onChange:this.linkState("backup"),optionKey:"path",optionRenderer:fe,options:t,placeholder:n.formatMessage(k.messages.importBackupModalSelectBackup)}),be,(0,x.default)(le.Toggle,{onChange:this.linkState("start")})," ",(0,T.default)("importBackupModalStart"))}},{key:"value",get:function(){return this.state}}]),t}(P.default),ye=(0,ie.injectIntl)(ge,{withRef:!0}),_e=(0,x.default)(B.default,{icon:"info"}),Me=((0,x.default)(ae.Container,{},void 0,(0,x.default)(ne.default,{place:"restoreBackup",available:2})),o=(0,oe.addSubscriptions)({rawRemotes:ce.subscribeRemotes}),o(a=function(e){function t(){var e,n,r,o,a=this;(0,b.default)(this,t);for(var i=arguments.length,l=Array(i),c=0;c<i;c++)l[c]=arguments[c];return n=r=(0,M.default)(this,(e=t.__proto__||(0,m.default)(t)).call.apply(e,[this].concat(l))),r._listAll=function(){var e=(0,p.default)(s.default.mark(function e(t){var n,o;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.default.all((0,U.default)(t,function(e){return(0,ce.listRemote)(e.id)}));case 2:n=e.sent,o={},(0,j.default)(n,function(e,n){var r=t[n];(0,j.default)(e,function(e){var t=void 0,n=/^vm_delta_(.*)_([^\/]+)\/([^_]+)_(.*)$/.exec(e);if(n){var a=(0,u.default)(n,5),i=a[1],s=a[2],l=a[3],c=a[4];t={type:"delta",date:de(l),id:s,name:c,path:e,tag:i,remoteId:r.id,remoteName:r.name}}else{var d=/^([^_]+)_([^_]+)_(.*)\.xva$/.exec(e);if(d){var f=(0,u.default)(d,4),p=f[1],h=f[2],m=f[3];t={type:"simple",date:de(p),name:m,path:e,tag:h,remoteId:r.id,remoteName:r.name}}}t&&(o[t.name]||(o[t.name]=[]),o[t.name].push(t))})}),(0,j.default)(o,function(e,n){o[n]={backups:e,last:(0,$.default)(e,function(e,t){return t.date>e.date?t:e}),tagsByRemote:(0,H.default)((0,D.default)(e,"remoteId"),function(e,n){return{remoteName:(0,z.default)(t,function(e){return e.id===n}).name,tags:(0,ee.default)((0,U.default)(e,"tag"))}}),simpleCount:(0,$.default)(e,function(e,t){return"simple"===t.type?++e:e},0),deltaCount:(0,$.default)(e,function(e,t){return"delta"===t.type?++e:e},0)}}),r.setState({backupInfoByVm:o});case 7:case"end":return e.stop()}},e,a)}));return function(t){return e.apply(this,arguments)}}(),o=n,(0,M.default)(r,o)}return(0,S.default)(t,e),(0,y.default)(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.rawRemotes,n=void 0;(n=(0,O.default)(t,"enabled"))!==(0,O.default)(this.props.rawRemotes,"enabled")&&this._listAll(n).catch(oe.noop)}},{key:"render",value:function(){var e=this.state.backupInfoByVm;return e?(0,x.default)(ae.Container,{},void 0,(0,x.default)("h2",{},void 0,(0,T.default)("restoreBackups")),(0,q.default)(e)?(0,T.default)("noBackup"):(0,x.default)("div",{},void 0,(0,x.default)("em",{},void 0,_e," ",(0,T.default)("restoreBackupsInfo")),(0,x.default)(J.default,{collection:e,columns:pe,rowAction:he,defaultColumn:2}))):(0,x.default)("h2",{},void 0,(0,T.default)("statusLoading"))}}]),t}(P.default))||a);n.default=Me},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/asyncToGenerator":21,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/slicedToArray":30,"babel-runtime/regenerator":147,"base-component":1405,form:1425,grid:1431,icon:1435,intl:1436,"lodash/filter":709,"lodash/find":710,"lodash/forEach":716,"lodash/groupBy":725,"lodash/isEmpty":735,"lodash/map":754,"lodash/mapValues":756,"lodash/reduce":768,"lodash/uniq":793,modal:1461,moment:810,notification:1463,react:1269,"react-intl":1103,"select-objects":1469,"sorted-table":1475,utils:1490,xo:1519,"xoa-upgrade":1528}],1540:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/extends"),s=r(i),l=e("babel-runtime/helpers/objectWithoutProperties"),u=r(l),c=e("babel-runtime/helpers/slicedToArray"),d=r(c),f=e("babel-runtime/core-js/promise"),p=r(f),h=e("babel-runtime/core-js/object/get-prototype-of"),m=r(h),v=e("babel-runtime/helpers/classCallCheck"),b=r(v),g=e("babel-runtime/helpers/createClass"),y=r(g),_=e("babel-runtime/helpers/possibleConstructorReturn"),M=r(_),w=e("babel-runtime/helpers/inherits"),S=r(w),C=e("babel-runtime/helpers/jsx"),x=r(C),k=e("intl"),T=r(k),A=e("action-row-button"),P=r(A),N=e("base-component"),O=r(N),E=e("lodash/get"),z=r(E),R=e("icon"),j=r(R),L=e("lodash/isEmpty"),D=r(L),I=e("link"),B=r(I),V=e("lodash/map"),q=r(V),F=e("lodash/mapValues"),U=r(F),W=e("sorted-table"),H=r(W),X=e("tab-button"),K=r(X),G=e("tooltip"),Y=r(G),$=e("xoa-upgrade"),Q=r($),J=e("react"),Z=(r(J),e("xml2js")),ee=r(Z),te=e("card"),ne=e("modal"),re=e("xo"),oe=e("react-intl"),ae=e("promise-toolbox"),ie=e("grid"),se=e("selectors"),le=e("utils"),ue=(0,le.connectStore)(function(){return{container:(0,se.createGetObject)()}})(function(e){var t=e.container;return(0,x.default)(B.default,{to:t.type+"s/"+t.id},void 0,t.name_label)}),ce=(0,le.connectStore)(function(){return{sr:(0,se.createGetObject)()}})(function(e){var t=e.sr;return(0,x.default)(B.default,{to:"srs/"+t.id},void 0,t.name_label)}),de=(0,le.connectStore)(function(){return{container:(0,se.createGetObject)()}})(function(e){var t=e.container;return(0,x.default)("span",{},void 0,t.name_label)}),fe=(0,le.connectStore)(function(){return{object:(0,se.createGetObject)()}})(function(e){var t=e.object;if(!t)return null;switch(t.type){case"VM":return(0,x.default)(B.default,{to:"vms/"+t.id},void 0,t.name_label);case"VM-controller":return(0,x.default)(B.default,{to:"hosts/"+t.$container},void 0,t.name_label);case"host":return(0,x.default)(B.default,{to:"hosts/"+t.id},void 0,t.name_label);default:return null}}),pe=(0,le.connectStore)(function(){return{pool:(0,se.createGetObject)()}})(function(e){var t=e.pool;return t?(0,x.default)(B.default,{to:"pools/"+t.id},void 0,t.name_label):null}),he=[{name:(0,T.default)("srName"),itemRenderer:function(e){return e.name_label},sortCriteria:function(e){return e.name_label}},{name:(0,T.default)("srPool"),itemRenderer:function(e){return(0,x.default)(ue,{id:e.$container})}},{name:(0,T.default)("srFormat"),itemRenderer:function(e){return e.SR_type},sortCriteria:function(e){return e.SR_type}},{name:(0,T.default)("srSize"),itemRenderer:function(e){return(0,le.formatSize)(e.size)},sortCriteria:function(e){return e.size}},{default:!0,name:(0,T.default)("srUsage"),itemRenderer:function(e){return e.size>1&&(0,x.default)(Y.default,{content:(0,T.default)("spaceLeftTooltip",{used:Math.round(e.physical_usage/e.size*100),free:(0,le.formatSize)(e.size-e.physical_usage)})},void 0,(0,x.default)("meter",{value:e.physical_usage/e.size*100,min:"0",max:"100",optimum:"40",low:"80",high:"90"}))},sortCriteria:function(e){return e.physical_usage/e.size},sortOrder:"desc"}],me=[{name:(0,T.default)("snapshotDate"),itemRenderer:function(e){return(0,x.default)("span",{},void 0,(0,x.default)(oe.FormattedTime,{value:1e3*e.snapshot_time,minute:"numeric",hour:"numeric",day:"numeric",month:"long",year:"numeric"})," (",(0,x.default)(oe.FormattedRelative,{value:1e3*e.snapshot_time}),")")},sortCriteria:function(e){return e.snapshot_time},sortOrder:"desc"},{name:(0,T.default)("vdiNameLabel"),itemRenderer:function(e){return e.name_label},sortCriteria:function(e){return e.name_label}},{name:(0,T.default)("vdiNameDescription"),itemRenderer:function(e){return e.name_description},sortCriteria:function(e){return e.name_description}},{name:(0,T.default)("vdiSize"),itemRenderer:function(e){return(0,le.formatSize)(e.size)},sortCriteria:function(e){return e.size}},{name:(0,T.default)("vdiSr"),itemRenderer:function(e){return(0,x.default)(ce,{id:e.$SR})}},{name:(0,T.default)("logAction"),itemRenderer:function(e){return(0,x.default)(P.default,{btnStyle:"danger",handler:re.deleteVdi,handlerParam:e,icon:"delete"})}}],ve=[{name:(0,T.default)("snapshotDate"),itemRenderer:function(e){return(0,x.default)("span",{},void 0,(0,x.default)(oe.FormattedTime,{value:1e3*e.snapshot_time,minute:"numeric",hour:"numeric",day:"numeric",month:"long",year:"numeric"})," (",(0,x.default)(oe.FormattedRelative,{value:1e3*e.snapshot_time}),")")},sortCriteria:function(e){return e.snapshot_time},sortOrder:"desc"},{name:(0,T.default)("vmNameLabel"),itemRenderer:function(e){return e.name_label},sortCriteria:function(e){return e.name_label}},{name:(0,T.default)("vmNameDescription"),itemRenderer:function(e){return e.name_description},sortCriteria:function(e){return e.name_description}},{name:(0,T.default)("vmContainer"),itemRenderer:function(e){return(0,x.default)(de,{id:e.$container})}},{name:(0,T.default)("logAction"),itemRenderer:function(e){return(0,x.default)(P.default,{btnStyle:"danger",handler:re.deleteVm,handlerParam:e,icon:"delete"})}}],be=(0,x.default)("br",{}),ge=[{name:(0,T.default)("alarmDate"),itemRenderer:function(e){return(0,x.default)("span",{},void 0,(0,x.default)(oe.FormattedTime,{value:1e3*e.time,minute:"numeric",hour:"numeric",day:"numeric",month:"long",year:"numeric"})," (",(0,x.default)(oe.FormattedRelative,{value:1e3*e.time}),")")},sortCriteria:function(e){return e.time},sortOrder:"desc"},{name:(0,T.default)("alarmContent"),itemRenderer:function(e){var t=e.formatted,n=e.body;return t?(0,x.default)("div",{},void 0,(0,x.default)(ie.Row,{},void 0,(0,x.default)(ie.Col,{mediumSize:6},void 0,(0,x.default)("strong",{},void 0,t.name)),(0,x.default)(ie.Col,{mediumSize:6},void 0,t.value)),be,(0,q.default)(t.alarmAttributes,function(e,t){return(0,x.default)(ie.Row,{},void 0,(0,x.default)(ie.Col,{mediumSize:6},void 0,t),(0,x.default)(ie.Col,{mediumSize:6},void 0,e))})):(0,x.default)("pre",{style:{whiteSpace:"pre-wrap"}},void 0,n)},sortCriteria:function(e){return e.body}},{name:(0,T.default)("alarmObject"),itemRenderer:function(e){return(0,x.default)(fe,{id:e.$object})}},{name:(0,T.default)("alarmPool"),itemRenderer:function(e){return(0,x.default)(pe,{id:e.$pool})}},{name:(0,T.default)("logAction"),itemRenderer:function(e){return(0,x.default)(P.default,{btnStyle:"danger",handler:re.deleteMessage,handlerParam:e,icon:"delete"})}}],ye=(0,x.default)(j.default,{icon:"disk"}),_e=(0,x.default)(j.default,{icon:"disk"}),Me=(0,x.default)(j.default,{icon:"vm"}),we=(0,x.default)(j.default,{icon:"alarm"}),Se=((0,x.default)(ie.Container,{},void 0,(0,x.default)(Q.default,{place:"health",available:4})),o=(0,le.connectStore)(function(){var e=(0,se.createGetObjectsOfType)("VDI-snapshot").filter([function(e){return!e.$snapshot_of}]).sort(),t=(0,se.createGetObjectsOfType)("VM-snapshot").filter([function(e){return!e.$snapshot_of}]).sort(),n=(0,se.createGetObjectsOfType)("SR").filter([re.isSrWritable]),r=(0,se.createGetObjectsOfType)("SR").pick((0,se.createSelector)(e,function(e){return(0,q.default)(e,"$SR")})),o=(0,se.createGetObjectsOfType)("message").filter([function(e){return"ALARM"===e.name}]);return{alertMessages:o,userSrs:n,vdiOrphaned:e,vdiSr:r,vmOrphaned:t}}),o(a=function(e){function t(){var e,n,r,o;(0,b.default)(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r=(0,M.default)(this,(e=t.__proto__||(0,m.default)(t)).call.apply(e,[this].concat(i))),r._updateAlarms=function(e){p.default.all((0,q.default)(e.alertMessages,function(e,t){var n=e.body,r=/^value:\s*([0-9.]+)\s+config:\s*([^]*)$/.exec(n);if(r){var o=(0,d.default)(r,3),a=o[1],i=o[2];return(0,ae.fromCallback)(function(e){return ee.default.parseString(i,e)}).then(function(e){var n=(0,U.default)(e&&e.variable,function(e){return(0,z.default)(e,"[0].$.value")});if(n&&n.name){var r=n.name,o=(0,u.default)(n,["name"]);return{name:r,value:a,alarmAttributes:o,id:t}}},le.noop)}})).then(function(t){r.setState({messages:(0,q.default)(t,function(t){var n=(0,u.default)(t,[]),r=t.id;return(0,s.default)({formatted:n},e.alertMessages[r])})})},le.noop)},r._deleteOrphanedVdis=function(){return(0,re.deleteOrphanedVdis)(r.props.vdiOrphaned)},r._deleteAllLogs=function(){return(0,ne.confirm)({title:(0,T.default)("removeAllLogsModalTitle"),body:(0,x.default)("div",{},void 0,(0,x.default)("p",{},void 0,(0,T.default)("removeAllLogsModalWarning")),(0,x.default)("p",{},void 0,(0,T.default)("definitiveMessageModal")))}).then(function(){return p.default.all((0,q.default)(r.props.alertMessages,re.deleteMessage))},le.noop)},r._getSrUrl=function(e){return"srs/"+e.id},o=n,(0,M.default)(r,o)}return(0,S.default)(t,e),(0,y.default)(t,[{key:"componentWillReceiveProps",value:function(e){e.alertMessages!==this.props.alertMessages&&this._updateAlarms(e)}},{key:"componentDidMount",value:function(){this._updateAlarms(this.props)}},{key:"render",value:function(){return(0,x.default)(ie.Container,{},void 0,(0,x.default)(ie.Row,{},void 0,(0,x.default)(ie.Col,{},void 0,(0,x.default)(te.Card,{},void 0,(0,x.default)(te.CardHeader,{},void 0,ye," ",(0,T.default)("srStatePanel")),(0,x.default)(te.CardBlock,{},void 0,(0,D.default)(this.props.userSrs)?(0,x.default)("p",{className:"text-xs-center"},void 0,(0,T.default)("noSrs")):(0,x.default)(ie.Row,{},void 0,(0,x.default)(ie.Col,{},void 0,(0,x.default)(H.default,{collection:this.props.userSrs,columns:he,rowLink:this._getSrUrl}))))))),(0,x.default)(ie.Row,{},void 0,(0,x.default)(ie.Col,{},void 0,(0,x.default)(te.Card,{},void 0,(0,x.default)(te.CardHeader,{},void 0,_e," ",(0,T.default)("orphanedVdis")),(0,x.default)(te.CardBlock,{},void 0,(0,D.default)(this.props.vdiOrphaned)?(0,x.default)("p",{className:"text-xs-center"},void 0,(0,T.default)("noOrphanedObject")):(0,x.default)("div",{},void 0,(0,x.default)(ie.Row,{},void 0,(0,x.default)(ie.Col,{className:"text-xs-right"},void 0,(0,x.default)(K.default,{btnStyle:"danger",handler:this._deleteOrphanedVdis,icon:"delete",labelId:"removeAllOrphanedObject"}))),(0,x.default)(ie.Row,{},void 0,(0,x.default)(ie.Col,{},void 0,(0,x.default)(H.default,{collection:this.props.vdiOrphaned,columns:me})))))))),(0,x.default)(ie.Row,{},void 0,(0,x.default)(ie.Col,{},void 0,(0,x.default)(te.Card,{},void 0,(0,x.default)(te.CardHeader,{},void 0,Me," ",(0,T.default)("orphanedVms")),(0,x.default)(te.CardBlock,{},void 0,(0,D.default)(this.props.vmOrphaned)?(0,x.default)("p",{className:"text-xs-center"},void 0,(0,T.default)("noOrphanedObject")):(0,x.default)(H.default,{collection:this.props.vmOrphaned,columns:ve}))))),(0,x.default)(ie.Row,{},void 0,(0,x.default)(ie.Col,{},void 0,(0,x.default)(te.Card,{},void 0,(0,x.default)(te.CardHeader,{},void 0,we," ",(0,T.default)("alarmMessage")),(0,x.default)(te.CardBlock,{},void 0,(0,D.default)(this.props.alertMessages)?(0,x.default)("p",{className:"text-xs-center"},void 0,(0,T.default)("noAlarms")):(0,x.default)("div",{},void 0,(0,x.default)(ie.Row,{},void 0,(0,x.default)(ie.Col,{className:"text-xs-right"},void 0,(0,x.default)(K.default,{btnStyle:"danger",handler:this._deleteAllLogs,icon:"delete",labelId:"logRemoveAll"}))),(0,x.default)(ie.Row,{},void 0,(0,x.default)(ie.Col,{},void 0,(0,x.default)(H.default,{collection:this.state.messages,columns:ge})))))))))}}]),t}(O.default))||a);n.default=Se},{"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/objectWithoutProperties":28,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/slicedToArray":30,"base-component":1405,card:1408,grid:1431,icon:1435,intl:1436,link:1459,"lodash/get":724,"lodash/isEmpty":735,"lodash/map":754,"lodash/mapValues":756,modal:1461,"promise-toolbox":829,react:1269,"react-intl":1103,selectors:1470,"sorted-table":1475,"tab-button":1481,tooltip:1488,utils:1490,xml2js:1375,xo:1519,"xoa-upgrade":1528}],1541:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("intl"),s=r(i),l=e("icon"),u=r(l),c=e("../page"),d=r(c),f=e("react"),p=(r(f),e("utils")),h=e("grid"),m=e("nav"),v=e("./health"),b=r(v),g=e("./overview"),y=r(g),_=e("./stats"),M=r(_),w=e("./visualizations"),S=r(w),C=(0,a.default)(h.Container,{},void 0,(0,a.default)(h.Row,{},void 0,(0,a.default)(h.Col,{mediumSize:3},void 0,(0,a.default)("h2",{},void 0,(0,a.default)(u.default,{icon:"menu-dashboard"})," ",(0,s.default)("dashboardPage"))),(0,a.default)(h.Col,{mediumSize:9},void 0,(0,a.default)(m.NavTabs,{className:"pull-right"},void 0,(0,a.default)(m.NavLink,{to:"/dashboard/overview"},void 0,(0,a.default)(u.default,{icon:"menu-dashboard-overview"})," ",(0,s.default)("overviewDashboardPage")),(0,a.default)(m.NavLink,{to:"/dashboard/visualizations"},void 0,(0,a.default)(u.default,{icon:"menu-dashboard-visualization"})," ",(0,s.default)("overviewVisualizationDashboardPage")),(0,a.default)(m.NavLink,{to:"/dashboard/stats"},void 0,(0,a.default)(u.default,{icon:"menu-dashboard-stats"})," ",(0,s.default)("overviewStatsDashboardPage")),(0,a.default)(m.NavLink,{to:"/dashboard/health"},void 0,(0,a.default)(u.default,{icon:"menu-dashboard-health"})," ",(0,s.default)("overviewHealthDashboardPage")))))),x=(0,p.routes)("overview",{health:b.default,overview:y.default,stats:M.default,visualizations:S.default})(function(e){var t=e.children;return(0,a.default)(d.default,{header:C,title:"dashboardPage",formatTitle:!0},void 0,t)});n.default=x},{"../page":1578,"./health":1540,"./overview":1543,"./stats":1544,"./visualizations":1545,"babel-runtime/helpers/jsx":27,grid:1431,icon:1435,intl:1436,nav:1462,react:1269,utils:1490}],1542:[function(e,t,n){t.exports={bigCardContent:"mcb58e8535_bigCardContent"}},{}],1543:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l=e("babel-runtime/helpers/jsx"),u=r(l),c=e("babel-runtime/core-js/object/get-prototype-of"),d=r(c),f=e("babel-runtime/helpers/classCallCheck"),p=r(f),h=e("babel-runtime/helpers/createClass"),m=r(h),v=e("babel-runtime/helpers/possibleConstructorReturn"),b=r(v),g=e("babel-runtime/helpers/inherits"),y=r(g),_=e("intl"),M=r(_),w=e("button-group"),S=r(w),C=e("react-chartist"),x=r(C),k=e("base-component"),T=r(k),A=e("lodash/forEach"),P=r(A),N=e("icon"),O=r(N),E=e("prop-types"),z=r(E),R=e("link"),j=r(R),L=e("lodash/map"),D=r(L),I=e("hosts-patches-table"),B=r(I),V=e("react"),q=r(V),F=e("lodash/size"),U=r(F),W=e("xoa-upgrade"),H=r(W),X=e("card"),K=e("grid"),G=e("selectors"),Y=e("utils"),$=e("xo"),Q=e("./index.css"),J=r(Q),Z=(0,u.default)(O.default,{icon:"host-patch-update"}),ee=(o=(0,z.default)({hosts:z.default.object.isRequired}),o(a=function(e){function t(){var e,n,r,o;(0,p.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,b.default)(this,(e=t.__proto__||(0,d.default)(t)).call.apply(e,[this].concat(i))),r._getContainer=function(){return r.refs.container},o=n,(0,b.default)(r,o)}return(0,y.default)(t,e),(0,m.default)(t,[{key:"render",value:function(){return(0,u.default)(X.Card,{},void 0,(0,u.default)(X.CardHeader,{},void 0,Z," ",(0,M.default)("update"),q.default.createElement("div",{ref:"container",className:"pull-right"})),(0,u.default)(X.CardBlock,{},void 0,(0,u.default)(B.default,{buttonsGroupContainer:this._getContainer,container:S.default,displayPools:!0,hosts:this.props.hosts})))}}]),t}(T.default))||a),te=(0,u.default)(O.default,{icon:"pool"}),ne=(0,u.default)(O.default,{icon:"host"}),re=(0,u.default)(O.default,{icon:"vm"}),oe=(0,u.default)(O.default,{icon:"memory"}),ae=(0,u.default)(O.default,{icon:"cpu"}),ie=(0,u.default)(O.default,{icon:"disk"}),se=(0,u.default)(O.default,{icon:"alarm"}),le=(0,u.default)(O.default,{icon:"task"}),ue=(0,u.default)(O.default,{icon:"user"}),ce=(0,u.default)(O.default,{icon:"vm-force-shutdown"}),de=(0,u.default)(O.default,{icon:"disk"}),fe=((0,u.default)(K.Container,{},void 0,(0,u.default)(H.default,{place:"dashboard",available:3})),i=(0,Y.connectStore)(function(){var e=(0,G.createGetObjectsOfType)("host"),t=(0,G.createGetObjectsOfType)("VM"),n=(0,G.createGetHostMetrics)(e),r=(0,G.createTop)((0,G.createGetObjectsOfType)("SR").filter([$.isSrWritable]),[function(e){return e.physical_usage/e.size}],5),o=(0,G.createCollectionWrapper)((0,G.createSelector)(r,function(e){var t={srTotal:0,srUsage:0};return(0,P.default)(e,function(e){t.srUsage+=e.physical_usage,t.srTotal+=e.size}),t})),a=(0,G.createCollectionWrapper)((0,G.createSelector)(t,function(e){var t={vcpus:0,running:0,halted:0,other:0};return(0,P.default)(e,function(e){"Running"===e.power_state?(t.running++,t.vcpus+=e.CPUs.number):"Halted"===e.power_state?t.halted++:t.other++}),t})),i=(0,G.createCounter)((0,G.createGetObjectsOfType)("message"),[function(e){return"ALARM"===e.name}]),s=(0,G.createCounter)(e),l=(0,G.createCounter)((0,G.createGetObjectsOfType)("pool")),u=(0,G.createCounter)((0,G.createGetObjectsOfType)("task").filter([function(e){return"pending"===e.status}])),c=(0,G.createCounter)(t);return{hostMetrics:n,hosts:e,nAlarmMessages:i,nHosts:s,nPools:l,nTasks:u,nVms:c,srMetrics:o,userSrs:r,vmMetrics:a}}),i(s=function(e){function t(){return(0,p.default)(this,t),(0,b.default)(this,(t.__proto__||(0,d.default)(t)).apply(this,arguments))}return(0,y.default)(t,e),(0,m.default)(t,[{key:"componentWillMount",value:function(){var e=this;this.componentWillUnmount=(0,$.subscribeUsers)(function(t){e.setState({users:t})})}},{key:"render",value:function(){var e=this.props,t=this.state,n=t&&t.users,r=(0,U.default)(n);return(0,u.default)(K.Container,{},void 0,(0,u.default)(K.Row,{},void 0,(0,u.default)(K.Col,{mediumSize:4},void 0,(0,u.default)(X.Card,{},void 0,(0,u.default)(X.CardHeader,{},void 0,te," ",(0,M.default)("poolPanel",{pools:e.nPools})),(0,u.default)(X.CardBlock,{},void 0,(0,u.default)("p",{className:J.default.bigCardContent},void 0,(0,u.default)(j.default,{to:"/home?t=pool"},void 0,e.nPools))))),(0,u.default)(K.Col,{mediumSize:4},void 0,(0,u.default)(X.Card,{},void 0,(0,u.default)(X.CardHeader,{},void 0,ne," ",(0,M.default)("hostPanel",{hosts:e.nHosts})),(0,u.default)(X.CardBlock,{},void 0,(0,u.default)("p",{className:J.default.bigCardContent},void 0,(0,u.default)(j.default,{to:"/home?t=host"},void 0,e.nHosts))))),(0,u.default)(K.Col,{mediumSize:4},void 0,(0,u.default)(X.Card,{},void 0,(0,u.default)(X.CardHeader,{},void 0,re," ",(0,M.default)("vmPanel",{vms:e.nVms})),(0,u.default)(X.CardBlock,{},void 0,(0,u.default)("p",{className:J.default.bigCardContent},void 0,(0,u.default)(j.default,{to:"/home?s=&t=VM"},void 0,e.nVms)))))),(0,u.default)(K.Row,{},void 0,(0,u.default)(K.Col,{mediumSize:4},void 0,(0,u.default)(X.Card,{},void 0,(0,u.default)(X.CardHeader,{},void 0,oe," ",(0,M.default)("memoryStatePanel")),(0,u.default)(X.CardBlock,{className:"dashboardItem"},void 0,(0,u.default)(x.default,{data:{labels:["Used Memory","Total Memory"],series:[e.hostMetrics.memoryUsage,e.hostMetrics.memoryTotal-e.hostMetrics.memoryUsage]
|
86 | },options:{donut:!0,donutWidth:40,showLabel:!1},type:"Pie"}),(0,u.default)("p",{className:"text-xs-center"},void 0,(0,M.default)("ofUsage",{total:(0,Y.formatSize)(e.hostMetrics.memoryTotal),usage:(0,Y.formatSize)(e.hostMetrics.memoryUsage)}))))),(0,u.default)(K.Col,{mediumSize:4},void 0,(0,u.default)(X.Card,{},void 0,(0,u.default)(X.CardHeader,{},void 0,ae," ",(0,M.default)("cpuStatePanel")),(0,u.default)(X.CardBlock,{},void 0,(0,u.default)("div",{className:"ct-chart dashboardItem"},void 0,(0,u.default)(x.default,{data:{labels:["vCPUs","CPUs"],series:[e.vmMetrics.vcpus,e.hostMetrics.cpus]},options:{showLabel:!1,showGrid:!1,distributeSeries:!0},type:"Bar"}),(0,u.default)("p",{className:"text-xs-center"},void 0,(0,M.default)("ofUsage",{total:e.vmMetrics.vcpus+" vCPUs",usage:e.hostMetrics.cpus+" CPUs"})))))),(0,u.default)(K.Col,{mediumSize:4},void 0,(0,u.default)(X.Card,{},void 0,(0,u.default)(X.CardHeader,{},void 0,ie," ",(0,M.default)("srUsageStatePanel")),(0,u.default)(X.CardBlock,{},void 0,(0,u.default)("div",{className:"ct-chart dashboardItem"},void 0,(0,u.default)(R.BlockLink,{to:"/dashboard/health"},void 0,(0,u.default)(x.default,{data:{labels:["Used Space","Total Space"],series:[e.srMetrics.srUsage,e.srMetrics.srTotal-e.srMetrics.srUsage]},options:{donut:!0,donutWidth:40,showLabel:!1},type:"Pie"}),(0,u.default)("p",{className:"text-xs-center"},void 0,(0,M.default)("ofUsage",{total:(0,Y.formatSize)(e.srMetrics.srTotal),usage:(0,Y.formatSize)(e.srMetrics.srUsage)})))))))),(0,u.default)(K.Row,{},void 0,(0,u.default)(K.Col,{mediumSize:4},void 0,(0,u.default)(X.Card,{},void 0,(0,u.default)(X.CardHeader,{},void 0,se," ",(0,M.default)("alarmMessage")),(0,u.default)(X.CardBlock,{},void 0,(0,u.default)("p",{className:J.default.bigCardContent},void 0,(0,u.default)(j.default,{to:"/dashboard/health",className:e.nAlarmMessages>0?"text-warning":""},void 0,e.nAlarmMessages))))),(0,u.default)(K.Col,{mediumSize:4},void 0,(0,u.default)(X.Card,{},void 0,(0,u.default)(X.CardHeader,{},void 0,le," ",(0,M.default)("taskStatePanel")),(0,u.default)(X.CardBlock,{},void 0,(0,u.default)("p",{className:J.default.bigCardContent},void 0,(0,u.default)(j.default,{to:"/tasks"},void 0,e.nTasks))))),(0,u.default)(K.Col,{mediumSize:4},void 0,(0,u.default)(X.Card,{},void 0,(0,u.default)(X.CardHeader,{},void 0,ue," ",(0,M.default)("usersStatePanel")),(0,u.default)(X.CardBlock,{},void 0,(0,u.default)("p",{className:J.default.bigCardContent},void 0,(0,u.default)(j.default,{to:"/settings/users"},void 0,r)))))),(0,u.default)(K.Row,{},void 0,(0,u.default)(K.Col,{mediumSize:4},void 0,(0,u.default)(X.Card,{},void 0,(0,u.default)(X.CardHeader,{},void 0,ce," ",(0,M.default)("vmStatePanel")),(0,u.default)(X.CardBlock,{className:"dashboardItem"},void 0,(0,u.default)(R.BlockLink,{to:"/home?t=VM"},void 0,(0,u.default)(x.default,{data:{labels:["Running","Halted","Other"],series:[e.vmMetrics.running,e.vmMetrics.halted,e.vmMetrics.other]},options:{showLabel:!1},type:"Pie"}),(0,u.default)("p",{className:"text-xs-center"},void 0,(0,M.default)("vmsStates",{running:e.vmMetrics.running,halted:e.vmMetrics.halted})))))),(0,u.default)(K.Col,{mediumSize:8},void 0,(0,u.default)(X.Card,{},void 0,(0,u.default)(X.CardHeader,{},void 0,de," ",(0,M.default)("srTopUsageStatePanel")),(0,u.default)(X.CardBlock,{className:"dashboardItem"},void 0,(0,u.default)(R.BlockLink,{to:"/dashboard/health"},void 0,(0,u.default)(x.default,{style:{strokeWidth:"30px"},data:{labels:(0,D.default)(e.userSrs,"name_label"),series:(0,D.default)(e.userSrs,function(e){return e.physical_usage/e.size*100})},options:{showLabel:!1,showGrid:!1,distributeSeries:!0,high:100},type:"Bar"})))))),(0,u.default)(K.Row,{},void 0,(0,u.default)(K.Col,{},void 0,(0,u.default)(ee,{hosts:e.hosts}))))}}]),t}(T.default))||s);n.default=fe},{"./index.css":1542,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,"button-group":1406,card:1408,grid:1431,"hosts-patches-table":1434,icon:1435,intl:1436,link:1459,"lodash/forEach":716,"lodash/map":754,"lodash/size":772,"prop-types":1464,react:1269,"react-chartist":937,selectors:1470,utils:1490,xo:1519,"xoa-upgrade":1528}],1544:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l,u=e("babel-runtime/regenerator"),c=r(u),d=e("babel-runtime/helpers/jsx"),f=r(d),p=e("babel-runtime/core-js/promise"),h=r(p),m=e("babel-runtime/helpers/asyncToGenerator"),v=r(m),b=e("babel-runtime/core-js/object/get-prototype-of"),g=r(b),y=e("babel-runtime/helpers/classCallCheck"),_=r(y),M=e("babel-runtime/helpers/createClass"),w=r(M),S=e("babel-runtime/helpers/possibleConstructorReturn"),C=r(S),x=e("babel-runtime/helpers/inherits"),k=r(x),T=e("babel-runtime/helpers/extends"),A=r(T),P=e("babel-runtime/helpers/objectWithoutProperties"),N=r(P),O=e("intl"),E=r(O),z=e("action-button"),R=r(z),j=e("lodash/cloneDeep"),L=r(j),D=e("base-component"),I=r(D),B=e("lodash/forEach"),V=r(B),q=e("icon"),F=r(q),U=e("lodash/map"),W=r(U),H=e("prop-types"),X=r(H),K=e("react"),G=(r(K),e("render-xo-item")),Y=r(G),$=e("lodash/sortBy"),Q=r($),J=e("xoa-upgrade"),Z=r(J),ee=e("xo-week-charts"),te=r(ee),ne=e("xo-week-heatmap"),re=r(ne),oe=e("grid"),ae=e("notification"),ie=e("select-objects"),se=e("selectors"),le=e("utils"),ue=e("xo"),ce=function(e,t){var n=t.metricKey,r=t.metrics,o=t.objectId,a=t.timestampStart,i=t.valueRenderer;e&&(r[n]||(r[n]={key:n,renderer:i,values:{}}),r[n].values[o]=(0,W.default)(e,function(e,t){return{value:+e,date:a+36e5*t}}))},de=function(e,t){var n=t.objectId,r=(0,N.default)(t,["objectId"]);(0,V.default)(e,function(e,t){ce(e,(0,A.default)({metricKey:"CPU "+t,objectId:n},r))});var o=e.length;if(o){for(var a=r.metrics,i=(0,L.default)(a["CPU 0"].values[n]),s=1;s<o;s++)(0,V.default)(a["CPU "+s].values[n],function(e,t){i[t].value+=e.value});(0,V.default)(i,function(e){e.value/=o});var l="All CPUs";a[l]||(a[l]={key:l,values:{}}),a[l].values[n]=i}},fe=function(e,t){(0,V.default)(e,function(e,n){var r="rx"===n?"out":"in";(0,V.default)(e,function(e,n){ce(e,(0,A.default)({metricKey:"Network "+n+" "+r,valueRenderer:le.formatSize},t))})})},pe=function(e,t){(0,V.default)(e,function(e,n){var r="rx"===n?"out":"in";(0,V.default)(e,function(e,n){ce(e,(0,A.default)({metricKey:"NIC "+n+" "+r,valueRenderer:le.formatSize},t))})})},he=function(e,t){(0,V.default)(e,function(e,n){var r="r"===n?"read":"write";(0,V.default)(e,function(e,n){ce(e,(0,A.default)({metricKey:"Disk "+n+" "+r,valueRenderer:le.formatSize},t))})})},me=function(e,t){ce(e,(0,A.default)({metricKey:"Load"},t))},ve=function(e,t){ce(e,(0,A.default)({metricKey:"RAM used",valueRenderer:le.formatSize},t))},be=1,ge=2,ye=function(e){return"Running"===e.power_state},_e={cpus:de,vifs:fe,pifs:pe,xvds:he,load:me,memoryUsed:ve},Me=(0,f.default)(F.default,{icon:"loading"}),we=(o=(0,X.default)({onChange:X.default.func.isRequired}),a=(0,le.connectStore)(function(){var e=(0,se.createGetObjectsOfType)("host").filter([ye]).sort(),t=(0,se.createGetObjectsOfType)("VM").filter([ye]).sort();return{hosts:e,vms:t}}),o(i=a(i=function(e){function t(e){var n=this;(0,_.default)(this,t);var r=(0,C.default)(this,(t.__proto__||(0,g.default)(t)).call(this,e));return r._handleSelection=function(e){r.setState({metricsState:void 0,metrics:void 0,objects:e,predicate:e.length?function(t){return ye(t)&&t.type===e[0].type}:ye})},r._resetSelection=function(){r._handleSelection([])},r._selectAllHosts=function(){r.setState({metricsState:void 0,metrics:void 0,objects:r.props.hosts,predicate:function(e){return ye(e)&&"host"===e.type}})},r._selectAllVms=function(){r.setState({metricsState:void 0,metrics:void 0,objects:r.props.vms,predicate:function(e){return ye(e)&&"VM"===e.type}})},r._validSelection=(0,v.default)(c.default.mark(function e(){var t,o,a;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.setState({metricsState:be}),t=r.state.objects,o="host"===t[0].type&&ue.fetchHostStats||ue.fetchVmStats,a={},e.next=6,h.default.all((0,W.default)(t,function(e){return o(e,"hours").then(function(t){var n=t.stats;if(void 0===n)throw new Error("No stats");var r={metrics:a,objectId:e.id,timestampStart:1e3*(t.endTimestamp-3600*(n.memory.length-1))};(0,V.default)(n,function(e,t){var n=_e[t];n&&n(e,r)})}).catch(function(){(0,ae.error)((0,E.default)("statsDashboardGenericErrorTitle"),(0,f.default)("span",{},void 0,(0,E.default)("statsDashboardGenericErrorMessage")," ",e.name_label||e.id))})}));case 6:r.setState({metricsState:ge,metrics:(0,Q.default)(a,function(e){return e.key})});case 7:case"end":return e.stop()}},e,n)})),r._handleSelectedMetric=function(e){var t=e.target.value,n=r.state;r.props.onChange(""!==t&&n.metrics[t],n.objects)},r.state={objects:[],predicate:ye},r}return(0,k.default)(t,e),(0,w.default)(t,[{key:"render",value:function(){var e=this.state,t=e.metricsState,n=e.metrics,r=e.objects,o=e.predicate;return(0,f.default)(oe.Container,{},void 0,(0,f.default)(oe.Row,{},void 0,(0,f.default)(oe.Col,{mediumSize:6},void 0,(0,f.default)("div",{className:"form-group"},void 0,(0,f.default)(ie.SelectHostVm,{multi:!0,onChange:this._handleSelection,predicate:o,value:r})),(0,f.default)("div",{className:"btn-group mt-1",role:"group"},void 0,(0,f.default)(R.default,{handler:this._resetSelection,icon:"remove",tooltip:(0,E.default)("dashboardStatsButtonRemoveAll")}),(0,f.default)(R.default,{handler:this._selectAllHosts,icon:"host",tooltip:(0,E.default)("dashboardStatsButtonAddAllHost")}),(0,f.default)(R.default,{handler:this._selectAllVms,icon:"vm",tooltip:(0,E.default)("dashboardStatsButtonAddAllVM")}),(0,f.default)(R.default,{disabled:!r.length,handler:this._validSelection,icon:"success"},void 0,(0,E.default)("statsDashboardSelectObjects")))),(0,f.default)(oe.Col,{mediumSize:6},void 0,t===be?(0,f.default)("div",{},void 0,Me," ",(0,E.default)("metricsLoading")):t===ge&&(0,f.default)("select",{className:"form-control",onChange:this._handleSelectedMetric},void 0,(0,E.default)("noSelectedMetric",function(e){return(0,f.default)("option",{value:""},void 0,e)}),(0,W.default)(n,function(e,t){return(0,f.default)("option",{value:t},t,e.key)})))))}}]),t}(I.default))||i)||i),Se=(0,f.default)("hr",{}),Ce=(s=(0,X.default)({metricRenderer:X.default.func.isRequired,title:X.default.any.isRequired}),s(l=function(e){function t(){var e,n,r,o;(0,_.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,C.default)(this,(e=t.__proto__||(0,g.default)(t)).call.apply(e,[this].concat(i))),r._handleSelectedMetric=function(e,t){r.setState({selectedMetric:e,objects:t})},o=n,(0,C.default)(r,o)}return(0,k.default)(t,e),(0,w.default)(t,[{key:"render",value:function(){var e=this.props,t=e.metricRenderer,n=e.title,r=this.state,o=r.selectedMetric,a=r.objects;return(0,f.default)("div",{},void 0,(0,f.default)("h3",{},void 0,n),(0,f.default)(we,{onChange:this._handleSelectedMetric}),Se,o&&(0,f.default)(oe.Container,{},void 0,(0,f.default)(oe.Row,{},void 0,(0,f.default)(oe.Col,{},void 0,(0,W.default)(a,function(e){return(0,Y.default)(e,{className:"mr-1"})}))),(0,f.default)(oe.Row,{},void 0,(0,f.default)(oe.Col,{},void 0,t(o)))))}}]),t}(I.default))||l),xe=(0,f.default)("hr",{}),ke=function(e){return(0,f.default)("div",{},void 0,(0,f.default)(re.default,{cellRenderer:e.renderer,data:(0,le.mapPlus)(e.values,function(e,t){(0,V.default)(e,function(e){return t(e)})})}),xe)},Te=function(e){return(0,f.default)(te.default,{series:(0,W.default)(e.values,function(e,t){return{data:e,objectId:t}}),valueRenderer:e.renderer})},Ae=((0,f.default)(oe.Container,{},void 0,(0,f.default)(Z.default,{place:"dashboardStats",available:3})),function(){return(0,f.default)("div",{},void 0,(0,f.default)(Ce,{metricRenderer:ke,title:(0,E.default)("weeklyHeatmap")}),(0,f.default)(Ce,{metricRenderer:Te,title:(0,E.default)("weeklyCharts")}))});n.default=Ae},{"action-button":1401,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/asyncToGenerator":21,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/objectWithoutProperties":28,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/regenerator":147,"base-component":1405,grid:1431,icon:1435,intl:1436,"lodash/cloneDeep":696,"lodash/forEach":716,"lodash/map":754,"lodash/sortBy":775,notification:1463,"prop-types":1464,react:1269,"render-xo-item":1466,"select-objects":1469,selectors:1470,utils:1490,xo:1519,"xo-week-charts":1510,"xo-week-heatmap":1512,"xoa-upgrade":1528}],1545:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("base-component"),y=r(g),_=e("react"),M=(r(_),e("xo-parallel-chart")),w=r(M),S=e("lodash/forEach"),C=r(S),x=e("invoke"),k=r(x),T=e("lodash/map"),A=r(T),P=e("lodash/mapValues"),N=r(P),O=e("xoa-upgrade"),E=r(O),z=e("grid"),R=e("selectors"),j=e("utils"),L={nVCpus:"vCPUs number",ram:"RAM quantity",nVifs:"VIF number",nVdis:"VDI number",vdisSize:"Total space"},D={ram:j.formatSize,vdisSize:j.formatSize},I=((0,s.default)(z.Container,{},void 0,(0,s.default)(E.default,{place:"health",available:4})),o=(0,j.connectStore)(function(){var e=(0,R.createGetObjectsOfType)("VM"),t=(0,k.default)(function(){var t={},n=(0,R.createSelector)(function(e){return e},function(e){var n=t;return t={},(0,C.default)(e,function(e){var r=e.id;t[r]=n[r]||(0,R.createPicker)(function(e,t,n){return n},(0,R.createSelector)((0,R.createFilter)((0,R.createPicker)(function(e,t){return t},function(e){return e.$VBDs}),[function(e){return!e.is_cd_drive&&e.attached}]),function(e){return(0,A.default)(e,function(e){return e.VDI})}))}),t});return(0,R.createSelector)(e,(0,R.createGetObjectsOfType)("VBD"),(0,R.createGetObjectsOfType)("VDI"),function(e,t,r){return(0,N.default)(n(e),function(n,o){return n(e[o],t,r)})})});return{vms:e,vdisByVm:t}}),o(a=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,u.default)(t)).call.apply(e,[this].concat(i))),r._getData=(0,R.createSelector)(function(){return r.props.vms},function(){return r.props.vdisByVm},function(e,t){return(0,A.default)(e,function(e,n){var r=0,o=0;return(0,C.default)(t[n],function(e){r+=e.size,o++}),{objectId:n,label:e.name_label,data:{nVCpus:e.CPUs.number,nVdis:o,nVifs:e.VIFs.length,ram:e.memory.size,vdisSize:r}}})}),o=n,(0,m.default)(r,o)}return(0,b.default)(t,e),(0,p.default)(t,[{key:"render",value:function(){return(0,s.default)(z.Container,{},void 0,(0,s.default)(z.Row,{},void 0,(0,s.default)(z.Col,{},void 0,(0,s.default)(w.default,{dataSet:this._getData(),labels:L,renderers:D}))))}}]),t}(y.default))||a);n.default=I},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,grid:1431,invoke:1446,"lodash/forEach":716,"lodash/map":754,"lodash/mapValues":756,react:1269,selectors:1470,utils:1490,"xo-parallel-chart":1506,"xoa-upgrade":1528}],1546:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/extends"),s=r(i),l=e("babel-runtime/helpers/jsx"),u=r(l),c=e("babel-runtime/core-js/object/get-prototype-of"),d=r(c),f=e("babel-runtime/helpers/classCallCheck"),p=r(f),h=e("babel-runtime/helpers/createClass"),m=r(h),v=e("babel-runtime/helpers/possibleConstructorReturn"),b=r(v),g=e("babel-runtime/helpers/inherits"),y=r(g),_=e("intl"),M=r(_),w=e("base-component"),S=r(w),C=e("ellipsis"),x=r(C),k=e("icon"),T=r(k),A=e("lodash/isEmpty"),P=r(A),N=e("link"),O=r(N),E=e("lodash/map"),z=r(E),R=e("react"),j=r(R),L=e("single-line-row"),D=r(L),I=e("home-tags"),B=r(I),V=e("tooltip"),q=r(V),F=e("grid"),U=e("editable"),W=e("xo"),H=e("utils"),X=e("selectors"),K=e("xo-sparklines"),G=e("./index.css"),Y=r(G),$={height:10,strokeWidth:.2,width:50},Q=(0,u.default)(T.default,{icon:"loading"}),J=function(e){function t(){var e,n,r,o;(0,p.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,b.default)(this,(e=t.__proto__||(0,d.default)(t)).call.apply(e,[this].concat(i))),r._fetch=function(){(0,W.fetchHostStats)(r.props.hostId).then(function(e){r.setState({stats:e})})},o=n,(0,b.default)(r,o)}return(0,y.default)(t,e),(0,m.default)(t,[{key:"componentWillMount",value:function(){this._fetch(),this.subscriptionId=setInterval(this._fetch,5e3)}},{key:"componentWillUnmount",value:function(){clearInterval(this.subscriptionId)}},{key:"render",value:function(){var e=this.state.stats;return e?(0,u.default)(F.Row,{},void 0,(0,u.default)(F.Col,{mediumSize:4,className:Y.default.itemExpanded},void 0,j.default.createElement(K.CpuSparkLines,(0,s.default)({data:e},$))),(0,u.default)(F.Col,{mediumSize:4,className:Y.default.itemExpanded},void 0,j.default.createElement(K.PifSparkLines,(0,s.default)({data:e},$))),(0,u.default)(F.Col,{mediumSize:4,className:Y.default.itemExpanded},void 0,j.default.createElement(K.LoadSparkLines,(0,s.default)({data:e},$)))):Q}}]),t}(S.default),Z=(0,u.default)(T.default,{icon:"busy"}),ee=(0,u.default)(T.default,{icon:"alarm"}),te=(0,u.default)(T.default,{icon:"vm",size:"1",fixedWidth:!0}),ne=(0,u.default)(T.default,{icon:"vm",size:"1",fixedWidth:!0}),re=(0,u.default)(T.default,{icon:"host-stop",size:"1"}),oe=(0,u.default)(T.default,{icon:"host-start",size:"1"}),ae=(0,u.default)(T.default,{icon:"nav",fixedWidth:!0}),ie=(0,u.default)(T.default,{icon:"cpu"}),se=(0,u.default)(T.default,{icon:"memory"}),le=(o=(0,H.connectStore)({container:(0,X.createGetObject)(function(e,t){return t.item.$pool}),needsRestart:(0,X.createDoesHostNeedRestart)(function(e,t){return t.item}),nVms:(0,X.createGetObjectsOfType)("VM").count((0,X.createSelector)(function(e,t){return t.item.id},function(e){return function(t){return t.$container===e}}))}),o(a=function(e){function t(){var e,n,r,o;(0,p.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,b.default)(this,(e=t.__proto__||(0,d.default)(t)).call.apply(e,[this].concat(i))),r._addTag=function(e){return(0,W.addTag)(r.props.item.id,e)},r._removeTag=function(e){return(0,W.removeTag)(r.props.item.id,e)},r._setNameDescription=function(e){return(0,W.editHost)(r.props.item,{name_description:e})},r._setNameLabel=function(e){return(0,W.editHost)(r.props.item,{name_label:e})},r._start=function(){return(0,W.startHost)(r.props.item)},r._stop=function(){return(0,W.stopHost)(r.props.item)},r._toggleExpanded=function(){return r.setState({expanded:!r.state.expanded})},r._onSelect=function(){return r.props.onSelect(r.props.item.id)},o=n,(0,b.default)(r,o)}return(0,y.default)(t,e),(0,m.default)(t,[{key:"render",value:function(){var e=this.props,t=e.item,n=e.container,r=e.expandAll,o=e.selected,a=e.nVms;return(0,u.default)("div",{className:Y.default.item},void 0,(0,u.default)(N.BlockLink,{to:"/hosts/"+t.id},void 0,(0,u.default)(D.default,{},void 0,(0,u.default)(F.Col,{smallSize:10,mediumSize:9,largeSize:3},void 0,(0,u.default)(C.EllipsisContainer,{},void 0,(0,u.default)("input",{type:"checkbox",checked:o,onChange:this._onSelect,value:t.id})," ",(0,u.default)(q.default,{content:(0,P.default)(t.current_operations)?(0,M.default)("powerState"+t.power_state):(0,u.default)("div",{},void 0,(0,M.default)("powerState"+t.power_state)," (",(0,z.default)(t.current_operations)[0],")")},void 0,(0,P.default)(t.current_operations)?(0,u.default)(T.default,{icon:""+t.power_state.toLowerCase()}):Z)," ",(0,u.default)(x.default,{},void 0,(0,u.default)(U.Text,{value:t.name_label,onChange:this._setNameLabel,useLongClick:!0}))," ",n&&t.id===n.master&&(0,u.default)("span",{className:"tag tag-pill tag-info"},void 0,(0,M.default)("pillMaster"))," ",this.props.needsRestart&&(0,u.default)(q.default,{content:(0,M.default)("rebootUpdateHostLabel")},void 0,(0,u.default)(O.default,{to:"/hosts/"+t.id+"/patches"},void 0,ee)))),(0,u.default)(F.Col,{mediumSize:3,className:"hidden-lg-down"},void 0,(0,u.default)(C.EllipsisContainer,{},void 0,(0,u.default)("span",{className:Y.default.itemActionButons},void 0,(0,u.default)(q.default,{content:(0,u.default)("span",{},void 0,a,"x ",(0,M.default)("vmsTabName"))},void 0,a>0?(0,u.default)(O.default,{to:"/home?s=$container:"+t.id+"&t=VM"},void 0,te):ne)," ",this._isRunning?(0,u.default)("span",{},void 0,(0,u.default)(q.default,{content:(0,M.default)("stopHostLabel")},void 0,(0,u.default)("a",{onClick:this._stop},void 0,re))):(0,u.default)("span",{},void 0,(0,u.default)(q.default,{content:(0,M.default)("startHostLabel")},void 0,(0,u.default)("a",{onClick:this._start},void 0,oe)))),(0,u.default)(T.default,{className:"text-info",icon:t.os_version&&(0,H.osFamily)(t.os_version.distro),fixedWidth:!0})," ",(0,u.default)(x.default,{},void 0,(0,u.default)(U.Text,{value:t.name_description,onChange:this._setNameDescription,useLongClick:!0})))),(0,u.default)(F.Col,{largeSize:2,className:"hidden-md-down"},void 0,(0,u.default)("span",{},void 0,(0,u.default)(q.default,{content:(0,M.default)("memoryLeftTooltip",{used:Math.round(t.memory.usage/t.memory.size*100),free:(0,H.formatSize)(t.memory.size-t.memory.usage)})},void 0,(0,u.default)("progress",{style:{margin:0},className:"progress",value:t.memory.usage/t.memory.size*100,max:"100"})))),(0,u.default)(F.Col,{largeSize:2,className:"hidden-lg-down"},void 0,(0,u.default)("span",{className:"tag tag-info tag-ip"},void 0,t.address)),n&&(0,u.default)(F.Col,{mediumSize:2,className:"hidden-sm-down"},void 0,(0,u.default)(O.default,{to:"/"+n.type+"s/"+n.id},void 0,n.name_label)),(0,u.default)(F.Col,{mediumSize:1,offset:n?void 0:2,className:Y.default.itemExpandRow},void 0,(0,u.default)("a",{className:Y.default.itemExpandButton,onClick:this._toggleExpanded},void 0,ae," ")))),(this.state.expanded||r)&&(0,u.default)(F.Row,{},void 0,(0,u.default)(F.Col,{mediumSize:6,className:Y.default.itemExpanded},void 0,(0,u.default)(J,{hostId:this.props.item})),(0,u.default)(F.Col,{mediumSize:2,className:Y.default.itemExpanded,style:{marginTop:"0.3rem"}},void 0,(0,u.default)("span",{},void 0,t.cpus.cores,"x ",ie," "," "," ",(0,H.formatSize)(t.memory.size)," ",se)),(0,u.default)(F.Col,{mediumSize:4},void 0,(0,u.default)("span",{style:{fontSize:"1.4em"}},void 0,(0,u.default)(B.default,{type:"host",labels:t.tags,onDelete:this._removeTag,onAdd:this._addTag})))))}},{key:"_isRunning",get:function(){var e=this.props.item;return e&&"Running"===e.power_state}}]),t}(S.default))||a);n.default=le},{"./index.css":1547,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,editable:1421,ellipsis:1422,grid:1431,"home-tags":1433,icon:1435,intl:1436,link:1459,"lodash/isEmpty":735,"lodash/map":754,react:1269,selectors:1470,"single-line-row":1473,tooltip:1488,utils:1490,xo:1519,"xo-sparklines":1507}],1547:[function(e,t,n){t.exports={itemRowHeader:"mcb2bfb78d_itemRowHeader",itemContainer:"mcb2bfb78d_itemContainer",itemContainerHeader:"mcb2bfb78d_itemContainerHeader",item:"mcb2bfb78d_item",itemActionButons:"mcb2bfb78d_itemActionButons",itemExpanded:"mcb2bfb78d_itemExpanded",itemExpandButton:"mcb2bfb78d_itemExpandButton",itemExpandRow:"mcb2bfb78d_itemExpandRow",selectObject:"mcb2bfb78d_selectObject",highlight:"mcb2bfb78d_highlight"}},{}],1548:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,i,s,l,u,c=e("babel-runtime/helpers/defineProperty"),d=o(c),f=e("babel-runtime/helpers/extends"),p=o(f),h=e("babel-runtime/helpers/jsx"),m=o(h),v=e("babel-runtime/core-js/object/get-prototype-of"),b=o(v),g=e("babel-runtime/helpers/classCallCheck"),y=o(g),_=e("babel-runtime/helpers/createClass"),M=o(_),w=e("babel-runtime/helpers/possibleConstructorReturn"),S=o(w),C=e("babel-runtime/helpers/inherits"),x=o(C),k=e("lodash/some"),T=o(k),A=e("lodash/size"),P=o(A),N=e("lodash/pickBy"),O=o(N),E=e("lodash/pick"),z=o(E),R=e("lodash/map"),j=o(R),L=e("lodash/keys"),D=o(L),I=e("lodash/isString"),B=o(I),V=e("lodash/isEmpty"),q=o(V),F=e("lodash/includes"),U=o(F),W=e("lodash/identity"),H=o(W),X=e("lodash/get"),K=o(X),G=e("lodash/forEach"),Y=o(G),$=e("lodash/find"),Q=o($),J=e("lodash/filter"),Z=o(J),ee=e("lodash/debounce"),te=o(ee),ne=e("lodash/ceil"),re=o(ne),oe=e("complex-matcher"),ae=r(oe),ie=e("home-filters"),se=r(ie),le=e("intl"),ue=o(le),ce=e("action-button"),de=o(ce),fe=e("button"),pe=o(fe),he=e("center-panel"),me=o(he),ve=e("base-component"),be=o(ve),ge=e("icon"),ye=o(ge),_e=e("invoke"),Me=o(_e),we=e("link"),Se=o(we),Ce=e("../page"),xe=o(Ce),ke=e("react"),Te=o(ke),Ae=e("shortcuts"),Pe=o(Ae),Ne=e("single-line-row"),Oe=o(Ne),Ee=e("tooltip"),ze=o(Ee),Re=e("card"),je=e("xo"),Le=e("grid"),De=e("select-objects"),Ie=e("utils"),Be=e("selectors"),Ve=e("react-bootstrap-4/lib"),qe=e("./index.css"),Fe=o(qe),Ue=e("./host-item"),We=o(Ue),He=e("./pool-item"),Xe=o(He),Ke=e("./vm-item"),Ge=o(Ke),Ye=e("./template-item"),$e=o(Ye),Qe=e("./sr-item"),Je=o(Qe),Ze=20,et={host:{defaultFilter:"power_state:running ",filters:se.host,mainActions:[{handler:je.stopHosts,icon:"host-stop",tooltip:(0,ue.default)("stopHostLabel")},{handler:je.restartHostsAgents,icon:"host-restart-agent",tooltip:(0,ue.default)("restartHostAgent")},{handler:je.emergencyShutdownHosts,icon:"host-emergency-shutdown",tooltip:(0,ue.default)("emergencyModeLabel")},{handler:je.restartHosts,icon:"host-reboot",tooltip:(0,ue.default)("rebootHostLabel")}],Item:We.default,showPoolsSelector:!0,sortOptions:[{labelId:"homeSortByName",sortBy:"name_label",sortOrder:"asc"},{labelId:"homeSortByPowerstate",sortBy:"power_state",sortOrder:"desc"},{labelId:"homeSortByRAM",sortBy:"memory.size",sortOrder:"desc"},{labelId:"homeSortByCpus",sortBy:"CPUs.cpu_count",sortOrder:"desc"}]},VM:{defaultFilter:"power_state:running ",filters:se.VM,mainActions:[{handler:je.stopVms,icon:"vm-stop",tooltip:(0,ue.default)("stopVmLabel")},{handler:je.startVms,icon:"vm-start",tooltip:(0,ue.default)("startVmLabel")},{handler:je.restartVms,icon:"vm-reboot",tooltip:(0,ue.default)("rebootVmLabel")},{handler:je.migrateVms,icon:"vm-migrate",tooltip:(0,ue.default)("migrateVmLabel")},{handler:je.copyVms,icon:"vm-copy",tooltip:(0,ue.default)("copyVmLabel")}],otherActions:[{handler:je.restartVms,icon:"vm-force-reboot",labelId:"forceRebootVmLabel",params:!0},{handler:je.stopVms,icon:"vm-force-shutdown",labelId:"forceShutdownVmLabel",params:!0},{handler:je.snapshotVms,icon:"vm-snapshot",labelId:"snapshotVmLabel"},{handler:je.deleteVms,icon:"vm-delete",labelId:"vmRemoveButton"}],Item:Ge.default,showPoolsSelector:!0,showHostsSelector:!0,sortOptions:[{labelId:"homeSortByName",sortBy:"name_label",sortOrder:"asc"},{labelId:"homeSortByPowerstate",sortBy:"power_state",sortOrder:"desc"},{labelId:"homeSortByRAM",sortBy:"memory.size",sortOrder:"desc"},{labelId:"homeSortByCpus",sortBy:"CPUs.number",sortOrder:"desc"}]},pool:{defaultFilter:"",filters:se.pool,getActions:Ie.noop,Item:Xe.default,sortOptions:[{labelId:"homeSortByName",sortBy:"name_label",sortOrder:"asc"}]},"VM-template":{defaultFilter:"",filters:se.vmTemplate,mainActions:[{handler:je.deleteTemplates,icon:"delete",tooltip:(0,ue.default)("templateDelete")}],Item:$e.default,showPoolsSelector:!0,sortOptions:[{labelId:"homeSortByName",sortBy:"name_label",sortOrder:"asc"},{labelId:"homeSortByRAM",sortBy:"memory.size",sortOrder:"desc"},{labelId:"homeSortByCpus",sortBy:"CPUs.number",sortOrder:"desc"}]},SR:{defaultFilter:"",filters:se.SR,mainActions:[{handler:je.rescanSrs,icon:"refresh",tooltip:(0,ue.default)("srRescan")},{handler:je.reconnectAllHostsSrs,icon:"sr-reconnect-all",tooltip:(0,ue.default)("srReconnectAll")},{handler:je.disconnectAllHostsSrs,icon:"sr-disconnect-all",tooltip:(0,ue.default)("srDisconnectAll")},{handler:je.forgetSrs,icon:"sr-forget",tooltip:(0,ue.default)("srsForget")}],Item:Je.default,showPoolsSelector:!0,sortOptions:[{labelId:"homeSortByName",sortBy:"name_label",sortOrder:"asc"},{labelId:"homeSortBySize",sortBy:"size",sortOrder:"desc",default:!0},{labelId:"homeSortByShared",sortBy:je.isSrShared,sortOrder:"desc"},{labelId:"homeSortByUsage",sortBy:"physical_usage",sortOrder:"desc"},{labelId:"homeSortByType",sortBy:"SR_type",sortOrder:"asc"}]}},tt={VM:(0,ue.default)("homeTypeVm"),"VM-template":(0,ue.default)("homeTypeVmTemplate"),host:(0,ue.default)("homeTypeHost"),pool:(0,ue.default)("homeTypePool"),SR:(0,ue.default)("homeSrPage")},nt="VM",rt=(0,m.default)(Ve.MenuItem,{divider:!0}),ot=(0,m.default)(ye.default,{icon:"clear-search"}),at=(0,m.default)(ye.default,{icon:"vm-new"}),it=(0,m.default)(me.default,{},void 0,(0,m.default)("h2",{},void 0,(0,m.default)("img",{src:"assets/loading.svg"}))),st=(0,m.default)(ye.default,{icon:"pool",size:4}),lt=(0,m.default)("br",{}),ut=(0,m.default)("br",{}),ct=(0,m.default)(ye.default,{icon:"menu-about",size:4}),dt=(0,m.default)(ye.default,{icon:"menu-settings-users",size:4}),ft=(0,m.default)(ye.default,{icon:"vm",size:4}),pt=(0,m.default)(ye.default,{icon:"menu-new-import",size:4}),ht=(0,m.default)(ye.default,{icon:"backup",size:4}),mt=(0,m.default)(ye.default,{icon:"pool"}),vt=(0,m.default)(ye.default,{icon:"host"}),bt=(0,m.default)(ye.default,{icon:"tags"}),gt=(0,m.default)(ye.default,{icon:"nav"}),yt=(0,m.default)(ye.default,{icon:"info"}),_t=(a=(0,Ie.addSubscriptions)({servers:je.subscribeServers}),i=(0,Ie.connectStore)(function(){var e=(0,Me.default)((0,Be.createGetObjectsOfType)("host"),function(e){return function(t){return(0,q.default)(e(t))}}),t=function(e,t){return t.location.query.t||nt};return{areObjectsFetched:Be.areObjectsFetched,items:(0,Be.createGetObjectsOfType)(t),noServersConnected:e,type:t,user:Be.getUser}}),a(s=i((u=l=function(e){function t(){var e,n,r,o;(0,y.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,S.default)(this,(e=t.__proto__||(0,b.default)(t)).call.apply(e,[this].concat(i))),r.state={selectedItems:{}},r._getNumberOfItems=(0,Be.createCounter)(function(){return r.props.items}),r._getNumberOfSelectedItems=(0,Be.createCounter)(function(){return r.state.selectedItems},[H.default]),r._getParsedFilter=(0,Be.createSelector)(function(e){return r._getFilter()},function(e){return ae.parse(e)}),r._getFilterFunction=(0,Be.createSelector)(r._getParsedFilter,function(e){return e&&function(t){return ae.execute.call(e,t)}}),r._clearFilter=function(){return r._setFilter("")},r._onFilterChange=(0,Me.default)(function(){var e=(0,te.default)(function(e){r._setFilter(e)},500);return function(t){return e(t.target.value)}}),r._getFilteredItems=(0,Be.createSort)((0,Be.createFilter)(function(){return r.props.items},r._getFilterFunction),function(){return r.state.sortBy},function(){return r.state.sortOrder}),r._getVisibleItems=(0,
|
87 | Be.createPager)(r._getFilteredItems,function(){return r.state.activePage||1},Ze),r._expandAll=function(){return r.setState({expandAll:!r.state.expandAll})},r._onPageSelection=function(e,t){r.page=t.eventKey},r._tick=function(e){return(0,m.default)(ye.default,{icon:e?"success":void 0,fixedWidth:!0})},r._typesDropdownItems=(0,j.default)(tt,function(e,t){return(0,m.default)(Ve.MenuItem,{onClick:function(){return r._setType(t)}},t,e)}),r._updateSelectedPools=function(e){var t=r._getParsedFilter();r._setFilter(e.length?ae.setPropertyClause.call(t,"$pool",ae.createOr((0,j.default)(e,function(e){return ae.createString(e.id)}))):ae.removePropertyClause.call(t,"$pool"))},r._updateSelectedHosts=function(e){var t=r._getParsedFilter();r._setFilter(e.length?ae.setPropertyClause.call(t,"$container",ae.createOr((0,j.default)(e,function(e){return ae.createString(e.id)}))):ae.removePropertyClause.call(t,"$container"))},r._updateSelectedTags=function(e){var t=r._getParsedFilter();r._setFilter(e.length?ae.setPropertyClause.call(t,"tags",ae.createOr((0,j.default)(e,function(e){return ae.createString(e.id)}))):ae.removePropertyClause.call(t,"tags"))},r._addCustomFilter=function(){return(0,je.addCustomFilter)(r._getType(),r._getFilter())},r._getIsAllSelected=(0,Be.createSelector)(function(){return r.state.selectedItems},r._getVisibleItems,function(e,t){return(0,P.default)(t)>0&&(0,P.default)((0,Z.default)(e))===(0,P.default)(t)}),r._getIsSomeSelected=(0,Be.createSelector)(function(){return r.state.selectedItems},T.default),r._toggleMaster=function(){var e={};r._getIsAllSelected()||(0,Y.default)(r._getVisibleItems(),function(t){var n=t.id;e[n]=!0}),r.setState({selectedItems:e})},r._getSelectedItemsIds=(0,Be.createSelector)(function(){return r.state.selectedItems},function(e){return(0,D.default)((0,O.default)(e))}),r._getShortcutsHandler=(0,Be.createSelector)(function(){return r._getVisibleItems()},function(e){return function(t,n){switch(n.preventDefault(),t){case"SEARCH":r.refs.filterInput.focus();break;case"NAV_DOWN":r.setState({highlighted:(r.state.highlighted+e.length+1)%e.length||0});break;case"NAV_UP":r.setState({highlighted:(r.state.highlighted+e.length-1)%e.length||0});break;case"SELECT":var o=e[r.state.highlighted].id;r.setState({selectedItems:(0,p.default)({},r.state.selectedItems,(0,d.default)({},o,!r.state.selectedItems[o]))});break;case"JUMP_INTO":var a=e[r.state.highlighted];(0,U.default)(["VM","host","pool","SR"],a&&a.type)&&r.context.router.push({pathname:a.type.toLowerCase()+"s/"+a.id})}}}),o=n,(0,S.default)(r,o)}return(0,x.default)(t,e),(0,M.default)(t,[{key:"componentWillMount",value:function(){this._initFilterAndSortBy(this.props)}},{key:"componentWillReceiveProps",value:function(e){this._getFilter()!==this._getFilter(e)&&this._initFilterAndSortBy(e),e.type!==this.props.type&&this.setState({activePage:void 0,highlighted:void 0})}},{key:"componentDidUpdate",value:function(){var e=this.state.selectedItems;if((this._visibleItemsRecomputations||0)<(this._visibleItemsRecomputations=this._getVisibleItems.recomputations())){var t=(0,z.default)(e,(0,j.default)(this._getVisibleItems(),"id"));(0,P.default)(t)<this._getNumberOfSelectedItems()&&this.setState({selectedItems:t})}}},{key:"_getType",value:function(){return this.props.type}},{key:"_setType",value:function(e){var t=this.props.location,n=t.pathname,r=t.query;this.context.router.push({pathname:n,query:(0,p.default)({},r,{t:e,s:void 0})})}},{key:"_getDefaultFilter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=e.type,n=(0,K.default)(e,"user.preferences"),r=(0,K.default)(n,["defaultHomeFilters",t]);return(0,Ie.firstDefined)(r&&(0,Ie.firstDefined)((0,K.default)(se,[t,r]),(0,K.default)(n,["filters",t,r])),et[t].defaultFilter)}},{key:"_getDefaultSort",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=(0,Q.default)(et[e.type].sortOptions,"default");return{sortBy:(0,Ie.firstDefined)(t&&t.sortBy,"name_label"),sortOrder:(0,Ie.firstDefined)(t&&t.sortOrder,"asc")}}},{key:"_initFilterAndSortBy",value:function(e){var t=this._getFilter(e);if(null==t){var n=this._getDefaultFilter(e);return void(null!=n&&this._setFilter(n,e,!0))}if(t!==this.props.filter){var r=ae.parse(t),o=ae.getPropertyClausesStrings.call(r),a=this._getDefaultSort(e);this.setState((0,p.default)({selectedHosts:o.$container,selectedPools:o.$pool,selectedTags:o.tags},a));var i=this.refs.filterInput;i&&i.value!==t&&(i.value=t)}}},{key:"_getFilter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;return e.location.query.s}},{key:"_setFilter",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props,n=arguments[2];if(!(0,B.default)(e)){var r;e=(r=e,ae.toString).call(r)}var o=t.location,a=o.pathname,i=o.query;this.context.router[n?"replace":"push"]({pathname:a,query:(0,p.default)({},i,{s:e})})}},{key:"_getCustomFilters",value:function(){var e=this.props.user||{},t=e.preferences;if(t){var n=t.filters||{};return n[this._getType()]}}},{key:"_renderHeader",value:function(){var e=this,t=this.props.type,n=et[t].filters,r=this._getCustomFilters();return(0,m.default)(Le.Container,{},void 0,(0,m.default)(Le.Row,{className:Fe.default.itemRowHeader},void 0,(0,m.default)(Le.Col,{mediumSize:3},void 0,(0,m.default)(Ve.DropdownButton,{id:"typeMenu",bsStyle:"info",title:tt[this._getType()]},void 0,this._typesDropdownItems)),(0,m.default)(Le.Col,{mediumSize:6},void 0,(0,m.default)("div",{className:"input-group"},void 0,!(0,q.default)(n)&&(0,m.default)("div",{className:"input-group-btn"},void 0,(0,m.default)(Ve.DropdownButton,{id:"filter",bsStyle:"info",title:(0,ue.default)("homeFilters")},void 0,!(0,q.default)(r)&&[(0,j.default)(r,function(t,n){return(0,m.default)(Ve.MenuItem,{onClick:function(){return e._setFilter(t)}},"custom-"+n,n)}),rt],(0,j.default)(n,function(t,n){return(0,m.default)(Ve.MenuItem,{onClick:function(){return e._setFilter(t)}},n,(0,ue.default)(n))}))),Te.default.createElement("input",{className:"form-control",defaultValue:this._getFilter(),onChange:this._onFilterChange,ref:"filterInput",type:"text"}),(0,m.default)("div",{className:"input-group-btn"},void 0,(0,m.default)(pe.default,{onClick:this._clearFilter},void 0,ot)),(0,m.default)("div",{className:"input-group-btn"},void 0,(0,m.default)(de.default,{btnStyle:"primary",handler:this._addCustomFilter,icon:"save"})))),(0,m.default)(Le.Col,{mediumSize:3,className:"text-xs-right"},void 0,(0,m.default)(Se.default,{className:"btn btn-success",to:"/vms/new"},void 0,at," ",(0,ue.default)("homeNewVm")))))}},{key:"render",value:function(){var e=this,t=this.props,n=t.areObjectsFetched,r=t.noServersConnected,o=t.servers,a=t.user,i=a&&"admin"===a.permission,s=!o||!o.length;if(!n)return it;if(r&&i)return(0,m.default)(me.default,{},void 0,(0,m.default)(Re.Card,{shadow:!0},void 0,(0,m.default)(Re.CardHeader,{},void 0,(0,ue.default)("homeWelcome")),(0,m.default)(Re.CardBlock,{},void 0,(0,m.default)(Se.default,{to:"/settings/servers"},void 0,st,(0,m.default)("h4",{},void 0,s?(0,ue.default)("homeAddServer"):(0,ue.default)("homeConnectServer"))),(0,m.default)("p",{className:"text-muted"},void 0,s?(0,ue.default)("homeWelcomeText"):(0,ue.default)("homeConnectServerText")),lt,ut,(0,m.default)("h3",{},void 0,(0,ue.default)("homeHelp")),(0,m.default)(Le.Row,{},void 0,(0,m.default)(Le.Col,{mediumSize:6},void 0,(0,m.default)("a",{href:"https://xen-orchestra.com/docs/",target:"_blank",className:"btn btn-link"},void 0,ct,(0,m.default)("h4",{},void 0,(0,ue.default)("homeOnlineDoc")))),(0,m.default)(Le.Col,{mediumSize:6},void 0,(0,m.default)("a",{href:"https://xen-orchestra.com/#!/member/support",target:"_blank",className:"btn btn-link"},void 0,dt,(0,m.default)("h4",{},void 0,(0,ue.default)("homeProSupport"))))))));var l=this._getNumberOfItems();if(!l)return(0,m.default)(me.default,{},void 0,(0,m.default)(Re.Card,{shadow:!0},void 0,(0,m.default)(Re.CardHeader,{},void 0,(0,ue.default)("homeNoVms")),(0,m.default)(Re.CardBlock,{},void 0,(0,m.default)(Le.Row,{},void 0,(0,m.default)(Le.Col,{},void 0,(0,m.default)(Se.default,{to:"/vms/new"},void 0,ft,(0,m.default)("h4",{},void 0,(0,ue.default)("homeNewVm"))),(0,m.default)("p",{className:"text-muted"},void 0,(0,ue.default)("homeNewVmMessage")))),i&&(0,m.default)("div",{},void 0,(0,m.default)("h2",{},void 0,(0,ue.default)("homeNoVmsOr")),(0,m.default)(Le.Row,{},void 0,(0,m.default)(Le.Col,{mediumSize:6},void 0,(0,m.default)(Se.default,{to:"/import"},void 0,pt,(0,m.default)("h4",{},void 0,(0,ue.default)("homeImportVm"))),(0,m.default)("p",{className:"text-muted"},void 0,(0,ue.default)("homeImportVmMessage"))),(0,m.default)(Le.Col,{mediumSize:6},void 0,(0,m.default)(Se.default,{to:"/backup/restore"},void 0,ht,(0,m.default)("h4",{},void 0,(0,ue.default)("homeRestoreBackup"))),(0,m.default)("p",{className:"text-muted"},void 0,(0,ue.default)("homeRestoreBackupMessage"))))))));var u=this._getFilteredItems(),c=this._getVisibleItems(),d=this.state,f=d.activePage,h=d.expandAll,v=d.highlighted,b=d.selectedHosts,g=d.selectedItems,y=d.selectedPools,_=d.selectedTags,M=d.sortBy,w=this.props,S=w.items,C=w.type,x=et[C],k=x.Item,T=x.mainActions,A=x.otherActions,P=x.showHostsSelector,N=x.showPoolsSelector;return this.refs.masterCheckbox&&(this.refs.masterCheckbox.indeterminate=this._getIsSomeSelected()&&!this._getIsAllSelected()),(0,m.default)(xe.default,{header:this._renderHeader()},void 0,(0,m.default)(Pe.default,{name:"Home",handler:this._getShortcutsHandler(),targetNodeSelector:"body",stopPropagation:!1}),(0,m.default)("div",{},void 0,(0,m.default)("div",{className:Fe.default.itemContainer},void 0,(0,m.default)(Oe.default,{className:Fe.default.itemContainerHeader},void 0,(0,m.default)(Le.Col,{smallsize:11,mediumSize:3},void 0,Te.default.createElement("input",{checked:this._getIsAllSelected(),onChange:this._toggleMaster,ref:"masterCheckbox",type:"checkbox"})," ",(0,m.default)("span",{className:"text-muted"},void 0,this._getNumberOfSelectedItems()?(0,ue.default)("homeSelectedItems",{icon:(0,m.default)(ye.default,{icon:C.toLowerCase()}),selected:this._getNumberOfSelectedItems(),total:l}):(0,ue.default)("homeDisplayedItems",{displayed:u.length,icon:(0,m.default)(ye.default,{icon:C.toLowerCase()}),total:l}))),(0,m.default)(Le.Col,{mediumSize:8,className:"text-xs-right hidden-sm-down"},void 0,this._getNumberOfSelectedItems()?(0,m.default)("div",{},void 0,T&&(0,m.default)("div",{className:"btn-group"},void 0,(0,j.default)(T,function(t,n){return(0,m.default)(ze.default,{content:t.tooltip},n,Te.default.createElement(de.default,(0,p.default)({},t,{handlerParam:e._getSelectedItemsIds()})))})),A&&(0,m.default)(Ve.DropdownButton,{bsStyle:"secondary",id:"advanced",title:(0,ue.default)("homeMore")},void 0,(0,j.default)(A,function(t,n){return(0,m.default)(Ve.MenuItem,{onClick:function(){t.handler(e._getSelectedItemsIds(),t.params)}},n,(0,m.default)(ye.default,{icon:t.icon,fixedWidth:!0})," ",(0,ue.default)(t.labelId))}))):(0,m.default)("div",{},void 0,N&&(0,m.default)(Ve.OverlayTrigger,{trigger:"click",rootClose:!0,placement:"bottom",overlay:(0,m.default)(Ve.Popover,{className:Fe.default.selectObject,id:"poolPopover"},void 0,(0,m.default)(De.SelectPool,{autoFocus:!0,multi:!0,onChange:this._updateSelectedPools,value:y}))},void 0,(0,m.default)(pe.default,{btnStyle:"link"},void 0,mt," ",(0,ue.default)("homeAllPools")))," ",P&&(0,m.default)(Ve.OverlayTrigger,{trigger:"click",rootClose:!0,placement:"bottom",overlay:(0,m.default)(Ve.Popover,{className:Fe.default.selectObject,id:"HostPopover"},void 0,(0,m.default)(De.SelectHost,{autoFocus:!0,multi:!0,onChange:this._updateSelectedHosts,value:b}))},void 0,(0,m.default)(pe.default,{btnStyle:"link"},void 0,vt," ",(0,ue.default)("homeAllHosts")))," ",(0,m.default)(Ve.OverlayTrigger,{autoFocus:!0,trigger:"click",rootClose:!0,placement:"bottom",overlay:(0,m.default)(Ve.Popover,{className:Fe.default.selectObject,id:"tagPopover"},void 0,(0,m.default)(De.SelectTag,{autoFocus:!0,multi:!0,objects:S,onChange:this._updateSelectedTags,value:_}))},void 0,(0,m.default)(pe.default,{btnStyle:"link"},void 0,bt," ",(0,ue.default)("homeAllTags")))," ",(0,m.default)(Ve.DropdownButton,{bsStyle:"link",id:"sort",title:(0,ue.default)("homeSortBy")},void 0,(0,j.default)(x.sortOptions,function(t,n){var r=t.labelId,o=t.sortBy,a=t.sortOrder;return(0,m.default)(Ve.MenuItem,{onClick:function(){return e.setState({sortBy:o,sortOrder:a})}},n,e._tick(o===M),o===M?(0,m.default)("strong",{},void 0,(0,ue.default)(r)):(0,ue.default)(r))})))),(0,m.default)(Le.Col,{smallsize:1,mediumSize:1,className:"text-xs-right"},void 0,(0,m.default)(pe.default,{onClick:this._expandAll},void 0,gt))),(0,q.default)(u)?(0,m.default)("p",{className:"text-xs-center mt-1"},void 0,(0,m.default)("a",{className:"btn btn-link",onClick:this._clearFilter},void 0,yt," ",(0,ue.default)("homeNoMatches"))):(0,j.default)(c,function(t,n){return(0,m.default)("div",{className:v===n&&Fe.default.highlight},t.id,(0,m.default)(k,{expandAll:h,item:t,onSelect:e.toggleState("selectedItems."+t.id),selected:g[t.id]},t.id))})),u.length>Ze&&(0,m.default)(Le.Row,{},void 0,(0,m.default)("div",{style:{display:"flex",width:"100%"}},void 0,(0,m.default)("div",{style:{margin:"auto"}},void 0,(0,m.default)(Ve.Pagination,{first:!0,last:!0,prev:!0,next:!0,ellipsis:!0,boundaryLinks:!0,maxButtons:5,items:(0,re.default)(u.length/Ze),activePage:f,onSelect:this._onPageSelection}))))))}},{key:"page",get:function(){return this.state.page},set:function(e){this.setState({activePage:e})}}]),t}(be.default),l.contextTypes={router:Te.default.PropTypes.object},s=u))||s)||s);n.default=_t},{"../page":1578,"./host-item":1546,"./index.css":1547,"./pool-item":1549,"./sr-item":1550,"./template-item":1551,"./vm-item":1552,"action-button":1401,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/defineProperty":24,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,button:1407,card:1408,"center-panel":1410,"complex-matcher":1413,grid:1431,"home-filters":1432,icon:1435,intl:1436,invoke:1446,link:1459,"lodash/ceil":693,"lodash/debounce":701,"lodash/filter":709,"lodash/find":710,"lodash/forEach":716,"lodash/get":724,"lodash/identity":727,"lodash/includes":728,"lodash/isEmpty":735,"lodash/isString":744,"lodash/keys":750,"lodash/map":754,"lodash/pick":764,"lodash/pickBy":765,"lodash/size":772,"lodash/some":774,react:1269,"react-bootstrap-4/lib":915,"select-objects":1469,selectors:1470,shortcuts:1472,"single-line-row":1473,tooltip:1488,utils:1490,xo:1519}],1549:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("babel-runtime/core-js/promise"),y=r(g),_=e("intl"),M=r(_),w=e("base-component"),S=r(w),C=e("ellipsis"),x=r(C),k=e("lodash/flatMap"),T=r(k),A=e("icon"),P=r(A),N=e("lodash/map"),O=r(N),E=e("react"),z=(r(E),e("single-line-row")),R=r(z),j=e("lodash/size"),L=r(j),D=e("home-tags"),I=r(D),B=e("tooltip"),V=r(B),q=e("link"),F=r(q),U=e("grid"),W=e("editable"),H=e("xo"),X=e("utils"),K=e("selectors"),G=e("./index.css"),Y=r(G),$=(0,s.default)("span",{className:"fa-stack"},void 0,(0,s.default)(P.default,{icon:"pool"}),(0,s.default)(P.default,{icon:"success",className:"fa-stack-1x"})),Q=(0,s.default)(P.default,{icon:"host",size:"1",fixedWidth:!0}),J=(0,s.default)(P.default,{icon:"host",size:"1",fixedWidth:!0}),Z=(0,s.default)(P.default,{icon:"vm",size:"1",fixedWidth:!0}),ee=(0,s.default)(P.default,{icon:"vm",size:"1",fixedWidth:!0}),te=(0,s.default)(P.default,{icon:"sr",size:"1",fixedWidth:!0}),ne=(0,s.default)(P.default,{icon:"sr",size:"1",fixedWidth:!0}),re=(0,s.default)(P.default,{icon:"nav",fixedWidth:!0}),oe=(0,s.default)(P.default,{icon:"host"}),ae=(0,s.default)(P.default,{icon:"vm"}),ie=(0,s.default)(P.default,{icon:"sr"}),se=(0,s.default)(P.default,{icon:"cpu"}),le=(o=(0,X.connectStore)(function(){var e=(0,K.createGetObjectsOfType)("host").filter((0,K.createSelector)(function(e,t){return t.item.id},function(e){return function(t){return t.$pool===e}})),t=(0,K.createSelector)(e,function(e){return y.default.all((0,O.default)(e,function(e){return(0,H.getHostMissingPatches)(e)})).then(function(e){return(0,T.default)(e)})}),n=(0,K.createGetHostMetrics)(e),r=(0,K.createGetObjectsOfType)("SR").count((0,K.createSelector)(function(e,t){return t.item.id},function(e){return function(t){return t.$pool===e}})),o=(0,K.createGetObjectsOfType)("VM").count((0,K.createSelector)(function(e,t){return t.item.id},function(e){return function(t){return t.$pool===e}}));return{hostMetrics:n,missingPaths:t,poolHosts:e,nSrs:r,nVms:o}}),o(a=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,u.default)(t)).call.apply(e,[this].concat(i))),r._addTag=function(e){return(0,H.addTag)(r.props.item.id,e)},r._removeTag=function(e){return(0,H.removeTag)(r.props.item.id,e)},r._setNameDescription=function(e){return(0,H.editPool)(r.props.item,{name_description:e})},r._setNameLabel=function(e){return(0,H.editPool)(r.props.item,{name_label:e})},r._toggleExpanded=function(){return r.setState({expanded:!r.state.expanded})},r._onSelect=function(){return r.props.onSelect(r.props.item.id)},o=n,(0,m.default)(r,o)}return(0,b.default)(t,e),(0,p.default)(t,[{key:"componentWillMount",value:function(){var e=this;this.props.missingPaths.then(function(t){return e.setState({missingPatchCount:(0,L.default)(t)})})}},{key:"render",value:function(){var e=this.props,t=e.item,n=e.expandAll,r=e.selected,o=e.hostMetrics,a=e.poolHosts,i=e.nSrs,l=e.nVms,u=this.state.missingPatchCount;return(0,s.default)("div",{className:Y.default.item},void 0,(0,s.default)(q.BlockLink,{to:"/pools/"+t.id},void 0,(0,s.default)(R.default,{},void 0,(0,s.default)(U.Col,{smallSize:10,mediumSize:9,largeSize:3},void 0,(0,s.default)(C.EllipsisContainer,{},void 0,(0,s.default)("input",{type:"checkbox",checked:r,onChange:this._onSelect,value:t.id})," ",(0,s.default)(x.default,{},void 0,(0,s.default)(W.Text,{value:t.name_label,onChange:this._setNameLabel,useLongClick:!0}))," ",u>0&&(0,s.default)("span",{},void 0," ",(0,s.default)(V.default,{content:(0,M.default)("homeMissingPaths")},void 0,(0,s.default)("span",{className:"tag tag-pill tag-danger"},void 0,u))),t.HA_enabled&&(0,s.default)("span",{},void 0," ",(0,s.default)(V.default,{content:(0,M.default)("highAvailability")},void 0,$)))),(0,s.default)(U.Col,{mediumSize:1,className:"hidden-md-down"},void 0,(0,s.default)(C.EllipsisContainer,{},void 0,(0,s.default)("span",{className:Y.default.itemActionButons},void 0,(0,s.default)(V.default,{content:(0,s.default)("span",{},void 0,o.count,"x ",(0,M.default)("hostsTabName"))},void 0,o.count>0?(0,s.default)(F.default,{to:"/home?s=$pool:"+t.id+"&t=host"},void 0,Q):J)," ",(0,s.default)(V.default,{content:(0,s.default)("span",{},void 0,l,"x ",(0,M.default)("vmsTabName"))},void 0,l>0?(0,s.default)(F.default,{to:"/home?s=$pool:"+t.id+"&t=VM"},void 0,Z):ee)," ",(0,s.default)(V.default,{content:(0,s.default)("span",{},void 0,i,"x ",(0,M.default)("srsTabName"))},void 0,i>0?(0,s.default)(F.default,{to:"/home?s=$pool:"+t.id+"&t=SR"},void 0,te):ne)))),(0,s.default)(U.Col,{mediumSize:4,className:"hidden-md-down"},void 0,(0,s.default)(C.EllipsisContainer,{},void 0,(0,s.default)(x.default,{},void 0,(0,s.default)(W.Text,{value:t.name_description,onChange:this._setNameDescription,useLongClick:!0})))),(0,s.default)(U.Col,{largeSize:4,className:"hidden-lg-down"},void 0,(0,s.default)("span",{},void 0,(0,s.default)(V.default,{content:(0,M.default)("memoryLeftTooltip",{used:Math.round(o.memoryUsage/o.memoryTotal*100),free:(0,X.formatSize)(o.memoryTotal-o.memoryUsage)})},void 0,(0,s.default)("progress",{style:{margin:0},className:"progress",value:o.memoryUsage/o.memoryTotal*100,max:"100"})))),(0,s.default)(U.Col,{mediumSize:1,className:Y.default.itemExpandRow},void 0,(0,s.default)("a",{className:Y.default.itemExpandButton,onClick:this._toggleExpanded},void 0,re," ")))),(this.state.expanded||n)&&(0,s.default)(R.default,{},void 0,(0,s.default)(U.Col,{mediumSize:3,className:Y.default.itemExpanded},void 0,(0,s.default)("span",{},void 0,o.count,"x ",oe," ",l,"x ",ae," ",i,"x ",ie," ",o.cpus,"x ",se," ",(0,X.formatSize)(o.memoryTotal))),(0,s.default)(U.Col,{mediumSize:4,className:Y.default.itemExpanded},void 0,(0,s.default)("span",{},void 0,(0,M.default)("homePoolMaster")," ",(0,s.default)(F.default,{to:"/hosts/"+t.master},void 0,a&&a[t.master].name_label))),(0,s.default)(U.Col,{mediumSize:5},void 0,(0,s.default)("span",{style:{fontSize:"1.4em"}},void 0,(0,s.default)(I.default,{type:"pool",labels:t.tags,onDelete:this._removeTag,onAdd:this._addTag})))))}}]),t}(S.default))||a);n.default=le},{"./index.css":1547,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,editable:1421,ellipsis:1422,grid:1431,"home-tags":1433,icon:1435,intl:1436,link:1459,"lodash/flatMap":713,"lodash/map":754,"lodash/size":772,react:1269,selectors:1470,"single-line-row":1473,tooltip:1488,utils:1490,xo:1519}],1550:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("intl"),y=r(g),_=e("base-component"),M=r(_),w=e("lodash/sum"),S=r(w),C=e("ellipsis"),x=r(C),k=e("icon"),T=r(k),A=e("link"),P=r(A),N=e("lodash/map"),O=r(N),E=e("react"),z=(r(E),e("single-line-row")),R=r(z),j=e("lodash/size"),L=r(j),D=e("tooltip"),I=r(D),B=e("home-tags"),V=r(B),q=e("grid"),F=e("editable"),U=e("selectors"),W=e("xo"),H=e("utils"),X=e("./index.css"),K=r(X),G=(0,s.default)(T.default,{icon:"all-disconnected"}),Y=(0,s.default)(T.default,{icon:"all-disconnected"}),$=(0,s.default)(T.default,{icon:"some-connected"}),Q=(0,s.default)(T.default,{icon:"all-connected"}),J=(0,s.default)(T.default,{icon:"sr-reconnect-all",size:"1"}),Z=(0,s.default)(T.default,{icon:"disk",size:"1"}),ee=(0,s.default)(T.default,{icon:"nav",fixedWidth:!0}),te=(0,s.default)(T.default,{icon:"disk"}),ne=(o=(0,H.connectStore)({container:(0,U.createGetObject)(function(e,t){return t.item.$container}),isDefaultSr:(0,U.createSelector)((0,U.createGetObjectsOfType)("pool").find(function(e,t){return function(e){return t.item.$pool===e.id}}),function(e,t){return t.item},function(e,t){return e&&e.default_SR===t.id}),isShared:(0,U.createSelector)(function(e,t){return t.item},W.isSrShared),status:(0,U.createSelector)((0,U.createGetObjectsOfType)("PBD").filter(function(e,t){return function(e){return e.SR===t.item.id}}),function(e){var t=(0,S.default)((0,O.default)(e,function(e){return e.attached?1:0})),n=(0,L.default)(e);return n?t?t<n?1:2:0:-1})}),o(a=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r=(0,m.default)(this,(e=t.__proto__||(0,u.default)(t)).call.apply(e,[this].concat(i))),r._addTag=function(e){return(0,W.addTag)(r.props.item.id,e)},r._removeTag=function(e){return(0,W.removeTag)(r.props.item.id,e)},r._setNameDescription=function(e){return(0,W.editPool)(r.props.item,{name_description:e})},r._setNameLabel=function(e){return(0,W.editPool)(r.props.item,{name_label:e})},r._toggleExpanded=function(){return r.setState({expanded:!r.state.expanded})},r._onSelect=function(){return r.props.onSelect(r.props.item.id)},r._reconnectAllHostSr=function(){return(0,W.reconnectAllHostsSr)(r.props.item)},r._setDefaultSr=function(){return(0,W.setDefaultSr)(r.props.item)},r._getStatusPill=function(){switch(r.props.status){case-1:return(0,s.default)(I.default,{content:(0,y.default)("srAllDisconnected")},void 0,G);case 0:return(0,s.default)(I.default,{content:(0,y.default)("srAllDisconnected")},void 0,Y);case 1:return(0,s.default)(I.default,{content:(0,y.default)("srSomeConnected")},void 0,$);case 2:return(0,s.default)(I.default,{content:(0,y.default)("srAllConnected")},void 0,Q)}},o=n,(0,m.default)(r,o)}return(0,b.default)(t,e),(0,p.default)(t,[{key:"render",value:function(){var e=this.props,t=e.container,n=e.expandAll,r=e.isDefaultSr,o=e.isShared,a=e.item,i=e.selected;return(0,s.default)("div",{className:K.default.item},void 0,(0,s.default)(A.BlockLink,{to:"/srs/"+a.id},void 0,(0,s.default)(R.default,{},void 0,(0,s.default)(q.Col,{smallSize:9,mediumSize:8,largeSize:3},void 0,(0,s.default)(C.EllipsisContainer,{},void 0,(0,s.default)("input",{type:"checkbox",checked:i,onChange:this._onSelect,value:a.id})," ",this._getStatusPill()," ",(0,s.default)(x.default,{},void 0,(0,s.default)(F.Text,{value:a.name_label,onChange:this._setNameLabel,useLongClick:!0})),r&&(0,s.default)("span",{className:"tag tag-pill tag-info ml-1"},void 0,(0,y.default)("defaultSr")))),(0,s.default)(q.Col,{largeSize:1,className:"hidden-md-down"},void 0,(0,s.default)(C.EllipsisContainer,{},void 0,(0,s.default)("span",{className:K.default.itemActionButons},void 0,(0,s.default)(I.default,{content:(0,y.default)("srReconnectAll")},void 0,(0,s.default)("a",{onClick:this._reconnectAllHostSr},void 0,J))," ",(0,s.default)(I.default,{content:(0,y.default)("setAsDefaultSr")},void 0,(0,s.default)("a",{onClick:this._setDefaultSr},void 0,Z))))),(0,s.default)(q.Col,{largeSize:2,className:"hidden-md-down"},void 0,o?(0,y.default)("srSharedType",{type:a.SR_type}):a.SR_type),(0,s.default)(q.Col,{smallSize:2,mediumSize:2,largeSize:2},void 0,(0,H.formatSize)(a.size)),(0,s.default)(q.Col,{largeSize:2,className:"hidden-md-down"},void 0,a.size>0&&(0,s.default)(I.default,{content:(0,y.default)("spaceLeftTooltip",{used:String(Math.round(a.physical_usage/a.size*100)),free:(0,H.formatSize)(a.size-a.physical_usage)})},void 0,(0,s.default)("progress",{style:{margin:0},className:"progress",value:a.physical_usage/a.size*100,max:"100"}))),(0,s.default)(q.Col,{mediumSize:1,largeSize:1,className:"hidden-sm-down"},void 0,t&&(0,s.default)(P.default,{to:"/"+t.type+"s/"+t.id},void 0,t.name_label)),(0,s.default)(q.Col,{mediumSize:1,className:K.default.itemExpandRow},void 0,(0,s.default)("a",{className:K.default.itemExpandButton,onClick:this._toggleExpanded},void 0,ee," ")))),(this.state.expanded||n)&&(0,s.default)(R.default,{},void 0,(0,s.default)(q.Col,{mediumSize:1,className:K.default.itemExpanded},void 0,a.VDIs.length,"x ",te),(0,s.default)(q.Col,{mediumSize:4},void 0,(0,s.default)("span",{style:{fontSize:"1.4em"}},void 0,(0,s.default)(V.default,{type:"SR",labels:a.tags,onDelete:this._removeTag,onAdd:this._addTag})))))}}]),t}(M.default))||a);n.default=ne},{"./index.css":1547,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,editable:1421,ellipsis:1422,grid:1431,"home-tags":1433,icon:1435,intl:1436,link:1459,"lodash/map":754,"lodash/size":772,"lodash/sum":780,react:1269,selectors:1470,"single-line-row":1473,tooltip:1488,utils:1490,xo:1519}],1551:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("intl"),y=r(g),_=e("base-component"),M=r(_),w=e("ellipsis"),S=r(w),C=e("icon"),x=r(C),k=e("link"),T=r(k),A=e("lodash/map"),P=r(A),N=e("react"),O=(r(N),e("single-line-row")),E=r(O),z=e("home-tags"),R=r(z),j=e("tooltip"),L=r(j),D=e("grid"),I=e("editable"),B=e("xo"),V=e("utils"),q=e("selectors"),F=e("./index.css"),U=r(F),W=(0,s.default)(x.default,{icon:"nav",fixedWidth:!0}),H=(0,s.default)(x.default,{icon:"cpu",className:"mr-1"}),X=(0,s.default)(x.default,{icon:"memory"}),K=(o=(0,V.connectStore)({container:(0,q.createGetObject)(function(e,t){return t.item.$container})}),o(a=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,u.default)(t)).call.apply(e,[this].concat(i))),r._addTag=function(e){return(0,B.addTag)(r.props.item.id,e)},r._onSelect=function(){return r.props.onSelect(r.props.item.id)},r._removeTag=function(e){return(0,B.removeTag)(r.props.item.id,e)},r._setNameDescription=function(e){return(0,B.editVm)(r.props.item,{name_description:e})},r._setNameLabel=function(e){return(0,B.editVm)(r.props.item,{name_label:e})},r._setCpus=function(e){return(0,B.editVm)(r.props.item,{CPUs:e})},r._setMemory=function(e){return(0,B.editVm)(r.props.item,{memory:e})},o=n,(0,m.default)(r,o)}return(0,b.default)(t,e),(0,p.default)(t,[{key:"render",value:function(){var e=this.props,t=e.item,n=e.container,r=e.expandAll,o=e.selected;return(0,s.default)("div",{className:U.default.item},void 0,(0,s.default)(E.default,{},void 0,(0,s.default)(D.Col,{smallSize:10,mediumSize:9,largeSize:5},void 0,(0,s.default)(w.EllipsisContainer,{},void 0,(0,s.default)("input",{type:"checkbox",checked:o,onChange:this._onSelect,value:t.id})," ",(0,s.default)(S.default,{},void 0,(0,s.default)(I.Text,{value:t.name_label,onChange:this._setNameLabel,placeholder:(0,y.default)("templateHomeNamePlaceholder")})))),(0,s.default)(D.Col,{mediumSize:4,className:"hidden-md-down"},void 0,(0,s.default)(w.EllipsisContainer,{},void 0,(0,s.default)(L.default,{content:t.os_version?t.os_version.name:(0,y.default)("unknownOsName")},void 0,(0,s.default)(x.default,{className:"text-info",icon:t.os_version&&(0,V.osFamily)(t.os_version.distro),fixedWidth:!0}))," ",(0,s.default)(S.default,{},void 0,(0,s.default)(I.Text,{value:t.name_description,onChange:this._setNameDescription,placeholder:(0,y.default)("templateHomeDescriptionPlaceholder")})))),(0,s.default)(D.Col,{mediumSize:2,className:"hidden-sm-down"},void 0,n&&(0,s.default)(T.default,{to:"/"+n.type+"s/"+n.id},void 0,n.name_label)),(0,s.default)(D.Col,{mediumSize:1,className:U.default.itemExpandRow},void 0,(0,s.default)("a",{className:U.default.itemExpandButton,onClick:this.toggleState("expanded")},void 0,W," "))),(this.state.expanded||r)&&(0,s.default)(D.Row,{},void 0,(0,s.default)(D.Col,{mediumSize:4,className:U.default.itemExpanded},void 0,(0,s.default)("span",{},void 0,(0,s.default)(I.Number,{value:t.CPUs.number,onChange:this._setCpus}),"x ",H,(0,s.default)(I.Size,{value:(0,V.firstDefined)(t.memory.size,null),onChange:this._setMemory})," ",X)),(0,s.default)(D.Col,{largeSize:4,className:U.default.itemExpanded},void 0,(0,P.default)(t.addresses,function(e){return(0,s.default)("span",{className:"tag tag-info tag-ip"},e,e)})),(0,s.default)(D.Col,{mediumSize:4},void 0,(0,s.default)("span",{style:{fontSize:"1.4em"}},void 0,(0,s.default)(R.default,{type:"VM-template",labels:t.tags,
|
88 | onDelete:this._removeTag,onAdd:this._addTag})))))}}]),t}(M.default))||a);n.default=K},{"./index.css":1547,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,editable:1421,ellipsis:1422,grid:1431,"home-tags":1433,icon:1435,intl:1436,link:1459,"lodash/map":754,react:1269,selectors:1470,"single-line-row":1473,tooltip:1488,utils:1490,xo:1519}],1552:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s=e("babel-runtime/helpers/jsx"),l=r(s),u=e("babel-runtime/core-js/object/get-prototype-of"),c=r(u),d=e("babel-runtime/helpers/classCallCheck"),f=r(d),p=e("babel-runtime/helpers/createClass"),h=r(p),m=e("babel-runtime/helpers/possibleConstructorReturn"),v=r(m),b=e("babel-runtime/helpers/inherits"),g=r(b),y=e("lodash/map"),_=r(y),M=e("lodash/isEmpty"),w=r(M),S=e("intl"),C=r(S),x=e("base-component"),k=r(x),T=e("ellipsis"),A=r(T),P=e("icon"),N=r(P),O=e("link"),E=r(O),z=e("react"),R=(r(z),e("single-line-row")),j=r(R),L=e("home-tags"),D=r(L),I=e("tooltip"),B=r(I),V=e("grid"),q=e("editable"),F=e("xo"),U=e("utils"),W=e("selectors"),H=e("./index.css"),X=r(H),K=(0,l.default)(N.default,{icon:"busy"}),G=(0,l.default)(N.default,{icon:"vm-console",size:"1",fixedWidth:!0}),Y=(0,l.default)(N.default,{icon:"vm-stop",size:"1",fixedWidth:!0}),$=(0,l.default)(N.default,{fixedWidth:!0}),Q=(0,l.default)(N.default,{icon:"vm-start",size:"1",fixedWidth:!0}),J=(0,l.default)(N.default,{icon:"nav",fixedWidth:!0}),Z=(0,l.default)(N.default,{icon:"cpu"}),ee=(0,l.default)(N.default,{icon:"memory"}),te=(0,l.default)(N.default,{icon:"vm-snapshot"}),ne=(0,l.default)(N.default,{icon:"vm-docker"}),re=(o=(0,U.addSubscriptions)({resourceSets:F.subscribeResourceSets}),a=(0,U.connectStore)({container:(0,W.createGetObject)(function(e,t){return t.item.$container})}),o(i=a(i=function(e){function t(){var e,n,r,o;(0,f.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,v.default)(this,(e=t.__proto__||(0,c.default)(t)).call.apply(e,[this].concat(i))),r._getMigrationPredicate=(0,W.createSelector)(function(){return r.props.container},function(e){return function(t){return t.id!==e.id}}),r._getResourceSet=(0,W.createFinder)(function(){return r.props.resourceSets},(0,W.createSelector)(function(){return r.props.item.resourceSet},function(e){return function(t){return t.id===e}})),r._addTag=function(e){return(0,F.addTag)(r.props.item.id,e)},r._migrateVm=function(e){return(0,F.migrateVm)(r.props.item,e)},r._removeTag=function(e){return(0,F.removeTag)(r.props.item.id,e)},r._setNameDescription=function(e){return(0,F.editVm)(r.props.item,{name_description:e})},r._setNameLabel=function(e){return(0,F.editVm)(r.props.item,{name_label:e})},r._start=function(){return(0,F.startVm)(r.props.item)},r._stop=function(){return(0,F.stopVm)(r.props.item)},r._toggleExpanded=function(){return r.setState({expanded:!r.state.expanded})},r._onSelect=function(){return r.props.onSelect(r.props.item.id)},o=n,(0,v.default)(r,o)}return(0,g.default)(t,e),(0,h.default)(t,[{key:"render",value:function(){var e=this.props,t=e.item,n=e.container,r=e.expandAll,o=e.selected,a=this._getResourceSet();return(0,l.default)("div",{className:X.default.item},void 0,(0,l.default)(O.BlockLink,{to:"/vms/"+t.id},void 0,(0,l.default)(j.default,{},void 0,(0,l.default)(V.Col,{smallSize:10,mediumSize:6,largeSize:5},void 0,(0,l.default)(T.EllipsisContainer,{},void 0,(0,l.default)("input",{type:"checkbox",checked:o,onChange:this._onSelect,value:t.id})," ",(0,l.default)(B.default,{content:(0,w.default)(t.current_operations)?(0,C.default)("powerState"+t.power_state):(0,l.default)("div",{},void 0,(0,C.default)("powerState"+t.power_state)," (",(0,_.default)(t.current_operations)[0],")")},void 0,(0,w.default)(t.current_operations)?(0,l.default)(N.default,{icon:""+t.power_state.toLowerCase()}):K)," ",(0,l.default)(A.default,{},void 0,(0,l.default)(q.Text,{value:t.name_label,onChange:this._setNameLabel,placeholder:(0,C.default)("vmHomeNamePlaceholder"),useLongClick:!0})))),(0,l.default)(V.Col,{mediumSize:4,className:"hidden-md-down"},void 0,(0,l.default)(T.EllipsisContainer,{},void 0,(0,l.default)("span",{className:X.default.itemActionButons},void 0,this._isRunning?(0,l.default)("span",{},void 0,(0,l.default)(B.default,{content:(0,C.default)("vmConsoleLabel")},void 0,(0,l.default)(E.default,{to:"/vms/"+t.id+"/console"},void 0,G)),(0,l.default)(B.default,{content:(0,C.default)("stopVmLabel")},void 0,(0,l.default)("a",{onClick:this._stop},void 0,Y))):(0,l.default)("span",{},void 0,$,(0,l.default)(B.default,{content:(0,C.default)("startVmLabel")},void 0,(0,l.default)("a",{onClick:this._start},void 0,Q)))),(0,l.default)(B.default,{content:t.os_version?t.os_version.name:(0,C.default)("unknownOsName")},void 0,(0,l.default)(N.default,{className:"text-info",icon:t.os_version&&(0,U.osFamily)(t.os_version.distro),fixedWidth:!0}))," ",(0,l.default)(A.default,{},void 0,(0,l.default)(q.Text,{value:t.name_description,onChange:this._setNameDescription,placeholder:(0,C.default)("vmHomeDescriptionPlaceholder"),useLongClick:!0})))),(0,l.default)(V.Col,{mediumSize:2,className:"hidden-sm-down"},void 0,this._isRunning&&n?(0,l.default)(q.XoSelect,{labelProp:"name_label",onChange:this._migrateVm,placeholder:(0,C.default)("homeMigrateTo"),predicate:this._getMigrationPredicate(),useLongClick:!0,value:n,xoType:"host"},void 0,(0,l.default)(E.default,{to:"/"+n.type+"s/"+n.id},void 0,n.name_label)):n&&(0,l.default)(E.default,{to:"/"+n.type+"s/"+n.id},void 0,n.name_label)),(0,l.default)(V.Col,{mediumSize:1,className:X.default.itemExpandRow},void 0,(0,l.default)("a",{className:X.default.itemExpandButton,onClick:this._toggleExpanded},void 0,J," ")))),(this.state.expanded||r)&&(0,l.default)(V.Row,{},void 0,(0,l.default)(V.Col,{mediumSize:3,className:X.default.itemExpanded},void 0,(0,l.default)("span",{},void 0,t.CPUs.number,"x ",Z," "," "," ",(0,U.formatSize)(t.memory.size)," ",ee," "," "," ",(0,w.default)(t.snapshots)?null:(0,l.default)("span",{},void 0,t.snapshots.length,"x ",te),t.docker?ne:null)),(0,l.default)(V.Col,{largeSize:3,className:X.default.itemExpanded},void 0,(0,_.default)(t.addresses,function(e){return(0,l.default)("span",{className:"tag tag-info tag-ip"},e,e)})),(0,l.default)(V.Col,{mediumSize:3,className:"hidden-sm-down"},void 0,a&&(0,l.default)("span",{},void 0,(0,C.default)("homeResourceSet",{resourceSet:(0,l.default)(E.default,{to:"self?resourceSet="+a.id},void 0,a.name)}))),(0,l.default)(V.Col,{mediumSize:3},void 0,(0,l.default)("span",{style:{fontSize:"1.4em"}},void 0,(0,l.default)(D.default,{type:"VM",labels:t.tags,onDelete:this._removeTag,onAdd:this._addTag})))))}},{key:"_isRunning",get:function(){var e=this.props.item;return e&&"Running"===e.power_state}}]),t}(k.default))||i)||i);n.default=re},{"./index.css":1547,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,editable:1421,ellipsis:1422,grid:1431,"home-tags":1433,icon:1435,intl:1436,link:1459,"lodash/isEmpty":735,"lodash/map":754,react:1269,selectors:1470,"single-line-row":1473,tooltip:1488,utils:1490,xo:1519}],1553:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("action-bar"),s=r(i),l=e("react"),u=(r(l),e("xo")),c={Running:function(e){var t=e.host;return(0,a.default)(s.default,{actions:[{icon:"host-stop",label:"stopHostLabel",handler:u.stopHost},{icon:"host-restart-agent",label:"restartHostAgent",handler:u.restartHostAgent},{icon:"host-emergency-shutdown",label:"emergencyModeLabel",handler:u.emergencyShutdownHost},{icon:"host-reboot",label:"rebootHostLabel",handler:u.restartHost}],display:"icon",param:t})},Halted:function(e){var t=e.host;return(0,a.default)(s.default,{actions:[{icon:"host-start",label:"startHostLabel",handler:u.startHost}],display:"icon",param:t})}},d=function(e){var t=e.host,n=c[t.power_state];return n?(0,a.default)(n,{host:t}):(0,a.default)("p",{},void 0,"No action bar for state ",t.power_state)};n.default=d},{"action-bar":1400,"babel-runtime/helpers/jsx":27,react:1269,xo:1519}],1554:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l,u=e("babel-runtime/helpers/jsx"),c=r(u),d=e("babel-runtime/core-js/object/get-prototype-of"),f=r(d),p=e("babel-runtime/helpers/classCallCheck"),h=r(p),m=e("babel-runtime/helpers/createClass"),v=r(m),b=e("babel-runtime/helpers/possibleConstructorReturn"),g=r(b),y=e("babel-runtime/helpers/inherits"),_=r(y),M=e("babel-runtime/helpers/extends"),w=r(M),S=e("lodash/sum"),C=r(S),x=e("lodash/sortBy"),k=r(x),T=e("lodash/pick"),A=r(T),P=e("lodash/map"),N=r(P),O=e("lodash/isString"),E=r(O),z=e("lodash/isEmpty"),R=r(z),j=e("lodash/assign"),L=r(j),D=e("intl"),I=r(D),B=e("./action-bar"),V=r(B),q=e("icon"),F=r(q),U=e("link"),W=r(U),H=e("nav"),X=e("../page"),K=r(X),G=e("react"),Y=r(G),$=e("tooltip"),Q=r($),J=e("editable"),Z=e("xo"),ee=e("grid"),te=e("utils"),ne=e("selectors"),re=e("./tab-advanced"),oe=r(re),ae=e("./tab-console"),ie=r(ae),se=e("./tab-general"),le=r(se),ue=e("./tab-logs"),ce=r(ue),de=e("./tab-network"),fe=r(de),pe=e("./tab-patches"),he=r(pe),me=e("./tab-stats"),ve=r(me),be=e("./tab-storage"),ge=r(be),ye=function(e){return e&&"Running"===e.power_state},_e=(0,c.default)(F.default,{icon:"loading"}),Me=(0,c.default)("br",{}),we=(0,c.default)(F.default,{icon:"alarm"}),Se=(o=(0,te.routes)("general",{advanced:oe.default,console:ie.default,general:le.default,logs:ce.default,network:fe.default,patches:he.default,stats:ve.default,storage:ge.default}),a=(0,te.connectStore)(function(){var e=(0,ne.createGetObject)(),t=(0,ne.createGetObject)(function(t,n){return e(t,n).$pool}),n=(0,ne.createGetObjectsOfType)("VM-controller").find((0,ne.createSelector)(e,function(e){var t=e.id;return function(e){return e.$container===t}})),r=(0,ne.createGetObjectsOfType)("VM").filter((0,ne.createSelector)(e,function(e){var t=e.id;return function(e){return e.$container===t}})),o=r.count(),a=(0,ne.createGetObjectsOfType)("message").filter((0,ne.createSelector)(e,n,function(e,t){return function(n){var r=n.$object;return r===e.id||r===t.id}})).sort(),i=(0,ne.createGetObjectsOfType)("PIF").pick((0,ne.createSelector)(e,function(e){return e.$PIFs})).sort(),s=(0,ne.createGetObjectsOfType)("network").pick((0,ne.createSelector)(i,function(e){return(0,N.default)(e,function(e){return e.$network})})),l=(0,ne.createSelector)((0,ne.createGetObjectsOfType)("pool_patch"),(0,ne.createGetObjectsOfType)("host_patch").pick((0,ne.createSelector)(e,function(e){return(0,E.default)(e.patches[0])?e.patches:[]})),function(e,t){return(0,N.default)(t,function(t){return(0,w.default)({},t,{poolPatch:e[t.pool_patch]})})}),u=(0,ne.createDoesHostNeedRestart)(e),c=(0,ne.createSelector)(r,function(e){return(0,C.default)((0,N.default)(e,function(e){return e.memory.size}))});return function(d,f){var p=e(d,f);return p?{host:p,hostPatches:l(d,f),logs:a(d,f),memoryUsed:c(d,f),needsRestart:u(d,f),networks:s(d,f),nVms:o(d,f),pifs:i(d,f),pool:t(d,f),vmController:n(d,f),vms:r(d,f)}:{}}}),o(i=a((l=s=function(e){function t(){var e,n,r,o,a;(0,h.default)(this,t);for(var i=arguments.length,s=Array(i),l=0;l<i;l++)s[l]=arguments[l];return r=o=(0,g.default)(this,(e=t.__proto__||(0,f.default)(t)).call.apply(e,[this].concat(s))),o.loop=(n=o).loop.bind(n),o._installAllPatches=function(){var e=o.props.host;return(0,Z.installAllHostPatches)(e).then(function(){o._getMissingPatches(e)})},o._installPatch=function(e){var t=o.props.host;return(0,Z.installHostPatch)(t,e).then(function(){o._getMissingPatches(t)})},o._setNameDescription=function(e){return(0,Z.editHost)(o.props.host,{name_description:e})},o._setNameLabel=function(e){return(0,Z.editHost)(o.props.host,{name_label:e})},a=r,(0,g.default)(o,a)}return(0,_.default)(t,e),(0,v.default)(t,[{key:"loop",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.host;if(this.cancel&&this.cancel(),ye(t)){var n=!1;this.cancel=function(){n=!0},(0,Z.fetchHostStats)(t).then(function(t){n||(e.cancel=null,clearTimeout(e.timeout),e.setState({statsOverview:t},function(){e.timeout=setTimeout(e.loop,1e3*t.interval)}))})}}},{key:"_getMissingPatches",value:function(e){var t=this;(0,Z.getHostMissingPatches)(e).then(function(e){t.setState({missingPatches:(0,k.default)(e,function(e){return-e.time})})})}},{key:"componentWillMount",value:function(){this.props.host&&(this.loop(),this._getMissingPatches(this.props.host))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"componentWillReceiveProps",value:function(e){var t=e.host;if(t){var n=this.props.host;n&&!t&&this.context.router.push("/"),n||this._getMissingPatches(t),!ye(n)&&ye(t)?this.loop(t):ye(n)&&!ye(t)&&this.setState({statsOverview:void 0})}}},{key:"header",value:function(){var e=this.props,t=e.host,n=e.pool,r=this.state||{},o=r.missingPatches;return t?(0,c.default)(ee.Container,{},void 0,(0,c.default)(ee.Row,{},void 0,(0,c.default)(ee.Col,{mediumSize:6,className:"header-title"},void 0,(0,c.default)("h2",{},void 0,(0,c.default)(F.default,{icon:"host-"+t.power_state.toLowerCase()})," ",(0,c.default)(J.Text,{value:t.name_label,onChange:this._setNameLabel})),(0,c.default)("span",{},void 0,(0,c.default)(J.Text,{value:t.name_description,onChange:this._setNameDescription}),n&&(0,c.default)("span",{className:"text-muted"},void 0," - ",(0,c.default)(W.default,{to:"/pools/"+n.id},void 0,n.name_label)))),(0,c.default)(ee.Col,{mediumSize:6},void 0,(0,c.default)("div",{className:"text-xs-center"},void 0,(0,c.default)(V.default,{host:t})))),Me,(0,c.default)(ee.Row,{},void 0,(0,c.default)(ee.Col,{},void 0,(0,c.default)(H.NavTabs,{},void 0,(0,c.default)(H.NavLink,{to:"/hosts/"+t.id+"/general"},void 0,(0,I.default)("generalTabName")),(0,c.default)(H.NavLink,{to:"/hosts/"+t.id+"/stats"},void 0,(0,I.default)("statsTabName")),(0,c.default)(H.NavLink,{to:"/hosts/"+t.id+"/console"},void 0,(0,I.default)("consoleTabName")),(0,c.default)(H.NavLink,{to:"/hosts/"+t.id+"/network"},void 0,(0,I.default)("networkTabName")),(0,c.default)(H.NavLink,{to:"/hosts/"+t.id+"/storage"},void 0,(0,I.default)("storageTabName")),(0,c.default)(H.NavLink,{to:"/hosts/"+t.id+"/patches"},void 0,(0,I.default)("patchesTabName")," ",(0,R.default)(o)?null:(0,c.default)("span",{className:"tag tag-pill tag-danger"},void 0,o.length),this.props.needsRestart&&(0,R.default)(o)&&(0,c.default)(Q.default,{content:(0,I.default)("rebootUpdateHostLabel")},void 0,we)),(0,c.default)(H.NavLink,{to:"/hosts/"+t.id+"/logs"},void 0,(0,I.default)("logsTabName")),(0,c.default)(H.NavLink,{to:"/hosts/"+t.id+"/advanced"},void 0,(0,I.default)("advancedTabName")))))):_e}},{key:"render",value:function(){var e=this.props,t=e.host,n=e.pool;if(!t)return(0,c.default)("h1",{},void 0,(0,I.default)("statusLoading"));var r=(0,L.default)((0,A.default)(this.props,["host","hostPatches","logs","memoryUsed","networks","nVms","pbds","pifs","srs","vmController","vms"]),(0,A.default)(this.state,["missingPatches","statsOverview"]),{installAllPatches:this._installAllPatches,installPatch:this._installPatch});return(0,c.default)(K.default,{header:this.header(),title:""+t.name_label+(n?" ("+n.name_label+")":"")},void 0,(0,G.cloneElement)(this.props.children,r))}}]),t}(G.Component),s.contextTypes={router:Y.default.PropTypes.object},i=l))||i)||i);n.default=Se},{"../page":1578,"./action-bar":1553,"./tab-advanced":1555,"./tab-console":1556,"./tab-general":1557,"./tab-logs":1558,"./tab-network":1559,"./tab-patches":1560,"./tab-stats":1561,"./tab-storage":1562,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,editable:1421,grid:1431,icon:1435,intl:1436,link:1459,"lodash/assign":690,"lodash/isEmpty":735,"lodash/isString":744,"lodash/map":754,"lodash/pick":764,"lodash/sortBy":775,"lodash/sum":780,nav:1462,react:1269,selectors:1470,tooltip:1488,utils:1490,xo:1519}],1555:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("lodash/map"),s=r(i),l=e("intl"),u=r(l),c=e("copiable"),d=r(c),f=e("react"),p=(r(f),e("tab-button")),h=r(p),m=e("select-files"),v=r(m),b=e("xoa-upgrade"),g=r(b),y=e("form"),_=e("xo"),M=e("react-intl"),w=e("grid"),S=!0,C=function(e){return(0,_.restartHost)(e,!0)},x=function(e){var t=e.name,n=e.author,r=e.description,o=e.version;return(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("supplementalPackTitle",{author:n,name:t})),(0,a.default)("td",{},void 0,r),(0,a.default)("td",{},void 0,o))},k=(0,a.default)("br",{}),T=(0,a.default)("br",{}),A=(0,a.default)("br",{}),P=(0,a.default)(w.Container,{},void 0,(0,a.default)(g.default,{place:"supplementalPacks",available:2}));n.default=function(e){var t=e.host;return(0,a.default)(w.Container,{},void 0,(0,a.default)(w.Row,{},void 0,(0,a.default)(w.Col,{className:"text-xs-right"},void 0,"Running"===t.power_state&&(0,a.default)(h.default,{btnStyle:"warning",handler:C,handlerParam:t,icon:"host-force-reboot",labelId:"forceRebootHostLabel"}),t.enabled?(0,a.default)(h.default,{btnStyle:"warning",handler:_.disableHost,handlerParam:t,icon:"host-disable",labelId:"disableHostLabel"}):(0,a.default)(h.default,{btnStyle:"success",handler:_.enableHost,handlerParam:t,icon:"host-enable",labelId:"enableHostLabel"}),(0,a.default)(h.default,{btnStyle:"danger",handler:_.detachHost,handlerParam:t,icon:"host-eject",labelId:"detachHost"}))),(0,a.default)(w.Row,{},void 0,(0,a.default)(w.Col,{},void 0,(0,a.default)("h3",{},void 0,(0,u.default)("xenSettingsLabel")),(0,a.default)("table",{className:"table"},void 0,(0,a.default)("tbody",{},void 0,(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("uuid")),(0,a.default)(d.default,{tagName:"td"},void 0,t.uuid)),(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("hostAddress")),(0,a.default)(d.default,{tagName:"td"},void 0,t.address)),(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("hostStatus")),(0,a.default)("td",{},void 0,t.enabled?(0,u.default)("hostStatusEnabled"):(0,u.default)("hostStatusDisabled"))),(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("hostPowerOnMode")),(0,a.default)("td",{},void 0,(0,a.default)(y.Toggle,{value:t.powerOnMode,disabled:!0}))),(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("hostStartedSince")),(0,a.default)("td",{},void 0,(0,u.default)("started",{ago:(0,a.default)(M.FormattedRelative,{value:1e3*t.startTime})}))),(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("hostStackStartedSince")),(0,a.default)("td",{},void 0,(0,u.default)("started",{ago:(0,a.default)(M.FormattedRelative,{value:1e3*t.agentStartTime})}))),(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("hostXenServerVersion")),(0,a.default)(d.default,{tagName:"td"},void 0,t.license_params.sku_marketing_name," ",t.version," (",t.license_params.sku_type,")")),(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("hostBuildNumber")),(0,a.default)(d.default,{tagName:"td"},void 0,t.build)),(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("hostIscsiName")),(0,a.default)(d.default,{tagName:"td"},void 0,t.iSCSI_name)))),k,(0,a.default)("h3",{},void 0,(0,u.default)("hardwareHostSettingsLabel")),(0,a.default)("table",{className:"table"},void 0,(0,a.default)("tbody",{},void 0,(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("hostCpusModel")),(0,a.default)(d.default,{tagName:"td"},void 0,t.CPUs.modelname)),(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("hostCpusNumber")),(0,a.default)("td",{},void 0,t.cpus.cores," (",t.cpus.sockets,")")),(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("hostManufacturerinfo")),(0,a.default)(d.default,{tagName:"td"},void 0,t.bios_strings["system-manufacturer"]," (",t.bios_strings["system-product-name"],")")),(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("hostBiosinfo")),(0,a.default)("td",{},void 0,t.bios_strings["bios-vendor"]," (",t.bios_strings["bios-version"],")")))),T,(0,a.default)("h3",{},void 0,(0,u.default)("licenseHostSettingsLabel")),(0,a.default)("table",{className:"table"},void 0,(0,a.default)("tbody",{},void 0,(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("hostLicenseType")),(0,a.default)("td",{},void 0,t.license_params.sku_type)),(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("hostLicenseSocket")),(0,a.default)("td",{},void 0,t.license_params.sockets)),(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("hostLicenseExpiry")),(0,a.default)("td",{},void 0,(0,a.default)(M.FormattedTime,{value:1e3*t.license_expiry,day:"numeric",month:"long",year:"numeric"}),A)))),(0,a.default)("h3",{},void 0,(0,u.default)("supplementalPacks")),(0,a.default)("table",{className:"table"},void 0,(0,a.default)("tbody",{},void 0,(0,s.default)(t.supplementalPacks,x),S&&(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,u.default)("supplementalPackNew")),(0,a.default)("td",{},void 0,(0,a.default)(v.default,{type:"file",onChange:function(e){return(0,_.installSupplementalPack)(t,e)}}))))),!S&&[(0,a.default)("h3",{},void 0,(0,u.default)("supplementalPackNew")),P])))}},{"babel-runtime/helpers/jsx":27,copiable:1415,form:1425,grid:1431,intl:1436,"lodash/map":754,react:1269,"react-intl":1103,"select-files":1468,"tab-button":1481,xo:1519,"xoa-upgrade":1528}],1556:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("intl"),b=r(v),g=e("button"),y=r(g),_=e("base-component"),M=r(_),w=e("react-copy-to-clipboard"),S=r(w),C=e("lodash/debounce"),x=r(C),k=e("icon"),T=r(k),A=e("invoke"),P=r(A),N=e("react-novnc"),O=r(N),E=e("react"),z=r(E),R=e("xo"),j=e("grid"),L=e("xo-sparklines"),D=(0,a.default)(T.default,{icon:"cpu",size:2}),I=(0,a.default)(T.default,{icon:"memory",size:2}),B=(0,a.default)(T.default,{icon:"network",size:2}),V=(0,a.default)(T.default,{icon:"disk",size:2}),q=(0,a.default)("br",{}),F=(0,a.default)(T.default,{icon:"clipboard"}),U=(0,a.default)(T.default,{icon:"vm-keyboard"}),W=(0,a.default)(T.default,{icon:"info"}),H=function(e){function t(){var e,n,r,o;(0,u.default)(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r=(0,p.default)(this,(e=t.__proto__||(0,s.default)(t)).call.apply(e,[this].concat(i))),r._sendCtrlAltDel=function(){r.refs.noVnc.sendCtrlAltDel()},r._getRemoteClipboard=function(e){r.setState({clipboard:e}),r.refs.clipboard.value=e},r._setRemoteClipboard=(0,P.default)(function(){var e=(0,x.default)(function(e){r.setState({clipboard:e}),r.refs.noVnc.setClipboard(e)},200);return function(t){return e(t.target.value)}}),r._getClipboardContent=function(){return r.refs.clipboard&&r.refs.clipboard.value},o=n,(0,p.default)(r,o)}return(0,m.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){var e=this.props,t=e.vmController,n=e.statsOverview;return(0,a.default)(j.Container,{},void 0,n&&(0,a.default)(j.Row,{className:"text-xs-center"},void 0,(0,a.default)(j.Col,{mediumSize:3},void 0,D," ",(0,a.default)(L.CpuSparkLines,{data:n})),(0,a.default)(j.Col,{mediumSize:3},void 0,I," ",(0,a.default)(L.MemorySparkLines,{data:n})),(0,a.default)(j.Col,{mediumSize:3},void 0,B," ",(0,a.default)(L.PifSparkLines,{data:n})),(0,a.default)(j.Col,{mediumSize:3},void 0,V," ",(0,a.default)(L.LoadSparkLines,{data:n}))),q,(0,a.default)(j.Row,{},void 0,(0,a.default)(j.Col,{mediumSize:10},void 0,(0,a.default)("div",{className:"input-group"},void 0,z.default.createElement("input",{type:"text",className:"form-control",ref:"clipboard",onChange:this._setRemoteClipboard}),(0,a.default)("span",{className:"input-group-btn"},void 0,(0,a.default)(S.default,{text:this.state.clipboard||""},void 0,(0,a.default)(y.default,{},void 0,F," ",(0,b.default)("copyToClipboardLabel")))))),(0,a.default)(j.Col,{mediumSize:2},void 0,(0,a.default)(y.default,{onClick:this._sendCtrlAltDel},void 0,U," ",(0,b.default)("ctrlAltDelButtonLabel")))),(0,a.default)(j.Row,{className:"console"},void 0,(0,a.default)(j.Col,{},void 0,z.default.createElement(O.default,{ref:"noVnc",url:(0,R.resolveUrl)("consoles/"+t.id),onClipboardChange:this._getRemoteClipboard}),(0,a.default)("p",{},void 0,(0,a.default)("em",{},void 0,W," ",(0,b.default)("tipLabel")," ",(0,b.default)("tipConsoleLabel"))))))}}]),t}(M.default);n.default=H},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,button:1407,grid:1431,icon:1435,intl:1436,invoke:1446,"lodash/debounce":701,react:1269,"react-copy-to-clipboard":939,"react-novnc":1465,xo:1519,"xo-sparklines":1507}],1557:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("intl"),s=r(i),l=e("copiable"),u=r(l),c=e("icon"),d=r(c),f=e("lodash/map"),p=r(f),h=e("react"),m=(r(h),e("store")),v=r(m),b=e("home-tags"),g=r(b),y=e("xo"),_=e("link"),M=e("grid"),w=e("react-intl"),S=e("utils"),C=e("usage"),x=r(C),k=e("selectors"),T=e("complex-matcher"),A=e("xo-sparklines"),P=(0,a.default)("br",{}),N=(0,a.default)(d.default,{icon:"cpu",size:"lg"}),O=(0,a.default)(d.default,{icon:"memory",size:"lg"}),E=(0,a.default)(d.default,{icon:"network",size:"lg"}),z=(0,a.default)(d.default,{icon:"disk",size:"lg"}),R=(0,a.default)("br",{}),j=(0,a.default)("br",{}),L=(0,a.default)(d.default,{icon:"vm",size:"lg"}),D=(0,a.default)("br",{});n.default=function(e){var t,n=e.statsOverview,r=e.host,o=e.memoryUsed,i=e.nVms,l=e.vmController,c=e.vms,d=(0,k.getObject)(v.default.getState(),r.$pool),f=encodeURIComponent((t=(0,T.createProperty)("$container",(0,T.createString)(r.id)),T.toString).call(t));return(0,a.default)(M.Container,{},void 0,P,(0,a.default)(M.Row,{className:"text-xs-center"},void 0,(0,a.default)(M.Col,{mediumSize:3},void 0,(0,a.default)("h2",{},void 0,r.CPUs.cpu_count,"x ",N),(0,a.default)(_.BlockLink,{to:"/hosts/"+r.id+"/stats"},void 0,n&&(0,a.default)(A.CpuSparkLines,{data:n}))),(0,a.default)(M.Col,{mediumSize:3},void 0,(0,a.default)("h2",{},void 0,(0,S.formatSize)(r.memory.size)," ",O),(0,a.default)(_.BlockLink,{to:"/hosts/"+r.id+"/stats"},void 0,n&&(0,a.default)(A.MemorySparkLines,{data:n}))),(0,a.default)(M.Col,{mediumSize:3},void 0,(0,a.default)(_.BlockLink,{to:"/hosts/"+r.id+"/network"},void 0,(0,a.default)("h2",{},void 0,r.$PIFs.length,"x ",E)),(0,a.default)(_.BlockLink,{to:"/hosts/"+r.id+"/stats"},void 0,n&&(0,a.default)(A.PifSparkLines,{data:n}))),(0,a.default)(M.Col,{mediumSize:3},void 0,(0,a.default)(_.BlockLink,{to:"/hosts/"+r.id+"/storage"},void 0,(0,a.default)("h2",{},void 0,r.$PBDs.length,"x ",z)),(0,a.default)(_.BlockLink,{to:"/hosts/"+r.id+"/stats"},void 0,n&&(0,a.default)(A.LoadSparkLines,{data:n})))),R,(0,a.default)(M.Row,{className:"text-xs-center"},void 0,(0,a.default)(M.Col,{mediumSize:3},void 0,(0,a.default)("p",{className:"text-xs-center"},void 0,(0,s.default)("started",{ago:(0,a.default)(w.FormattedRelative,{value:1e3*r.startTime})}))),(0,a.default)(M.Col,{mediumSize:3},void 0,(0,a.default)("p",{},void 0,r.license_params.sku_marketing_name," ",r.version," (",r.license_params.sku_type,")")),(0,a.default)(M.Col,{mediumSize:3},void 0,(0,a.default)(u.default,{tagName:"p"},void 0,r.address)),(0,a.default)(M.Col,{mediumSize:3},void 0,(0,a.default)("p",{},void 0,r.bios_strings["system-manufacturer"]," ",r.bios_strings["system-product-name"]))),j,(0,a.default)(M.Row,{},void 0,(0,a.default)(M.Col,{className:"text-xs-center"},void 0,(0,a.default)(_.BlockLink,{to:"/home?t=VM&s="+f},void 0,(0,a.default)("h2",{},void 0,i,"x ",L)))),D,(0,a.default)(M.Row,{},void 0,(0,a.default)(M.Col,{className:"text-xs-center"},void 0,(0,a.default)("h5",{},void 0,(0,s.default)("memoryHostState",{memoryUsed:(0,S.formatSize)(o)})))),(0,a.default)(M.Row,{},void 0,(0,a.default)(M.Col,{smallOffset:1,mediumSize:10},void 0,(0,a.default)(x.default,{total:r.memory.size},void 0,(0,a.default)(C.UsageElement,{highlight:!0,tooltip:"XenServer",value:l.memory.size}),(0,p.default)(c,function(e){return(0,a.default)(C.UsageElement,{tooltip:e.name_label,value:e.memory.size,href:"#/vms/"+e.id},e.id)})))),d&&r.id===d.master&&(0,a.default)(M.Row,{className:"text-xs-center"},void 0,(0,a.default)(M.Col,{},void 0,(0,a.default)("h3",{},void 0,(0,a.default)("span",{className:"tag tag-pill tag-info"},void 0,(0,s.default)("pillMaster"))))),(0,a.default)(M.Row,{},void 0,(0,a.default)(M.Col,{},void 0,(0,a.default)("h2",{className:"text-xs-center"},void 0,(0,a.default)(g.default,{type:"host",labels:r.tags,onDelete:function(e){return(0,y.removeTag)(r.id,e)},onAdd:function(e){return(0,y.addTag)(r.id,e)}})))))}},{"babel-runtime/helpers/jsx":27,"complex-matcher":1413,copiable:1415,grid:1431,"home-tags":1433,icon:1435,intl:1436,link:1459,"lodash/map":754,react:1269,"react-intl":1103,selectors:1470,store:1479,usage:1489,utils:1490,xo:1519,"xo-sparklines":1507}],1558:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/core-js/object/get-prototype-of"),a=r(o),i=e("babel-runtime/helpers/classCallCheck"),s=r(i),l=e("babel-runtime/helpers/createClass"),u=r(l),c=e("babel-runtime/helpers/possibleConstructorReturn"),d=r(c),f=e("babel-runtime/helpers/inherits"),p=r(f),h=e("babel-runtime/helpers/jsx"),m=r(h),v=e("intl"),b=r(v),g=e("action-row-button"),y=r(g),_=e("base-component"),M=r(_),w=e("lodash/isEmpty"),S=r(w),C=e("lodash/map"),x=r(C),k=e("react"),T=(r(k),e("sorted-table")),A=r(T),P=e("tab-button"),N=r(P),O=e("xo"),E=e("selectors"),z=e("react-intl"),R=e("grid"),j=[{name:(0,b.default)("logDate"),itemRenderer:function(e){return(0,m.default)("span",{},void 0,(0,m.default)(z.FormattedTime,{value:1e3*e.time,minute:"numeric",hour:"numeric",day:"numeric",month:"long",year:"numeric"})," (",(0,m.default)(z.FormattedRelative,{value:1e3*e.time}),")")},sortCriteria:function(e){return e.time},sortOrder:"desc"},{name:(0,b.default)("logName"),itemRenderer:function(e){return e.name},sortCriteria:function(e){return e.name}},{name:(0,b.default)("logContent"),itemRenderer:function(e){return e.body},sortCriteria:function(e){return e.body}},{name:(0,b.default)("logAction"),itemRenderer:function(e){return(0,m.default)(y.default,{btnStyle:"danger",handler:O.deleteMessage,handlerParam:e,icon:"delete"})}}],L=(0,m.default)("br",{}),D=function(e){function t(){(0,s.default)(this,t);var e=(0,d.default)(this,(t.__proto__||(0,a.default)(t)).call(this));
|
89 | return e._deleteAllLogs=function(){return(0,x.default)(e.props.logs,O.deleteMessage)},e._nextPage=function(){return e.setState({page:e.state.page+1})},e._previousPage=function(){return e.setState({page:e.state.page-1})},e.getLogs=(0,E.createPager)(function(){return e.props.logs},function(){return e.state.page},10),e.state={page:1},e}return(0,p.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.getLogs();return(0,S.default)(e)?(0,m.default)(R.Row,{},void 0,(0,m.default)(R.Col,{mediumSize:6,className:"text-xs-center"},void 0,L,(0,m.default)("h4",{},void 0,(0,b.default)("noLogs")))):(0,m.default)(R.Container,{},void 0,(0,m.default)(R.Row,{},void 0,(0,m.default)(R.Col,{className:"text-xs-right"},void 0,(0,m.default)(N.default,{btnStyle:"danger",handler:this._deleteAllLogs,icon:"delete",labelId:"logRemoveAll"}))),(0,m.default)(R.Row,{},void 0,(0,m.default)(R.Col,{},void 0,(0,m.default)(A.default,{collection:e,columns:j}))))}}]),t}(M.default);n.default=D},{"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,grid:1431,intl:1436,"lodash/isEmpty":735,"lodash/map":754,react:1269,"react-intl":1103,selectors:1470,"sorted-table":1475,"tab-button":1481,xo:1519}],1559:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o,a,i=e("babel-runtime/helpers/extends"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("babel-runtime/helpers/jsx"),y=r(g),_=e("intl"),M=r(_),w=e("action-row-button"),S=r(w),C=e("base-component"),x=r(C),k=e("react"),T=(r(k),e("icon")),A=r(T),P=e("lodash/isEmpty"),N=r(P),O=e("lodash/map"),E=r(O),z=e("lodash/pick"),R=r(z),j=e("single-line-row"),L=r(j),D=e("lodash/some"),I=r(D),B=e("state-button"),V=r(B),q=e("tab-button"),F=r(q),U=e("tooltip"),W=r(U),H=e("modal"),X=e("utils"),K=e("grid"),G=e("selectors"),Y=e("notification"),$=e("editable"),Q=e("form"),J=e("xo"),Z={color:"#999",cursor:"pointer"},ee=function(e,t){return t?(0,y.default)(W.default,{content:t},void 0,e):e},te=function(e){function t(e){(0,d.default)(this,t);var n=(0,m.default)(this,(t.__proto__||(0,u.default)(t)).call(this,e)),r=e.pif;return r&&(n.state=(0,R.default)(r,["ip","netmask","dns","gateway"])),n}return(0,b.default)(t,e),(0,p.default)(t,[{key:"render",value:function(){var e=this.state,t=e.ip,n=e.netmask,r=e.dns,o=e.gateway;return(0,y.default)("div",{},void 0,(0,y.default)(L.default,{},void 0,(0,y.default)(K.Col,{size:6},void 0,(0,M.default)("staticIp")),(0,y.default)(K.Col,{size:6},void 0,(0,y.default)("input",{className:"form-control",onChange:this.linkState("ip"),value:t})))," ",(0,y.default)(L.default,{},void 0,(0,y.default)(K.Col,{size:6},void 0,(0,M.default)("netmask")),(0,y.default)(K.Col,{size:6},void 0,(0,y.default)("input",{className:"form-control",onChange:this.linkState("netmask"),value:n})))," ",(0,y.default)(L.default,{},void 0,(0,y.default)(K.Col,{size:6},void 0,(0,M.default)("dns")),(0,y.default)(K.Col,{size:6},void 0,(0,y.default)("input",{className:"form-control",onChange:this.linkState("dns"),value:r})))," ",(0,y.default)(L.default,{},void 0,(0,y.default)(K.Col,{size:6},void 0,(0,M.default)("gateway")),(0,y.default)(K.Col,{size:6},void 0,(0,y.default)("input",{className:"form-control",onChange:this.linkState("gateway"),value:o}))))}},{key:"value",get:function(){return this.state}}]),t}(x.default),ne=(0,y.default)(A.default,{icon:"edit",size:"1",fixedWidth:!0}),re=(o=(0,X.connectStore)(function(){return{vifsByNetwork:(0,G.createGetObjectsOfType)("VIF").groupBy("$network")}}),o(a=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r=(0,m.default)(this,(e=t.__proto__||(0,u.default)(t)).call.apply(e,[this].concat(i))),r._configIp=function(e){return"Static"===e?(0,H.confirm)({icon:"ip",title:(0,M.default)("pifConfigureIp"),body:(0,y.default)(te,{pif:r.props.pif})}).then(function(t){return t.ip&&t.netmask?(0,J.reconfigurePifIp)(r.props.pif,(0,s.default)({mode:e},t)):void(0,Y.error)((0,M.default)("configIpErrorTitle"),(0,M.default)("configIpErrorMessage"))},X.noop):(0,J.reconfigurePifIp)(r.props.pif,{mode:e})},r._onEditIp=function(){return r._configIp("Static")},r._editPif=function(e){return(0,J.editPif)(r.props.pif,{vlan:e})},o=n,(0,m.default)(r,o)}return(0,b.default)(t,e),(0,p.default)(t,[{key:"componentWillMount",value:function(){var e=this;(0,J.getIpv4ConfigModes)().then(function(t){return e.setState({configModes:t})})}},{key:"render",value:function(){var e=this.props,t=e.networks,n=e.pif,r=e.vifsByNetwork,o=this.state.configModes,a=(0,I.default)(r[n.$network],function(e){return e.attached});return(0,y.default)("tr",{},n.id,(0,y.default)("td",{},void 0,n.device),(0,y.default)("td",{},void 0,t[n.$network].name_label),(0,y.default)("td",{},void 0,n.vlan===-1?"None":(0,y.default)($.Number,{value:n.vlan,onChange:this._editPif},void 0,n.vlan)),(0,y.default)("td",{},void 0,n.ip," ",n.ip&&(0,y.default)("a",{className:"hidden-md-down",onClick:this._onEditIp,style:Z},void 0,ne)),(0,y.default)("td",{},void 0,(0,y.default)($.Select,{onChange:this._configIp,options:o,value:n.mode},void 0,n.mode)),(0,y.default)("td",{},void 0,(0,y.default)("pre",{},void 0,n.mac)),(0,y.default)("td",{},void 0,n.mtu),(0,y.default)("td",{className:"text-xs-center"},void 0,ee((0,y.default)(Q.Toggle,{disabled:a,onChange:function(){return(0,J.editNetwork)(n.$network,{defaultIsLocked:!t[n.$network].defaultIsLocked})},value:t[n.$network].defaultIsLocked}),a&&(0,M.default)("pifInUse"))),(0,y.default)("td",{},void 0,(0,y.default)(V.default,{disabledLabel:(0,M.default)("pifDisconnected"),disabledHandler:J.connectPif,disabledTooltip:(0,M.default)("connectPif"),enabledLabel:(0,M.default)("pifConnected"),enabledHandler:J.disconnectPif,enabledTooltip:(0,M.default)("disconnectPif"),disabled:n.attached&&(n.management||n.disallowUnplug),handlerParam:n,state:n.attached})," ",(0,y.default)(W.default,{content:n.carrier?(0,M.default)("pifPhysicallyConnected"):(0,M.default)("pifPhysicallyDisconnected")},void 0,(0,y.default)(A.default,{icon:"network",size:"lg",className:n.carrier?"text-success":"text-muted"}))),(0,y.default)("td",{className:"text-xs-right"},void 0,(0,y.default)(S.default,{disabled:n.physical||n.disallowUnplug||n.management,handler:J.deletePif,handlerParam:n,icon:"delete",tooltip:(0,M.default)("deletePif")})))}}]),t}(x.default))||a);n.default=function(e){var t=e.host,n=e.networks,r=e.pifs;e.vifsByNetwork;return(0,y.default)(K.Container,{},void 0,(0,y.default)(K.Row,{},void 0,(0,y.default)(K.Col,{className:"text-xs-right"},void 0,(0,y.default)(F.default,{btnStyle:"primary",handler:J.createNetwork,handlerParam:t,icon:"add",labelId:"networkCreateButton"}))),(0,y.default)(K.Row,{},void 0,(0,y.default)(K.Col,{},void 0,(0,N.default)(r)?(0,y.default)("h4",{className:"text-xs-center"},void 0,(0,M.default)("pifNoInterface")):(0,y.default)("span",{},void 0,(0,y.default)("table",{className:"table"},void 0,(0,y.default)("thead",{className:"thead-default"},void 0,(0,y.default)("tr",{},void 0,(0,y.default)("th",{},void 0,(0,M.default)("pifDeviceLabel")),(0,y.default)("th",{},void 0,(0,M.default)("pifNetworkLabel")),(0,y.default)("th",{},void 0,(0,M.default)("pifVlanLabel")),(0,y.default)("th",{},void 0,(0,M.default)("pifAddressLabel")),(0,y.default)("th",{},void 0,(0,M.default)("pifModeLabel")),(0,y.default)("th",{},void 0,(0,M.default)("pifMacLabel")),(0,y.default)("th",{},void 0,(0,M.default)("pifMtuLabel")),(0,y.default)("th",{},void 0,(0,M.default)("defaultLockingMode")),(0,y.default)("th",{},void 0,(0,M.default)("pifStatusLabel")),(0,y.default)("th",{className:"text-xs-right"},void 0,(0,M.default)("pifAction")))),(0,y.default)("tbody",{},void 0,(0,E.default)(r,function(e){return(0,y.default)(re,{pif:e,networks:n})})))))))}},{"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,editable:1421,form:1425,grid:1431,icon:1435,intl:1436,"lodash/isEmpty":735,"lodash/map":754,"lodash/pick":764,"lodash/some":774,modal:1461,notification:1463,react:1269,selectors:1470,"single-line-row":1473,"state-button":1476,"tab-button":1481,tooltip:1488,utils:1490,xo:1519}],1560:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("babel-runtime/helpers/jsx"),b=r(v),g=e("lodash/isString"),y=r(g),_=e("lodash/isEmpty"),M=r(_),w=e("intl"),S=r(w),C=e("action-row-button"),x=r(C),k=e("react"),T=(r(k),e("sorted-table")),A=r(T),P=e("tab-button"),N=r(P),O=e("xoa-upgrade"),E=r(O),z=e("utils"),R=e("grid"),j=e("selectors"),L=e("react-intl"),D=e("xo"),I=[{name:(0,S.default)("patchNameLabel"),itemRenderer:function(e){return e.name},sortCriteria:function(e){return e.name}},{name:(0,S.default)("patchDescription"),itemRenderer:function(e){return(0,b.default)("a",{href:e.documentationUrl,target:"_blank"},void 0,e.description)},sortCriteria:function(e){return e.description}},{name:(0,S.default)("patchReleaseDate"),itemRenderer:function(e){return(0,b.default)("span",{},void 0,(0,b.default)(L.FormattedTime,{value:e.date,day:"numeric",month:"long",year:"numeric"})," (",(0,b.default)(L.FormattedRelative,{value:e.date}),")")},sortCriteria:function(e){return e.date},sortOrder:"desc"},{name:(0,S.default)("patchGuidance"),itemRenderer:function(e){return e.guidance},sortCriteria:function(e){return e.guidance}},{name:(0,S.default)("patchAction"),itemRenderer:function(e,t){return(0,b.default)(x.default,{btnStyle:"primary",handler:t,handlerParam:e,icon:"host-patch-update"})}}],B=[{name:(0,S.default)("patchNameLabel"),itemRenderer:function(e){return e.poolPatch.name},sortCriteria:function(e){return e.poolPatch.name}},{name:(0,S.default)("patchDescription"),itemRenderer:function(e){return e.poolPatch.description},sortCriteria:function(e){return e.poolPatch.description}},{default:!0,name:(0,S.default)("patchApplied"),itemRenderer:function(e){var t=1e3*e.time;return(0,b.default)("span",{},void 0,(0,b.default)(L.FormattedTime,{value:t,day:"numeric",month:"long",year:"numeric"})," ","(",(0,b.default)(L.FormattedRelative,{value:t}),")")},sortCriteria:function(e){return e.time},sortOrder:"desc"},{name:(0,S.default)("patchSize"),itemRenderer:function(e){return(0,z.formatSize)(e.poolPatch.size)},sortCriteria:function(e){return e.poolPatch.size}}],V=[{default:!0,name:(0,S.default)("patchNameLabel"),itemRenderer:function(e){return e.name},sortCriteria:function(e){return e.name}},{name:(0,S.default)("patchDescription"),itemRenderer:function(e){return e.description},sortCriteria:function(e){return e.description}},{name:(0,S.default)("patchSize"),itemRenderer:function(e){return(0,z.formatSize)(e.size)},sortCriteria:function(e){return e.size}}],q=((0,b.default)(R.Container,{},void 0,(0,b.default)(E.default,{place:"hostPatches",available:2})),o=(0,z.connectStore)(function(){return{needsRestart:(0,j.createDoesHostNeedRestart)(function(e,t){return t.host})}}),o(a=function(e){function t(){var e,n,r,o;(0,u.default)(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r=(0,p.default)(this,(e=t.__proto__||(0,s.default)(t)).call.apply(e,[this].concat(i))),r._getPatches=(0,j.createSelector)(function(){return r.props.host},function(){return r.props.hostPatches},function(e,t){return(0,M.default)(e.patches)&&(0,M.default)(t)?{patches:null}:(0,y.default)(e.patches[0])?{patches:t,columns:B}:{patches:e.patches,columns:V}}),o=n,(0,p.default)(r,o)}return(0,m.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){var e=this.props,t=e.host,n=e.missingPatches,r=e.installAllPatches,o=e.installPatch,a=this._getPatches(),i=a.patches,s=a.columns;return(0,b.default)(R.Container,{},void 0,(0,b.default)(R.Row,{},void 0,(0,b.default)(R.Col,{className:"text-xs-right"},void 0,this.props.needsRestart&&(0,M.default)(n)&&(0,b.default)(N.default,{btnStyle:"warning",handler:D.restartHost,handlerParam:t,icon:"host-reboot",labelId:"rebootUpdateHostLabel"}),(0,M.default)(n)?(0,b.default)(N.default,{disabled:!0,handler:r,icon:"success",labelId:"hostUpToDate"}):(0,b.default)(N.default,{btnStyle:"primary",handler:r,icon:"host-patch-update",labelId:"patchUpdateButton"}))),!(0,M.default)(n)&&(0,b.default)(R.Row,{},void 0,(0,b.default)(R.Col,{},void 0,(0,b.default)("h3",{},void 0,(0,S.default)("hostMissingPatches")),(0,b.default)(A.default,{collection:n,userData:o,columns:I}))),(0,b.default)(R.Row,{},void 0,(0,b.default)(R.Col,{},void 0,i?(0,b.default)("span",{},void 0,(0,b.default)("h3",{},void 0,(0,S.default)("hostAppliedPatches")),(0,b.default)(A.default,{collection:i,columns:s})):(0,b.default)("h4",{className:"text-xs-center"},void 0,(0,S.default)("patchNothing")))))}}]),t}(k.Component))||a);n.default=q},{"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,grid:1431,intl:1436,"lodash/isEmpty":735,"lodash/isString":744,react:1269,"react-intl":1103,selectors:1470,"sorted-table":1475,"tab-button":1481,utils:1490,xo:1519,"xoa-upgrade":1528}],1561:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("intl"),b=r(v),g=e("base-component"),y=r(g),_=e("icon"),M=r(_),w=e("react"),S=(r(w),e("tooltip")),C=r(S),x=e("xoa-upgrade"),k=r(x),T=e("grid"),A=e("form"),P=e("xo"),N=e("xo-line-chart"),O=(0,a.default)("p",{},void 0,"No stats."),E=(0,a.default)("div",{className:"text-xs-right"},void 0,(0,a.default)(M.default,{icon:"loading",size:2})),z=(0,a.default)(M.default,{icon:"cpu",size:1}),R=(0,a.default)(M.default,{icon:"memory",size:1}),j=(0,a.default)("br",{}),L=(0,a.default)("hr",{}),D=(0,a.default)(M.default,{icon:"network",size:1}),I=(0,a.default)(M.default,{icon:"disk",size:1}),B=((0,a.default)(T.Container,{},void 0,(0,a.default)(k.default,{place:"hostStats",available:3})),function(e){function t(e){(0,u.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return n.loop=n.loop.bind(n),n.handleSelectStats=n.handleSelectStats.bind(n),n.state.useCombinedValues=!1,n}return(0,m.default)(t,e),(0,d.default)(t,[{key:"loop",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.host;if(this.cancel&&this.cancel(),"Running"===t.power_state){var n=!1;this.cancel=function(){n=!0},(0,P.fetchHostStats)(t,this.state.granularity).then(function(t){n||(e.cancel=null,clearTimeout(e.timeout),e.setState({stats:t,selectStatsLoading:!1},function(){e.timeout=setTimeout(e.loop,1e3*t.interval)}))})}}},{key:"componentWillMount",value:function(){this.loop()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.host,n=e.host;"Running"!==t.power_state&&"Running"===n.power_state?this.loop(n):"Running"===t.power_state&&"Running"!==n.power_state&&this.setState({stats:void 0})}},{key:"handleSelectStats",value:function(e){var t=e.target.value;clearTimeout(this.timeout),this.setState({granularity:t,selectStatsLoading:!0},this.loop)}},{key:"render",value:function(){var e=this.state,t=e.granularity,n=e.selectStatsLoading,r=e.stats,o=e.useCombinedValues;return r?(0,a.default)(T.Container,{},void 0,(0,a.default)(T.Row,{},void 0,(0,a.default)(T.Col,{mediumSize:5},void 0,(0,a.default)("div",{className:"form-group"},void 0,(0,a.default)(C.default,{content:(0,b.default)("useStackedValuesOnStats")},void 0,(0,a.default)(A.Toggle,{value:o,onChange:this.linkState("useCombinedValues")})))),(0,a.default)(T.Col,{mediumSize:1},void 0,n&&E),(0,a.default)(T.Col,{mediumSize:6},void 0,(0,a.default)("div",{className:"btn-tab"},void 0,(0,a.default)("select",{className:"form-control",onChange:this.handleSelectStats,defaultValue:t},void 0,(0,b.default)("statLastTenMinutes",function(e){return(0,a.default)("option",{value:"seconds"},void 0,e)}),(0,b.default)("statLastTwoHours",function(e){return(0,a.default)("option",{value:"minutes"},void 0,e)}),(0,b.default)("statLastWeek",function(e){return(0,a.default)("option",{value:"hours"},void 0,e)}),(0,b.default)("statLastYear",function(e){return(0,a.default)("option",{value:"days"},void 0,e)}))))),(0,a.default)(T.Row,{},void 0,(0,a.default)(T.Col,{mediumSize:6},void 0,(0,a.default)("h5",{className:"text-xs-center"},void 0,z," ",(0,b.default)("statsCpu")),(0,a.default)(N.CpuLineChart,{addSumSeries:o,data:r})),(0,a.default)(T.Col,{mediumSize:6},void 0,(0,a.default)("h5",{className:"text-xs-center"},void 0,R," ",(0,b.default)("statsMemory")),(0,a.default)(N.MemoryLineChart,{data:r}))),j,L,(0,a.default)(T.Row,{},void 0,(0,a.default)(T.Col,{mediumSize:6},void 0,(0,a.default)("h5",{className:"text-xs-center"},void 0,D," ",(0,b.default)("statsNetwork")),(0,a.default)(N.PifLineChart,{addSumSeries:o,data:r})),(0,a.default)(T.Col,{mediumSize:6},void 0,(0,a.default)("h5",{className:"text-xs-center"},void 0,I," ",(0,b.default)("statLoad")),(0,a.default)(N.LoadLineChart,{data:r})))):O}}]),t}(y.default));n.default=B},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,form:1425,grid:1431,icon:1435,intl:1436,react:1269,tooltip:1488,xo:1519,"xo-line-chart":1505,"xoa-upgrade":1528}],1562:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("intl"),s=r(i),l=e("action-row-button"),u=r(l),c=e("lodash/isEmpty"),d=r(c),f=e("link"),p=r(f),h=e("lodash/map"),m=r(h),v=e("react"),b=(r(v),e("sorted-table")),g=r(b),y=e("state-button"),_=r(y),M=e("tooltip"),w=r(M),S=e("xo"),C=e("utils"),x=e("grid"),k=e("selectors"),T=e("tab-button"),A=e("editable"),P=[{name:(0,s.default)("srName"),itemRenderer:function(e){return(0,a.default)(p.default,{to:"/srs/"+e.id},void 0,(0,a.default)(A.Text,{onChange:function(t){return(0,S.editSr)(e.id,{nameLabel:t})},useLongClick:!0,value:e.nameLabel}))},sortCriteria:"nameLabel"},{name:(0,s.default)("srFormat"),itemRenderer:function(e){return e.format},sortCriteria:"format"},{name:(0,s.default)("srSize"),itemRenderer:function(e){return(0,C.formatSize)(e.size)},sortCriteria:"size"},{default:!0,name:(0,s.default)("srUsage"),itemRenderer:function(e){return 0!==e.size&&(0,a.default)(w.default,{content:(0,s.default)("spaceLeftTooltip",{used:e.usagePercentage,free:(0,C.formatSize)(e.free)})},void 0,(0,a.default)("meter",{value:e.usagePercentage,min:"0",max:"100",optimum:"40",low:"80",high:"90"}))},sortCriteria:function(e){return e.usagePercentage},sortOrder:"desc"},{name:(0,s.default)("srType"),itemRenderer:function(e){return e.shared?(0,s.default)("srShared"):(0,s.default)("srNotShared")},sortCriteria:"shared"},{name:(0,s.default)("pbdStatus"),itemRenderer:function(e){return(0,a.default)(_.default,{disabledLabel:(0,s.default)("pbdStatusDisconnected"),disabledHandler:S.connectPbd,disabledTooltip:(0,s.default)("pbdConnect"),enabledLabel:(0,s.default)("pbdStatusConnected"),enabledHandler:S.disconnectPbd,enabledTooltip:(0,s.default)("pbdDisconnect"),handlerParam:e.pbdId,state:e.attached})}},{name:(0,s.default)("pbdAction"),itemRenderer:function(e){return!e.attached&&(0,a.default)(u.default,{handler:S.deletePbd,handlerParam:e.pbdId,icon:"sr-forget",tooltip:(0,s.default)("pbdForget")})},textAlign:"right"}];n.default=(0,C.connectStore)(function(){var e=(0,k.createGetObjectsOfType)("PBD").pick(function(e,t){return t.host.$PBDs}),t=(0,k.createGetObjectsOfType)("SR").pick((0,k.createSelector)(e,function(e){return(0,m.default)(e,function(e){return e.SR})})),n=(0,k.createSelector)(e,t,function(e,t){return(0,m.default)(e,function(e){var n=t[e.SR],r=n.physical_usage,o=n.size;return{attached:e.attached,format:n.SR_type,free:o>0?o-r:0,id:n.id,nameLabel:n.name_label,pbdId:e.id,shared:(0,S.isSrShared)(n),size:o>0?o:0,usagePercentage:o>0&&Math.round(100*r/o)}})});return{storages:n}})(function(e){var t=e.host,n=e.storages;return(0,a.default)(x.Container,{},void 0,(0,a.default)(x.Row,{},void 0,(0,a.default)(x.Col,{className:"text-xs-right"},void 0,(0,a.default)(T.TabButtonLink,{icon:"add",labelId:"addSrDeviceButton",to:"/new/sr?host="+t.id}))),(0,a.default)(x.Row,{},void 0,(0,a.default)(x.Col,{},void 0,(0,d.default)(n)?(0,a.default)("h4",{className:"text-xs-center"},void 0,(0,s.default)("pbdNoSr")):(0,a.default)(g.default,{columns:P,collection:n}))))})},{"action-row-button":1403,"babel-runtime/helpers/jsx":27,editable:1421,grid:1431,intl:1436,link:1459,"lodash/isEmpty":735,"lodash/map":754,react:1269,selectors:1470,"sorted-table":1475,"state-button":1476,"tab-button":1481,tooltip:1488,utils:1490,xo:1519}],1563:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l,u=e("babel-runtime/helpers/toConsumableArray"),c=r(u),d=e("babel-runtime/helpers/jsx"),f=r(d),p=e("babel-runtime/core-js/object/get-prototype-of"),h=r(p),m=e("babel-runtime/helpers/classCallCheck"),v=r(m),b=e("babel-runtime/helpers/createClass"),g=r(b),y=e("babel-runtime/helpers/possibleConstructorReturn"),_=r(y),M=e("babel-runtime/helpers/inherits"),w=r(M),S=e("base-component"),C=r(S),x=e("cookies-js"),k=r(x),T=e("react-document-title"),A=r(T),P=e("icon"),N=r(P),O=e("lodash/isArray"),E=r(O),z=e("lodash/map"),R=r(z),j=e("react"),L=r(j),D=e("shortcuts"),I=r(D),B=e("themes"),V=r(B),q=e("intl"),F=r(q),U=e("xoa-updater"),W=e("utils"),H=e("notification"),X=e("react-shortcuts"),K=e("styled-components"),G=e("tooltip"),Y=e("grid"),$=e("./about"),Q=r($),J=e("./backup"),Z=r(J),ee=e("./dashboard"),te=r(ee),ne=e("./home"),re=r(ne),oe=e("./host"),ae=r(oe),ie=e("./jobs"),se=r(ie),le=e("./menu"),ue=r(le),ce=e("modal"),de=r(ce),fe=e("./new"),pe=r(fe),he=e("./new-vm"),me=r(he),ve=e("./pool"),be=r(ve),ge=e("./self"),ye=r(ge),_e=e("./settings"),Me=r(_e),we=e("./sr"),Se=r(we),Ce=e("./tasks"),xe=r(Ce),ke=e("./user"),Te=r(ke),Ae=e("./vm"),Pe=r(Ae),Ne=e("./vm-import"),Oe=r(Ne),Ee=e("./xoa-updates"),ze=r(Ee),Re=e("./xosan"),je=r(Re),Le=e("../keymap"),De=r(Le),Ie=new X.ShortcutManager(De.default),Be={display:"flex",minHeight:"100vh",overflow:"hidden"},Ve={flex:1,position:"relative"},qe={height:"100%",left:0,overflow:"auto",position:"absolute",top:0,width:"100%"},Fe=(0,f.default)(N.default,{icon:"shortcuts"}),Ue=(0,f.default)("a",{href:"https://xen-orchestra.com/#!/xoa?pk_campaign=xoa_source_upgrade&pk_kwd=ossmodal"},void 0,"XOA (turnkey appliance)"),We=(0,f.default)(ze.default,{}),He=(0,f.default)("p",{},void 0,"Still loading"),Xe=(0,f.default)(de.default,{}),Ke=(0,f.default)(H.Notification,{}),Ge=(0,f.default)(G.TooltipViewer,{}),Ye=(o=(0,W.routes)("home",{about:Q.default,backup:Z.default,dashboard:te.default,home:re.default,"hosts/:id":ae.default,jobs:se.default,new:pe.default,"pools/:id":be.default,self:ye.default,settings:Me.default,"srs/:id":Se.default,tasks:xe.default,user:Te.default,"vms/import":Oe.default,"vms/new":me.default,"vms/:id":Pe.default,"xoa-update":ze.default,xosan:je.default}),a=(0,W.connectStore)(function(e){return{trial:e.xoaTrialState,signedUp:!!e.user}}),o(i=a((l=s=function(e){function t(){var e,n,r,o;(0,v.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,_.default)(this,(e=t.__proto__||(0,h.default)(t)).call.apply(e,[this].concat(i))),r.getChildContext=function(){return{shortcuts:Ie}},r._shortcutsHandler=function(e,t){switch(t.preventDefault(),e){case"GO_TO_HOSTS":r.context.router.push("home?t=host");break;case"GO_TO_POOLS":r.context.router.push("home?t=pool");break;case"GO_TO_VMS":r.context.router.push("home?t=VM");break;case"GO_TO_SRS":r.context.router.push("home?t=SR");break;case"CREATE_VM":r.context.router.push("vms/new");break;case"UNFOCUS":"INPUT"===t.target.tagName&&t.target.blur();break;case"HELP":(0,ce.alert)((0,f.default)("span",{},void 0,Fe," ",(0,F.default)("shortcutModalTitle")),(0,f.default)(Y.Container,{},void 0,(0,R.default)(Le.help,function(e,t){return e.name&&[(0,f.default)(Y.Row,{className:"mt-1"},t,(0,f.default)(Y.Col,{},void 0,(0,f.default)("h4",{},void 0,e.name)))].concat((0,c.default)((0,R.default)(e.shortcuts,function(e,n){var r=e.message,o=e.keys;return r&&(0,f.default)(Y.Row,{},t+"_"+n,(0,f.default)(Y.Col,{size:2,className:"text-xs-right"},void 0,(0,f.default)("strong",{},void 0,(0,E.default)(o)?o[0]:o)),(0,f.default)(Y.Col,{size:10},void 0,r))})))})))}},o=n,(0,_.default)(r,o)}return(0,w.default)(t,e),(0,g.default)(t,[{key:"displayOpenSourceDisclaimer",value:function(){var e=k.default.get("previousDisclaimer"),t=Math.floor(Date.now()/1e3),n=t-604800;(!e||e<n)&&((0,ce.alert)((0,F.default)("disclaimerTitle"),(0,f.default)("div",{},void 0,(0,f.default)("p",{},void 0,(0,F.default)("disclaimerText1")),(0,f.default)("p",{},void 0,(0,F.default)("disclaimerText2")," ",Ue),(0,f.default)("p",{},void 0,(0,F.default)("disclaimerText3")))),k.default.set("previousDisclaimer",t))}},{key:"componentDidMount",value:function(){this.refs.bodyWrapper.style.minHeight=this.refs.menu.getWrappedInstance().height+"px",this.displayOpenSourceDisclaimer()}},{key:"render",value:function(){var e=this.props,t=e.signedUp,n=e.trial,r=t&&(0,U.blockXoaAccess)(n);return(0,f.default)(q.IntlProvider,{},void 0,(0,f.default)(K.ThemeProvider,{theme:V.default.base},void 0,(0,f.default)(A.default,{title:"Xen Orchestra"},void 0,(0,f.default)("div",{style:Be},void 0,(0,f.default)(I.default,{name:"XoApp",handler:this._shortcutsHandler,targetNodeSelector:"body",stopPropagation:!1}),L.default.createElement(ue.default,{ref:"menu"}),L.default.createElement("div",{ref:"bodyWrapper",style:Ve},(0,f.default)("div",{style:qe},void 0,r?We:t?this.props.children:He)),Xe,Ke,Ge))))}}]),t}(C.default),s.contextTypes={router:L.default.PropTypes.object},s.childContextTypes={shortcuts:L.default.PropTypes.object.isRequired},i=l))||i)||i);n.default=Ye},{"../keymap":1530,"./about":1532,"./backup":1536,"./dashboard":1541,"./home":1548,"./host":1554,"./jobs":1565,"./menu":1572,"./new":1575,"./new-vm":1574,"./pool":1580,"./self":1588,"./settings":1592,"./sr":1601,"./tasks":1608,"./user":1609,"./vm":1614,"./vm-import":1611,"./xoa-updates":1624,"./xosan":1627,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/toConsumableArray":32,"base-component":1405,"cookies-js":193,grid:1431,icon:1435,intl:1436,"lodash/isArray":731,"lodash/map":754,modal:1461,notification:1463,react:1269,"react-document-title":973,"react-shortcuts":1192,shortcuts:1472,"styled-components":1303,themes:1484,tooltip:1488,utils:1490,"xoa-updater":1527}],1564:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("../new"),s=r(i),l=e("react");r(l);n.default=function(e){return(0,a.default)(s.default,{id:e.routeParams.id})}},{"../new":1566,"babel-runtime/helpers/jsx":27,react:1269}],1565:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("intl"),s=r(i),l=e("icon"),u=r(l),c=e("../page"),d=r(c),f=e("react"),p=(r(f),e("grid")),h=e("nav"),m=e("utils"),v=e("./edit"),b=r(v),g=e("./new"),y=r(g),_=e("./overview"),M=r(_),w=e("./schedules"),S=r(w),C=e("./schedules/edit"),x=r(C),k=(0,a.default)(p.Container,{},void 0,(0,a.default)(p.Row,{},void 0,(0,a.default)(p.Col,{mediumSize:3},void 0,(0,a.default)("h2",{},void 0,(0,a.default)(u.default,{icon:"jobs"})," ",(0,s.default)("jobsPage"))),(0,a.default)(p.Col,{mediumSize:9},void 0,(0,a.default)(h.NavTabs,{className:"pull-right"},void 0,(0,a.default)(h.NavLink,{to:"/jobs/overview"},void 0,(0,a.default)(u.default,{icon:"menu-jobs-overview"})," ",(0,s.default)("jobsOverviewPage")),(0,a.default)(h.NavLink,{to:"/jobs/new"},void 0,(0,a.default)(u.default,{icon:"menu-jobs-new"})," ",(0,s.default)("jobsNewPage")),(0,a.default)(h.NavLink,{to:"/jobs/schedules"},void 0,(0,a.default)(u.default,{icon:"menu-jobs-schedule"})," ",(0,s.default)("jobsSchedulingPage")))))),T=(0,m.routes)("overview",{":id/edit":b.default,new:y.default,overview:M.default,schedules:S.default,"schedules/:id/edit":x.default})(function(e){var t=e.children;return(0,a.default)(d.default,{header:k,title:"jobsPage",formatTitle:!0},void 0,t)});n.default=T},{"../page":1578,"./edit":1564,"./new":1566,"./overview":1567,"./schedules":1569,"./schedules/edit":1568,"babel-runtime/helpers/jsx":27,grid:1431,icon:1435,intl:1436,nav:1462,react:1269,utils:1490}],1566:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/helpers/extends"),u=r(l),c=e("babel-runtime/helpers/slicedToArray"),d=r(c),f=e("babel-runtime/core-js/promise"),p=r(f),h=e("babel-runtime/core-js/object/get-prototype-of"),m=r(h),v=e("babel-runtime/helpers/classCallCheck"),b=r(v),g=e("babel-runtime/helpers/createClass"),y=r(g),_=e("babel-runtime/helpers/possibleConstructorReturn"),M=r(_),w=e("babel-runtime/helpers/inherits"),S=r(w),C=e("babel-runtime/helpers/defineProperty"),x=r(C),k=e("intl"),T=r(k),A=e("action-button"),P=r(A),N=e("action-row-button"),O=r(N),E=e("button"),z=r(E),R=e("base-component"),j=r(R),L=e("lodash/delay"),D=r(L),I=e("lodash/find"),B=r(I),V=e("lodash/forEach"),q=r(V),F=e("json-schema-input"),U=r(F),W=e("icon"),H=r(W),X=e("lodash/includes"),K=r(X),G=e("lodash/isEmpty"),Y=r(G),$=e("lodash/map"),Q=r($),J=e("lodash/mapValues"),Z=r(J),ee=e("react"),te=r(ee),ne=e("lodash/size"),re=r(ne),oe=e("tooltip"),ae=r(oe),ie=e("xoa-upgrade"),se=r(ie),le=e("utils"),ue=e("selectors"),ce=e("notification"),de=e("xo-json-schema-input"),fe=e("react-intl"),pe=e("form"),he=e("select-objects"),me=e("xo"),ve="genericTask",be=function(e){if(e)return Array.isArray(e.type)?(0,K.default)(e.type,"integer")?"integer":(0,K.default)(e.type,"number")?"number":"string":e.type},ge=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id";return null!=e&&e[t]||e},ye=function(e,t){var n=[];return(0,q.default)(e,function(e,r){Array.isArray(t[r])&&e.items&&!function(){
|
90 | var e=[];1===t[r].length?t[r]=t[r].pop():((0,q.default)(t[r],function(t){e.push((0,x.default)({},r,ge(t,r)))}),e.length&&n.push({type:"set",values:e}),delete t[r])}()}),(0,re.default)(t)&&n.push({type:"set",values:[(0,Z.default)(t,ge)]}),n},_e=((0,s.default)("span",{},void 0,(0,s.default)(se.default,{place:"health",available:4})),(0,s.default)("th",{})),Me=(0,s.default)("th",{}),we=(0,s.default)(H.default,{className:"ml-1",icon:"error"}),Se=(o=(0,le.addSubscriptions)({users:me.subscribeUsers,currentUser:me.subscribeCurrentUser}),o(a=(0,fe.injectIntl)(a=function(e){function t(e){(0,b.default)(this,t);var n=(0,M.default)(this,(t.__proto__||(0,m.default)(t)).call(this,e));return n._handleSelectMethod=function(e){return n.setState({action:e})},n._handleSubmit=function(){var e=n.refs,t=e.name,r=e.method,o=e.params,a=n.state,i=a.job,s=a.owner,l=a.timeout,u={type:"call",name:t.value,key:ve,method:r.value.method,paramsVector:{type:"crossProduct",items:ye(r.value.info.properties,o.value)},userId:s,timeout:l?1e3*l:void 0};i&&(u.id=i.id);var c=i?me.editJob:me.createJob;return c(u).then(n._reset).catch(function(e){return(0,ce.error)("Create Job",e.message||String(e))})},n._edit=function(e){var t=n.state,r=t.jobs,o=t.actions,a=(0,B.default)(r,function(t){return t.id===e});if(!a)return void(0,ce.error)("Job edition","This job was not found, or may not longer exists.");var i=n.refs,s=i.name,l=i.method,u=(0,B.default)(o,function(e){return e.method===a.method});s.value=a.name,l.value=u,n.setState({job:a,action:u},function(){return(0,D.default)(n._populateForm,250,a)})},n._populateForm=function(e){var t={},r=e.paramsVector;if(r){if("crossProduct"!==r.type)throw new Error("Unknown parameter-vector type "+r.type);(0,q.default)(r.items,function(e){if("set"!==e.type)throw new Error("Unknown parameter-vector item type "+e.type);(0,q.default)(e.values,function(e){(0,q.default)(e,function(e,n){void 0===t[n]&&(t[n]=[]),t[n].push(e)})})})}var o=n.refs.params;o.value=t,n.setState({owner:e.userId,timeout:e.timeout&&e.timeout/1e3})},n._reset=function(){var e=n.refs,t=e.name,r=e.method;t.value="",r.value=void 0,n.setState({action:void 0,job:void 0,owner:void 0,timeout:""})},n._getIsJobUserMissing=(0,ue.createSelector)(function(){return n.state.jobs},function(){return n.props.users},function(e,t){var n={};return(0,q.default)(e,function(e){n[e.id]=!!(0,B.default)(t,function(t){return t.id===e.userId})}),n}),n._subjectPredicate=function(e){var t=e.type,n=e.permission;return"user"===t&&"admin"===n},n.state={action:void 0,actions:void 0,job:void 0,jobs:void 0},new p.default(function(e,t){n._resolveLoaded=e}).then(function(){var e=n.props.id;e&&n._edit(e)}),n}return(0,S.default)(t,e),(0,y.default)(t,[{key:"componentWillReceiveProps",value:function(e){var t=e.currentUser,n=this.state.owner;t&&!n&&this.setState({owner:t.id})}},{key:"componentWillMount",value:function(){var e=this;this.setState({owner:this.props.user&&this.props.user.id}),this.componentWillUnmount=(0,me.subscribeJobs)(function(t){var n={};for(var r in t){var o=t[r];o&&o.key===ve&&(n[r]=o)}e.setState({jobs:n},e._resolveLoaded)});var t=["acl.add","acl.remove","host.detach","host.disable","host.enable","host.installAllPatches","host.restart","host.restartAgent","host.set","host.start","host.stop","job.runSequence","vm.attachDisk","vm.backup","vm.clone","vm.convert","vm.copy","vm.creatInterface","vm.delete","vm.migrate","vm.migrate","vm.restart","vm.resume","vm.revert","vm.rollingBackup","vm.rollingDrCopy","vm.rollingSnapshot","vm.set","vm.setBootOrder","vm.snapshot","vm.start","vm.stop","vm.suspend"];me.apiMethods.then(function(n){var r=[];for(var o in n)if((0,K.default)(t,o)){var a=o.split("."),i=(0,d.default)(a,2),s=i[0],l=i[1],c=(0,u.default)({},n[o]);c.type="object";var f=(0,u.default)({},c.params);delete c.params;var p=[];for(var h in f){var m=(0,u.default)({},f[h]),v=be(m),b=function(e,t){var n={Host:"Host(s)",Pool:"Pool(s)",Role:"Role(s)",Sr:"Storage(s)",Subject:"Subject(s)",Vm:"VM(s)",XoObject:"Object(s)"};e.type="array",e.items={type:"string",$type:t},e.title=n[t]};"string"===v&&("acl"===s?"object"===h?b(m,"XoObject"):"action"===h?b(m,"Role"):"subject"===h&&b(m,"Subject"):"host"===s&&"id"===h?b(m,"Host"):"vm"===s&&"id"===h?b(m,"Vm"):(0,K.default)(["pool","pool_id","target_pool_id"],h)?b(m,"Pool"):(0,K.default)(["sr","sr_id","target_sr_id"],h)?b(m,"Sr"):(0,K.default)(["host","host_id","target_host_id","targetHost"],h)?b(m,"Host"):(0,K.default)(["vm"],h)&&b(m,"Vm")),m.optional||p.push(h),f[h]=m}!(0,Y.default)(p)&&(c.required=p),c.properties=f,r.push({method:o,group:s,command:l,info:c,uiSchema:(0,de.generateUiSchema)(c)})}e.setState({actions:r})})}},{key:"render",value:function(){var e=this,t=this.state,n=t.action,r=t.actions,o=t.job,a=t.jobs,i=t.owner,l=this.props.intl.formatMessage,u=this._getIsJobUserMissing();return(0,s.default)("div",{},void 0,(0,s.default)("h1",{},void 0,(0,T.default)("jobsPage")),(0,s.default)("form",{id:"newJobForm"},void 0,(0,s.default)(he.SelectSubject,{onChange:this.linkState("owner","id"),placeholder:(0,T.default)("jobOwnerPlaceholder"),predicate:this._subjectPredicate,required:!0,value:i}),te.default.createElement("input",{type:"text",ref:"name",className:"form-control mb-1 mt-1",placeholder:l(k.messages.jobNamePlaceholder),pattern:"[^_]+",required:!0}),te.default.createElement(pe.SelectPlainObject,{ref:"method",options:r,optionKey:"method",onChange:this._handleSelectMethod,placeholder:(0,T.default)("jobActionPlaceHolder")}),(0,s.default)("input",{type:"number",onChange:this.linkState("timeout"),value:t.timeout,className:"form-control mb-1 mt-1",placeholder:"Job timeout (seconds)"}),n&&(0,s.default)("fieldset",{},void 0,te.default.createElement(U.default,{ref:"params",schema:n.info,uiSchema:n.uiSchema,label:n.method,required:!0}),o&&(0,s.default)("p",{className:"text-warning"},void 0,(0,T.default)("jobEditMessage",{name:o.name,id:o.id.slice(4,8)})),(0,s.default)("span",{},void 0,(0,s.default)(P.default,{form:"newJobForm",handler:this._handleSubmit,icon:"save",btnStyle:"primary"},void 0,(0,T.default)("saveResourceSet"))," ",(0,s.default)(z.default,{onClick:this._reset},void 0,(0,T.default)("resetResourceSet"))))),(0,s.default)("table",{className:"table"},void 0,(0,s.default)("thead",{},void 0,(0,s.default)("tr",{},void 0,(0,s.default)("th",{},void 0,(0,T.default)("jobName")),(0,s.default)("th",{},void 0,(0,T.default)("jobAction")),_e,Me)),(0,s.default)("tbody",{},void 0,(0,Y.default)(a)&&(0,s.default)("tr",{},void 0,(0,s.default)("td",{},void 0,(0,s.default)("em",{},void 0,(0,T.default)("noJobs")))),(0,Q.default)(a,function(t){return(0,s.default)("tr",{},t.id,(0,s.default)("td",{},void 0,(0,s.default)("span",{},void 0,t.name," ",(0,s.default)("span",{className:"text-muted"},void 0,"(",t.id.slice(4,8),")"))),(0,s.default)("td",{},void 0,t.method),(0,s.default)("td",{},void 0,(0,s.default)(O.default,{disabled:!u[t.id],icon:"run-schedule",btnStyle:"warning",handler:me.runJob,handlerParam:t.id}),!u[t.id]&&(0,s.default)(ae.default,{content:(0,T.default)("jobUserNotFound")},void 0,we)),(0,s.default)("td",{},void 0,(0,s.default)(O.default,{icon:"edit",btnStyle:"primary",handler:e._edit,handlerParam:t.id})," ",(0,s.default)(O.default,{icon:"delete",btnStyle:"danger",handler:me.deleteJob,handlerParam:t.id})))}))))}}]),t}(j.default))||a)||a);n.default=Se},{"action-button":1401,"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/defineProperty":24,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/slicedToArray":30,"base-component":1405,button:1407,form:1425,icon:1435,intl:1436,"json-schema-input":1454,"lodash/delay":703,"lodash/find":710,"lodash/forEach":716,"lodash/includes":728,"lodash/isEmpty":735,"lodash/map":754,"lodash/mapValues":756,"lodash/size":772,notification:1463,react:1269,"react-intl":1103,"select-objects":1469,selectors:1470,tooltip:1488,utils:1490,xo:1519,"xo-json-schema-input":1493,"xoa-upgrade":1528}],1567:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/core-js/object/keys"),s=r(i),l=e("babel-runtime/helpers/jsx"),u=r(l),c=e("babel-runtime/core-js/object/get-prototype-of"),d=r(c),f=e("babel-runtime/helpers/classCallCheck"),p=r(f),h=e("babel-runtime/helpers/createClass"),m=r(h),v=e("babel-runtime/helpers/possibleConstructorReturn"),b=r(v),g=e("babel-runtime/helpers/inherits"),y=r(g),_=e("intl"),M=r(_),w=e("action-row-button"),S=r(w),C=e("lodash/filter"),x=r(C),k=e("lodash/find"),T=r(k),A=e("lodash/forEach"),P=r(A),N=e("icon"),O=r(N),E=e("link"),z=r(E),R=e("../../logs"),j=r(R),L=e("lodash/map"),D=r(L),I=e("lodash/orderBy"),B=r(I),V=e("react"),q=(r(V),e("state-button")),F=r(q),U=e("tooltip"),W=r(U),H=e("xoa-upgrade"),X=r(H),K=e("utils"),G=e("grid"),Y=e("selectors"),$=e("card"),Q=e("xo"),J={genericTask:(0,M.default)("customJob")},Z=(0,u.default)(O.default,{icon:"schedule"}),ee=(0,u.default)(O.default,{icon:"edit"}),te=(0,u.default)(O.default,{icon:"edit"}),ne=(0,u.default)(O.default,{className:"mr-1",icon:"error"}),re=((0,u.default)(G.Container,{},void 0,(0,u.default)(X.default,{place:"health",available:4})),o=(0,K.addSubscriptions)({users:Q.subscribeUsers}),o(a=function(e){function t(e){(0,p.default)(this,t);var n=(0,b.default)(this,(t.__proto__||(0,d.default)(t)).call(this,e));return n._getIsScheduleUserMissing=(0,Y.createSelector)(function(){return n.state.schedules},function(){return n.props.users},function(e,t){var r={};return(0,P.default)(e,function(e){r[e.id]=!!(0,T.default)(t,function(t){return t.id===n._getScheduleJob(e).userId})}),r}),n.state={schedules:[],scheduleTable:{}},n}return(0,y.default)(t,e),(0,m.default)(t,[{key:"componentWillMount",value:function(){var e=this,t=(0,Q.subscribeJobs)(function(t){var n={};(0,P.default)(t,function(e){n[e.id]=e}),e.setState({jobs:n})}),n=(0,Q.subscribeSchedules)(function(t){t=(0,x.default)(t,function(t){var n=e._getScheduleJob(t);return n&&J[n.key]}),e.setState({schedules:(0,B.default)(t,function(e){return+e.id.split(":")[1]},["desc"])})}),r=(0,Q.subscribeScheduleTable)(function(t){e.setState({scheduleTable:t})});this.componentWillUnmount=function(){t(),n(),r()}}},{key:"_getScheduleJob",value:function(e){var t=this.state||{},n=t.jobs;return n[e.job]}},{key:"_getJobLabel",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.name+" - "+e.method+" ("+e.id.slice(4,8)+")"}},{key:"_getScheduleLabel",value:function(e){return e.name+" ("+e.id.slice(4,8)+")"}},{key:"_getScheduleToggle",value:function(e){var t=e.id;return(0,u.default)(F.default,{disabledLabel:(0,M.default)("jobStateDisabled"),disabledHandler:Q.enableSchedule,disabledTooltip:(0,M.default)("logIndicationToEnable"),enabledLabel:(0,M.default)("jobStateEnabled"),enabledHandler:Q.disableSchedule,enabledTooltip:(0,M.default)("logIndicationToDisable"),handlerParam:t,state:this.state.scheduleTable[t]})}},{key:"render",value:function(){var e=this,t=this.state.schedules,n=this._getIsScheduleUserMissing();return(0,u.default)(G.Container,{},void 0,(0,u.default)($.Card,{},void 0,(0,u.default)($.CardHeader,{},void 0,Z," ",(0,M.default)("backupSchedules")),(0,u.default)($.CardBlock,{},void 0,t.length?(0,u.default)("table",{className:"table"},void 0,(0,u.default)("thead",{className:"thead-default"},void 0,(0,u.default)("tr",{},void 0,(0,u.default)("th",{},void 0,(0,M.default)("schedule")),(0,u.default)("th",{},void 0,(0,M.default)("job")),(0,u.default)("th",{className:"hidden-xs-down"},void 0,(0,M.default)("jobScheduling")),(0,u.default)("th",{},void 0,(0,M.default)("jobState")),(0,u.default)("th",{className:"text-xs-right"},void 0,(0,M.default)("jobAction")))),(0,u.default)("tbody",{},void 0,(0,D.default)(t,function(t,r){var o=e._getScheduleJob(t);return(0,u.default)("tr",{},r,(0,u.default)("td",{},void 0,e._getScheduleLabel(t),(0,u.default)(z.default,{className:"btn btn-sm btn-primary ml-1",to:"/jobs/schedules/"+t.id+"/edit"},void 0,ee)),(0,u.default)("td",{},void 0,e._getJobLabel(o),(0,u.default)(z.default,{className:"btn btn-sm btn-primary ml-1",to:"/jobs/"+o.id+"/edit"},void 0,te)),(0,u.default)("td",{className:"hidden-xs-down"},void 0,t.cron),(0,u.default)("td",{},void 0,e._getScheduleToggle(t)),(0,u.default)("td",{className:"text-xs-right"},void 0,(0,u.default)("fieldset",{},void 0,!n[t.id]&&(0,u.default)(W.default,{content:(0,M.default)("jobUserNotFound")},void 0,ne),(0,u.default)(S.default,{icon:"delete",btnStyle:"danger",handler:Q.deleteSchedule,handlerParam:t}),(0,u.default)(S.default,{disabled:!n[t.id],icon:"run-schedule",btnStyle:"warning",handler:Q.runJob,handlerParam:t.job}))))}))):(0,u.default)("p",{},void 0,(0,M.default)("noScheduledJobs")))),(0,u.default)(j.default,{jobKeys:(0,s.default)(J)}))}}]),t}(V.Component))||a);n.default=re},{"../../logs":1570,"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/object/keys":15,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,card:1408,grid:1431,icon:1435,intl:1436,link:1459,"lodash/filter":709,"lodash/find":710,"lodash/forEach":716,"lodash/map":754,"lodash/orderBy":763,react:1269,selectors:1470,"state-button":1476,tooltip:1488,utils:1490,xo:1519,"xoa-upgrade":1528}],1568:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e(".."),s=r(i),l=e("react");r(l);n.default=function(e){return(0,a.default)(s.default,{id:e.routeParams.id})}},{"..":1569,"babel-runtime/helpers/jsx":27,react:1269}],1569:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a=e("babel-runtime/helpers/jsx"),i=r(a),s=e("babel-runtime/helpers/extends"),l=r(s),u=e("babel-runtime/core-js/promise"),c=r(u),d=e("babel-runtime/core-js/object/get-prototype-of"),f=r(d),p=e("babel-runtime/helpers/classCallCheck"),h=r(p),m=e("babel-runtime/helpers/createClass"),v=r(m),b=e("babel-runtime/helpers/possibleConstructorReturn"),g=r(b),y=e("babel-runtime/helpers/inherits"),_=r(y),M=e("intl"),w=r(M),S=e("action-button"),C=r(S),x=e("button"),k=r(x),T=e("lodash/find"),A=r(T),P=e("icon"),N=r(P),O=e("lodash/isEmpty"),E=r(O),z=e("lodash/map"),R=r(z),j=e("xoa-upgrade"),L=r(j),D=e("react"),I=r(D),B=e("scheduling"),V=r(B),q=e("notification"),F=e("react-intl"),U=e("form"),W=e("xo"),H="genericTask",X="0 0 * * *",K=(0,i.default)("br",{}),G=((0,i.default)("span",{},void 0,(0,i.default)(L.default,{place:"health",available:4})),(0,i.default)("th",{})),Y=(0,i.default)(N.default,{icon:"edit"}),$=(0,i.default)(N.default,{icon:"delete"}),Q=(0,F.injectIntl)(o=function(e){function t(e){(0,h.default)(this,t);var n=(0,g.default)(this,(t.__proto__||(0,f.default)(t)).call(this,e));return n._handleSubmit=function(){var e=n.refs,t=e.name,r=e.job,o=e.enabled,a=n.state,i=a.cronPattern,s=a.schedule,l=a.timezone,u=void 0;return s?(s.job=r.value.id,s.cron=i,s.name=t.value,s.timezone=l,u=(0,W.editSchedule)(s)):u=(0,W.createSchedule)(r.value.id,{cron:i,enabled:o.value,name:t.value}),u.then(n._reset).catch(function(e){return(0,q.error)("Save Schedule",e.message||String(e))})},n._edit=function(e){var t=n.state,r=t.schedules,o=t.jobs,a=(0,A.default)(r,function(t){return t.id===e});if(!a)return void(0,q.error)("Schedule edition","This schedule was not found, or may not longer exists.");var i=n.refs,s=i.name,l=i.job;s.value=a.name,l.value=o[a.job],n.setState({cronPattern:a.cron,schedule:a,timezone:a.timezone||null})},n._reset=function(){n.setState({cronPattern:X,schedule:void 0,timezone:void 0},function(){var e=n.refs,t=e.name,r=e.job,o=e.enabled;t.value="",o.value=!1,r.value=void 0})},n._updateCronPattern=function(e){n.setState(e)},n.state={action:void 0,actions:void 0,cronPattern:X,job:void 0,jobs:void 0,timezone:void 0},n.loaded=new c.default(function(e,t){n._resolveLoaded=e}).then(function(){var e=n.props.id;e&&n._edit(e)}),n}return(0,_.default)(t,e),(0,v.default)(t,[{key:"componentWillMount",value:function(){var e=this,t=(0,W.subscribeJobs)(function(t){var n={};for(var r in t){var o=t[r];if(o&&o.key===H){var a=(0,l.default)({},o);a.label=a.name+" - "+a.method+" ("+a.id+")",n[o.id]=a}}e.setState({jobs:n})}),n=(0,W.subscribeSchedules)(function(t){var n={},r=e.state.jobs;if(!(0,E.default)(r)){var o=function(o){var a=t[o],i=(0,A.default)(r,function(e){return e.id===a.job});i&&i.key===H&&(n[o]=a),e.setState({schedules:n},e._resolveLoaded)};for(var a in t)o(a)}});this.componentWillUnmount=function(){t(),n()}}},{key:"render",value:function(){var e=this,t=this.state,n=t.cronPattern,r=t.jobs,o=t.schedule,a=t.schedules,s=t.timezone;return(0,i.default)("div",{},void 0,(0,i.default)("h1",{},void 0,(0,w.default)("jobSchedules")),(0,i.default)("form",{id:"newScheduleForm"},void 0,(0,i.default)("div",{className:"form-group"},void 0,I.default.createElement("input",{type:"text",ref:"name",className:"form-control",placeholder:this.props.intl.formatMessage(M.messages.jobScheduleNamePlaceHolder),required:!0})),(0,i.default)("div",{className:"form-group"},void 0,I.default.createElement(U.SelectPlainObject,{ref:"job",options:(0,R.default)(r),optionKey:"id",placeholder:this.props.intl.formatMessage(M.messages.jobScheduleJobPlaceHolder)})),!o&&(0,i.default)("div",{className:"form-group"},void 0,(0,i.default)("label",{},void 0,(0,w.default)("scheduleEnableAfterCreation"))," ",I.default.createElement(U.Toggle,{ref:"enabled"}))),(0,i.default)("fieldset",{},void 0,(0,i.default)(V.default,{cronPattern:n,onChange:this._updateCronPattern,timezone:s}),(0,i.default)(B.SchedulePreview,{cronPattern:n})),K,(0,i.default)("div",{className:"form-group"},void 0,o&&(0,i.default)("p",{className:"text-warning"},void 0,(0,w.default)("scheduleEditMessage",{name:o.name,id:o.id})),(0,i.default)("span",{},void 0,(0,i.default)(C.default,{form:"newScheduleForm",handler:this._handleSubmit,icon:"save",btnStyle:"primary"},void 0,(0,w.default)("saveBackupJob"))," ",(0,i.default)(k.default,{onClick:this._reset},void 0,(0,w.default)("selectTableReset")))),(0,i.default)("table",{className:"table"},void 0,(0,i.default)("thead",{},void 0,(0,i.default)("tr",{},void 0,(0,i.default)("th",{},void 0,(0,w.default)("jobName")),(0,i.default)("th",{},void 0,(0,w.default)("job")),(0,i.default)("th",{className:"hidden-xs-down"},void 0,(0,w.default)("jobScheduling")),(0,i.default)("th",{className:"hidden-xs-down"},void 0,(0,w.default)("jobTimezone")),G)),(0,i.default)("tbody",{},void 0,(0,E.default)(a)&&(0,i.default)("tr",{},void 0,(0,i.default)("td",{},void 0,(0,i.default)("em",{},void 0,(0,w.default)("noSchedules")))),(0,R.default)(a,function(t){return(0,i.default)("tr",{},t.id,(0,i.default)("td",{},void 0,(0,i.default)("span",{},void 0,t.name," ",(0,i.default)("span",{className:"text-muted"},void 0,"(",t.id.slice(4,8),")"))),(0,i.default)("td",{},void 0,r[t.job]&&(0,i.default)("span",{},void 0,r[t.job].name," - ",r[t.job].method," ",(0,i.default)("span",{className:"text-muted"},void 0,"(",t.job.slice(4,8),")"))),(0,i.default)("td",{className:"hidden-xs-down"},void 0,t.cron),(0,i.default)("td",{className:"hidden-xs-down"},void 0,t.timezone||(0,w.default)("jobServerTimezone")),(0,i.default)("td",{},void 0,(0,i.default)(k.default,{btnStyle:"primary",onClick:function(){return e._edit(t.id)}},void 0,Y)," ",(0,i.default)(k.default,{btnStyle:"danger",onClick:function(){return(0,W.deleteSchedule)(t)}},void 0,$)))}))))}}]),t}(D.Component))||o;n.default=Q},{"action-button":1401,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,button:1407,form:1425,icon:1435,intl:1436,"lodash/find":710,"lodash/isEmpty":735,"lodash/map":754,notification:1463,react:1269,"react-intl":1103,scheduling:1467,xo:1519,"xoa-upgrade":1528}],1570:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l,u,c=e("babel-runtime/core-js/json/stringify"),d=r(c),f=e("babel-runtime/helpers/jsx"),p=r(f),h=e("babel-runtime/core-js/object/get-prototype-of"),m=r(h),v=e("babel-runtime/helpers/classCallCheck"),b=r(v),g=e("babel-runtime/helpers/createClass"),y=r(g),_=e("babel-runtime/helpers/possibleConstructorReturn"),M=r(_),w=e("babel-runtime/helpers/inherits"),S=r(w),C=e("intl"),x=r(C),k=e("action-button"),T=r(k),A=e("action-row-button"),P=r(A),N=e("button-group"),O=r(N),E=e("classnames"),z=r(E),R=e("lodash/forEach"),j=r(R),L=e("lodash/get"),D=r(L),I=e("icon"),B=r(I),V=e("lodash/includes"),q=r(V),F=e("lodash/map"),U=r(F),W=e("lodash/orderBy"),H=r(W),X=e("prop-types"),K=r(X),G=e("react"),Y=(r(G),e("render-xo-item")),$=r(Y),Q=e("sorted-table"),J=r(Q),Z=e("tooltip"),ee=r(Z),te=e("modal"),ne=e("utils"),re=e("selectors"),oe=e("react-intl"),ae=e("card"),ie=e("xo"),se={continuousReplication:(0,x.default)("continuousReplication"),deltaBackup:(0,x.default)("deltaBackup"),disasterRecovery:(0,x.default)("disasterRecovery"),genericTask:(0,x.default)("customJob"),rollingBackup:(0,x.default)("backup"),rollingSnapshot:(0,x.default)("rollingSnapshot")},le=(o=(0,ne.connectStore)(function(){return{object:(0,re.createGetObject)()}}),o(a=function(e){function t(){return(0,b.default)(this,t),(0,M.default)(this,(t.__proto__||(0,m.default)(t)).apply(this,arguments))}return(0,S.default)(t,e),(0,y.default)(t,[{key:"render",value:function(){var e=this.props,t=e.object,n=e.paramKey,r=e.id;return t?(0,p.default)("span",{},void 0,(0,p.default)("strong",{},void 0,t.type||n),": ",(0,$.default)(t)," "):(0,p.default)("span",{},void 0,(0,p.default)("strong",{},void 0,n,":")," ",String(r)," ")}}]),t}(G.Component))||a),ue=(0,p.default)(B.default,{icon:"arrow-right"}),ce=(i=(0,ne.connectStore)(function(){return{object:(0,re.createGetObject)()}}),i(s=function(e){function t(){return(0,b.default)(this,t),(0,M.default)(this,(t.__proto__||(0,m.default)(t)).apply(this,arguments))}return(0,S.default)(t,e),(0,y.default)(t,[{key:"render",value:function(){var e=this.props,t=e.object,n=e.id;return(0,p.default)("span",{},void 0,ue," ",t?(0,$.default)(t):String(n))}}]),t}(G.Component))||s),de=(0,p.default)("br",{}),fe=(0,p.default)("br",{}),pe=(0,p.default)(B.default,{icon:"error"}),he=function(e){return(0,p.default)("ul",{className:"list-group"},void 0,(0,U.default)(e.log.calls,function(e){return(0,p.default)("li",{className:"list-group-item"},e.callKey,(0,p.default)("strong",{className:"text-info"},void 0,e.method,": "),de,(0,U.default)(e.params,function(e,t){return[(0,p.default)(le,{id:e,paramKey:t},t),fe]}),e.returnedValue&&(0,p.default)("span",{},void 0," ",(0,p.default)(ce,{id:e.returnedValue})),e.error&&(0,p.default)("span",{className:"text-danger"},void 0,pe," ",e.error.message?(0,p.default)("strong",{},void 0,e.error.message):(0,d.default)(e.error)))}))},me=function(e){return(0,te.alert)((0,x.default)("jobModalTitle",{job:e.jobId}),(0,p.default)(he,{log:e}))},ve=[{name:(0,x.default)("jobId"),itemRenderer:function(e){return e.jobId},sortCriteria:function(e){return e.jobId}},{name:(0,x.default)("jobType"),itemRenderer:function(e){return se[e.key]},sortCriteria:function(e){return e.key}},{name:(0,x.default)("jobTag"),itemRenderer:function(e){return(0,D.default)(e,"calls[0].params.tag")},sortCriteria:function(e){return(0,D.default)(e,"calls[0].params.tag")}},{name:(0,x.default)("jobStart"),itemRenderer:function(e){return e.start&&(0,p.default)(oe.FormattedDate,{value:new Date(e.start),month:"short",day:"numeric",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"})},sortCriteria:function(e){return e.start},sortOrder:"desc"},{default:!0,name:(0,x.default)("jobEnd"),itemRenderer:function(e){return e.end&&(0,p.default)(oe.FormattedDate,{value:new Date(e.end),month:"short",day:"numeric",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"})},sortCriteria:function(e){return e.end||e.start},sortOrder:"desc"},{name:(0,x.default)("jobDuration"),itemRenderer:function(e){return e.duration&&(0,p.default)(C.FormattedDuration,{duration:e.duration})},sortCriteria:function(e){return e.duration}},{name:(0,x.default)("jobStatus"),itemRenderer:function(e){return(0,p.default)("span",{},void 0,"finished"===e.status&&(0,p.default)("span",{className:(0,z.default)("tag",{"tag-success":!e.hasErrors,"tag-danger":e.hasErrors})},void 0,(0,x.default)("jobFinished")),"started"===e.status&&(0,p.default)("span",{className:"tag tag-warning"},void 0,(0,x.default)("jobStarted")),"started"!==e.status&&"finished"!==e.status&&(0,p.default)("span",{className:"tag tag-default"},void 0,(0,x.default)("jobUnknown"))," ",(0,p.default)("span",{className:"pull-right"},void 0,(0,p.default)(O.default,{},void 0,(0,p.default)(ee.default,{content:(0,x.default)("logDisplayDetails")},void 0,(0,p.default)(P.default,{icon:"preview",handler:me,handlerParam:e})),(0,p.default)(ee.default,{content:(0,x.default)("remove")},void 0,(0,p.default)(P.default,{handler:ie.deleteJobsLog,handlerParam:e.logKey,icon:"delete"})))))},sortCriteria:function(e){return e.hasErrors?" ":e.status}}],be=(0,p.default)(B.default,{icon:"log"}),ge=(l=(0,K.default)({jobKeys:K.default.array.isRequired}),l(u=function(e){function t(e){(0,b.default)(this,t);var n=(0,M.default)(this,(t.__proto__||(0,m.default)(t)).call(this,e));return n._deleteAllLogs=function(){return(0,te.confirm)({title:(0,x.default)("removeAllLogsModalTitle"),body:(0,p.default)("p",{},void 0,(0,x.default)("removeAllLogsModalWarning"))}).then(function(){return(0,ie.deleteJobsLog)(n.state.logsToClear)})},n.state={logs:[],logsToClear:[]},n.filters={onError:"error",successful:"success"},n}return(0,S.default)(t,e),(0,y.default)(t,[{key:"componentWillMount",value:function(){var e=this;this.componentWillUnmount=(0,ie.subscribeJobsLogs)(function(t){var n={},r=[];(0,j.default)(t,function(t,o){var a=t.data,i=t.time;if("job.start"===a.event&&(0,q.default)(e.props.jobKeys,a.key))r.push(o),n[o]={logKey:o,jobId:a.jobId.slice(4,8),key:a.key,userId:a.userId,start:i,calls:{},time:i};else{var s=a.runJobId,l=n[s];if(!l)return;if(r.push(o),"job.end"===a.event)l.end=i,l.duration=i-l.start,l.status="finished";else if("jobCall.start"===a.event)l.calls[o]={callKey:o,params:a.params,method:a.method,time:i};else if("jobCall.end"===a.event){var u=l.calls[a.runCallId];a.error?(u.error=a.error,l.hasErrors=!0,l.meta="error"):u.returnedValue=a.returnedValue}}}),(0,j.default)(n,function(e){void 0===e.end?e.status="started":e.meta||(e.meta="success"),e.calls=(0,H.default)(e.calls,["time"],["desc"])}),e.setState({logs:(0,H.default)(n,["time"],["desc"]),logsToClear:r})})}},{key:"render",value:function(){var e=this.state.logs;return(0,p.default)(ae.Card,{},void 0,(0,p.default)(ae.CardHeader,{},void 0,be," Logs",(0,p.default)("span",{className:"pull-right"},void 0,(0,p.default)(T.default,{disabled:!e.length,btnStyle:"danger",handler:this._deleteAllLogs,icon:"delete"}))),(0,p.default)(ae.CardBlock,{},void 0,e.length?(0,p.default)(J.default,{collection:e,columns:ve,filters:this.filters}):(0,p.default)("p",{},void 0,(0,x.default)("noLogs"))))}}]),t}(G.Component))||u);n.default=ge},{"action-button":1401,"action-row-button":1403,"babel-runtime/core-js/json/stringify":7,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"button-group":1406,card:1408,classnames:157,icon:1435,intl:1436,"lodash/forEach":716,"lodash/get":724,"lodash/includes":728,"lodash/map":754,"lodash/orderBy":763,modal:1461,"prop-types":1464,react:1269,"react-intl":1103,"render-xo-item":1466,selectors:1470,"sorted-table":1475,tooltip:1488,utils:1490,xo:1519}],1571:[function(e,t,n){t.exports={brand:"mc1dc15474_brand",hiddenUncollapsed:"mc1dc15474_hiddenUncollapsed",collapsed:"mc1dc15474_collapsed",hiddenCollapsed:"mc1dc15474_hiddenCollapsed",centerCollapsed:"mc1dc15474_centerCollapsed"}},{}],1572:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s=e("babel-runtime/helpers/jsx"),l=r(s),u=e("babel-runtime/core-js/object/get-prototype-of"),c=r(u),d=e("babel-runtime/helpers/classCallCheck"),f=r(d),p=e("babel-runtime/helpers/createClass"),h=r(p),m=e("babel-runtime/helpers/possibleConstructorReturn"),v=r(m),b=e("babel-runtime/helpers/inherits"),g=r(b),y=e("intl"),_=r(y),M=e("classnames"),w=r(M),S=e("base-component"),C=r(S),x=e("icon"),k=r(x),T=e("lodash/isEmpty"),A=r(T),P=e("link"),N=r(P),O=e("lodash/map"),E=r(O),z=e("react"),R=r(z),j=e("tooltip"),L=r(j),D=e("../xoa-updates"),I=e("utils"),B=e("xo"),V=e("selectors"),q=e("./index.css"),F=r(q),U=function(){return!0},W=(0,l.default)(D.UpdateTag,{}),H=(0,l.default)(k.default,{icon:"menu-collapse",size:"lg",fixedWidth:!0}),X=(0,l.default)("li",{},void 0," "),K=(0,l.default)("li",{},void 0," "),G=(0,l.default)(k.default,{icon:"alarm",size:"lg",fixedWidth:!0}),Y=(0,l.default)(k.default,{icon:"alarm",size:"lg",fixedWidth:!0}),$=((0,l.default)(k.default,{icon:"info",size:"lg",fixedWidth:!0}),(0,l.default)(k.default,{icon:"info",size:"lg",fixedWidth:!0}),(0,l.default)(k.default,{icon:"info",size:"lg",fixedWidth:!0}),(0,l.default)(k.default,{icon:"info",size:"lg",fixedWidth:!0}),(0,l.default)("li",{},void 0," ")),Q=(0,l.default)("li",{},void 0," "),J=(0,l.default)(k.default,{icon:"sign-out",size:"lg",fixedWidth:!0}),Z=(0,l.default)(k.default,{icon:"user",size:"lg"}),ee=(0,l.default)("li",{},void 0," "),te=(0,l.default)("li",{},void 0," "),ne=(0,l.default)(k.default,{icon:"alarm",size:"lg",fixedWidth:!0}),re=(o=(0,I.connectStore)(function(){return{isAdmin:V.isAdmin,nTasks:(0,V.createGetObjectsOfType)("task").count([function(e){return"pending"===e.status}]),pools:(0,V.createGetObjectsOfType)("pool"),nHosts:(0,V.createGetObjectsOfType)("host").count(),srs:(0,V.createGetObjectsOfType)("SR"),status:V.getStatus,user:V.getUser}},{withRef:!0}),a=(0,I.addSubscriptions)({permissions:B.subscribePermissions,resourceSets:B.subscribeResourceSets}),o(i=a(i=function(e){function t(){var e,n,r,o;(0,f.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,v.default)(this,(e=t.__proto__||(0,c.default)(t)).call.apply(e,[this].concat(i))),r._checkPermissions=(0,V.createSelector)(function(){return r.props.isAdmin},function(){return r.props.permissions},function(e,t){return e?U:function(e){var n=e.id;return t&&t[n]&&t[n].operate}}),r._getNoOperatablePools=(0,V.createSelector)((0,V.createFilter)(function(){return r.props.pools},r._checkPermissions),A.default),r._getNoOperatableSrs=(0,V.createSelector)((0,V.createFilter)(function(){return r.props.srs},r._checkPermissions),A.default),r._getNoResourceSets=(0,V.createSelector)(function(){return r.props.resourceSets},A.default),r._toggleCollapsed=function(e){e.preventDefault(),r._removeListener(),r.setState({collapsed:!r.state.collapsed})},r._connect=function(e){return e.preventDefault(),(0,B.connect)()},r._signOut=function(e){return e.preventDefault(),(0,B.signOut)()},o=n,(0,v.default)(r,o)}return(0,g.default)(t,e),(0,h.default)(t,[{key:"componentWillMount",value:function(){var e=this,t=function(){e.setState({collapsed:window.innerWidth<1200})};t(),window.addEventListener("resize",t),
|
91 | this._removeListener=function(){window.removeEventListener("resize",t),e._removeListener=I.noop}}},{key:"componentWillUnmount",value:function(){this._removeListener()}},{key:"render",value:function(){var e=this.props,t=e.isAdmin,n=e.nTasks,r=e.status,o=e.user,a=e.pools,i=e.nHosts,s=this._getNoOperatablePools(),u=this._getNoOperatableSrs(),c=this._getNoResourceSets(),d=[{to:"/home",icon:"menu-home",label:"homePage",subMenu:[{to:"/home?t=VM",icon:"vm",label:"homeVmPage"},0!==i&&{to:"/home?t=host",icon:"host",label:"homeHostPage"},!(0,A.default)(a)&&{to:"/home?t=pool",icon:"pool",label:"homePoolPage"},t&&{to:"/home?t=VM-template",icon:"template",label:"homeTemplatePage"},!u&&{to:"/home?t=SR",icon:"sr",label:"homeSrPage"}]},{to:"/dashboard/overview",icon:"menu-dashboard",label:"dashboardPage",subMenu:[{to:"/dashboard/overview",icon:"menu-dashboard-overview",label:"overviewDashboardPage"},{to:"/dashboard/visualizations",icon:"menu-dashboard-visualization",label:"overviewVisualizationDashboardPage"},{to:"/dashboard/stats",icon:"menu-dashboard-stats",label:"overviewStatsDashboardPage"},{to:"/dashboard/health",icon:"menu-dashboard-health",label:"overviewHealthDashboardPage"}]},t&&{to:"/self",icon:"menu-self-service",label:"selfServicePage"},t&&{to:"/backup/overview",icon:"menu-backup",label:"backupPage",subMenu:[{to:"/backup/overview",icon:"menu-backup-overview",label:"backupOverviewPage"},{to:"/backup/new",icon:"menu-backup-new",label:"backupNewPage"},{to:"/backup/restore",icon:"menu-backup-restore",label:"backupRestorePage"},{to:"/backup/file-restore",icon:"menu-backup-file-restore",label:"backupFileRestorePage"}]},t&&{to:"/xoa-update",icon:"menu-update",label:"updatePage",extra:W},t&&{to:"/settings/servers",icon:"menu-settings",label:"settingsPage",subMenu:[{to:"/settings/servers",icon:"menu-settings-servers",label:"settingsServersPage"},{to:"/settings/users",icon:"menu-settings-users",label:"settingsUsersPage"},{to:"/settings/groups",icon:"menu-settings-groups",label:"settingsGroupsPage"},{to:"/settings/acls",icon:"menu-settings-acls",label:"settingsAclsPage"},{to:"/settings/remotes",icon:"menu-backup-remotes",label:"backupRemotesPage"},{to:"/settings/plugins",icon:"menu-settings-plugins",label:"settingsPluginsPage"},{to:"/settings/logs",icon:"menu-settings-logs",label:"settingsLogsPage"},{to:"/settings/ips",icon:"ip",label:"settingsIpsPage"},{to:"/settings/config",icon:"menu-settings-config",label:"settingsConfigPage"}]},t&&{to:"/jobs/overview",icon:"menu-jobs",label:"jobsPage",subMenu:[{to:"/jobs/overview",icon:"menu-jobs-overview",label:"jobsOverviewPage"},{to:"/jobs/new",icon:"menu-jobs-new",label:"jobsNewPage"},{to:"/jobs/schedules",icon:"menu-jobs-schedule",label:"jobsSchedulingPage"}]},{to:"/about",icon:"menu-about",label:"aboutPage"},{to:"/tasks",icon:"task",label:"taskMenu",pill:n},t&&{to:"/xosan",icon:"menu-xosan",label:"xosan"},!(s&&c)&&{to:"/vms/new",icon:"menu-new",label:"newMenu",subMenu:[{to:"/vms/new",icon:"menu-new-vm",label:"newVmPage"},t&&{to:"/new/sr",icon:"menu-new-sr",label:"newSrPage"},t&&{to:"/settings/servers",icon:"menu-settings-servers",label:"newServerPage"},!s&&{to:"/vms/import",icon:"menu-new-import",label:"newImport"}]}];return(0,l.default)("div",{className:(0,w.default)("xo-menu",this.state.collapsed&&F.default.collapsed)},void 0,R.default.createElement("ul",{className:"nav nav-sidebar nav-pills nav-stacked",ref:"content"},(0,l.default)("li",{},void 0,(0,l.default)("span",{},void 0,(0,l.default)("a",{className:F.default.brand,href:"#"},void 0,(0,l.default)("span",{className:F.default.hiddenUncollapsed},void 0,"XO"),(0,l.default)("span",{className:F.default.hiddenCollapsed},void 0,"Xen Orchestra")))),(0,l.default)("li",{},void 0,(0,l.default)("a",{className:"nav-link",onClick:this._toggleCollapsed,href:"#"},void 0,H)),(0,E.default)(d,function(e,t){return e&&(0,l.default)(oe,{item:e},t)}),X,K,(0,l.default)("li",{className:"nav-item xo-menu-item"},void 0,(0,l.default)(N.default,{className:"nav-link",style:{display:"flex"},to:"/about"},void 0,(0,l.default)("span",{},void 0,(0,l.default)("span",{className:(0,w.default)(F.default.hiddenCollapsed,"text-warning")},void 0,G," ",(0,_.default)("noSupport")),(0,l.default)("span",{className:(0,w.default)(F.default.hiddenUncollapsed,"text-warning")},void 0,Y)))),$,Q,(0,l.default)("li",{className:"nav-item xo-menu-item"},void 0,(0,l.default)("a",{className:"nav-link",onClick:this._signOut,href:"#"},void 0,J,(0,l.default)("span",{className:F.default.hiddenCollapsed},void 0," ",(0,_.default)("signOut")))),(0,l.default)("li",{className:"nav-item xo-menu-item"},void 0,(0,l.default)(N.default,{className:"nav-link text-xs-center",to:"/user"},void 0,(0,l.default)(L.default,{content:(0,_.default)("editUserProfile",{username:o?o.email:""})},void 0,Z))),ee,te,"connecting"===r?(0,l.default)("li",{className:"nav-item text-xs-center"},void 0,(0,_.default)("statusConnecting")):"disconnected"===r&&(0,l.default)("li",{className:"nav-item text-xs-center xo-menu-item"},void 0,(0,l.default)("a",{className:"nav-link",onClick:this._connect,href:"#"},void 0,ne," ",(0,_.default)("statusDisconnected")))))}},{key:"height",get:function(){return this.refs.content.offsetHeight}}]),t}(C.default))||i)||i);n.default=re;var oe=function(e){var t=e.item,n=t.to,r=t.icon,o=t.label,a=t.subMenu,i=t.pill,s=t.extra;return(0,l.default)("li",{className:"nav-item xo-menu-item"},void 0,(0,l.default)(N.default,{activeClassName:"active",className:(0,w.default)("nav-link",F.default.centerCollapsed),to:n},void 0,(0,l.default)(k.default,{className:(0,w.default)((i||s)&&F.default.hiddenCollapsed),icon:""+r,size:"lg",fixedWidth:!0}),(0,l.default)("span",{className:F.default.hiddenCollapsed},void 0," ",(0,_.default)(o)," "),i>0&&(0,l.default)("span",{className:"tag tag-pill tag-primary"},void 0,i),s),a&&(0,l.default)(ae,{items:a}))},ae=function(e){return(0,l.default)("ul",{className:"nav nav-pills nav-stacked xo-sub-menu"},void 0,(0,E.default)(e.items,function(e,t){return e&&(0,l.default)("li",{className:"nav-item xo-menu-item"},t,(0,l.default)(N.default,{activeClassName:"active",className:"nav-link",to:e.to},void 0,(0,l.default)(k.default,{icon:""+e.icon,size:"lg",fixedWidth:!0})," ",(0,_.default)(e.label)))}))}},{"../xoa-updates":1624,"./index.css":1571,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,classnames:157,icon:1435,intl:1436,link:1459,"lodash/isEmpty":735,"lodash/map":754,react:1269,selectors:1470,tooltip:1488,utils:1490,xo:1519}],1573:[function(e,t,n){t.exports={inlineSelect:"mc217f7268_inlineSelect",button:"mc217f7268_button",sizeInput:"mc217f7268_sizeInput",lineItem:"mc217f7268_lineItem",item:"mc217f7268_item",input:"mc217f7268_input",sectionContent:"mc217f7268_sectionContent",sectionContentColumn:"mc217f7268_sectionContentColumn",summary:"mc217f7268_summary",submitSection:"mc217f7268_submitSection",configDrive:"mc217f7268_configDrive",configDriveToggle:"mc217f7268_configDriveToggle",refreshNames:"mc217f7268_refreshNames",customConfig:"mc217f7268_customConfig",fixedWidth:"mc217f7268_fixedWidth",tags:"mc217f7268_tags"}},{}],1574:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l,u,c=e("babel-runtime/helpers/defineProperty"),d=r(c),f=e("babel-runtime/helpers/toConsumableArray"),p=r(f),h=e("babel-runtime/helpers/extends"),m=r(h),v=e("babel-runtime/core-js/object/get-prototype-of"),b=r(v),g=e("babel-runtime/helpers/classCallCheck"),y=r(g),_=e("babel-runtime/helpers/createClass"),M=r(_),w=e("babel-runtime/helpers/possibleConstructorReturn"),S=r(w),C=e("babel-runtime/helpers/inherits"),x=r(C),k=e("babel-runtime/helpers/jsx"),T=r(k),A=e("lodash/sumBy"),P=r(A),N=e("lodash/sum"),O=r(N),E=e("lodash/size"),z=r(E),R=e("lodash/slice"),j=r(R),L=e("lodash/map"),D=r(L),I=e("lodash/join"),B=r(I),V=e("lodash/isEmpty"),q=r(V),F=e("lodash/isArray"),U=r(F),W=e("lodash/includes"),H=r(W),X=e("lodash/get"),K=r(X),G=e("lodash/forEach"),Y=r(G),$=e("lodash/find"),Q=r($),J=e("lodash/filter"),Z=r(J),ee=e("lodash/every"),te=r(ee),ne=e("lodash/clamp"),re=r(ne),oe=e("intl"),ae=r(oe),ie=e("action-button"),se=r(ie),le=e("base-component"),ue=r(le),ce=e("button"),de=r(ce),fe=e("classnames"),pe=r(fe),he=e("react-debounce-input"),me=r(he),ve=e("get-event-value"),be=r(ve),ge=e("icon"),ye=r(ge),_e=e("is-ip"),Me=r(_e),we=e("../page"),Se=r(we),Ce=e("react"),xe=r(Ce),ke=e("store"),Te=r(ke),Ae=e("tags"),Pe=r(Ae),Ne=e("tooltip"),Oe=r(Ne),Ee=e("wizard"),ze=r(Ee),Re=e("grid"),je=e("react-intl"),Le=e("usage"),De=e("xo"),Ie=e("select-objects"),Be=e("form"),Ve=e("utils"),qe=e("selectors"),Fe=e("./index.css"),Ue=r(Fe),We=300,He=2,Xe=100,Ke=(0,qe.createGetObject)(function(e,t){return t}),Ge=function(){return!0},Ye=function(e){var t=e.column,n=e.children;return(0,T.default)("div",{className:(0,pe.default)("form-inline",Ue.default.sectionContent,t&&Ue.default.sectionContentColumn)},void 0,n)},$e=function(e){var t=e.children;return(0,T.default)("div",{className:Ue.default.lineItem},void 0,t)},Qe=function(e){var t=e.label,n=e.children,r=e.className;return(0,T.default)("span",{className:Ue.default.item},void 0,t&&(0,T.default)("span",{},void 0,t," "),(0,T.default)("span",{className:(0,pe.default)(Ue.default.input,r)},void 0,n))},Je=(0,T.default)(ye.default,{icon:"new-vm-remove"}),Ze=(0,je.injectIntl)(o=function(e){function t(){return(0,y.default)(this,t),(0,S.default)(this,(t.__proto__||(0,b.default)(t)).apply(this,arguments))}return(0,x.default)(t,e),(0,M.default)(t,[{key:"render",value:function(){var e=this.props,t=e.intl.formatMessage,n=e.ipPoolPredicate,r=e.networkPredicate,o=e.onChangeAddresses,a=e.onChangeMac,i=e.onChangeNetwork,s=e.onDelete,l=e.pool,u=e.resourceSet,c=e.vif;return(0,T.default)($e,{},void 0,(0,T.default)(Qe,{label:(0,ae.default)("newVmMacLabel")},void 0,(0,T.default)(me.default,{className:"form-control",debounceTimeout:We,onChange:a,placeholder:t(oe.messages.newVmMacPlaceholder),rows:7,value:c.mac})),(0,T.default)(Qe,{label:(0,ae.default)("newVmNetworkLabel")},void 0,(0,T.default)("span",{className:Ue.default.inlineSelect},void 0,l?(0,T.default)(Ie.SelectNetwork,{onChange:i,predicate:r,value:c.network}):(0,T.default)(Ie.SelectResourceSetsNetwork,{onChange:i,resourceSet:u,value:c.network}))),(0,T.default)($e,{},void 0,(0,T.default)("span",{className:Ue.default.inlineSelect},void 0,l?(0,T.default)(Ie.SelectIp,{containerPredicate:n,multi:!0,onChange:o,value:c.addresses}):(0,T.default)(Ie.SelectResourceSetIp,{containerPredicate:n,multi:!0,onChange:o,resourceSetId:u.id,value:c.addresses}))),(0,T.default)(Qe,{},void 0,(0,T.default)(de.default,{onClick:s},void 0,Je)))}}]),t}(ue.default))||o,et=(0,T.default)(ye.default,{icon:"add"}),tt=(0,T.default)("hr",{}),nt=(0,T.default)(ye.default,{icon:"new-vm-add"}),rt=(0,T.default)("hr",{}),ot=(0,T.default)(ye.default,{icon:"new-vm-remove"}),at=(0,T.default)("hr",{}),it=(0,T.default)(ye.default,{icon:"new-vm-add"}),st=(0,T.default)("hr",{}),lt=(0,T.default)(ye.default,{icon:"arrow-right"}),ut=(0,T.default)(ye.default,{icon:"refresh"}),ct=(0,T.default)(ye.default,{icon:"cpu"}),dt=(0,T.default)(ye.default,{icon:"memory"}),ft=(0,T.default)(ye.default,{icon:"disk"}),pt=(0,T.default)(ye.default,{icon:"network"}),ht=(0,T.default)(ye.default,{icon:"vm-fast-clone"}),mt=(a=(0,Ve.addSubscriptions)({resourceSets:De.subscribeResourceSets,permissions:De.subscribePermissions,user:De.subscribeCurrentUser}),i=(0,Ve.connectStore)(function(){return{isAdmin:(0,qe.createSelector)(qe.getUser,function(e){return e&&"admin"===e.permission}),networks:(0,qe.createGetObjectsOfType)("network").sort(),pool:(0,qe.createGetObject)(function(e,t){return t.location.query.pool}),pools:(0,qe.createGetObjectsOfType)("pool"),templates:(0,qe.createGetObjectsOfType)("VM-template").sort(),userSshKeys:(0,qe.createSelector)(function(e,t){var n=t.user;return n&&n.preferences&&n.preferences.sshKeys},function(e){return e}),srs:(0,qe.createGetObjectsOfType)("SR")}}),a(s=i(s=(0,je.injectIntl)((u=l=function(e){function t(){(0,y.default)(this,t);var e=(0,S.default)(this,(t.__proto__||(0,b.default)(t)).call(this));return e._getResourceSet=function(){var t=e.props,n=t.location.query.resourceSet,r=t.resourceSets;return r&&(0,Q.default)(r,function(e){var t=e.id;return t===n})},e._getResolvedResourceSet=(0,qe.createSelector)(e._getResourceSet,Ve.resolveResourceSet),e._setState=function(t,n){e.setState({state:(0,m.default)({},e.state.state,t)},n)},e._replaceState=function(t,n){return e.setState({state:t},n)},e._linkState=function(t,n){return e.linkState("state."+t,n)},e._toggleState=function(t){return e.toggleState("state."+t)},e._reset=function(){e._replaceState({bootAfterCreate:!0,configDrive:!1,CPUs:"",cpuCap:"",cpuWeight:"",existingDisks:{},fastClone:!0,multipleVms:!1,name_label:"",name_description:"",nameLabels:(0,D.default)(Array(He),function(e,t){return"VM_"+(t+1)}),namePattern:"{name}_%",nbVms:He,VDIs:[],VIFs:[],seqStart:1,share:!1,tags:[]})},e._create=function(){var t=e.state.state,n=void 0;switch(t.installMethod){case"ISO":n={method:"cdrom",repository:t.installIso.id};break;case"network":var r=/^(http|ftp|nfs)/i.exec(t.installNetwork);if(!r)throw new Error("invalid network URL");n={method:r[1].toLowerCase(),repository:t.installNetwork};break;case"PXE":n={method:"network",repository:"pxe"}}var o=void 0;if(t.configDrive){var a=t.name_label.replace(/^\s+|\s+$/g,"").replace(/\s+/g,"-");o="SSH"===t.installMethod?"#cloud-config\nhostname: "+a+"\nssh_authorized_keys:\n"+(0,B.default)((0,D.default)(t.sshKeys,function(t){return e.props.userSshKeys[t]?" - "+e.props.userSshKeys[t].key+"\n":""}),""):t.customConfig}else"CoreOS"===t.template.name_label&&(o=t.cloudConfig);var i=t.VIFs,s=(0,D.default)(i,function(e){var t=(0,m.default)({},e);return delete t.addresses,t.allowedIpv4Addresses=[],t.allowedIpv6Addresses=[],(0,Y.default)(e.addresses,function(e){(0,Me.default)(e)&&(Me.default.v4(e)?t.allowedIpv4Addresses.push(e):t.allowedIpv6Addresses.push(e))}),t}),l=e._getResourceSet(),u={affinityHost:t.affinityHost&&t.affinityHost.id,clone:!e.isDiskTemplate&&t.fastClone,existingDisks:t.existingDisks,installation:n,name_label:t.name_label,template:t.template.id,VDIs:t.VDIs,VIFs:s,resourceSet:l&&l.id,CPUs:t.CPUs,cpuWeight:""===t.cpuWeight?null:t.cpuWeight,cpuCap:""===t.cpuCap?null:t.cpuCap,name_description:t.name_description,memoryStaticMax:t.memoryStaticMax,memoryMin:t.memoryDynamicMin,memoryMax:t.memoryDynamicMax,pv_args:t.pv_args,autoPoweron:t.autoPoweron,bootAfterCreate:t.bootAfterCreate,share:t.share,cloudConfig:o,coreOs:"CoreOS"===t.template.name_label,tags:t.tags};return t.multipleVms?(0,De.createVms)(u,t.nameLabels):(0,De.createVm)(u)},e._initTemplate=function(t){if(!t)return e._reset();e._setState({template:t});var n=Te.default.getState(),r=e._getIsInResourceSet(),o=e.state.state,a=e.props.pool,i=e._getResolvedResourceSet(),s={};(0,Y.default)(t.$VBDs,function(t){var o=Ke(n,t,i);if(o&&!o.is_cd_drive){var l=Ke(n,o.VDI,i);l&&(s[e.getUniqueId()]={name_label:l.name_label,name_description:l.name_description,size:l.size,$SR:a||r(l.$SR)?l.$SR:i.objectsByType.SR[0].id})}});var l=[];if((0,Y.default)(t.VIFs,function(t){var o=Ke(n,t,i);l.push({id:e.getUniqueId(),network:a||r(o.$network)?o.$network:i.objectsByType.network[0].id})}),0===l.length){var u=e._getDefaultNetworkId();l.push({id:e.getUniqueId(),network:u})}var c=""!==o.name_label&&o.name_labelHasChanged?o.name_label:t.name_label,d=""!==o.name_description&&o.name_descriptionHasChanged?o.name_description:t.name_description||"",f=e._buildTemplate();e._setState({name_label:c,template:t,name_description:d,nameLabels:(0,D.default)(Array(+o.nbVms),function(e,n){return f({name_label:c,name_description:d,template:t},n+1)}),CPUs:t.CPUs.number,cpuCap:"",cpuWeight:"",memoryDynamicMax:t.memory.dynamic[1],installMethod:null!=t.install_methods&&t.install_methods[0]||"SSH",sshKeys:e.props.userSshKeys&&e.props.userSshKeys.length&&[0],customConfig:"#cloud-config\n#hostname: myhostname\n#ssh_authorized_keys:\n# - ssh-rsa <myKey>\n#packages:\n# - htop\n",VIFs:l,existingDisks:s,VDIs:(0,D.default)(t.template_info.disks,function(t){var n=String(e.getUniqueId());return(0,m.default)({},t,{device:n,name_description:t.name_description||"Created by XO",name_label:(c||"disk")+"_"+n,SR:a?a.default_SR:i.objectsByType.SR[0].id})})}),"CoreOS"===t.name_label&&(0,De.getCloudInitConfig)(t.id).then(function(t){return e._setState({cloudConfig:t})},Ve.noop)},e._getIsInPool=(0,qe.createSelector)(function(){var t=e.props.pool;return t&&t.id},function(e){return function(t){var n=t.$pool;return n===e}}),e._getIsInResourceSet=(0,qe.createSelector)(function(){var t=e._getResourceSet();return t&&t.objects},function(e){return function(t){return(0,H.default)(e,t)}}),e._getCanOperate=(0,qe.createSelector)(function(){return e.props.isAdmin},function(){return e.props.permissions},function(e,t){return e?Ge:function(e){var n=e.id;return t&&t[n]&&t[n].operate}}),e._getVmPredicate=(0,qe.createSelector)(e._getIsInPool,e._getIsInResourceSet,function(e,t){return function(n){return t(n.id)||e(n)}}),e._getSrPredicate=(0,qe.createSelector)(e._getIsInPool,e._getIsInResourceSet,function(e,t){return function(n){return(t(n.id)||e(n))&&"iso"!==n.content_type&&n.size>0}}),e._getIsoPredicate=(0,qe.createSelector)(function(){return e.props.pool&&e.props.pool.id},function(e){return function(t){return(null==e||e===t.$pool)&&"iso"===t.SR_type}}),e._getIpPoolPredicate=(0,qe.createSelector)(function(){return!!e.props.pool},function(){var t=e.props.resourceSet;return t&&t.ipPools},function(){return e.props.vif},function(e,t,n){return function(r){return!!r&&(e||t&&(0,H.default)(t,r.id)&&(0,Q.default)(r.networks,function(e){return e===n.network}))}}),e._getNetworkPredicate=(0,qe.createSelector)(e._getIsInPool,e._getIsInResourceSet,function(e,t){return function(n){return t(n.id)||e(n)}}),e._getPoolNetworks=(0,qe.createSelector)(function(){return e.props.networks},function(){var t=e.props.pool;return t&&t.id},function(e,t){return(0,Z.default)(e,function(e){return e.$pool===t})}),e._getOperatablePools=(0,qe.createFilter)(function(){return e.props.pools},e._getCanOperate,[function(e,t){return t(e)}]),e._getAffinityHostPredicate=(0,qe.createSelector)(function(){return e.props.pool},function(){return e.state.state.existingDisks},function(){return e.state.state.VDIs},function(){return e.props.srs},function(e,t,n,r){if(!r)return!1;var o=[].concat((0,p.default)((0,D.default)(t,function(e){return(0,K.default)(r,e.$SR+".$container")})),(0,p.default)((0,D.default)(n,function(e){return(0,K.default)(r,e.SR+".$container")})));return function(t){return t.$pool===e.id&&(0,te.default)(o,function(n){return n===e.id||n===t.id})}}),e._getDefaultNetworkId=function(){var t=e._getResolvedResourceSet();if(t){var n=t.objectsByType.network;return!(0,q.default)(n)&&n[0].id}var r=(0,Q.default)(e._getPoolNetworks(),function(e){var t=Ke(Te.default.getState(),e.PIFs[0]);return t&&t.management});return r&&r.id},e._buildTemplate=(0,qe.createSelector)(function(){return e.state.state.namePattern},function(e){return(0,Ve.buildTemplate)(e,{"{name}":function(e){return e.name_label||""},"%":function(e,t){return t}})}),e._onChangeSshKeys=function(t){return e._setState({sshKeys:(0,D.default)(t,function(e){return e.id})})},e._updateNbVms=function(){var t=e.state.state,n=t.nbVms,r=t.nameLabels,o=t.seqStart,a=(0,re.default)(n,He,Xe),i=[].concat((0,p.default)(r));if(a<r.length)e._setState({nameLabels:(0,j.default)(i,0,a)});else{for(var s=e._buildTemplate(),l=+o+r.length;l<=+o+a-1;l++)i.push(s(e.state.state,l));e._setState({nameLabels:i})}},e._updateNameLabels=function(){for(var t=e.state.state,n=t.nameLabels,r=t.seqStart,o=n.length,a=[],i=e._buildTemplate(),s=+r;s<=+r+o-1;s++)a.push(i(e.state.state,s));e._setState({nameLabels:a})},e._selectResourceSet=function(t){var n=e.props.location.pathname;e.context.router.push({pathname:n,query:t&&{resourceSet:t.id}}),e._reset()},e._selectPool=function(t){var n=e.props.location.pathname;e.context.router.push({pathname:n,query:t&&{pool:t.id}}),e._reset()},e._addVdi=function(){var t=e.state.state,n=e.props.pool,r=String(e.getUniqueId());e._setState({VDIs:[].concat((0,p.default)(t.VDIs),[{device:r,name_description:"Created by XO",name_label:(t.name_label||"disk")+"_"+r,SR:n&&n.default_SR,type:"system"}])})},e._removeVdi=function(t){var n=e.state.state.VDIs;e._setState({VDIs:[].concat((0,p.default)(n.slice(0,t)),(0,p.default)(n.slice(t+1)))})},e._addInterface=function(){var t=e._getDefaultNetworkId();e._setState({VIFs:[].concat((0,p.default)(e.state.state.VIFs),[{id:e.getUniqueId(),network:t}])})},e._removeInterface=function(t){var n=e.state.state.VIFs;e._setState({VIFs:[].concat((0,p.default)(n.slice(0,t)),(0,p.default)(n.slice(t+1)))})},e._addNewSshKey=function(){var t=e.state.state,n=t.newSshKey,r=t.sshKeys,o=e.props.userSshKeys,a=n.split(" "),i=3===a.length?a[2].split("\n")[0]:n.substring(n.length-10,n.length);(0,De.addSshKey)({title:i,key:n}).then(function(){e._setState({sshKeys:[].concat((0,p.default)(r||[]),[o?o.length:0]),newSshKey:""})})},e._getRedirectionUrl=function(t){return e.state.state.multipleVms?"/home":"/vms/"+t},e._renderHeader=function(){var t=e.props.pool,n=!(0,q.default)(e._getOperatablePools()),r=!e.props.isAdmin&&!(0,q.default)(e.props.resourceSets),o=(0,T.default)("span",{className:Ue.default.inlineSelect},void 0,(0,T.default)(Ie.SelectPool,{onChange:e._selectPool,predicate:e._getCanOperate(),value:t})),a=(0,T.default)("span",{className:Ue.default.inlineSelect},void 0,(0,T.default)(Ie.SelectResourceSet,{onChange:e._selectResourceSet,value:e.props.location.query.resourceSet}));return(0,T.default)(Re.Container,{},void 0,(0,T.default)(Re.Row,{},void 0,(0,T.default)(Re.Col,{mediumSize:12},void 0,(0,T.default)("h2",{},void 0,n&&r?(0,ae.default)("newVmCreateNewVmOn2",{select1:o,select2:a}):n||r?(0,ae.default)("newVmCreateNewVmOn",{select:n?o:a}):(0,ae.default)("newVmCreateNewVmNoPermission")))))},e._renderInfo=function(){var t=e.state.state,n=t.name_description,r=t.name_label,o=t.template;return(0,T.default)(Ee.Section,{icon:"new-vm-infos",title:"newVmInfoPanel",done:e._isInfoDone()},void 0,(0,T.default)(Ye,{},void 0,(0,T.default)(Qe,{label:(0,ae.default)("newVmTemplateLabel")},void 0,(0,T.default)("span",{className:Ue.default.inlineSelect},void 0,e.props.pool?(0,T.default)(Ie.SelectVmTemplate,{onChange:e._initTemplate,placeholder:(0,ae.default)("newVmSelectTemplate"),predicate:e._getVmPredicate(),value:o}):(0,T.default)(Ie.SelectResourceSetsVmTemplate,{onChange:e._initTemplate,placeholder:(0,ae.default)("newVmSelectTemplate"),resourceSet:e._getResolvedResourceSet(),value:o}))),(0,T.default)(Qe,{label:(0,ae.default)("newVmNameLabel")},void 0,(0,T.default)(me.default,{className:"form-control",debounceTimeout:We,onChange:e._getOnChange("name_label"),value:r})),(0,T.default)(Qe,{label:(0,ae.default)("newVmDescriptionLabel")},void 0,(0,T.default)(me.default,{className:"form-control",debounceTimeout:We,onChange:e._getOnChange("name_description"),value:n}))))},e._isInfoDone=function(){var t=e.state.state,n=t.template,r=t.name_label;return r&&n},e._renderPerformances=function(){var t=e.state.state,n=t.CPUs,r=t.memoryDynamicMax;return(0,T.default)(Ee.Section,{icon:"new-vm-perf",title:"newVmPerfPanel",done:e._isPerformancesDone()},void 0,(0,T.default)(Ye,{},void 0,(0,T.default)(Qe,{label:(0,ae.default)("newVmVcpusLabel")},void 0,(0,T.default)(me.default,{className:"form-control",debounceTimeout:We,min:0,onChange:e._getOnChange("CPUs"),type:"number",value:n})),(0,T.default)(Qe,{label:(0,ae.default)("newVmRamLabel")},void 0,(0,T.default)(Be.SizeInput,{className:Ue.default.sizeInput,onChange:e._linkState("memoryDynamicMax"),value:(0,Ve.firstDefined)(r,null)}))))},e._isPerformancesDone=function(){var t=e.state.state,n=t.CPUs,r=t.memoryDynamicMax;return n&&null!=r},e._renderInstallSettings=function(){var t=e.state.state.template;if(t){var n=e.state.state,r=n.cloudConfig,o=n.configDrive,a=n.customConfig,i=n.installIso,s=n.installMethod,l=n.installNetwork,u=n.newSshKey,c=n.pv_args,d=n.sshKeys,f=e.props.intl.formatMessage;return(0,T.default)(Ee.Section,{icon:"new-vm-install-settings",title:"newVmInstallSettingsPanel",done:e._isInstallSettingsDone()},void 0,e._isDiskTemplate?(0,T.default)(Ye,{column:!0},"diskTemplate",(0,T.default)($e,{},void 0,(0,T.default)("div",{className:Ue.default.configDrive},void 0,(0,T.default)("span",{className:Ue.default.configDriveToggle},void 0,(0,ae.default)("newVmConfigDrive"))," ",(0,T.default)("span",{className:Ue.default.configDriveToggle},void 0,(0,T.default)(Be.Toggle,{value:o,onChange:e._getOnChange("configDrive")})))),(0,T.default)($e,{},void 0,(0,T.default)("span",{},void 0,(0,T.default)("input",{checked:"SSH"===s,disabled:!o,name:"installMethod",onChange:e._getOnChange("installMethod"),type:"radio",value:"SSH"})," ",(0,T.default)("span",{},void 0,(0,ae.default)("newVmSshKey")))," ",(0,T.default)("span",{className:(0,pe.default)("input-group",Ue.default.fixedWidth)},void 0,(0,T.default)(me.default,{className:"form-control",disabled:!o||"SSH"!==s,debounceTimeout:We,onChange:e._getOnChange("newSshKey"),value:u}),(0,T.default)("span",{className:"input-group-btn"},void 0,(0,T.default)(de.default,{onClick:e._addNewSshKey,disabled:!u},void 0,et))),e.props.userSshKeys&&e.props.userSshKeys.length>0&&(0,T.default)("span",{className:Ue.default.fixedWidth},void 0,(0,T.default)(Ie.SelectSshKey,{disabled:!o||"SSH"!==s,onChange:e._onChangeSshKeys,multi:!0,value:d||[]}))),(0,T.default)($e,{},void 0,(0,T.default)("input",{checked:"customConfig"===s,disabled:!o,name:"installMethod",onChange:e._getOnChange("installMethod"),type:"radio",value:"customConfig"})," ",(0,T.default)("span",{},void 0,(0,ae.default)("newVmCustomConfig"))," ",(0,T.default)(me.default,{className:(0,pe.default)("form-control",Ue.default.customConfig),debounceTimeout:We,disabled:!o||"customConfig"!==s,element:"textarea",onChange:e._getOnChange("customConfig"),value:a}))):(0,T.default)(Ye,{},void 0,(0,T.default)(Qe,{},void 0,(0,T.default)("span",{className:Ue.default.item},void 0,(0,T.default)("input",{checked:"ISO"===s,name:"installMethod",onChange:e._getOnChange("installMethod"),type:"radio",value:"ISO"})," ",(0,T.default)("span",{},void 0,(0,ae.default)("newVmIsoDvdLabel"))," ",(0,T.default)("span",{className:Ue.default.inlineSelect},void 0,e.props.pool?(0,T.default)(Ie.SelectVdi,{disabled:"ISO"!==s,onChange:e._getOnChange("installIso"),srPredicate:e._getIsoPredicate(),value:i}):(0,T.default)(Ie.SelectResourceSetsVdi,{disabled:"ISO"!==s,onChange:e._getOnChange("installIso"),resourceSet:e._getResolvedResourceSet(),srPredicate:e._getIsoPredicate(),value:i})))),"pv"===t.virtualizationMode?(0,T.default)("span",{},void 0,(0,T.default)(Qe,{},void 0,(0,T.default)("input",{checked:"network"===s,name:"installMethod",onChange:e._getOnChange("installMethod"),type:"radio",value:"network"})," ",(0,T.default)("span",{},void 0,(0,ae.default)("newVmNetworkLabel"))," ",(0,T.default)(me.default,{className:"form-control",debounceTimeout:We,disabled:"network"!==s,onChange:e._getOnChange("installNetwork"),placeholder:f(oe.messages.newVmInstallNetworkPlaceHolder),value:l},"networkInput")),(0,T.default)(Qe,{label:(0,ae.default)("newVmPvArgsLabel")},"pv",(0,T.default)(me.default,{className:"form-control",debounceTimeout:We,onChange:e._getOnChange("pv_args"),value:c}))):(0,T.default)(Qe,{},void 0,(0,T.default)("input",{checked:"PXE"===s,name:"installMethod",onChange:e._getOnChange("installMethod"),type:"radio",value:"PXE"})," ",(0,T.default)("span",{},void 0,(0,ae.default)("newVmPxeLabel")))),"CoreOS"===t.name_label&&(0,T.default)("div",{},void 0,(0,T.default)("label",{},void 0,(0,ae.default)("newVmCloudConfig")),(0,T.default)(me.default,{className:"form-control",debounceTimeout:We,element:"textarea",onChange:e._getOnChange("cloudConfig"),rows:7,value:r})))}},e._isInstallSettingsDone=function(){var t=e.state.state,n=t.configDrive,r=t.customConfig,o=t.installIso,a=t.installMethod,i=t.installNetwork,s=t.sshKeys,l=t.template;switch(a){case"customConfig":return r||!n;case"ISO":return o;case"network":return/^(http|ftp|nfs)/i.exec(i);case"PXE":return!0;case"SSH":return!(0,q.default)(s)||!n;default:return l&&e._isDiskTemplate&&!n}},e._renderInterfaces=function(){var t=e.state.state.VIFs;return(0,T.default)(Ee.Section,{icon:"new-vm-interfaces",title:"newVmInterfacesPanel",done:e._isInterfacesDone()},void 0,(0,T.default)(Ye,{column:!0},void 0,(0,D.default)(t,function(n,r){return(0,T.default)("div",{},r,(0,T.default)(Ze,{networkPredicate:e._getNetworkPredicate(),onChangeAddresses:e._linkState("VIFs."+r+".addresses","*.id"),onChangeMac:e._linkState("VIFs."+r+".mac"),onChangeNetwork:e._linkState("VIFs."+r+".network","id"),onDelete:function(){return e._removeInterface(r)},pool:e.props.pool,resourceSet:e._getResolvedResourceSet(),vif:n}),r<t.length-1&&tt)}),(0,T.default)(Qe,{},void 0,(0,T.default)(de.default,{onClick:e._addInterface},void 0,nt," ",(0,ae.default)("newVmAddInterface")))))},e._isInterfacesDone=function(){return(0,te.default)(e.state.state.VIFs,function(e){return e.network})},e._renderDisks=function(){var t=e.state.state,n=t.configDrive,r=t.existingDisks,o=t.VDIs,a=e.props.pool,i=0,s=e._getResolvedResourceSet();return(0,T.default)(Ee.Section,{icon:"new-vm-disks",title:"newVmDisksPanel",done:e._isDisksDone()},void 0,(0,T.default)(Ye,{column:!0},void 0,(0,D.default)(r,function(t,l){return(0,T.default)("div",{},i,(0,T.default)($e,{},void 0,(0,T.default)(Qe,{label:(0,ae.default)("newVmSrLabel")},void 0,(0,T.default)("span",{className:Ue.default.inlineSelect},void 0,a?(0,T.default)(Ie.SelectSr,{onChange:e._getOnChange("existingDisks",l,"$SR","id"),predicate:e._getSrPredicate(),value:t.$SR}):(0,T.default)(Ie.SelectResourceSetsSr,{onChange:e._getOnChange("existingDisks",l,"$SR","id"),predicate:e._getSrPredicate(),resourceSet:s,value:t.$SR})))," ",(0,T.default)(Qe,{label:(0,ae.default)("newVmNameLabel")},void 0,(0,T.default)(me.default,{className:"form-control",debounceTimeout:We,onChange:e._getOnChange("existingDisks",l,"name_label"),value:t.name_label})),(0,T.default)(Qe,{label:(0,ae.default)("newVmDescriptionLabel")},void 0,(0,T.default)(me.default,{className:"form-control",debounceTimeout:We,onChange:e._getOnChange("existingDisks",l,"name_description"),value:t.name_description})),(0,T.default)(Qe,{label:(0,ae.default)("newVmSizeLabel")},void 0,(0,T.default)(Be.SizeInput,{className:Ue.default.sizeInput,onChange:e._getOnChange("existingDisks",l,"size"),readOnly:!n,value:(0,Ve.firstDefined)(t.size,null)}))),i++<(0,z.default)(r)+o.length-1&&rt)}),(0,D.default)(o,function(t,n){return(0,T.default)("div",{},t.device,(0,T.default)($e,{},void 0,(0,T.default)(Qe,{label:(0,ae.default)("newVmSrLabel")},void 0,(0,T.default)("span",{className:Ue.default.inlineSelect},void 0,a?(0,T.default)(Ie.SelectSr,{onChange:e._getOnChange("VDIs",n,"SR","id"),predicate:e._getSrPredicate(),value:t.SR}):(0,T.default)(Ie.SelectResourceSetsSr,{onChange:e._getOnChange("VDIs",n,"SR","id"),predicate:e._getSrPredicate(),resourceSet:s,value:t.SR}))),(0,T.default)(Qe,{label:(0,ae.default)("newVmNameLabel")},void 0,(0,T.default)(me.default,{className:"form-control",debounceTimeout:We,onChange:e._getOnChange("VDIs",n,"name_label"),value:t.name_label})),(0,T.default)(Qe,{label:(0,ae.default)("newVmDescriptionLabel")},void 0,(0,T.default)(me.default,{className:"form-control",debounceTimeout:We,onChange:e._getOnChange("VDIs",n,"name_description"),value:t.name_description})),(0,T.default)(Qe,{label:(0,ae.default)("newVmSizeLabel")},void 0,(0,T.default)(Be.SizeInput,{className:Ue.default.sizeInput,onChange:e._getOnChange("VDIs",n,"size"),value:(0,Ve.firstDefined)(t.size,null)})),(0,T.default)(Qe,{},void 0,(0,
|
92 | T.default)(de.default,{onClick:function(){return e._removeVdi(n)}},void 0,ot))),n<o.length-1&&at)}),(0,T.default)(Qe,{},void 0,(0,T.default)(de.default,{onClick:e._addVdi},void 0,it," ",(0,ae.default)("newVmAddDisk")))))},e._isDisksDone=function(){return(0,te.default)(e.state.state.VDIs,function(e){return e.SR&&e.name_label&&void 0!==e.size})&&(0,te.default)(e.state.state.existingDisks,function(e,t){return e.$SR&&e.name_label&&void 0!==e.size})},e._renderAdvanced=function(){var t=e.state.state,n=t.affinityHost,r=t.autoPoweron,o=t.bootAfterCreate,a=t.cpuCap,i=t.cpuWeight,s=t.memoryDynamicMin,l=t.memoryDynamicMax,u=t.memoryStaticMax,c=t.multipleVms,d=t.nameLabels,f=t.namePattern,p=t.nbVms,h=t.seqStart,m=t.share,v=t.showAdvanced,b=t.tags,g=e.props.intl.formatMessage;return(0,T.default)(Ee.Section,{icon:"new-vm-advanced",title:"newVmAdvancedPanel",done:e._isAdvancedDone()},void 0,(0,T.default)(Ye,{column:!0},void 0,(0,T.default)(de.default,{onClick:e._toggleState("showAdvanced")},void 0,v?(0,ae.default)("newVmHideAdvanced"):(0,ae.default)("newVmShowAdvanced"))),v&&[st,(0,T.default)(Ye,{},void 0,(0,T.default)(Qe,{},void 0,(0,T.default)("input",{checked:o,onChange:e._getOnChangeCheckbox("bootAfterCreate"),type:"checkbox"})," ",(0,ae.default)("newVmBootAfterCreate")),(0,T.default)(Qe,{},void 0,(0,T.default)("input",{checked:r,onChange:e._getOnChangeCheckbox("autoPoweron"),type:"checkbox"})," ",(0,ae.default)("autoPowerOn")),(0,T.default)(Qe,{className:Ue.default.tags},void 0,(0,T.default)(Pe.default,{labels:b,onChange:e._linkState("tags")}))),void 0!==e._getResourceSet()&&(0,T.default)(Ye,{},void 0,(0,T.default)(Qe,{},void 0,(0,T.default)("input",{checked:m,onChange:e._getOnChangeCheckbox("share"),type:"checkbox"})," ",(0,ae.default)("newVmShare"))),(0,T.default)(Ye,{},void 0,(0,T.default)(Qe,{label:(0,ae.default)("newVmCpuWeightLabel")},void 0,(0,T.default)(me.default,{className:"form-control",debounceTimeout:We,min:0,max:65535,onChange:e._getOnChange("cpuWeight"),placeholder:g(oe.messages.newVmDefaultCpuWeight,{value:De.XEN_DEFAULT_CPU_WEIGHT}),type:"number",value:i})),(0,T.default)(Qe,{label:(0,ae.default)("newVmCpuCapLabel")},void 0,(0,T.default)(me.default,{className:"form-control",debounceTimeout:We,min:0,onChange:e._getOnChange("cpuCap"),placeholder:g(oe.messages.newVmDefaultCpuCap,{value:De.XEN_DEFAULT_CPU_CAP}),type:"number",value:a}))),(0,T.default)(Ye,{},void 0,(0,T.default)(Qe,{label:(0,ae.default)("newVmDynamicMinLabel")},void 0,(0,T.default)(Be.SizeInput,{value:(0,Ve.firstDefined)(s,null),onChange:e._linkState("memoryDynamicMin"),className:Ue.default.sizeInput})),(0,T.default)(Qe,{label:(0,ae.default)("newVmDynamicMaxLabel")},void 0,(0,T.default)(Be.SizeInput,{value:(0,Ve.firstDefined)(l,null),onChange:e._linkState("memoryDynamicMax"),className:Ue.default.sizeInput})),(0,T.default)(Qe,{label:(0,ae.default)("newVmStaticMaxLabel")},void 0,(0,T.default)(Be.SizeInput,{value:(0,Ve.firstDefined)(u,null),onChange:e._linkState("memoryStaticMax"),className:Ue.default.sizeInput}))),(0,T.default)(Ye,{},void 0,(0,T.default)(Qe,{label:(0,ae.default)("newVmMultipleVms")},void 0,(0,T.default)(Be.Toggle,{value:c,onChange:e._getOnChange("multipleVms")})),(0,T.default)(Qe,{label:(0,ae.default)("newVmMultipleVmsPattern")},void 0,(0,T.default)(me.default,{className:"form-control",debounceTimeout:We,disabled:!c,onChange:e._getOnChange("namePattern"),placeholder:g(oe.messages.newVmMultipleVmsPatternPlaceholder),value:f})),(0,T.default)(Qe,{label:(0,ae.default)("newVmFirstIndex")},void 0,(0,T.default)(me.default,{className:"form-control",debounceTimeout:We,disabled:!c,onChange:e._getOnChange("seqStart"),type:"number",value:h})),(0,T.default)(Qe,{className:"input-group"},void 0,(0,T.default)(me.default,{className:"form-control",debounceTimeout:We,disabled:!c,max:Xe,min:He,onChange:e._getOnChange("nbVms"),type:"number",value:p}),(0,T.default)("span",{className:"input-group-btn"},void 0,(0,T.default)(Oe.default,{content:(0,ae.default)("newVmNumberRecalculate")},void 0,(0,T.default)(de.default,{disabled:!c,onClick:e._updateNbVms},void 0,lt)))),(0,T.default)(Qe,{},void 0,(0,T.default)(Oe.default,{content:(0,ae.default)("newVmNameRefresh")},void 0,(0,T.default)("a",{className:Ue.default.refreshNames,onClick:e._updateNameLabels},void 0,ut))),c&&(0,T.default)($e,{},void 0,(0,D.default)(d,function(t,n){return(0,T.default)(Qe,{},"nameLabel_"+n,(0,T.default)("input",{type:"text",className:"form-control",value:t,onChange:e._getOnChange("nameLabels",n)}))}))),(0,T.default)(Ye,{},void 0,(0,T.default)(Qe,{label:(0,ae.default)("newVmAffinityHost")},void 0,(0,T.default)(Ie.SelectHost,{onChange:e._linkState("affinityHost"),predicate:e._getAffinityHostPredicate(),value:n})))])},e._isAdvancedDone=function(){var t=e.state.state,n=t.memoryDynamicMin,r=t.memoryDynamicMax,o=t.memoryStaticMax;return null!=r&&(null==n||n<=r)&&(null==o||r<=o)},e._renderSummary=function(){var t=e.state.state,n=t.CPUs,r=t.existingDisks,o=t.fastClone,a=t.memoryDynamicMax,i=t.multipleVms,s=t.nameLabels,l=t.VDIs,u=t.VIFs,c=i?s.length:1,d=e._getResourceSet(),f=d&&d.limits,p=f&&f.cpus,h=f&&f.memory,m=f&&f.disk;return(0,T.default)(Ee.Section,{icon:"new-vm-summary",title:"newVmSummaryPanel",summary:!0},void 0,(0,T.default)(Re.Container,{},void 0,(0,T.default)(Re.Row,{},void 0,(0,T.default)(Re.Col,{size:3,className:"text-xs-center"},void 0,(0,T.default)("h2",{},void 0,n||0,"x"," ",ct)),(0,T.default)(Re.Col,{size:3,className:"text-xs-center"},void 0,(0,T.default)("h2",{},void 0,a?(0,Ve.formatSize)(a):"0 B"," ",dt)),(0,T.default)(Re.Col,{size:3,className:"text-xs-center"},void 0,(0,T.default)("h2",{},void 0,(0,z.default)(r)+l.length||0,"x"," ",ft)),(0,T.default)(Re.Col,{size:3,className:"text-xs-center"},void 0,(0,T.default)("h2",{},void 0,u.length,"x"," ",pt))),f&&(0,T.default)(Re.Row,{},void 0,(0,T.default)(Re.Col,{size:3},void 0,p&&(0,T.default)(Le.Limits,{limit:p.total,toBeUsed:n*c,used:p.total-p.available})),(0,T.default)(Re.Col,{size:3},void 0,h&&(0,T.default)(Le.Limits,{limit:h.total,toBeUsed:a*c,used:h.total-h.available})),(0,T.default)(Re.Col,{size:3},void 0,m&&(0,T.default)(Le.Limits,{limit:m.total,toBeUsed:((0,P.default)(l,"size")+(0,O.default)((0,D.default)(r,function(e){return e.size})))*c,used:m.total-m.available})))),e._isDiskTemplate&&(0,T.default)("div",{style:{display:"flex"}},void 0,(0,T.default)("span",{style:{margin:"auto"}},void 0,(0,T.default)("input",{checked:o,onChange:e._getOnChangeCheckbox("fastClone"),type:"checkbox"})," ",ht," ",(0,ae.default)("fastCloneVmLabel"))))},e._availableResources=function(){var t=e._getResourceSet();if(!t)return!0;var n=e.state.state,r=n.CPUs,o=n.existingDisks,a=n.memoryDynamicMax,i=n.VDIs,s=n.multipleVms,l=n.nameLabels,u=s?l.length:1;return!(r*u>(0,K.default)(t,"limits.cpus.available")||a*u>(0,K.default)(t,"limits.memory.available")||((0,P.default)(i,"size")+(0,O.default)((0,D.default)(o,function(e){return e.size})))*u>(0,K.default)(t,"limits.disk.available"))},e._uniqueId=0,e.state={state:{}},e}return(0,x.default)(t,e),(0,M.default)(t,[{key:"componentDidMount",value:function(){this._reset()}},{key:"getUniqueId",value:function(){return this._uniqueId++}},{key:"_getOnChange",value:function(e,t,n,r){var o=this;return function(a){var i=void 0;if(void 0!==t){i=o.state.state[e],i=(0,U.default)(i)?[].concat((0,p.default)(i)):(0,m.default)({},i);var s=(0,be.default)(a);s=r?s[r]:s,i[t]&&n?i[t][n]=s:i[t]=s}else i=(0,be.default)(a);o._setState((0,d.default)({},e,i))}}},{key:"_getOnChangeCheckbox",value:function(e,t,n){var r=this;return function(o){var a=void 0;if(void 0!==t){a=r.state.state[e],a=[].concat((0,p.default)(a));var i=o.target.checked;n?a[t][n]=i:a[t]=i}else a=o.target.checked;r._setState((0,d.default)({},e,a))}}},{key:"render",value:function(){var e=this.props.pool;return(0,T.default)(Se.default,{header:this._renderHeader()},void 0,(e||this._getResourceSet())&&(0,T.default)("form",{id:"vmCreation"},void 0,(0,T.default)(ze.default,{},void 0,this._renderInfo(),this._renderPerformances(),this._renderInstallSettings(),this._renderInterfaces(),this._renderDisks(),this._renderAdvanced(),this._renderSummary()),(0,T.default)("div",{className:Ue.default.submitSection},void 0,(0,T.default)(se.default,{className:Ue.default.button,handler:this._reset,icon:"new-vm-reset"},void 0,(0,ae.default)("newVmReset")),(0,T.default)(se.default,{btnStyle:"primary",className:Ue.default.button,disabled:!(this._isInfoDone()&&this._isPerformancesDone()&&this._isInstallSettingsDone()&&this._isInterfacesDone()&&this._isDisksDone()&&this._isAdvancedDone()&&this._availableResources()),form:"vmCreation",handler:this._create,icon:"new-vm-create",redirectOnSuccess:this._getRedirectionUrl},void 0,(0,ae.default)("newVmCreate")))))}},{key:"_isDiskTemplate",get:function(){var e=this.state.state.template;return e&&0===e.template_info.disks.length&&"Other install media"!==e.name_label}}]),t}(ue.default),l.contextTypes={router:xe.default.PropTypes.object},s=u))||s)||s)||s);n.default=mt},{"../page":1578,"./index.css":1573,"action-button":1401,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/defineProperty":24,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/toConsumableArray":32,"base-component":1405,button:1407,classnames:157,form:1425,"get-event-value":1430,grid:1431,icon:1435,intl:1436,"is-ip":365,"lodash/clamp":694,"lodash/every":708,"lodash/filter":709,"lodash/find":710,"lodash/forEach":716,"lodash/get":724,"lodash/includes":728,"lodash/isArray":731,"lodash/isEmpty":735,"lodash/join":748,"lodash/map":754,"lodash/size":772,"lodash/slice":773,"lodash/sum":780,"lodash/sumBy":781,react:1269,"react-debounce-input":941,"react-intl":1103,"select-objects":1469,selectors:1470,store:1479,tags:1482,tooltip:1488,usage:1489,utils:1490,wizard:1492,xo:1519}],1575:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("utils"),a=e("./sr"),i=r(a),s=(0,o.routes)("vm",{sr:i.default})(function(e){var t=e.children;return t});n.default=s},{"./sr":1576,utils:1490}],1576:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l,u,c=e("babel-runtime/regenerator"),d=r(c),f=e("babel-runtime/helpers/asyncToGenerator"),p=r(f),h=e("babel-runtime/helpers/jsx"),m=r(h),v=e("babel-runtime/core-js/object/get-prototype-of"),b=r(v),g=e("babel-runtime/helpers/classCallCheck"),y=r(g),_=e("babel-runtime/helpers/createClass"),M=r(_),w=e("babel-runtime/helpers/possibleConstructorReturn"),S=r(w),C=e("babel-runtime/helpers/inherits"),x=r(C),k=e("intl"),T=r(k),A=e("action-button"),P=r(A),N=e("base-component"),O=r(N),E=e("lodash/filter"),z=r(E),R=e("icon"),j=r(R),L=e("lodash/includes"),D=r(L),I=e("notification"),B=r(I),V=e("lodash/isEmpty"),q=r(V),F=e("lodash/map"),U=r(F),W=e("../../page"),H=r(W),X=e("prop-types"),K=r(X),G=e("react"),Y=r(G),$=e("store"),Q=r($),J=e("lodash/trim"),Z=r(J),ee=e("wizard"),te=r(ee),ne=e("modal"),re=e("utils"),oe=e("grid"),ae=e("react-intl"),ie=e("form"),se=e("select-objects"),le=e("selectors"),ue=e("xo"),ce=(o=(0,K.default)({onChange:K.default.func.isRequired,options:K.default.array.isRequired}),o(a=function(e){function t(){var e,n,r,o;(0,y.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,S.default)(this,(e=t.__proto__||(0,b.default)(t)).call.apply(e,[this].concat(i))),r._handleChange=function(e){var t=r.props.onChange;e=e.value;var n=e.indexOf("$");r.setState({value:e},function(){return t({ip:e.slice(0,n),iqn:e.slice(n+1)})})},o=n,(0,S.default)(r,o)}return(0,x.default)(t,e),(0,M.default)(t,[{key:"_computeOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;this.setState({options:(0,U.default)(e.options,function(e,t){return{value:e.ip+"$"+e.iqn,label:e.iqn+" ("+e.ip+")"}})})}},{key:"componentWillMount",value:function(){this._computeOptions()}},{key:"componentWillReceiveProps",value:function(e){this._computeOptions(e)}},{key:"render",value:function(){var e=this.state;return(0,m.default)(ie.Select,{clearable:!1,onChange:this._handleChange,options:e.options,value:e.value})}}]),t}(O.default))||a),de=(i=(0,K.default)({onChange:K.default.func.isRequired,options:K.default.array.isRequired}),i(s=function(e){function t(){var e,n,r,o;(0,y.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,S.default)(this,(e=t.__proto__||(0,b.default)(t)).call.apply(e,[this].concat(i))),r._handleChange=function(e){var t=r.props,n=t.onChange,o=t.options;e=e.value,r.setState({value:e},function(){return n(o[e])})},o=n,(0,S.default)(r,o)}return(0,x.default)(t,e),(0,M.default)(t,[{key:"_computeOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;this.setState({options:(0,U.default)(e.options,function(e){return{value:e.id,label:"LUN "+e.id+": "+e.serial+" - "+(0,re.formatSize)(+e.size)+" - ("+e.vendor+")"}})})}},{key:"componentWillMount",value:function(){this._computeOptions()}},{key:"componentWillReceiveProps",value:function(e){this._computeOptions(e)}},{key:"render",value:function(){var e=this.state;return(0,m.default)(ie.Select,{clearable:!1,onChange:this._handleChange,options:e.options,value:e.value})}}]),t}(O.default))||s),fe={nfs:"NFS",iscsi:"iSCSI",lvm:"Local LVM",local:"Local",nfsiso:"NFS ISO",smb:"SMB"},pe={vdisr:"VDI SR",isosr:"ISO SR"},he={vdisr:["nfs","iscsi","lvm"],isosr:["local","nfsiso","smb"]},me=function(e){return"/srs/"+e},ve=(0,m.default)(j.default,{icon:"sr"}),be=(0,m.default)(j.default,{icon:"loading"}),ge=(l=(0,re.connectStore)(function(){return{hosts:(0,le.createGetObjectsOfType)("host"),srs:(0,le.createGetObjectsOfType)("SR")}}),(0,ae.injectIntl)(u=l(u=function(e){function t(e){var n=this;(0,y.default)(this,t);var r=(0,S.default)(this,(t.__proto__||(0,b.default)(t)).call(this,e));r._handleSubmit=(0,p.default)(d.default.mark(function e(){var t,o,a,i,s,l,u,c,f,h,v,b,g,y,_,M;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.refs,o=t.description,a=t.device,i=t.localPath,s=t.name,l=t.password,u=t.port,c=t.server,f=t.username,h=r.state,v=h.host,b=h.iqn,g=h.lun,y=h.path,_=h.type,M={nfs:function(){var e=(0,p.default)(d.default.mark(function e(){var t;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ue.probeSrNfsExists)(v.id,c.value,y);case 2:if(t=e.sent,!(t&&t.length>0)){e.next=12;break}return e.prev=4,e.next=7,(0,ne.confirm)({title:(0,T.default)("existingSrModalTitle"),body:(0,m.default)("p",{},void 0,(0,T.default)("existingSrModalText"))});case 7:e.next=12;break;case 9:return e.prev=9,e.t0=e.catch(4),e.abrupt("return");case 12:return e.abrupt("return",(0,ue.createSrNfs)(v.id,s.value,o.value,c.value,y));case 13:case"end":return e.stop()}},e,n,[[4,9]])}));return function(){return e.apply(this,arguments)}}(),iscsi:function(){var e=(0,p.default)(d.default.mark(function e(){var t;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,ue.probeSrIscsiExists)(v.id,b.ip,b.iqn,g.scsiId,+u.value,f&&f.value,l&&l.value);case 2:if(t=e.sent,!(t&&t.length>0)){e.next=12;break}return e.prev=4,e.next=7,(0,ne.confirm)({title:(0,T.default)("existingLunModalTitle"),body:(0,m.default)("p",{},void 0,(0,T.default)("existingLunModalText"))});case 7:e.next=12;break;case 9:return e.prev=9,e.t0=e.catch(4),e.abrupt("return");case 12:return e.abrupt("return",(0,ue.createSrIscsi)(v.id,s.value,o.value,b.ip,b.iqn,g.scsiId,+u.value,f&&f.value,l&&l.value));case 13:case"end":return e.stop()}},e,n,[[4,9]])}));return function(){return e.apply(this,arguments)}}(),lvm:function(){return(0,ue.createSrLvm)(v.id,s.value,o.value,a.value)},local:function(){return(0,ue.createSrIso)(v.id,s.value,o.value,i.value,"local")},nfsiso:function(){return(0,ue.createSrIso)(v.id,s.value,o.value,c.value+":"+y,"nfs",f&&f.value,l&&l.value)},smb:function(){return(0,ue.createSrIso)(v.id,s.value,o.value,c.value,"smb",f&&f.value,l&&l.value)}},e.prev=3,e.next=6,M[_]();case 6:return e.abrupt("return",e.sent);case 9:e.prev=9,e.t0=e.catch(3),(0,I.error)("SR Creation",e.t0.message||String(e.t0));case 12:case"end":return e.stop()}},e,n,[[3,9]])})),r._handleSrHostSelection=function(e){return r.setState({host:e})},r._handleNameChange=function(e){return r.setState({name:e.target.value})},r._handleDescriptionChange=function(e){return r.setState({description:e.target.value})},r._handleSrTypeSelection=function(e){var t=e.target.value;r.setState({type:t,paths:void 0,iqns:void 0,usage:void 0,used:void 0,unused:void 0,summary:"lvm"===t||"local"===t||"smb"===t})},r._handleSrIqnSelection=function(){var e=(0,p.default)(d.default.mark(function e(t){var o,a,i,s,l;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.refs,a=o.username,i=o.password,s=r.state.host,e.prev=2,r.setState({loading:!0}),e.next=6,(0,ue.probeSrIscsiLuns)(s.id,t.ip,t.iqn,a&&a.value,i&&i.value);case 6:l=e.sent,r.setState({iqn:t,luns:l}),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(2),(0,I.error)("LUNs Detection",e.t0.message||String(e.t0));case 13:return e.prev=13,r.setState({loading:void 0}),e.finish(13);case 16:case"end":return e.stop()}},e,n,[[2,10,13,16]])}));return function(t){return e.apply(this,arguments)}}(),r._handleSrLunSelection=function(){var e=(0,p.default)(d.default.mark(function e(t){var o,a,i,s,l,u,c;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.refs,a=o.password,i=o.port,s=o.username,l=r.state,u=l.host,c=l.iqn,e.prev=2,e.delegateYield(d.default.mark(function e(){var o,l,f,p;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.setState({loading:!0}),e.next=3,(0,ue.probeSrIscsiExists)(u.id,c.ip,c.iqn,t.scsiId,+i.value,s&&s.value,a&&a.value);case 3:o=e.sent,l=(0,U.default)(r.getHostSrs(),function(e){return e.id}),f=(0,z.default)(o,function(e){return(0,D.default)(l,e.id)}),p=(0,z.default)(o,function(e){return!(0,D.default)(l,e.id)}),r.setState({lun:t,usage:!0,used:f,unused:p,summary:f.length<=0});case 8:case"end":return e.stop()}},e,n)})(),"t0",4);case 4:e.next=9;break;case 6:e.prev=6,e.t1=e.catch(2),(0,I.error)("iSCSI Error",e.t1.message||String(e.t1));case 9:return e.prev=9,r.setState({loading:void 0}),e.finish(9);case 12:case"end":return e.stop()}},e,n,[[2,6,9,12]])}));return function(t){return e.apply(this,arguments)}}(),r._handleAuthChoice=function(){var e=r.refs.auth.checked;r.setState({auth:e})},r._handleSearchServer=(0,p.default)(d.default.mark(function e(){var t,o,a,i,s,l,u,c,f,p;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.refs,o=t.password,a=t.port,i=t.server,s=t.username,l=r.state,u=l.host,c=l.type,e.prev=2,"nfs"!==c&&"nfsiso"!==c){e.next=10;break}return e.next=6,(0,ue.probeSrNfs)(u.id,i.value);case 6:f=e.sent,r.setState({usage:void 0,paths:f}),e.next=15;break;case 10:if("iscsi"!==c){e.next=15;break}return e.next=13,(0,ue.probeSrIscsiIqns)(u.id,i.value,+a.value,s&&s.value,o&&o.value);case 13:p=e.sent,p.length?r.setState({usage:void 0,iqns:p}):(0,B.default)("iSCSI Detection","No IQNs found");case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(2),(0,I.error)("Server Detection",e.t0.message||String(e.t0));case 20:case"end":return e.stop()}},e,n,[[2,17]])})),r._handleSrPathSelection=function(){var e=(0,p.default)(d.default.mark(function e(t){var o,a;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.refs.server,a=r.state.host,e.prev=2,e.delegateYield(d.default.mark(function e(){var i,s,l,u;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.setState({loading:!0}),e.next=3,(0,ue.probeSrNfsExists)(a.id,o.value,t);case 3:i=e.sent,s=(0,U.default)(r.getHostSrs(),function(e){return e.id}),l=(0,z.default)(i,function(e){return(0,D.default)(s,e.id)}),u=(0,z.default)(i,function(e){return!(0,D.default)(s,e.id)}),r.setState({path:t,usage:!0,used:l,unused:u,summary:l.length<=0});case 8:case"end":return e.stop()}},e,n)})(),"t0",4);case 4:e.next=9;break;case 6:e.prev=6,e.t1=e.catch(2),(0,I.error)("NFS Error",e.t1.message||String(e.t1));case 9:return e.prev=9,r.setState({loading:void 0}),e.finish(9);case 12:case"end":return e.stop()}},e,n,[[2,6,9,12]])}));return function(t){return e.apply(this,arguments)}}(),r._reattach=function(){var e=(0,p.default)(d.default.mark(function e(t){var o,a,i,s,l,u,c;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return o=r.state,a=o.host,i=o.type,s=r.refs,l=s.name,u=s.description,l=(0,Z.default)(l),u=(0,Z.default)(u),((0,q.default)(l)||(0,q.default)(u))&&(0,I.error)("Missing General Parameters","Please complete General Information"),c="nfsiso"===i?ue.reattachSrIso:ue.reattachSr,e.prev=6,e.next=9,c(a.id,t,l,u,i);case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(6),(0,I.error)("Reattach",e.t0.message||String(e.t0));case 14:case"end":return e.stop()}},e,n,[[6,11]])}));return function(t){return e.apply(this,arguments)}}();var o=e.location.query.host;return r.state={description:void 0,host:o&&(0,le.getObject)(Q.default.getState(),o),iqn:void 0,iqns:void 0,lockCreation:void 0,lun:void 0,luns:void 0,name:void 0,path:void 0,paths:void 0,type:void 0,unused:void 0,usage:void 0,used:void 0},r.getHostSrs=(0,le.createFilter)(function(){return r.props.srs},(0,le.createSelector)(function(){return r.state.host},function(e){var t=e.$pool,n=e.id;return function(e){return e.$container===t||e.$container===n}}),!0),r}return(0,x.default)(t,e),(0,M.default)(t,[{key:"_renderHeader",value:function(){return(0,m.default)(oe.Container,{},void 0,(0,m.default)(oe.Row,{},void 0,(0,m.default)(oe.Col,{},void 0,(0,m.default)("h2",{},void 0,ve," ",(0,T.default)("newSrTitle")))))}},{key:"render",value:function(){var e=this,t=this.props.hosts,n=this.state,r=n.auth,o=n.host,a=n.iqns,i=n.loading,s=n.lockCreation,l=n.lun,u=n.luns,c=n.path,d=n.paths,f=n.summary,p=n.type,h=n.unused,v=n.usage,b=n.used,g=this.props.intl.formatMessage;return(0,m.default)(H.default,{header:this._renderHeader()},void 0,(0,m.default)("form",{id:"newSrForm"},void 0,(0,m.default)(te.default,{},void 0,(0,m.default)(ee.Section,{icon:"sr",title:"newSrGeneral"},void 0,(0,m.default)("fieldset",{className:"form-group"},void 0,(0,m.default)("label",{},void 0,(0,T.default)("newSrHost")),(0,m.default)(se.SelectHost,{value:o,options:t,onChange:this._handleSrHostSelection}),(0,m.default)("label",{htmlFor:"srName"},void 0,(0,T.default)("newSrName")),Y.default.createElement("input",{id:"srName",className:"form-control",placeholder:g(k.messages.newSrNamePlaceHolder),ref:"name",onBlur:this._handleNameChange,required:!0,type:"text"}),(0,m.default)("label",{htmlFor:"srDescription"},void 0,(0,T.default)("newSrDescription")),Y.default.createElement("input",{id:"srDescription",className:"form-control",placeholder:g(k.messages.newSrDescPlaceHolder),ref:"description",onBlur:this._handleDescriptionChange,required:!0,type:"text"}),(0,m.default)("label",{htmlFor:"selectSrType"},void 0,(0,T.default)("newSrTypeSelection")),(0,m.default)("select",{className:"form-control",defaultValue:null,id:"selectSrType",onChange:this._handleSrTypeSelection,required:!0},void 0,(0,m.default)("option",{value:null},void 0,g(k.messages.noSelectedValue)),(0,U.default)(he,function(e,t){return(0,m.default)("optgroup",{label:pe[t]},void 0,(0,U.default)(e,function(e){return(0,m.default)("option",{value:e},e,fe[e])}))})))),(0,m.default)(ee.Section,{icon:"settings",title:"newSrSettings"},void 0,o&&(0,m.default)("fieldset",{},void 0,("nfs"===p||"nfsiso"===p)&&(0,m.default)("fieldset",{},void 0,(0,m.default)("label",{htmlFor:"srServer"},void 0,(0,T.default)("newSrServer")),(0,m.default)("div",{className:"input-group"},void 0,Y.default.createElement("input",{id:"srServer",className:"form-control",placeholder:g(k.messages.newSrAddressPlaceHolder),ref:"server",required:!0,type:"text"}),(0,m.default)("span",{className:"input-group-btn"},void 0,(0,m.default)(P.default,{icon:"search",handler:this._handleSearchServer})))),d&&(0,m.default)("fieldset",{},void 0,(0,m.default)("label",{htmlFor:"selectSrPath"},void 0,(0,T.default)("newSrPath")),Y.default.createElement("select",{className:"form-control",defaultValue:null,id:"selectSrPath",onChange:function(t){e._handleSrPathSelection(t.target.value)},ref:"path",required:!0},(0,m.default)("option",{value:null},void 0,g(k.messages.noSelectedValue)),(0,U.default)(d,function(e,t){return(0,m.default)("option",{value:e.path},t,e.path)}))),"iscsi"===p&&(0,m.default)("fieldset",{},void 0,(0,m.default)("label",{htmlFor:"srServer"},void 0,(0,T.default)("newSrServer")," (",(0,T.default)("newSrAuth"),Y.default.createElement("input",{type:"checkbox",ref:"auth",onChange:function(t){e._handleAuthChoice()}}),")"),(0,m.default)("div",{className:"form-inline"},void 0,Y.default.createElement("input",{id:"srServer",className:"form-control",placeholder:g(k.messages.newSrAddressPlaceHolder),ref:"server",required:!0,type:"text"})," : ",Y.default.createElement("input",{id:"srServer",className:"form-control",placeholder:g(k.messages.newSrPortPlaceHolder),ref:"port",type:"text"}),(0,m.default)(P.default,{icon:"search",handler:this._handleSearchServer})),r&&(0,m.default)("fieldset",{},void 0,(0,m.default)("label",{htmlFor:"srServerUser"},void 0,(0,T.default)("newSrUsername")),Y.default.createElement("input",{id:"srServerUser",className:"form-control",placeholder:g(k.messages.newSrUsernamePlaceHolder),ref:"username",required:!0,type:"text"}),(0,m.default)("label",{},void 0,(0,T.default)("newSrPassword")),Y.default.createElement(ie.Password,{placeholder:g(k.messages.newSrPasswordPlaceHolder),ref:"password",required:!0}))),a&&(0,m.default)("fieldset",{},void 0,(0,m.default)("label",{},void 0,(0,T.default)("newSrIqn")),(0,m.default)(ce,{options:a,onChange:this._handleSrIqnSelection})),u&&(0,m.default)("fieldset",{},void 0,(0,m.default)("label",{},void 0,(0,T.default)("newSrLun")),(0,m.default)(de,{options:u,onChange:this._handleSrLunSelection})),"smb"===p&&(0,m.default)("fieldset",{},void 0,(0,m.default)("label",{htmlFor:"srServer"},void 0,(0,T.default)("newSrServer")),Y.default.createElement("input",{id:"srServer",className:"form-control",placeholder:g(k.messages.newSrAddressPlaceHolder),ref:"server",required:!0,type:"text"}),(0,m.default)("label",{htmlFor:"srServerUser"},void 0,(0,T.default)("newSrUsername")),Y.default.createElement("input",{id:"srServerUser",className:"form-control",placeholder:g(k.messages.newSrUsernamePlaceHolder),ref:"username",required:!0,type:"text"}),(0,m.default)("label",{},void 0,(0,T.default)("newSrPassword")),Y.default.createElement(ie.Password,{placeholder:g(k.messages.newSrPasswordPlaceHolder),ref:"password",required:!0})),"lvm"===p&&(0,m.default)("fieldset",{},void 0,(0,m.default)("label",{htmlFor:"srDevice"},void 0,(0,T.default)("newSrDevice")),Y.default.createElement("input",{id:"srDevice",className:"form-control",placeholder:g(k.messages.newSrLvmDevicePlaceHolder),ref:"device",required:!0,type:"text"})),"local"===p&&(0,m.default)("fieldset",{},void 0,(0,m.default)("label",{htmlFor:"srPath"},void 0,(0,T.default)("newSrPath")),Y.default.createElement("input",{id:"srPath",className:"form-control",placeholder:g(k.messages.newSrLocalPathPlaceHolder),ref:"localPath",required:!0,type:"text"}))),i&&be),(0,m.default)(ee.Section,{icon:"shown",title:"newSrUsage"},void 0,v&&(0,m.default)("div",{},void 0,(0,U.default)(h,function(t,n){return(0,m.default)("p",{},n,t.uuid,(0,m.default)("span",{className:"pull-right"},void 0,(0,m.default)(P.default,{btnStyle:"primary",handler:e._reattach,handlerParam:t.uuid,icon:"connect"})))}),(0,U.default)(b,function(e,t){return(0,m.default)("p",{},t,e.uuid,(0,m.default)("span",{className:"pull-right"},void 0,(0,m.default)("a",{className:"btn btn-warning"},void 0,(0,T.default)("newSrInUse"))," // FIXME Goes to sr view"))}))),(0,m.default)(ee.Section,{icon:"summary",title:"newSrSummary"},void 0,f&&(0,m.default)("div",{},void 0,(0,m.default)("dl",{className:"dl-horizontal"},void 0,(0,m.default)("dt",{},void 0,(0,T.default)("newSrName")),(0,m.default)("dd",{},void 0,this.refs.name&&this.refs.name.value),(0,m.default)("dt",{},void 0,(0,T.default)("newSrDescription")),(0,m.default)("dd",{},void 0,this.refs.description&&this.refs.description.value),(0,m.default)("dt",{},void 0,(0,T.default)("newSrType")),(0,m.default)("dd",{},void 0,p)),"iscsi"===p&&(0,m.default)("dl",{className:"dl-horizontal"},void 0,(0,m.default)("dt",{},void 0,(0,T.default)("newSrSize")),(0,m.default)("dd",{},void 0,(0,re.formatSize)(+l.size))),"nfs"===p&&(0,m.default)("dl",{className:"dl-horizontal"},void 0,(0,m.default)("dt",{},void 0,(0,T.default)("newSrPath")),(0,m.default)("dd",{},void 0,c)),(0,m.default)(P.default,{btnStyle:"primary",disabled:s,form:"newSrForm",handler:this._handleSubmit,icon:"run",redirectOnSuccess:me},void 0,(0,T.default)("newSrCreate")))))))}}]),t}(O.default))||u)||u);n.default=ge},{"../../page":1578,"action-button":1401,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/asyncToGenerator":21,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/regenerator":147,"base-component":1405,form:1425,grid:1431,icon:1435,intl:1436,"lodash/filter":709,"lodash/includes":728,"lodash/isEmpty":735,"lodash/map":754,"lodash/trim":790,modal:1461,notification:1463,"prop-types":1464,react:1269,"react-intl":1103,"select-objects":1469,selectors:1470,store:1479,utils:1490,wizard:1492,xo:1519}],1577:[function(e,t,n){t.exports={container:"mc672246fa_container",header:"mc672246fa_header",content:"mc672246fa_content"}},{}],1578:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("intl"),s=e("react-document-title"),l=r(s),u=e("react"),c=r(u),d=e("react-intl"),f=e("./index.css"),p=r(f),h=function(e){var t=e.children,n=e.collapsedHeader,r=e.formatTitle,o=e.header,s=e.intl,u=e.title,c=s.formatMessage,d=(0,a.default)("div",{className:p.default.container},void 0,!n&&(0,a.default)("nav",{className:"page-header "+p.default.header},void 0,o),(0,a.default)("div",{className:p.default.content},void 0,t));return u?(0,a.default)(l.default,{title:r?c(i.messages[u]):u},void 0,d):d};h.propTypes={children:c.default.PropTypes.node,collapsedHeader:c.default.PropTypes.bool,formatTitle:c.default.PropTypes.bool,header:c.default.PropTypes.node,title:c.default.PropTypes.string},n.default=(0,d.injectIntl)(h)},{"./index.css":1577,"babel-runtime/helpers/jsx":27,intl:1436,react:1269,"react-document-title":973,"react-intl":1103}],1579:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("action-bar"),s=r(i),l=e("react"),u=(r(l),e("xo")),c=function(){throw new Error("not implemented")},d=function(e){var t=e.pool;return(0,a.default)(s.default,{actions:[{icon:"add-sr",label:"addSrLabel",redirectOnSuccess:"new/sr?host="+t.master},{icon:"add-vm",label:"addVmLabel",redirectOnSuccess:"vms/new?pool="+t.id},{icon:"add-host",label:"addHostLabel",handler:u.addHostToPool},{icon:"disconnect",label:"disconnectServer",handler:c}],display:"icon",param:t})};n.default=d},{"action-bar":1400,"babel-runtime/helpers/jsx":27,react:1269,xo:1519}],1580:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s=e("babel-runtime/helpers/jsx"),l=r(s),u=e("babel-runtime/core-js/object/get-prototype-of"),c=r(u),d=e("babel-runtime/helpers/classCallCheck"),f=r(d),p=e("babel-runtime/helpers/createClass"),h=r(p),m=e("babel-runtime/helpers/possibleConstructorReturn"),v=r(m),b=e("babel-runtime/helpers/inherits"),g=r(b),y=e("intl"),_=r(y),M=e("lodash/assign"),w=r(M),S=e("icon"),C=r(S),x=e("./action-bar"),k=r(x),T=e("../page"),A=r(T),P=e("lodash/pick"),N=r(P),O=e("react"),E=(r(O),
|
93 | e("nav")),z=e("editable"),R=e("xo"),j=e("grid"),L=e("utils"),D=e("selectors"),I=e("./tab-advanced"),B=r(I),V=e("./tab-general"),q=r(V),F=e("./tab-stats"),U=r(F),W=e("./tab-logs"),H=r(W),X=e("./tab-network"),K=r(X),G=e("./tab-patches"),Y=r(G),$=(0,l.default)(C.default,{icon:"loading"}),Q=(0,l.default)(C.default,{icon:"pool"}),J=(0,l.default)("br",{}),Z=(o=(0,L.routes)("general",{advanced:B.default,general:q.default,logs:H.default,network:K.default,patches:Y.default,stats:U.default}),a=(0,L.connectStore)(function(){var e=(0,D.createGetObject)(),t=(0,D.createGetObject)(function(t,n){return e(t,n).master}),n=(0,D.createGetObjectsOfType)("network").filter((0,D.createSelector)(e,function(e){var t=e.id;return function(e){return e.$pool===t}})).sort(),r=(0,D.createGetObjectsOfType)("host").filter((0,D.createSelector)(e,function(e){var t=e.id;return function(e){return e.$pool===t}})).sort(),o=(0,D.createGetObjectsOfType)("SR").filter((0,D.createSelector)(e,function(e){var t=e.id;return function(e){return e.$pool===t}})).sort(),a=(0,D.createGetObjectsOfType)("VM").count((0,D.createSelector)(e,function(e){var t=e.id;return function(e){return e.$pool===t}})),i=(0,D.createGetObjectMessages)(e);return function(s,l){var u=e(s,l);return u?{hosts:r(s,l),logs:i(s,l),master:t(s,l),networks:n(s,l),nVms:a(s,l),pool:u,srs:o(s,l)}:{}}}),o(i=a(i=function(e){function t(){var e,n,r,o;(0,f.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,v.default)(this,(e=t.__proto__||(0,c.default)(t)).call.apply(e,[this].concat(i))),r._setNameDescription=function(e){return(0,R.editPool)(r.props.pool,{name_description:e})},r._setNameLabel=function(e){return(0,R.editPool)(r.props.pool,{name_label:e})},o=n,(0,v.default)(r,o)}return(0,g.default)(t,e),(0,h.default)(t,[{key:"header",value:function(){var e=this.props.pool;return e?(0,l.default)(j.Container,{},void 0,(0,l.default)(j.Row,{},void 0,(0,l.default)(j.Col,{mediumSize:6,className:"header-title"},void 0,(0,l.default)("h2",{},void 0,Q," ",(0,l.default)(z.Text,{value:e.name_label,onChange:this._setNameLabel})),(0,l.default)("span",{},void 0,(0,l.default)(z.Text,{value:e.name_description,onChange:this._setNameDescription}))),(0,l.default)(j.Col,{mediumSize:6},void 0,(0,l.default)("div",{className:"text-xs-center"},void 0,(0,l.default)(k.default,{pool:e})))),J,(0,l.default)(j.Row,{},void 0,(0,l.default)(j.Col,{},void 0,(0,l.default)(E.NavTabs,{},void 0,(0,l.default)(E.NavLink,{to:"/pools/"+e.id+"/general"},void 0,(0,_.default)("generalTabName")),(0,l.default)(E.NavLink,{to:"/pools/"+e.id+"/stats"},void 0,(0,_.default)("statsTabName")),(0,l.default)(E.NavLink,{to:"/pools/"+e.id+"/network"},void 0,(0,_.default)("networkTabName")),(0,l.default)(E.NavLink,{to:"/pools/"+e.id+"/patches"},void 0,(0,_.default)("patchesTabName")),(0,l.default)(E.NavLink,{to:"/pools/"+e.id+"/logs"},void 0,(0,_.default)("logsTabName")),(0,l.default)(E.NavLink,{to:"/pools/"+e.id+"/advanced"},void 0,(0,_.default)("advancedTabName")))))):$}},{key:"render",value:function(){var e=this.props.pool;if(!e)return(0,l.default)("h1",{},void 0,(0,_.default)("statusLoading"));var t=(0,w.default)((0,N.default)(this.props,["hosts","logs","master","networks","nVms","pool","srs"]));return(0,l.default)(A.default,{header:this.header(),title:e.name_label},void 0,(0,O.cloneElement)(this.props.children,t))}}]),t}(O.Component))||i)||i);n.default=Z},{"../page":1578,"./action-bar":1579,"./tab-advanced":1581,"./tab-general":1582,"./tab-logs":1583,"./tab-network":1584,"./tab-patches":1585,"./tab-stats":1586,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,editable:1421,grid:1431,icon:1435,intl:1436,"lodash/assign":690,"lodash/pick":764,nav:1462,react:1269,selectors:1470,utils:1490,xo:1519}],1581:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("intl"),s=r(i),l=e("copiable"),u=r(l),c=e("react"),d=(r(c),e("select-files")),f=r(d),p=e("xoa-upgrade"),h=r(p),m=e("grid"),v=e("xo");n.default=function(e){var t=e.pool;return(0,a.default)("div",{},void 0,(0,a.default)("h3",{className:"mb-1"},void 0,(0,s.default)("xenSettingsLabel")),(0,a.default)(m.Container,{},void 0,(0,a.default)(m.Row,{},void 0,(0,a.default)(m.Col,{size:3},void 0,(0,a.default)("strong",{},void 0,(0,s.default)("uuid"))),(0,a.default)(m.Col,{size:9},void 0,(0,a.default)(u.default,{tagName:"div"},void 0,t.uuid))),(0,a.default)(m.Row,{},void 0,(0,a.default)(m.Col,{size:3},void 0,(0,a.default)("strong",{},void 0,(0,s.default)("poolHaStatus"))),(0,a.default)(m.Col,{size:9},void 0,t.HA_enabled?(0,s.default)("poolHaEnabled"):(0,s.default)("poolHaDisabled")))),(0,a.default)("h3",{className:"mt-1 mb-1"},void 0,(0,s.default)("supplementalPackPoolNew")),(0,a.default)(h.default,{place:"poolSupplementalPacks",required:2},void 0,(0,a.default)(f.default,{onChange:function(e){return(0,v.installSupplementalPackOnAllHosts)(t,e)}})))}},{"babel-runtime/helpers/jsx":27,copiable:1415,grid:1431,intl:1436,react:1269,"select-files":1468,xo:1519,"xoa-upgrade":1528}],1582:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("intl"),s=r(i),l=e("lodash/find"),u=r(l),c=e("icon"),d=r(c),f=e("lodash/map"),p=r(f),h=e("react"),m=(r(h),e("lodash/sumBy")),v=r(m),b=e("home-tags"),g=r(b),y=e("xo"),_=e("link"),M=r(_),w=e("grid"),S=e("usage"),C=r(S),x=e("utils"),k=e("tooltip"),T=r(k),A=(0,a.default)("br",{}),P=(0,a.default)(d.default,{icon:"host",size:"lg"}),N=(0,a.default)(d.default,{icon:"sr",size:"lg"}),O=(0,a.default)(d.default,{icon:"vm",size:"lg"}),E=(0,a.default)("br",{});n.default=function(e){var t=e.hosts,n=e.nVms,r=e.pool,o=e.srs;return(0,a.default)(w.Container,{},void 0,A,(0,a.default)(w.Row,{className:"text-xs-center"},void 0,(0,a.default)(w.Col,{mediumSize:4},void 0,(0,a.default)(T.default,{content:(0,s.default)("displayAllHosts")},void 0,(0,a.default)(_.BlockLink,{to:"/home?s=$pool:"+r.id+"&t=host"},void 0,(0,a.default)("h2",{},void 0,t.length,"x ",P)))),(0,a.default)(w.Col,{mediumSize:4},void 0,(0,a.default)(T.default,{content:(0,s.default)("displayAllStorages")},void 0,(0,a.default)(_.BlockLink,{to:"/home?s=$pool:"+r.id+"&t=SR"},void 0,(0,a.default)("h2",{},void 0,o.length,"x ",N)))),(0,a.default)(w.Col,{mediumSize:4},void 0,(0,a.default)(T.default,{content:(0,s.default)("displayAllVMs")},void 0,(0,a.default)(_.BlockLink,{to:"/home?s=$pool:"+r.id},void 0,(0,a.default)("h2",{},void 0,n,"x ",O))))),E,(0,a.default)(w.Row,{},void 0,(0,a.default)(w.Col,{className:"text-xs-center"},void 0,(0,a.default)("h5",{},void 0,(0,s.default)("poolTitleRamUsage")))),(0,a.default)(w.Row,{},void 0,(0,a.default)(w.Col,{smallOffset:1,mediumSize:10},void 0,(0,a.default)(C.default,{total:(0,v.default)(t,"memory.size")},void 0,(0,p.default)(t,function(e){return(0,a.default)(S.UsageElement,{tooltip:e.name_label,value:e.memory.usage,href:"#/hosts/"+e.id},e.id)})))),(0,a.default)(w.Row,{},void 0,(0,a.default)(w.Col,{className:"text-xs-center"},void 0,(0,a.default)("h5",{},void 0,(0,s.default)("poolRamUsage",{used:(0,x.formatSize)((0,v.default)(t,"memory.usage")),total:(0,x.formatSize)((0,v.default)(t,"memory.size"))})))),(0,a.default)(w.Row,{className:"text-xs-center"},void 0,(0,a.default)(w.Col,{},void 0,(0,s.default)("poolMaster")," ",(0,a.default)(M.default,{to:"/hosts/"+r.master},void 0,(0,u.default)(t,function(e){return e.id===r.master}).name_label))),(0,a.default)(w.Row,{className:"text-xs-center"},void 0,(0,a.default)(w.Col,{},void 0,(0,a.default)("h2",{},void 0,(0,a.default)(g.default,{type:"pool",labels:r.tags,onDelete:function(e){return(0,y.removeTag)(r.id,e)},onAdd:function(e){return(0,y.addTag)(r.id,e)}})))))}},{"babel-runtime/helpers/jsx":27,grid:1431,"home-tags":1433,icon:1435,intl:1436,link:1459,"lodash/find":710,"lodash/map":754,"lodash/sumBy":781,react:1269,tooltip:1488,usage:1489,utils:1490,xo:1519}],1583:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("intl"),b=r(v),g=e("action-row-button"),y=r(g),_=e("button"),M=r(_),w=e("lodash/isEmpty"),S=r(w),C=e("lodash/map"),x=r(C),k=e("react"),T=(r(k),e("tab-button")),A=r(T),P=e("xo"),N=e("selectors"),O=e("react-intl"),E=e("grid"),z=(0,a.default)("br",{}),R=function(e){function t(){(0,u.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e._deleteAllLogs=function(){return(0,x.default)(e.props.logs,P.deleteMessage)},e._nextPage=function(){return e.setState({page:e.state.page+1})},e._previousPage=function(){return e.setState({page:e.state.page-1})},e.getLogs=(0,N.createPager)(function(){return e.props.logs},function(){return e.state.page},10),e.state={page:1},e}return(0,m.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){var e=this.getLogs();return(0,a.default)(E.Container,{},void 0,(0,S.default)(e)?(0,a.default)(E.Row,{},void 0,(0,a.default)(E.Col,{mediumSize:6,className:"text-xs-center"},void 0,z,(0,a.default)("h4",{},void 0,(0,b.default)("noLogs")))):(0,a.default)("div",{},void 0,(0,a.default)(E.Row,{},void 0,(0,a.default)(E.Col,{className:"text-xs-right"},void 0,(0,a.default)(M.default,{size:"large",onClick:this._previousPage},void 0,"<"),(0,a.default)(M.default,{size:"large",onClick:this._nextPage},void 0,">"),(0,a.default)(A.default,{btnStyle:"danger",handler:this._removeAllLogs,icon:"delete",labelId:"logRemoveAll"}))),(0,a.default)(E.Row,{},void 0,(0,a.default)(E.Col,{},void 0,(0,a.default)("table",{className:"table"},void 0,(0,a.default)("thead",{className:"thead-default"},void 0,(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,b.default)("logDate")),(0,a.default)("th",{},void 0,(0,b.default)("logName")),(0,a.default)("th",{},void 0,(0,b.default)("logContent")),(0,a.default)("th",{},void 0,(0,b.default)("logAction")))),(0,a.default)("tbody",{},void 0,(0,x.default)(e,function(e){return(0,a.default)("tr",{},e.id,(0,a.default)("td",{},void 0,(0,a.default)(O.FormattedTime,{value:1e3*e.time,minute:"numeric",hour:"numeric",day:"numeric",month:"long",year:"numeric"})," (",(0,a.default)(O.FormattedRelative,{value:1e3*e.time}),")"),(0,a.default)("td",{},void 0,e.name),(0,a.default)("td",{},void 0,e.body),(0,a.default)("td",{},void 0,(0,a.default)(y.default,{btnStyle:"danger",handler:P.deleteMessage,handlerParam:e,icon:"delete"})))})))))))}}]),t}(k.Component);n.default=R},{"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,button:1407,grid:1431,intl:1436,"lodash/isEmpty":735,"lodash/map":754,react:1269,"react-intl":1103,selectors:1470,"tab-button":1481,xo:1519}],1584:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l,u,c,d,f,p,h,m,v=e("babel-runtime/core-js/object/get-prototype-of"),b=r(v),g=e("babel-runtime/helpers/classCallCheck"),y=r(g),_=e("babel-runtime/helpers/createClass"),M=r(_),w=e("babel-runtime/helpers/possibleConstructorReturn"),S=r(w),C=e("babel-runtime/helpers/inherits"),x=r(C),k=e("babel-runtime/helpers/jsx"),T=r(k),A=e("intl"),P=r(A),N=e("action-row-button"),O=r(N),E=e("base-component"),z=r(E),R=e("button"),j=r(R),L=e("button-group"),D=r(L),I=e("icon"),B=r(I),V=e("lodash/isEmpty"),q=r(V),F=e("lodash/map"),U=r(F),W=e("react"),H=(r(W),e("lodash/some")),X=r(H),K=e("sorted-table"),G=r(K),Y=e("tab-button"),$=r(Y),Q=e("tooltip"),J=r(Q),Z=e("utils"),ee=e("grid"),te=e("editable"),ne=e("form"),re=e("selectors"),oe=e("xo"),ae=function(e,t){return t?(0,T.default)(J.default,{content:t},void 0,e):e},ie=function(){return(0,re.createGetObjectsOfType)("PIF").pick(function(e,t){return t.network.PIFs})},se=function(){return(0,re.createFinder)(ie(),(0,re.createSelector)((0,re.createSelector)((0,re.createGetObject)(function(e,t){return t.network.$pool}),function(e){return e.master}),function(e){return function(t){return t.$host===e}}))},le=(o=(0,Z.connectStore)(function(){return{isBonded:(0,re.createSelector)((0,re.createGetObjectsOfType)("PIF").pick(function(e,t){return t&&t.network.PIFs}),function(e){return(0,X.default)(e,"isBondMaster")})}}),o(a=function(e){function t(){var e,n,r,o;(0,y.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,S.default)(this,(e=t.__proto__||(0,b.default)(t)).call.apply(e,[this].concat(i))),r._editName=function(e){return(0,oe.editNetwork)(r.props.network,{name_label:e})},o=n,(0,S.default)(r,o)}return(0,x.default)(t,e),(0,M.default)(t,[{key:"render",value:function(){var e=this.props,t=e.isBonded,n=e.network;return(0,T.default)("span",{},void 0,(0,T.default)(te.Text,{value:n.name_label,onChange:this._editName})," ",t&&(0,T.default)("span",{className:"tag tag-pill tag-info"},void 0,(0,P.default)("pillBonded")))}}]),t}(W.Component))||a),ue=function(e){function t(){var e,n,r,o;(0,y.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,S.default)(this,(e=t.__proto__||(0,b.default)(t)).call.apply(e,[this].concat(i))),r._editDescription=function(e){return(0,oe.editNetwork)(r.props.network,{name_description:e})},o=n,(0,S.default)(r,o)}return(0,x.default)(t,e),(0,M.default)(t,[{key:"render",value:function(){var e=this.props.network;return(0,T.default)(te.Text,{value:e.name_description,onChange:this._editDescription})}}]),t}(W.Component),ce=(i=(0,Z.connectStore)(function(){return{defaultPif:se()}}),i(s=function(e){function t(){var e,n,r,o;(0,y.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,S.default)(this,(e=t.__proto__||(0,b.default)(t)).call.apply(e,[this].concat(i))),r._editPif=function(e){return(0,oe.editPif)(r.props.defaultPif,{vlan:e})},o=n,(0,S.default)(r,o)}return(0,x.default)(t,e),(0,M.default)(t,[{key:"render",value:function(){var e=this.props.defaultPif;return e?(0,T.default)("span",{},void 0,e.device):null}}]),t}(z.default))||s),de=(l=(0,Z.connectStore)(function(){return{defaultPif:se()}}),l(u=function(e){function t(){var e,n,r,o;(0,y.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,S.default)(this,(e=t.__proto__||(0,b.default)(t)).call.apply(e,[this].concat(i))),r._editPif=function(e){return(0,oe.editPif)(r.props.defaultPif,{vlan:e})},o=n,(0,S.default)(r,o)}return(0,x.default)(t,e),(0,M.default)(t,[{key:"render",value:function(){var e=this.props.defaultPif;return e?(0,T.default)("span",{},void 0,(0,T.default)(te.Number,{value:e.vlan,onChange:this._editPif},void 0,e.vlan===-1?"None":e.vlan)):null}}]),t}(z.default))||u),fe=(c=(0,Z.connectStore)(function(){return{isInUse:(0,re.createSelector)((0,re.createGetObjectsOfType)("VIF").pick(function(e,t){return t&&t.network.VIFs}),function(e){return(0,X.default)(e,"attached")})}}),c(d=function(e){function t(){var e,n,r,o;(0,y.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,S.default)(this,(e=t.__proto__||(0,b.default)(t)).call.apply(e,[this].concat(i))),r._editDefaultIsLocked=function(){var e=r.props.network;(0,oe.editNetwork)(e,{defaultIsLocked:!e.defaultIsLocked})},o=n,(0,S.default)(r,o)}return(0,x.default)(t,e),(0,M.default)(t,[{key:"render",value:function(){var e=this.props,t=e.isInUse,n=e.network;return ae((0,T.default)(ne.Toggle,{disabled:t,onChange:this._editDefaultIsLocked,value:n.defaultIsLocked}),t&&(0,P.default)("networkInUse"))}}]),t}(W.Component))||d),pe=(f=(0,Z.connectStore)(function(){var e=(0,re.createGetObject)(),t=(0,re.createGetObject)((0,re.createSelector)(e,function(e){return e.$host})),n=(0,re.createSelector)(e,function(e){return e.attached&&!e.isBondMaster&&(e.management||e.disallowUnplug)});return{host:t,pif:e,disableUnplug:n}}),f(p=function(e){function t(){return(0,y.default)(this,t),(0,S.default)(this,(t.__proto__||(0,b.default)(t)).apply(this,arguments))}return(0,x.default)(t,e),(0,M.default)(t,[{key:"render",value:function(){var e=this.props,t=e.pif,n=e.host,r=e.disableUnplug;return(0,T.default)("tr",{},void 0,(0,T.default)("td",{},void 0,t.device),(0,T.default)("td",{},void 0,n.name_label),(0,T.default)("td",{},void 0,t.ip),(0,T.default)("td",{},void 0,t.mac),(0,T.default)("td",{},void 0,t.carrier?(0,T.default)("span",{className:"tag tag-success"},void 0,(0,P.default)("poolNetworkPifAttached")):(0,T.default)("span",{className:"tag tag-default"},void 0,(0,P.default)("poolNetworkPifDetached"))),(0,T.default)("td",{className:"text-xs-right"},void 0,(0,T.default)(D.default,{},void 0,(0,T.default)(O.default,{disabled:r,handler:t.attached?oe.disconnectPif:oe.connectPif,handlerParam:t,icon:t.attached?"disconnect":"connect",tooltip:t.attached?(0,P.default)("disconnectPif"):(0,P.default)("connectPif")}))))}}]),t}(W.Component))||p),he=(0,T.default)("th",{}),me=function(e){function t(){return(0,y.default)(this,t),(0,S.default)(this,(t.__proto__||(0,b.default)(t)).apply(this,arguments))}return(0,x.default)(t,e),(0,M.default)(t,[{key:"render",value:function(){var e=this.props.network,t=this.state.showPifs;return(0,T.default)("div",{},void 0,(0,T.default)(J.default,{content:t?(0,P.default)("hidePifs"):(0,P.default)("showPifs")},void 0,(0,T.default)(j.default,{size:"small",className:"mb-1 pull-right",onClick:this.toggleState("showPifs")},void 0,(0,T.default)(B.default,{icon:t?"hidden":"shown"}))),t&&(0,T.default)("table",{className:"table"},void 0,(0,T.default)("thead",{className:"thead-default"},void 0,(0,T.default)("tr",{},void 0,(0,T.default)("th",{},void 0,(0,P.default)("pifDeviceLabel")),(0,T.default)("th",{},void 0,(0,P.default)("homeTypeHost")),(0,T.default)("th",{},void 0,(0,P.default)("pifAddressLabel")),(0,T.default)("th",{},void 0,(0,P.default)("pifMacLabel")),(0,T.default)("th",{},void 0,(0,P.default)("pifStatusLabel")),he)),(0,T.default)("tbody",{},void 0,(0,U.default)(e.PIFs,function(e){return(0,T.default)(pe,{id:e},e)}))))}}]),t}(z.default),ve=(h=(0,Z.connectStore)(function(){var e=function(e){return e.attached&&!e.isBondMaster&&(e.management||e.disallowUnplug)},t=(0,re.createSelector)(ie(),function(e,t){return t&&t.network.name_label},function(t,n){return"Host internal management network"===n||(0,X.default)(t,e)});return{disableNetworkDelete:t}}),h(m=function(e){function t(){return(0,y.default)(this,t),(0,S.default)(this,(t.__proto__||(0,b.default)(t)).apply(this,arguments))}return(0,x.default)(t,e),(0,M.default)(t,[{key:"render",value:function(){var e=this.props,t=e.network,n=e.disableNetworkDelete;return(0,T.default)(D.default,{},void 0,(0,T.default)(O.default,{disabled:n,handler:oe.deleteNetwork,handlerParam:t,icon:"delete",tooltip:(0,P.default)("deleteNetwork")}))}}]),t}(W.Component))||m),be=[{name:(0,P.default)("poolNetworkNameLabel"),itemRenderer:function(e){return(0,T.default)(le,{network:e})},sortCriteria:function(e){return e.name_label}},{name:(0,P.default)("poolNetworkDescription"),itemRenderer:function(e){return(0,T.default)(ue,{network:e})},sortCriteria:function(e){return e.name_description}},{name:(0,P.default)("pif"),itemRenderer:function(e){return(0,T.default)(ce,{network:e})}},{name:(0,P.default)("pifVlanLabel"),itemRenderer:function(e){return(0,T.default)(de,{network:e})}},{name:(0,P.default)("poolNetworkMTU"),itemRenderer:function(e){return e.MTU}},{name:(0,T.default)("div",{className:"text-xs-center"},void 0,(0,T.default)(J.default,{content:(0,P.default)("defaultLockingMode")},void 0,(0,T.default)(B.default,{size:"lg",icon:"lock"}))),itemRenderer:function(e){return(0,T.default)(fe,{network:e})}},{name:(0,P.default)("poolNetworkPif"),itemRenderer:function(e){return!(0,q.default)(e.PIFs)&&(0,T.default)(me,{network:e})}},{name:"",itemRenderer:function(e){return(0,T.default)(ve,{network:e})},textAlign:"right"}],ge=function(e){function t(){return(0,y.default)(this,t),(0,S.default)(this,(t.__proto__||(0,b.default)(t)).apply(this,arguments))}return(0,x.default)(t,e),(0,M.default)(t,[{key:"render",value:function(){var e=this.props.networks;return(0,T.default)(ee.Container,{},void 0,(0,T.default)(ee.Row,{},void 0,(0,T.default)(ee.Col,{className:"text-xs-right"},void 0,(0,T.default)($.default,{btnStyle:"primary",handler:oe.createBondedNetwork,handlerParam:this.props.pool,icon:"add",labelId:"networkCreateBondedButton"}),(0,T.default)($.default,{btnStyle:"primary",handler:oe.createNetwork,handlerParam:this.props.pool,icon:"add",labelId:"networkCreateButton"}))),(0,T.default)(ee.Row,{},void 0,(0,T.default)(ee.Col,{},void 0,(0,q.default)(e)?(0,T.default)("h4",{className:"text-xs-center"},void 0,(0,P.default)("poolNoNetwork")):(0,T.default)(G.default,{collection:e,columns:be}))))}}]),t}(W.Component);n.default=ge},{"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,button:1407,"button-group":1406,editable:1421,form:1425,grid:1431,icon:1435,intl:1436,"lodash/isEmpty":735,"lodash/map":754,"lodash/some":774,react:1269,selectors:1470,"sorted-table":1475,"tab-button":1481,tooltip:1488,utils:1490,xo:1519}],1585:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("base-component"),y=r(g),_=e("hosts-patches-table"),M=r(_),w=e("react"),S=r(w),C=e("xoa-upgrade"),x=r(C),k=e("utils"),T=e("grid"),A=e("selectors"),P=(o=(0,k.connectStore)(function(){var e=(0,A.createGetObjectsOfType)("host").filter(function(e,t){return function(e){return t.pool.id===e.$pool}});return{hosts:e}}),o(a=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,u.default)(t)).call.apply(e,[this].concat(i))),r._getContainer=function(){return r.refs.container},o=n,(0,m.default)(r,o)}return(0,b.default)(t,e),(0,p.default)(t,[{key:"render",value:function(){return(0,s.default)(x.default,{place:"poolPatches",required:2},void 0,(0,s.default)(T.Container,{},void 0,(0,s.default)(T.Row,{},void 0,(0,s.default)(T.Col,{className:"text-xs-right"},void 0,S.default.createElement("div",{ref:"container"}))),(0,s.default)(T.Row,{},void 0,(0,s.default)(T.Col,{},void 0,(0,s.default)(M.default,{buttonsGroupContainer:this._getContainer,hosts:this.props.hosts,useTabButton:!0})))))}}]),t}(y.default))||a);n.default=P},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,grid:1431,"hosts-patches-table":1434,react:1269,selectors:1470,utils:1490,"xoa-upgrade":1528}],1586:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/helpers/extends"),u=r(l),c=e("babel-runtime/core-js/promise"),d=r(c),f=e("babel-runtime/core-js/object/get-prototype-of"),p=r(f),h=e("babel-runtime/helpers/classCallCheck"),m=r(h),v=e("babel-runtime/helpers/createClass"),b=r(v),g=e("babel-runtime/helpers/possibleConstructorReturn"),y=r(g),_=e("babel-runtime/helpers/inherits"),M=r(_),w=e("lodash/map"),S=r(w),C=e("intl"),x=r(C),k=e("base-component"),T=r(k),A=e("get-event-value"),P=r(A),N=e("icon"),O=r(N),E=e("react"),z=(r(E),e("tooltip")),R=r(z),j=e("xoa-upgrade"),L=r(j),D=e("grid"),I=e("form"),B=e("xo"),V=e("selectors"),q=e("utils"),F=e("xo-line-chart"),U=(0,s.default)("div",{className:"text-xs-right"},void 0,(0,s.default)(O.default,{icon:"loading",size:2})),W=(0,s.default)(O.default,{icon:"cpu"}),H=(0,s.default)(O.default,{icon:"memory"}),X=(0,s.default)("br",{}),K=(0,s.default)("hr",{}),G=(0,s.default)(O.default,{icon:"network"}),Y=(0,s.default)(O.default,{icon:"disk"}),$=((0,s.default)(D.Container,{},void 0,(0,s.default)(L.default,{place:"hostStats",available:3})),o=(0,q.connectStore)({hosts:(0,V.createGetObjectsOfType)("host").filter((0,V.createSelector)(function(e,t){return t.pool.id},function(e){return function(t){return"Running"===t.power_state&&t.$pool===e}}))}),o(a=function(e){function t(){var e,n,r,o;(0,m.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,y.default)(this,(e=t.__proto__||(0,p.default)(t)).call.apply(e,[this].concat(i))),r.state={useCombinedValues:!1},r._loop=function(){r.cancel&&r.cancel();var e=!1;r.cancel=function(){e=!0},d.default.all((0,S.default)(r.props.hosts,function(e){return(0,B.fetchHostStats)(e,r.state.granularity).then(function(t){return(0,u.default)({host:e.name_label},t)})})).then(function(t){!e&&t[0]&&(r.cancel=null,clearTimeout(r.timeout),r.setState({stats:t,selectStatsLoading:!1},function(){r.timeout=setTimeout(r._loop,1e3*t[0].interval)}))})},r._handleSelectStats=function(e){var t=(0,P.default)(e);clearTimeout(r.timeout),r.setState({granularity:t,selectStatsLoading:!0},r._loop)},o=n,(0,y.default)(r,o)}return(0,M.default)(t,e),(0,b.default)(t,[{key:"componentDidMount",value:function(){this._loop()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"render",value:function(){var e=this.state,t=e.granularity,n=e.selectStatsLoading,r=e.stats,o=e.useCombinedValues;return r?(0,s.default)(D.Container,{},void 0,(0,s.default)(D.Row,{},void 0,(0,s.default)(D.Col,{mediumSize:5},void 0,(0,s.default)("div",{className:"form-group"},void 0,(0,s.default)(R.default,{content:(0,x.default)("useStackedValuesOnStats")},void 0,(0,s.default)(I.Toggle,{value:o,onChange:this.linkState("useCombinedValues")})))),(0,s.default)(D.Col,{mediumSize:1},void 0,n&&U),(0,s.default)(D.Col,{mediumSize:6},void 0,(0,s.default)("div",{className:"btn-tab"},void 0,(0,s.default)("select",{className:"form-control",onChange:this._handleSelectStats,defaultValue:t},void 0,(0,x.default)("statLastTenMinutes",function(e){return(0,s.default)("option",{value:"seconds"},void 0,e)}),(0,x.default)("statLastTwoHours",function(e){return(0,s.default)("option",{value:"minutes"},void 0,e)}),(0,x.default)("statLastWeek",function(e){return(0,s.default)("option",{value:"hours"},void 0,e)}),(0,x.default)("statLastYear",function(e){return(0,s.default)("option",{value:"days"},void 0,e)}))))),(0,s.default)(D.Row,{},void 0,(0,s.default)(D.Col,{mediumSize:6},void 0,(0,s.default)("h5",{className:"text-xs-center"},void 0,W," ",(0,x.default)("statsCpu")),(0,s.default)(F.PoolCpuLineChart,{addSumSeries:o,data:r})),(0,s.default)(D.Col,{mediumSize:6},void 0,(0,s.default)("h5",{className:"text-xs-center"},void 0,H," ",(0,x.default)("statsMemory")),(0,s.default)(F.PoolMemoryLineChart,{addSumSeries:o,data:r}))),X,K,(0,s.default)(D.Row,{},void 0,(0,s.default)(D.Col,{mediumSize:6},void 0,(0,s.default)("h5",{className:"text-xs-center"},void 0,G," ",(0,x.default)("statsNetwork")),(0,s.default)(F.PoolPifLineChart,{addSumSeries:o,data:r},o?"stacked":"unstacked")),(0,s.default)(D.Col,{mediumSize:6},void 0,(0,s.default)("h5",{className:"text-xs-center"},void 0,Y," ",(0,x.default)("statLoad")),(0,s.default)(F.PoolLoadLineChart,{addSumSeries:o,data:r})))):(0,s.default)("p",{},void 0,(0,x.default)("poolNoStats"))}}]),t}(T.default))||a);n.default=$},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,form:1425,"get-event-value":1430,grid:1431,icon:1435,intl:1436,"lodash/map":754,react:1269,selectors:1470,tooltip:1488,utils:1490,xo:1519,"xo-line-chart":1505,"xoa-upgrade":1528}],1587:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.computeAvailableHosts=n.Subjects=void 0;var o,a,i=e("babel-runtime/helpers/extends"),s=r(i),l=e("babel-runtime/helpers/jsx"),u=r(l),c=e("babel-runtime/core-js/object/get-prototype-of"),d=r(c),f=e("babel-runtime/helpers/classCallCheck"),p=r(f),h=e("babel-runtime/helpers/createClass"),m=r(h),v=e("babel-runtime/helpers/possibleConstructorReturn"),b=r(v),g=e("babel-runtime/helpers/inherits"),y=r(g),_=e("intl"),M=r(_),w=e("lodash/filter"),S=r(w),C=e("lodash/forEach"),x=r(C),k=e("lodash/includes"),T=r(k),A=e("lodash/intersection"),P=r(A),N=e("lodash/keyBy"),O=r(N),E=e("lodash/map"),z=r(E),R=e("prop-types"),j=r(R),L=e("react"),D=(r(L),e("lodash/reduce")),I=r(D),B=e("render-xo-item"),V=r(B),q=e("utils"),F=e("xo");n.Subjects=(o=(0,j.default)({subjects:j.default.array.isRequired}),o(a=function(e){function t(e){(0,p.default)(this,t);var n=(0,b.default)(this,(t.__proto__||(0,d.default)(t)).call(this,e));return n.state={groups:{},users:{}},n}return(0,y.default)(t,e),(0,m.default)(t,[{key:"componentWillMount",value:function(){var e=this,t=(0,F.subscribeGroups)(function(t){e.setState({groups:(0,O.default)(t,"id")})}),n=(0,F.subscribeUsers)(function(t){e.setState({users:(0,O.default)(t,"id")})});this.componentWillUnmount=function(){t(),n()}}},{key:"render",value:function(){var e=this.state;return(0,u.default)("div",{},void 0,(0,z.default)(this.props.subjects,function(t){return e.users[t]?(0,V.default)((0,s.default)({type:"user"},e.users[t]),{className:"mr-1"}):e.groups[t]?(0,V.default)((0,s.default)({type:"group"},e.groups[t]),{className:"mr-1"}):(0,u.default)("span",{className:"mr-1"},t,(0,M.default)("unknownResourceSetValue"))}))}}]),t}(L.Component))||a),n.computeAvailableHosts=function(e,t,n){var r=(0,I.default)(n,function(t,n,r){return(0,T.default)((0,q.resolveIds)(e),r)?t.concat(n):t},[]),o=(0,S.default)(r,function(e){var n=!1;return(0,x.default)(t,function(t){return!(n=(0,P.default)(t.$PBDs,e.$PBDs).length>0)}),n});return o}},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,intl:1436,"lodash/filter":709,"lodash/forEach":716,"lodash/includes":728,"lodash/intersection":729,"lodash/keyBy":749,"lodash/map":754,"lodash/reduce":768,"prop-types":1464,react:1269,"render-xo-item":1466,utils:1490,xo:1519}],1588:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.Edit=void 0;var o,a,i,s,l,u=e("babel-runtime/regenerator"),c=r(u),d=e("babel-runtime/helpers/extends"),f=r(d),p=e("babel-runtime/helpers/toConsumableArray"),h=r(p),m=e("babel-runtime/helpers/asyncToGenerator"),v=r(m),b=e("babel-runtime/core-js/object/get-prototype-of"),g=r(b),y=e("babel-runtime/helpers/classCallCheck"),_=r(y),M=e("babel-runtime/helpers/createClass"),w=r(M),S=e("babel-runtime/helpers/possibleConstructorReturn"),C=r(S),x=e("babel-runtime/helpers/inherits"),k=r(x),T=e("babel-runtime/helpers/jsx"),A=r(T),P=e("intl"),N=r(P),O=e("action-button"),E=r(O),z=e("react-chartist"),R=r(z),j=e("collapse"),L=r(j),D=e("base-component"),I=r(D),B=e("lodash/differenceBy"),V=r(B),q=e("lodash/filter"),F=r(q),U=e("lodash/forEach"),W=r(U),H=e("lodash/get"),X=r(H),K=e("icon"),G=r(K),Y=e("lodash/includes"),$=r(Y),Q=e("lodash/intersection"),J=r(Q),Z=e("lodash/isEmpty"),ee=r(Z),te=e("lodash/keys"),ne=r(te),re=e("lodash/map"),oe=r(re),ae=e("lodash/mapKeys"),ie=r(ae),se=e("prop-types"),le=r(se),ue=e("react"),ce=r(ue),de=e("lodash/remove"),fe=r(de),pe=e("render-xo-item"),he=r(pe),me=e("xoa-upgrade"),ve=r(me),be=e("grid"),ge=e("selectors"),ye=e("react-intl"),_e=e("form"),Me=e("xo"),we=e("utils"),Se=e("card"),Ce=e("select-objects"),xe=e("./helpers"),ke=e("../page"),Te=r(ke),Ae=(0,
|
94 | A.default)(be.Container,{},void 0,(0,A.default)(be.Row,{},void 0,(0,A.default)(be.Col,{mediumSize:12},void 0,(0,A.default)("h2",{},void 0,(0,A.default)(G.default,{icon:"menu-self-service"})," ",(0,N.default)("selfServicePage"))))),Pe=(0,le.default)({eligibleHosts:le.default.array.isRequired,excludedHosts:le.default.array.isRequired})(function(e){var t=e.eligibleHosts,n=e.excludedHosts;return(0,A.default)("div",{},void 0,(0,A.default)(be.Row,{},void 0,(0,A.default)(be.Col,{mediumSize:6},void 0,(0,A.default)("h5",{},void 0,(0,N.default)("availableHosts")),(0,A.default)("p",{className:"text-muted"},void 0,(0,N.default)("availableHostsDescription"))),(0,A.default)(be.Col,{mediumSize:6},void 0,(0,A.default)("h5",{},void 0,(0,N.default)("excludedHosts")))),(0,A.default)(be.Row,{},void 0,(0,A.default)(be.Col,{mediumSize:6},void 0,(0,A.default)("ul",{className:"list-group"},void 0,t.length?(0,oe.default)(t,function(e,t){return(0,A.default)("li",{className:"list-group-item"},t,(0,he.default)(e))}):(0,A.default)("li",{className:"list-group-item"},void 0,(0,N.default)("noHostsAvailable")))),(0,A.default)(be.Col,{mediumSize:6},void 0,(0,A.default)("ul",{className:"list-group"},void 0,n.length?(0,oe.default)(n,function(e,t){return(0,A.default)("li",{className:"list-group-item"},t,(0,he.default)(e))}):(0,A.default)("li",{className:"list-group-item"},void 0,(0,A.default)("s",{},void 0,(0,N.default)("noHostsAvailable")))))))}),Ne=(0,A.default)("hr",{}),Oe=n.Edit=(o=(0,le.default)({onSave:le.default.func,resourceSet:le.default.object}),a=(0,we.connectStore)(function(){var e=(0,ge.createGetObjectsOfType)("host").sort(),t=e.groupBy("$pool");return{hosts:e,hostsByPool:t}}),o(i=a(i=(0,ye.injectIntl)(i=function(e){function t(e){var n=this;(0,_.default)(this,t);var r=(0,C.default)(this,(t.__proto__||(0,g.default)(t)).call(this,e));return r._save=(0,v.default)(c.default.mark(function e(){var t,o,a,i,s,l,u,d,p,m,v,b,g;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.state,o=t.cpus,a=t.disk,i=t.ipPools,s=t.memory,l=t.name,u=t.networks,d=t.srs,p=t.subjects,m=t.templates,e.t0=r.props.resourceSet,e.t0){e.next=6;break}return e.next=5,(0,Me.createResourceSet)(l);case 5:e.t0=e.sent;case 6:return v=e.t0,b=[].concat((0,h.default)(m),(0,h.default)(d),(0,h.default)(u)),g={},(0,W.default)(i,function(e){e.quantity&&(g["ipPool:"+e.id]=+e.quantity)}),e.next=12,(0,Me.editResourceSet)(v.id,{name:l,limits:(0,f.default)({cpus:""===o?void 0:+o,memory:null===s?void 0:s,disk:null===a?void 0:a},g),objects:(0,we.resolveIds)(b),subjects:(0,we.resolveIds)(p),ipPools:(0,we.resolveIds)(i)});case 12:r.props.onSave();case 13:case"end":return e.stop()}},e,n)})),r._reset=function(){r._updateSelectedPools([],[],[]),r.setState({cpus:"",disk:null,ipPools:[],memory:null,newIpPool:void 0,newIpPoolQuantity:"",subjects:[]})},r._updateSelectedPools=function(e,t,n){var o=function(t){return(0,$.default)((0,we.resolveIds)(e),t.$pool)};r.setState({nPools:e.length,pools:e,srPredicate:o,vmTemplatePredicate:o},function(){return r._updateSelectedSrs(t||r.state.srs,n)})},r._updateSelectedSrs=function(e,t){var n=(0,xe.computeAvailableHosts)(r.state.pools,e,r.props.hostsByPool),o=function(e){var t=!1;return(0,W.default)(n,function(n){return!(t=(0,J.default)(e.PIFs,n.PIFs).length>0)}),t};r.setState({availableHosts:n,networkPredicate:o,nSrs:e.length,srs:e},function(){return r._updateSelectedNetworks(t||r.state.networks)})},r._updateSelectedNetworks=function(e){var t=r.state,n=t.availableHosts,o=t.srs,a=(0,F.default)(n,function(t){var n=!1,r=!1;return(0,W.default)(o,function(e){return!(n=(0,J.default)(e.$PBDs,t.$PBDs).length>0)}),n&&(0,W.default)(e,function(e){return!(r=(0,J.default)(e.PIFs,t.PIFs).length>0)}),n&&r});r.setState({eligibleHosts:a,excludedHosts:(0,V.default)(r.props.hosts,a,function(e){return e.id}),networks:e})},r._addIpPool=function(){var e=r.state,t=e.ipPools,n=e.newIpPool,o=e.newIpPoolQuantity;r.setState({ipPools:[].concat((0,h.default)(t),[{id:n.id,quantity:o}]),newIpPool:void 0,newIpPoolQuantity:""})},r._removeIpPool=function(e){var t=[].concat((0,h.default)(r.state.ipPools));(0,fe.default)(t,function(t,n){return e===n}),r.setState({ipPools:t})},r._getIpPoolPredicate=(0,ge.createSelector)(function(){return(0,oe.default)(r.state.ipPools,"id")},function(e){return function(t){return!(0,$.default)(e,t.id)}}),r.state={cpus:"",disk:null,eligibleHosts:[],excludedHosts:e.hosts,ipPools:[],memory:null,name:"",networks:[],pools:[],srs:[],subjects:[],templates:[]},r}return(0,k.default)(t,e),(0,w.default)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.resourceSet;t&&!function(){var n=t.objectsByType,r={};(0,W.default)(n,function(e){(0,W.default)(e,function(e){r[e.$pool]=!0})}),e._updateSelectedPools((0,ne.default)(r),n.SR,n.network);var o=t.ipPools,a=t.limits,i=[];(0,W.default)(o,function(e){i.push({id:e,quantity:(0,X.default)(a,"[ipPool:"+e+"].total")})}),e.setState({cpus:(0,X.default)(a,"cpus.total",""),disk:(0,X.default)(a,"disk.total",null),ipPools:i,memory:(0,X.default)(a,"memory.total",null),name:t.name,subjects:t.subjects,templates:n["VM-template"]||[]})}()}},{key:"render",value:function(){var e=this,t=this.state,n=this.props.intl.formatMessage,r=this.props.resourceSet;return(0,A.default)("div",{},void 0,(0,A.default)("li",{className:"list-group-item"},void 0,(0,A.default)("form",{id:"resource-set-form",className:"card-block"},void 0,(0,A.default)("div",{className:"form-group"},void 0,(0,A.default)(be.Row,{},void 0,(0,A.default)(be.Col,{mediumSize:4},void 0,(0,A.default)("input",{className:"form-control",onChange:this.linkState("name"),placeholder:n(P.messages.resourceSetName),required:!0,type:"text",value:t.name})),(0,A.default)(be.Col,{mediumSize:4},void 0,(0,A.default)(Ce.SelectSubject,{multi:!0,onChange:this.linkState("subjects"),required:!0,value:t.subjects})),(0,A.default)(be.Col,{mediumSize:4},void 0,(0,A.default)(Ce.SelectPool,{multi:!0,onChange:this._updateSelectedPools,required:!0,value:t.pools})))),(0,A.default)("div",{className:"form-group"},void 0,(0,A.default)(be.Row,{},void 0,(0,A.default)(be.Col,{mediumSize:4},void 0,(0,A.default)(Ce.SelectVmTemplate,{disabled:!t.nPools,multi:!0,onChange:this.linkState("templates"),predicate:t.vmTemplatePredicate,required:!0,value:t.templates})),(0,A.default)(be.Col,{mediumSize:4},void 0,(0,A.default)(Ce.SelectSr,{disabled:!t.nPools,multi:!0,onChange:this._updateSelectedSrs,predicate:t.srPredicate,required:!0,value:t.srs})),(0,A.default)(be.Col,{mediumSize:4},void 0,(0,A.default)(Ce.SelectNetwork,{disabled:!t.nSrs,multi:!0,onChange:this._updateSelectedNetworks,predicate:t.networkPredicate,required:!0,value:t.networks})))),(0,A.default)("div",{className:"form-group"},void 0,(0,A.default)(be.Row,{},void 0,(0,A.default)(be.Col,{mediumSize:4},void 0,(0,A.default)("input",{className:"form-control",min:0,onChange:this.linkState("cpus"),placeholder:n(P.messages.maxCpus),type:"number",value:t.cpus})),(0,A.default)(be.Col,{mediumSize:4},void 0,(0,A.default)(_e.SizeInput,{onChange:this.linkState("memory"),placeholder:n(P.messages.maxRam),value:t.memory})),(0,A.default)(be.Col,{mediumSize:4},void 0,(0,A.default)(_e.SizeInput,{onChange:this.linkState("disk"),placeholder:n(P.messages.maxDiskSpace),value:t.disk})))),(0,A.default)("div",{},void 0,(0,A.default)(be.Row,{},void 0,(0,A.default)(be.Col,{mediumSize:4},void 0,(0,A.default)(be.Row,{},void 0,(0,A.default)(be.Col,{mediumSize:7},void 0,(0,A.default)("strong",{},void 0,(0,N.default)("ipPool"))),(0,A.default)(be.Col,{mediumSize:3},void 0,(0,A.default)("strong",{},void 0,(0,N.default)("quantity")))),(0,oe.default)(t.ipPools,function(t,n){return(0,A.default)(be.Row,{className:"mb-1"},n,(0,A.default)(be.Col,{mediumSize:7},void 0,(0,A.default)(Ce.SelectIpPool,{onChange:e.linkState("ipPools."+n+".id","id"),value:t.id})),(0,A.default)(be.Col,{mediumSize:3},void 0,(0,A.default)("input",{className:"form-control",type:"number",min:0,onChange:e.linkState("ipPools."+n+".quantity"),value:(0,we.firstDefined)(t.quantity,""),placeholder:"∞"})),(0,A.default)(be.Col,{mediumSize:2},void 0,(0,A.default)(E.default,{icon:"delete",handler:e._removeIpPool,handlerParam:n})))}),(0,A.default)(be.Row,{},void 0,(0,A.default)(be.Col,{mediumSize:7},void 0,(0,A.default)(Ce.SelectIpPool,{onChange:this.linkState("newIpPool"),value:t.newIpPool,predicate:this._getIpPoolPredicate()})),(0,A.default)(be.Col,{mediumSize:3},void 0,(0,A.default)("input",{className:"form-control",type:"number",min:0,onChange:this.linkState("newIpPoolQuantity"),value:t.newIpPoolQuantity||"",placeholder:"∞"})),(0,A.default)(be.Col,{mediumSize:2},void 0,(0,A.default)(E.default,{icon:"add",handler:this._addIpPool})))))),Ne,(0,A.default)(Pe,{excludedHosts:t.excludedHosts,eligibleHosts:t.eligibleHosts}))),(0,A.default)("li",{className:"list-group-item text-xs-center"},void 0,(0,A.default)("div",{className:"btn-toolbar"},void 0,(0,A.default)(E.default,{btnStyle:"primary",icon:"save",handler:this._save,type:"submit"},void 0,(0,N.default)("saveResourceSet")),(0,A.default)(E.default,{icon:"reset",handler:this._reset},void 0,(0,N.default)("resetResourceSet")),r&&(0,A.default)(E.default,{btnStyle:"danger",icon:"delete",handler:Me.deleteResourceSet,handlerParam:r},void 0,(0,N.default)("deleteResourceSet")))))}}]),t}(I.default))||i)||i)||i),Ee=(0,A.default)(G.default,{icon:"cpu"}),ze=(0,A.default)("p",{className:"text-xs-center display-1"},void 0,"∞"),Re=(0,A.default)(G.default,{icon:"memory"}),je=(0,A.default)("p",{className:"text-xs-center display-1"},void 0,"∞"),Le=(0,A.default)(G.default,{icon:"disk"}),De=(0,A.default)("p",{className:"text-xs-center display-1"},void 0,"∞"),Ie=(s=(0,we.addSubscriptions)({ipPools:Me.subscribeIpPools}),s(l=function(e){function t(){var e,n,r,o;(0,_.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,C.default)(this,(e=t.__proto__||(0,g.default)(t)).call.apply(e,[this].concat(i))),r._renderDisplay=function(){var e=r.props.resourceSet,t=(0,ie.default)(r.props.ipPools,"id"),n=e.limits;n=void 0===n?{}:n;var o=n.cpus,a=n.disk,i=n.memory,s=e.ipPools,l=e.subjects,u=e.objectsByType;return[(0,A.default)("li",{className:"list-group-item"},void 0,(0,A.default)(xe.Subjects,{subjects:l}))].concat((0,h.default)((0,oe.default)(u,function(e,t){return(0,A.default)("li",{className:"list-group-item"},t,(0,oe.default)(e,function(e){return(0,he.default)(e,{className:"mr-1"})}))})),[!(0,ee.default)(s)&&(0,A.default)("li",{className:"list-group-item"},void 0,(0,oe.default)(s,function(n){var r=t[n],o=(0,X.default)(e,"limits[ipPool:"+n+"]"),a=o&&o.available,i=o&&o.total;return(0,A.default)("span",{className:"mr-1"},void 0,(0,he.default)({name:r&&r.name,type:"ipPool"}),o&&(0,A.default)("span",{},void 0," (",a,"/",i,")"))})),(0,A.default)("li",{className:"list-group-item"},void 0,(0,A.default)(be.Row,{},void 0,(0,A.default)(be.Col,{mediumSize:4},void 0,(0,A.default)(Se.Card,{},void 0,(0,A.default)(Se.CardHeader,{},void 0,Ee," ",(0,N.default)("resourceSetVcpus")),(0,A.default)(Se.CardBlock,{className:"text-center"},void 0,o?(0,A.default)("div",{},void 0,(0,A.default)(R.default,{data:{labels:["Available","Used"],series:[o.available,o.total-o.available]},options:{donut:!0,donutWidth:40,showLabel:!1},type:"Pie"}),(0,A.default)("p",{className:"text-xs-center"},void 0,(0,N.default)("usedResource")," ",o.total-o.available," (",(0,N.default)("totalResource")," ",o.total,")")):ze))),(0,A.default)(be.Col,{mediumSize:4},void 0,(0,A.default)(Se.Card,{},void 0,(0,A.default)(Se.CardHeader,{},void 0,Re," ",(0,N.default)("resourceSetMemory")),(0,A.default)(Se.CardBlock,{className:"text-center"},void 0,i?(0,A.default)("div",{},void 0,(0,A.default)(R.default,{data:{labels:["Available","Used"],series:[i.available,i.total-i.available]},options:{donut:!0,donutWidth:40,showLabel:!1},type:"Pie"}),(0,A.default)("p",{className:"text-xs-center"},void 0,(0,N.default)("usedResource")," ",(0,we.formatSize)(i.total-i.available)," (",(0,N.default)("totalResource")," ",(0,we.formatSize)(i.total),")")):je))),(0,A.default)(be.Col,{mediumSize:4},void 0,(0,A.default)(Se.Card,{},void 0,(0,A.default)(Se.CardHeader,{},void 0,Le," ",(0,N.default)("resourceSetStorage")),(0,A.default)(Se.CardBlock,{},void 0,a?(0,A.default)("div",{},void 0,(0,A.default)(R.default,{data:{labels:["Available","Used"],series:[a.available,a.total-a.available]},options:{donut:!0,donutWidth:40,showLabel:!1},type:"Pie"}),(0,A.default)("p",{className:"text-xs-center"},void 0,(0,N.default)("usedResource")," ",(0,we.formatSize)(a.total-a.available)," (",(0,N.default)("totalResource")," ",(0,we.formatSize)(a.total),")")):De))))),(0,A.default)("li",{className:"list-group-item text-xs-center"},void 0,(0,A.default)("div",{className:"btn-toolbar"},void 0,(0,A.default)(E.default,{btnStyle:"primary",icon:"edit",handler:r.toggleState("editionMode")},void 0,(0,N.default)("editResourceSet")),(0,A.default)(E.default,{btnStyle:"danger",icon:"delete",handler:Me.deleteResourceSet,handlerParam:e},void 0,(0,N.default)("deleteResourceSet"))))])},r._autoExpand=function(e){e&&e.scrollIntoView&&e.scrollIntoView()},o=n,(0,C.default)(r,o)}return(0,k.default)(t,e),(0,w.default)(t,[{key:"render",value:function(){var e=this.props,t=e.resourceSet,n=e.autoExpand;return ce.default.createElement("div",{className:"mb-1",ref:this._autoExpand},(0,A.default)(L.default,{buttonText:t.name,defaultOpen:n},void 0,(0,A.default)("ul",{className:"list-group"},void 0,this.state.editionMode?(0,A.default)(Oe,{resourceSet:this.props.resourceSet,onSave:this.toggleState("editionMode")}):this._renderDisplay())),t.missingObjects.length>0&&(0,A.default)("div",{className:"alert alert-danger mb-0",role:"alert"},void 0,(0,A.default)("strong",{},void 0,(0,N.default)("resourceSetMissingObjects"))," ",t.missingObjects.join(", ")))}}]),t}(I.default))||l),Be=(0,A.default)("hr",{}),Ve=((0,A.default)(be.Container,{},void 0,(0,A.default)(ve.default,{place:"selfDashboard",available:4})),function(e){function t(e){(0,_.default)(this,t);var n=(0,C.default)(this,(t.__proto__||(0,g.default)(t)).call(this,e));return n.state={},n}return(0,k.default)(t,e),(0,w.default)(t,[{key:"componentWillMount",value:function(){var e=this;this.componentWillUnmount=(0,Me.subscribeResourceSets)(function(t){e.setState({resourceSets:(0,we.resolveResourceSets)(t)})})}},{key:"render",value:function(){var e=this.state,t=e.resourceSets,n=e.showNewResourceSetForm,r=this.props.location;return(0,A.default)(Te.default,{formatTitle:!0,header:Ae,title:"selfServicePage"},void 0,(0,A.default)("div",{},void 0,(0,A.default)("div",{className:"mb-1"},void 0,(0,A.default)(E.default,{btnStyle:"primary",className:"mr-1",handler:this.toggleState("showNewResourceSetForm"),icon:"add"},void 0,(0,N.default)("resourceSetNew")),(0,A.default)(E.default,{handler:Me.recomputeResourceSetsLimits,icon:"refresh"},void 0,(0,N.default)("recomputeResourceSets"))),n&&[(0,A.default)(Oe,{onSave:this.toggleState("showNewResourceSetForm")}),Be],t?(0,ee.default)(t)?(0,N.default)("noResourceSets"):(0,oe.default)(t,function(e){return(0,A.default)(Ie,{autoExpand:r.query.resourceSet===e.id,resourceSet:e},e.id)}):(0,N.default)("loadingResourceSets")))}}]),t}(I.default));n.default=Ve},{"../page":1578,"./helpers":1587,"action-button":1401,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/asyncToGenerator":21,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/toConsumableArray":32,"babel-runtime/regenerator":147,"base-component":1405,card:1408,collapse:1411,form:1425,grid:1431,icon:1435,intl:1436,"lodash/differenceBy":704,"lodash/filter":709,"lodash/forEach":716,"lodash/get":724,"lodash/includes":728,"lodash/intersection":729,"lodash/isEmpty":735,"lodash/keys":750,"lodash/map":754,"lodash/mapKeys":755,"lodash/remove":769,"prop-types":1464,react:1269,"react-chartist":937,"react-intl":1103,"render-xo-item":1466,"select-objects":1469,selectors:1470,utils:1490,xo:1519,"xoa-upgrade":1528}],1589:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/regenerator"),s=r(i),l=e("babel-runtime/core-js/promise"),u=r(l),c=e("babel-runtime/helpers/asyncToGenerator"),d=r(c),f=e("babel-runtime/helpers/toConsumableArray"),p=r(f),h=e("babel-runtime/helpers/defineProperty"),m=r(h),v=e("babel-runtime/core-js/object/get-prototype-of"),b=r(v),g=e("babel-runtime/helpers/classCallCheck"),y=r(g),_=e("babel-runtime/helpers/createClass"),M=r(_),w=e("babel-runtime/helpers/possibleConstructorReturn"),S=r(w),C=e("babel-runtime/helpers/inherits"),x=r(C),k=e("babel-runtime/helpers/extends"),T=r(k),A=e("babel-runtime/helpers/jsx"),P=r(A),N=e("intl"),O=r(N),E=e("action-button"),z=r(E),R=e("action-row-button"),j=r(R),L=e("button-group"),D=r(L),I=e("base-component"),B=r(I),V=e("lodash/filter"),q=r(V),F=e("lodash/forEach"),U=r(F),W=e("lodash/isEmpty"),H=r(W),X=e("lodash/keyBy"),K=r(X),G=e("lodash/map"),Y=r(G),$=e("lodash/pickBy"),Q=r($),J=e("react"),Z=(r(J),e("render-xo-item")),ee=r(Z),te=e("lodash/some"),ne=r(te),re=e("sorted-table"),oe=r(re),ae=e("lodash/toArray"),ie=r(ae),se=e("xoa-upgrade"),le=r(se),ue=e("store"),ce=r(ue),de=e("utils"),fe=e("grid"),pe=e("notification"),he=e("select-objects"),me=e("selectors"),ve=e("xo"),be=["VM","host","pool","SR","network"],ge=[{name:(0,O.default)("subjectName"),itemRenderer:function(e){return e.subject.id?(0,ee.default)(e.subject):(0,Z.renderXoItemFromId)(e.subject)},sortCriteria:function(e){return(e.subject.name||e.subject.email||"").toLowerCase()}},{name:(0,O.default)("objectName"),itemRenderer:function(e){return e.object.id?(0,ee.default)(e.object):(0,Z.renderXoItemFromId)(e.object)},sortCriteria:function(e){return(e.object.name||e.object.name_label||"").toLowerCase()}},{name:(0,O.default)("roleName"),itemRenderer:function(e){return(0,P.default)(he.SelectRole,{clearable:!1,onChange:function(t){return t&&(0,ve.editAcl)(e,{action:t})},value:e.action})},sortCriteria:function(e){return(e.action.name||"").toLowerCase()}},{name:"",itemRenderer:function(e){return(0,P.default)(j.default,{icon:"delete",btnStyle:"danger",handler:ve.removeAcl,handlerParam:e})}}],ye=(o=(0,de.connectStore)(function(){var e=(0,me.createSelector)((0,me.createGetObjectsOfType)("host"),(0,me.createGetObjectsOfType)("network"),(0,me.createGetObjectsOfType)("pool"),(0,me.createGetObjectsOfType)("SR"),(0,me.createGetObjectsOfType)("VM"),(0,me.createGetObjectsOfType)("VM-snapshot"),function(e,t,n,r,o,a){return(0,T.default)({},(0,K.default)(e,"id"),(0,K.default)(t,"id"),(0,K.default)(n,"id"),(0,K.default)(a,"id"),(0,K.default)(r,"id"),(0,K.default)(o,"id"))});return{xoObjects:e}}),o(a=function(e){function t(){return(0,y.default)(this,t),(0,S.default)(this,(t.__proto__||(0,b.default)(t)).apply(this,arguments))}return(0,x.default)(t,e),(0,M.default)(t,[{key:"componentWillMount",value:function(){var e=this,t={},n=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;n&&(t=n);var r=e.props.xoObjects,o=e.state,a=o.acls,i=o.roles,s=(0,q.default)((0,Y.default)(a,function(e){var n=e.subject,o=e.object,a=e.action;return{subject:t[n]||n,object:r[o]||o,action:i[a]||a}}),function(e){var t=e.subject,n=e.object,r=e.action;return t&&n&&r&&"VM-snapshot"!==n.type});e.setState({resolvedAcls:s})},r=(0,ve.subscribeAcls)(function(t){return e.setState({acls:t},n)}),o=(0,ve.subscribeRoles)(function(t){return e.setState({roles:(0,K.default)(t,"id")},n)}),a=(0,ve.subscribeGroups)(function(e){e=(0,K.default)(e,"id"),n((0,T.default)({},(0,Q.default)(t,function(e){return"user"===e.type}),e))}),i=(0,ve.subscribeUsers)(function(e){e=(0,K.default)(e,"id"),n((0,T.default)({},(0,Q.default)(t,function(e){return"group"===e.type}),e))});this.componentWillUnmount=function(){r(),a(),o(),i()}}},{key:"render",value:function(){var e=this.state.resolvedAcls,t=void 0===e?[]:e;return(0,H.default)(t)?(0,P.default)("p",{},void 0,(0,P.default)("em",{},void 0,(0,O.default)("aclNoneFound"))):(0,P.default)(oe.default,{collection:t,columns:ge})}}]),t}(B.default))||a),_e=(0,P.default)("br",{}),Me=(0,P.default)(ye,{}),we=((0,P.default)(fe.Container,{},void 0,(0,P.default)(le.default,{place:"dashboard",available:3})),function(e){function t(e){var n=this;(0,y.default)(this,t);var r=(0,S.default)(this,(t.__proto__||(0,b.default)(t)).call(this,e));return r._toggleTypeFilter=function(e){var t=r.state,n=t.someTypeFilters,o=t.typeFilters,a=t.objects,i=(0,T.default)({},o,(0,m.default)({},e,!o[e])),s=(0,ne.default)(i);(!i[e]||!n&&s)&&r.setState({objects:(0,q.default)(a,function(e){var t=e.type;return!s||i[t]})}),r.setState({typeFilters:(0,T.default)({},o,(0,m.default)({},e,!o[e])),someTypeFilters:(0,ne.default)(i)},function(){(!r.state.typeFilters[e]||!n&&r.state.someTypeFilters)&&r.setState({objects:(0,q.default)(a,r._getObjectPredicate())})})},r._getObjectPredicate=(0,me.createSelector)(function(){return r.state.typeFilters},function(){return r.state.someTypeFilters},function(e,t){return function(n){var r=n.type;return!t||e[r]}}),r._selectAll=function(){var e=r.state,t=e.someTypeFilters,n=e.typeFilters,o=[];(0,U.default)(be,function(e){if(!t||n[e]){var r=(0,me.createGetObjectsOfType)(e)(ce.default.getState());o.push.apply(o,(0,p.default)((0,ie.default)(r)))}}),r.setState({objects:o})},r._addAcl=(0,d.default)(s.default.mark(function e(){var t,o,a,i;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.state,o=t.subjects,a=t.objects,i=t.action,e.prev=1,e.delegateYield(s.default.mark(function e(){var t;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=[],(0,U.default)(o,function(e){(0,U.default)(a,function(n){t.push((0,ve.addAcl)({subject:e,object:n,action:i}))})}),e.next=4,u.default.all(t);case 4:r.setState({subjects:[],objects:[],action:""});case 5:case"end":return e.stop()}},e,n)})(),"t0",3);case 3:e.next=8;break;case 5:e.prev=5,e.t1=e.catch(1),(0,pe.error)("Add ACL(s)",e.t1.message||String(e.t1));case 8:case"end":return e.stop()}},e,n,[[1,5]])})),r.state={action:"",objects:[],subjects:[],typeFilters:{}},r}return(0,x.default)(t,e),(0,M.default)(t,[{key:"render",value:function(){var e=this,t=this.state,n=t.typeFilters,r=t.objects,o=t.action,a=t.subjects;return(0,P.default)(fe.Container,{},void 0,(0,P.default)("form",{},void 0,(0,P.default)("div",{className:"form-group"},void 0,(0,P.default)(he.SelectSubject,{multi:!0,onChange:this.linkState("subjects"),value:a})),(0,P.default)("div",{className:"form-group"},void 0,(0,P.default)(he.SelectHighLevelObject,{multi:!0,onChange:this.linkState("objects"),value:r,predicate:this._getObjectPredicate()})),(0,P.default)("div",{className:"form-group mb-1"},void 0,(0,P.default)(D.default,{},void 0,(0,Y.default)(be,function(t){return(0,P.default)(z.default,{btnStyle:n[t]?"success":"secondary",handler:e._toggleTypeFilter,handlerParam:t,icon:t.toLowerCase(),size:"small",tooltip:(0,O.default)("settingsAclsButtonTooltip"+t)},t)}))," ",(0,P.default)(z.default,{tooltip:"Select all",size:"small",icon:"add",handler:this._selectAll})),(0,P.default)("div",{className:"form-group"},void 0,(0,P.default)(he.SelectRole,{onChange:this.linkState("action"),value:o})),(0,P.default)(z.default,{icon:"add",btnStyle:"success",handler:this._addAcl,disabled:(0,H.default)(a)||(0,H.default)(r)||!o},void 0,(0,O.default)("aclCreate"))),_e,Me)}}]),t}(B.default));n.default=we},{"action-button":1401,"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/asyncToGenerator":21,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/defineProperty":24,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/toConsumableArray":32,"babel-runtime/regenerator":147,"base-component":1405,"button-group":1406,grid:1431,intl:1436,"lodash/filter":709,"lodash/forEach":716,"lodash/isEmpty":735,"lodash/keyBy":749,"lodash/map":754,"lodash/pickBy":765,"lodash/some":774,"lodash/toArray":784,notification:1463,react:1269,"render-xo-item":1466,"select-objects":1469,selectors:1470,"sorted-table":1475,store:1479,utils:1490,xo:1519,"xoa-upgrade":1528}],1590:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("intl"),b=r(v),g=e("action-button"),y=(r(g),e("button")),_=r(y),M=e("base-component"),w=r(M),S=e("dropzone"),C=(r(S),e("icon")),x=r(C),k=e("react"),T=(r(k),e("utils")),A=e("xo"),P=(0,a.default)(x.default,{icon:"loading"}),N=((0,a.default)(x.default,{icon:"import"}),(0,a.default)("a",{href:"https://xen-orchestra.com"},void 0,"https://xen-orchestra.com")),O=(0,a.default)("br",{}),E=(0,a.default)(x.default,{icon:"export"}),z=function(e){function t(){var e,n,r,o;(0,u.default)(this,t);for(var i=arguments.length,l=Array(i),c=0;c<i;c++)l[c]=arguments[c];return n=r=(0,p.default)(this,(e=t.__proto__||(0,s.default)(t)).call.apply(e,[this].concat(l))),r._importConfig=function(){r.setState({importStatus:"start"},function(){return(0,A.importConfig)(r.state.configFile).then(function(){return r.setState({configFile:void 0,importStatus:"end"})},function(){return r.setState({configFile:void 0,importStatus:"importError"})})})},r._handleDrop=function(e){return r.setState({configFile:e&&e[0],importStatus:"selectedFile"})},r._unselectFile=function(){return r.setState({configFile:void 0,importStatus:"noFile"})},r._renderImportStatus=function(){var e=r.state,t=e.configFile,n=e.importStatus;switch(n){case"noFile":return(0,b.default)("noConfigFile");case"selectedFile":return(0,a.default)("span",{},void 0,t.name+" ("+(0,T.formatSize)(t.size)+")");case"start":return P;case"end":return(0,a.default)("span",{className:"text-success"},void 0,(0,b.default)("importConfigSuccess"));case"importError":return(0,a.default)("span",{className:"text-danger"},void 0,(0,b.default)("importConfigError"))}},o=n,(0,p.default)(r,o)}return(0,m.default)(t,e),(0,d.default)(t,[{key:"componentWillMount",value:function(){this.state={importStatus:"noFile"}}},{key:"render",value:function(){this.state.configFile;return(0,a.default)("div",{},void 0,(0,a.default)("div",{},void 0,(0,a.default)("h2",{className:"text-danger"},void 0,(0,b.default)("noConfigImportCommunity")),(0,a.default)("p",{},void 0,(0,b.default)("considerSubscribe",{link:N}))),O,(0,a.default)("div",{className:"mt-1"},void 0,(0,a.default)("h2",{},void 0,E," ",(0,b.default)("exportConfig")),(0,a.default)(_.default,{btnStyle:"primary",onClick:A.exportConfig},void 0,(0,b.default)("downloadConfig"))))}}]),t}(w.default);n.default=z},{"action-button":1401,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,button:1407,dropzone:1419,icon:1435,intl:1436,react:1269,utils:1490,xo:1519}],1591:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l,u=e("babel-runtime/helpers/jsx"),c=r(u),d=e("babel-runtime/core-js/object/get-prototype-of"),f=r(d),p=e("babel-runtime/helpers/classCallCheck"),h=r(p),m=e("babel-runtime/helpers/createClass"),v=r(m),b=e("babel-runtime/helpers/possibleConstructorReturn"),g=r(b),y=e("babel-runtime/helpers/inherits"),_=r(y),M=e("intl"),w=r(M),S=e("action-button"),C=r(S),x=e("base-component"),k=r(x),T=e("lodash/includes"),A=r(T),P=e("lodash/isEmpty"),N=r(P),O=e("lodash/keyBy"),E=r(O),z=e("lodash/map"),R=r(z),j=e("prop-types"),L=r(j),D=e("react"),I=r(D),B=e("lodash/size"),V=r(B),q=e("sorted-table"),F=r(q),U=e("utils"),W=e("react-intl"),H=e("select-objects"),X=e("editable"),K=e("xo"),G=(o=(0,U.addSubscriptions)({users:function(e){return(0,K.subscribeUsers)(function(t){return e((0,E.default)(t,"id"))})}}),a=(0,L.default)({id:L.default.string.isRequired,group:L.default.object.isRequired}),o(i=a(i=function(e){function t(){var e,n,r,o;(0,h.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,g.default)(this,(e=t.__proto__||(0,f.default)(t)).call.apply(e,[this].concat(i))),r._removeUser=function(){var e=r.props,t=e.id,n=e.group;return(0,K.removeUserFromGroup)(t,n)},o=n,(0,g.default)(r,o)}return(0,_.default)(t,e),(0,v.default)(t,[{key:"render",value:function(){var e=this.props,t=e.id,n=e.users;return(0,c.default)("span",{},void 0,t&&n&&n[t]&&n[t].email||(0,c.default)("em",{},void 0,"<",(0,w.default)("unknownUser"),">")," ",(0,c.default)(C.default,{className:"pull-right",btnStyle:"primary",size:"small",icon:"remove",handler:this._removeUser}))}}]),t}(k.default))||i)||i),Y=function(e){function t(){var e,n,r,o;(0,h.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,g.default)(this,(e=t.__proto__||(0,f.default)(t)).call.apply(e,[this].concat(i))),r._toggle=function(){return r.setState({open:!r.state.open})},o=n,(0,g.default)(r,o)}return(0,_.default)(t,e),(0,v.default)(t,[{key:"render",value:function(){var e=this.props.group;return(0,c.default)("div",{},void 0,(0,N.default)(e.users)?(0,c.default)("em",{},void 0,(0,w.default)("noUserInGroup")):(0,c.default)("div",{},void 0,(0,c.default)("div",{},void 0,(0,w.default)("countUsers",{users:(0,V.default)(e.users)}),(0,c.default)(C.default,{className:"pull-right",size:"small",icon:this.state.open?"minus":"plus",handler:this._toggle})),this.state.open&&(0,c.default)("div",{className:"mt-1"},void 0,(0,c.default)("ul",{className:"list-group"},void 0,(0,R.default)(e.users,function(t){return(0,c.default)("li",{className:"list-group-item"},t,(0,c.default)(G,{id:t,group:e}))})))))}}]),t}(k.default),$=function(e){return function(t){return t.email&&!(0,A.default)(e,t.id)}},Q=[{name:(0,w.default)("groupNameColumn"),itemRenderer:function(e){return(0,c.default)(X.Text,{value:e.name,onChange:function(t){return(0,K.setGroupName)(e,t)}})},sortCriteria:function(e){return e.name}},{name:(0,w.default)("groupUsersColumn"),itemRenderer:function(e){return(0,c.default)(Y,{group:e})}},{name:(0,w.default)("addUserToGroupColumn"),itemRenderer:function(e){return(0,c.default)(H.SelectSubject,{predicate:$(e.users),onChange:function(t){return t&&(0,K.addUserToGroup)(t,e)},defaultValue:null})}},{name:"",itemRenderer:function(e){return(0,c.default)(C.default,{icon:"delete",handler:K.deleteGroup,handlerParam:e,btnStyle:"danger"})}}],J=(0,c.default)("hr",{}),Z=(s=(0,U.addSubscriptions)({groups:K.subscribeGroups}),s(l=(0,W.injectIntl)(l=function(e){function t(){var e,n,r,o;(0,h.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,g.default)(this,(e=t.__proto__||(0,f.default)(t)).call.apply(e,[this].concat(i))),r._createGroup=function(){var e=r.refs.name;if(e)return(0,K.createGroup)(e.value).then(function(){e.value=""})},o=n,(0,g.default)(r,o)}return(0,_.default)(t,e),(0,v.default)(t,[{key:"render",value:function(){var e=this.props,t=e.groups,n=e.intl;return(0,c.default)("div",{},void 0,(0,c.default)("form",{id:"newGroupForm",className:"form-inline"},void 0,(0,c.default)("div",{className:"form-group"},void 0,I.default.createElement("input",{type:"text",ref:"name",placeholder:n.formatMessage(M.messages.newGroupName),
|
95 | required:!0,className:"form-control"}))," ",(0,c.default)("div",{className:"form-group"},void 0,(0,c.default)(C.default,{form:"newGroupForm",icon:"add",btnStyle:"success",handler:this._createGroup},void 0,(0,w.default)("createGroupButton")))),J,(0,N.default)(t)?(0,c.default)("p",{},void 0,(0,c.default)("em",{},void 0,(0,w.default)("noGroupFound"))):(0,c.default)(F.default,{collection:t,columns:Q}))}}]),t}(k.default))||l)||l);n.default=Z},{"action-button":1401,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,editable:1421,intl:1436,"lodash/includes":728,"lodash/isEmpty":735,"lodash/keyBy":749,"lodash/map":754,"lodash/size":772,"prop-types":1464,react:1269,"react-intl":1103,"select-objects":1469,"sorted-table":1475,utils:1490,xo:1519}],1592:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("intl"),s=r(i),l=e("icon"),u=r(l),c=e("../page"),d=r(c),f=e("react"),p=(r(f),e("utils")),h=e("grid"),m=e("nav"),v=e("./acls"),b=r(v),g=e("./config"),y=r(g),_=e("./groups"),M=r(_),w=e("./ips"),S=r(w),C=e("./logs"),x=r(C),k=e("./plugins"),T=r(k),A=e("./remotes"),P=r(A),N=e("./servers"),O=r(N),E=e("./users"),z=r(E),R=(0,a.default)(h.Container,{},void 0,(0,a.default)(h.Row,{},void 0,(0,a.default)(h.Col,{mediumSize:3},void 0,(0,a.default)("h2",{},void 0,(0,a.default)(u.default,{icon:"menu-settings"})," ",(0,s.default)("settingsPage"))),(0,a.default)(h.Col,{mediumSize:9},void 0,(0,a.default)(m.NavTabs,{className:"pull-right"},void 0,(0,a.default)(m.NavLink,{to:"/settings/servers"},void 0,(0,a.default)(u.default,{icon:"menu-settings-servers"})," ",(0,s.default)("settingsServersPage")),(0,a.default)(m.NavLink,{to:"/settings/users"},void 0,(0,a.default)(u.default,{icon:"menu-settings-users"})," ",(0,s.default)("settingsUsersPage")),(0,a.default)(m.NavLink,{to:"/settings/groups"},void 0,(0,a.default)(u.default,{icon:"menu-settings-groups"})," ",(0,s.default)("settingsGroupsPage")),(0,a.default)(m.NavLink,{to:"/settings/acls"},void 0,(0,a.default)(u.default,{icon:"menu-settings-acls"})," ",(0,s.default)("settingsAclsPage")),(0,a.default)(m.NavLink,{to:"/settings/remotes"},void 0,(0,a.default)(u.default,{icon:"menu-backup-remotes"})," ",(0,s.default)("backupRemotesPage")),(0,a.default)(m.NavLink,{to:"/settings/plugins"},void 0,(0,a.default)(u.default,{icon:"menu-settings-plugins"})," ",(0,s.default)("settingsPluginsPage")),(0,a.default)(m.NavLink,{to:"/settings/logs"},void 0,(0,a.default)(u.default,{icon:"menu-settings-logs"})," ",(0,s.default)("settingsLogsPage")),(0,a.default)(m.NavLink,{to:"/settings/ips"},void 0,(0,a.default)(u.default,{icon:"ip"})," ",(0,s.default)("settingsIpsPage")),(0,a.default)(m.NavLink,{to:"/settings/config"},void 0,(0,a.default)(u.default,{icon:"menu-settings-config"})," ",(0,s.default)("settingsConfigPage")))))),j=(0,p.routes)("servers",{acls:b.default,config:y.default,groups:M.default,ips:S.default,logs:x.default,plugins:T.default,remotes:P.default,servers:O.default,users:z.default})(function(e){var t=e.children;return(0,a.default)(d.default,{header:R,title:"settingsPage",formatTitle:!0},void 0,t)});n.default=j},{"../page":1578,"./acls":1589,"./config":1590,"./groups":1591,"./ips":1593,"./logs":1595,"./plugins":1596,"./remotes":1597,"./servers":1598,"./users":1599,"babel-runtime/helpers/jsx":27,grid:1431,icon:1435,intl:1436,nav:1462,react:1269,utils:1490}],1593:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l=e("babel-runtime/helpers/toConsumableArray"),u=r(l),c=e("babel-runtime/helpers/jsx"),d=r(c),f=e("babel-runtime/core-js/object/get-prototype-of"),p=r(f),h=e("babel-runtime/helpers/classCallCheck"),m=r(h),v=e("babel-runtime/helpers/createClass"),b=r(v),g=e("babel-runtime/helpers/possibleConstructorReturn"),y=r(g),_=e("babel-runtime/helpers/inherits"),M=r(_),w=e("lodash/map"),S=r(w),C=e("lodash/keys"),x=r(C),k=e("lodash/isObject"),T=r(k),A=e("lodash/isEmpty"),P=r(A),N=e("lodash/includes"),O=r(N),E=e("lodash/forEach"),z=r(E),R=e("lodash/findIndex"),j=r(R),L=e("lodash/some"),D=r(L),I=e("intl"),B=r(I),V=e("action-button"),q=r(V),F=e("action-row-button"),U=r(F),W=e("base-component"),H=r(W),X=e("react-debounce-input"),K=r(X),G=e("icon"),Y=r(G),$=e("react"),Q=(r($),e("single-line-row")),J=r(Q),Z=e("sorted-table"),ee=r(Z),te=e("xoa-upgrade"),ne=r(te),re=e("utils"),oe=e("grid"),ae=e("ip"),ie=e("selectors"),se=e("react-intl"),le=e("render-xo-item"),ue=e("select-objects"),ce=e("editable"),de=e("xo"),fe={width:"100%"},pe={maxWidth:"40em"},he=function(){var e="\\d{1,3}(\\.\\d{1,3}){3}",t=e+"(-"+e+")?";return t+"(;"+t+")*"}(),me=(0,d.default)(Y.default,{icon:"arrow-right"}),ve=(o=(0,re.connectStore)(function(){return{networks:(0,ie.createGetObjectsOfType)("network").groupBy("id"),vifs:(0,ie.createGetObjectsOfType)("VIF").groupBy("id")}}),o(a=function(e){function t(){var e,n,r,o;(0,m.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,y.default)(this,(e=t.__proto__||(0,p.default)(t)).call.apply(e,[this].concat(i))),r._addIps=function(){var e={};(0,z.default)((0,ae.parseIpPattern)(r.state.newIps),function(t){e[t]={}}),(0,de.setIpPool)(r.props.ipPool.id,{addresses:e}),r.setState({newIps:""})},r._deleteIp=function(e){var t={};if((0,T.default)(e)){for(var n=e.first;n!==e.last;)t[n]=null,n=(0,ae.getNextIpV4)(n);t[n]=null}else t[e]=null;(0,de.setIpPool)(r.props.ipPool.id,{addresses:t})},o=n,(0,y.default)(r,o)}return(0,M.default)(t,e),(0,b.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.ipPool,r=t.networks,o=t.vifs,a=this.state,i=a.newIps,s=a.showNewIpForm;return(0,d.default)(oe.Container,{},void 0,(0,d.default)(oe.Row,{},void 0,(0,d.default)(oe.Col,{mediumSize:6,offset:5},void 0,(0,d.default)("strong",{},void 0,(0,B.default)("ipsVifs")))),n.addresses&&(0,S.default)((0,ae.formatIps)((0,x.default)(n.addresses)),function(t){if((0,T.default)(t))return(0,d.default)(oe.Row,{},void 0,(0,d.default)(oe.Col,{mediumSize:5},void 0,(0,d.default)("strong",{},void 0,t.first," ",me," ",t.last)),(0,d.default)(oe.Col,{mediumSize:1,offset:6},void 0,(0,d.default)(U.default,{handler:e._deleteIp,handlerParam:t,icon:"delete"})));var a=n.addresses[t].vifs;return(0,d.default)(oe.Row,{},void 0,(0,d.default)(oe.Col,{mediumSize:5},void 0,(0,d.default)("strong",{},void 0,t)),(0,d.default)(oe.Col,{mediumSize:6},void 0,(0,P.default)(a)?(0,d.default)("em",{},void 0,(0,B.default)("ipsNotUsed")):(0,S.default)(a,function(e,t){var n=o[e]&&o[e][0],a=n&&r[n.$network]&&r[n.$network][0];return(0,d.default)("span",{className:"mr-1"},void 0,a&&n?a.name_label+" #"+n.device:(0,d.default)("em",{},void 0,(0,B.default)("ipPoolUnknownVif")))})),(0,d.default)(oe.Col,{mediumSize:1},void 0,(0,d.default)(U.default,{handler:e._deleteIp,handlerParam:t,icon:"delete"})))}),(0,d.default)(oe.Row,{},void 0,(0,d.default)(oe.Col,{},void 0,s?(0,d.default)("form",{id:"newIpForm",className:"form-inline"},void 0,(0,d.default)(q.default,{btnStyle:"danger",handler:this.toggleState("showNewIpForm"),icon:"remove"})," ",(0,d.default)(K.default,{autoFocus:!0,onChange:this.linkState("newIps"),type:"text",className:"form-control",required:!0,value:i||""})," ",(0,d.default)(q.default,{form:"newIpForm",icon:"save",btnStyle:"primary",handler:this._addIps})):(0,d.default)(q.default,{btnStyle:"success",size:"small",handler:this.toggleState("showNewIpForm"),icon:"add"}))))}}]),t}(H.default))||a),be=function(e){function t(){var e,n,r,o;(0,m.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,y.default)(this,(e=t.__proto__||(0,p.default)(t)).call.apply(e,[this].concat(i))),r.state={newNetworks:[]},r._addNetworks=function(){if((0,P.default)(r.state.newNetworks))return r._toggleNewNetworks();var e=r.props.ipPool;(0,de.setIpPool)(e.id,{networks:[].concat((0,u.default)(e.networks),(0,u.default)(r.state.newNetworks))}),r._toggleNewNetworks(),r.setState({newNetworks:[]})},r._deleteNetwork=function(e){var t=[].concat((0,u.default)(r.props.ipPool.networks)),n=(0,j.default)(t,function(t){return t===e});n!==-1&&(t.splice(n,1),(0,de.setIpPool)(r.props.ipPool.id,{networks:t}))},r._toggleNewNetworks=function(){return r.setState({showNewNetworkForm:!r.state.showNewNetworkForm})},r._getNetworkPredicate=(0,ie.createSelector)(function(){return r.props.ipPool&&r.props.ipPool.networks},function(e){return function(t){return!(0,O.default)(e,t.id)}}),o=n,(0,y.default)(r,o)}return(0,M.default)(t,e),(0,b.default)(t,[{key:"render",value:function(){var e=this,t=this.props.ipPool,n=this.state,r=n.newNetworks,o=n.showNewNetworkForm;return(0,d.default)(oe.Container,{},void 0,(0,S.default)(t.networks,function(t){return(0,d.default)(oe.Row,{},void 0,(0,d.default)(oe.Col,{mediumSize:11},void 0,(0,le.renderXoItemFromId)(t)),(0,d.default)(oe.Col,{mediumSize:1},void 0,(0,d.default)(U.default,{handler:e._deleteNetwork,handlerParam:t,icon:"delete",size:"small"})))}),(0,d.default)(oe.Row,{},void 0,o?(0,d.default)("form",{id:"newNetworkForm",style:pe},void 0,(0,d.default)(oe.Col,{mediumSize:10},void 0,(0,d.default)(ue.SelectNetwork,{autoFocus:!0,multi:!0,onChange:this.linkState("newNetworks","*.id"),predicate:this._getNetworkPredicate(),value:r})),(0,d.default)(oe.Col,{mediumSize:2},void 0,(0,d.default)(q.default,{form:"newNetworkForm",icon:"save",btnStyle:"primary",handler:this._addNetworks}))):(0,d.default)(oe.Col,{},void 0,(0,d.default)(q.default,{btnStyle:"success",size:"small",handler:this._toggleNewNetworks,icon:"add"}))))}}]),t}(H.default),ge=((0,d.default)(oe.Container,{},void 0,(0,d.default)(ne.default,{place:"health",available:4})),(0,d.default)("br",{})),ye=(0,d.default)("br",{}),_e=(0,d.default)("hr",{}),Me=(i=(0,re.addSubscriptions)({ipPools:de.subscribeIpPools}),i(s=(0,se.injectIntl)(s=function(e){function t(){var e,n,r,o;(0,m.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,y.default)(this,(e=t.__proto__||(0,p.default)(t)).call.apply(e,[this].concat(i))),r._create=function(){var e=r.state,t=e.name,n=e.ips,o=e.networks;return r.setState({creatingIpPool:!0}),(0,de.createIpPool)({ips:(0,ae.parseIpPattern)(n),name:t,networks:(0,S.default)(o,"id")}).then(function(){r.setState({creatingIpPool:!1,ips:void 0,name:void 0,networks:[]})})},r._getNameAlreadyExists=(0,ie.createSelector)(function(){return r.props.ipPools},function(e){return function(t){return(0,D.default)(e,{name:t})}}),r._disableCreation=(0,ie.createSelector)(r._getNameAlreadyExists,function(){return r.state},function(e,t){var n=t.name,r=t.ips,o=t.networks;return!n||(0,P.default)(r)||(0,P.default)(o)||e(n)}),r._onChangeIpPoolName=function(e,t){if((0,D.default)(r.props.ipPools,{name:t}))throw new Error(r.props.intl.formatMessage(I.messages.ipPoolNameAlreadyExists));return(0,de.setIpPool)(e,{name:t})},r._ipColumns=[{default:!0,name:(0,B.default)("ipPoolName"),itemRenderer:function(e){return(0,d.default)(ce.Text,{onChange:function(t){return r._onChangeIpPoolName(e,t)},value:e.name})},sortCriteria:function(e){return e.name}},{name:(0,B.default)("ipPoolIps"),itemRenderer:function(e){return(0,d.default)(ve,{ipPool:e})}},{name:(0,B.default)("ipPoolNetworks"),itemRenderer:function(e){return(0,d.default)(be,{ipPool:e})}},{name:"",itemRenderer:function(e){return(0,d.default)("span",{className:"pull-right"},void 0,(0,d.default)(q.default,{handler:de.deleteIpPool,handlerParam:e.id,icon:"delete"}))}}],o=n,(0,y.default)(r,o)}return(0,M.default)(t,e),(0,b.default)(t,[{key:"render",value:function(){var e=this.props,t=e.ipPools,n=e.intl,r=this.state,o=r.creatingIpPool,a=r.ips,i=r.name,s=r.networks;return(0,d.default)("div",{},void 0,(0,d.default)(oe.Row,{},void 0,(0,d.default)(oe.Col,{size:6},void 0,(0,d.default)("form",{id:"newIpPoolForm",className:"form-inline"},void 0,(0,d.default)(J.default,{},void 0,(0,d.default)(oe.Col,{mediumSize:6},void 0,(0,d.default)("input",{className:"form-control",disabled:o,onChange:this.linkState("name"),placeholder:n.formatMessage(I.messages.ipPoolName),required:!0,style:fe,type:"text",value:i||""})),(0,d.default)(oe.Col,{mediumSize:6},void 0,(0,d.default)("input",{className:"form-control",disabled:o,onChange:this.linkState("ips"),pattern:he,placeholder:n.formatMessage(I.messages.ipPoolIps),required:!0,style:fe,type:"text",value:a||""}))),ge,(0,d.default)(J.default,{},void 0,(0,d.default)(oe.Col,{mediumSize:12},void 0,(0,d.default)(ue.SelectNetwork,{disabled:o,multi:!0,onChange:this.linkState("networks"),value:s}))),ye,(0,d.default)(J.default,{},void 0,(0,d.default)(oe.Col,{mediumSize:6},void 0,(0,d.default)(q.default,{btnStyle:"success",disabled:this._disableCreation(),form:"newIpPoolForm",icon:"add",handler:this._create},void 0,(0,B.default)("ipsCreate"))))))),_e,(0,P.default)(t)?(0,d.default)("p",{},void 0,(0,d.default)("em",{},void 0,(0,B.default)("ipsNoIpPool"))):(0,d.default)(ee.default,{collection:t,columns:this._ipColumns}))}}]),t}(H.default))||s)||s);n.default=Me},{"action-button":1401,"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/toConsumableArray":32,"base-component":1405,editable:1421,grid:1431,icon:1435,intl:1436,ip:1447,"lodash/findIndex":711,"lodash/forEach":716,"lodash/includes":728,"lodash/isEmpty":735,"lodash/isObject":741,"lodash/keys":750,"lodash/map":754,"lodash/some":774,react:1269,"react-debounce-input":941,"react-intl":1103,"render-xo-item":1466,"select-objects":1469,selectors:1470,"single-line-row":1473,"sorted-table":1475,utils:1490,xo:1519,"xoa-upgrade":1528}],1594:[function(e,t,n){t.exports={widthLimit:"mc6ad38729_widthLimit"}},{}],1595:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/extends"),s=r(i),l=e("babel-runtime/core-js/promise"),u=r(l),c=e("babel-runtime/core-js/object/get-prototype-of"),d=r(c),f=e("babel-runtime/helpers/classCallCheck"),p=r(f),h=e("babel-runtime/helpers/createClass"),m=r(h),v=e("babel-runtime/helpers/possibleConstructorReturn"),b=r(v),g=e("babel-runtime/helpers/inherits"),y=r(g),_=e("babel-runtime/helpers/jsx"),M=r(_),w=e("babel-runtime/core-js/json/stringify"),S=r(w),C=e("intl"),x=r(C),k=e("action-row-button"),T=r(k),A=e("base-component"),P=r(A),N=e("button-group"),O=r(N),E=e("copiable"),z=r(E),R=e("lodash/find"),j=r(R),L=e("lodash/isEmpty"),D=r(L),I=e("lodash/map"),B=r(I),V=e("react"),q=(r(V),e("sorted-table")),F=r(q),U=e("./index.css"),W=r(U),H=e("tab-button"),X=r(H),K=e("utils"),G=e("modal"),Y=e("selectors"),$=e("react-intl"),Q=e("xo"),J=!0,Z=function(e){var t=encodeURIComponent("Error on "+e.data.method),n=encodeURIComponent("```\n"+e.data.method+"\n"+(0,S.default)(e.data.params,null,2)+"\n"+(0,S.default)(e.data.error,null,2).replace(/\\n/g,"\n")+"\n```");window.open("https://github.com/vatesfr/xo-web/issues/new?title="+t+"&body="+n)},ee=[{name:(0,x.default)("logUser"),itemRenderer:function(e,t){var n=t.users;if(null==e.data.userId)return(0,x.default)("noUser");if(!n)return"...";var r=(0,j.default)(n,function(t){return t.id===e.data.userId});return r?r.email:(0,x.default)("unknownUser")},sortCriteria:function(e){return e.data.userId}},{name:(0,x.default)("logMessage"),itemRenderer:function(e){return(0,M.default)("pre",{className:W.default.widthLimit},void 0,e.data.error&&e.data.error.message)},sortCriteria:function(e){return e.data.error&&e.data.error.message}},{default:!0,name:(0,x.default)("logTime"),itemRenderer:function(e){return(0,M.default)("span",{},void 0,e.time&&(0,M.default)($.FormattedDate,{value:new Date(e.time),month:"long",day:"numeric",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}))},sortCriteria:function(e){return e.time},sortOrder:"desc"},{name:"",itemRenderer:function(e,t){var n=t.showError;return(0,M.default)("div",{className:"text-xs-right"},void 0,(0,M.default)(O.default,{},void 0,(0,M.default)(T.default,{handler:n,handlerParam:e,icon:"preview",tooltip:(0,x.default)("logDisplayDetails")}),(0,M.default)(T.default,{btnStyle:"danger",handler:Q.deleteApiLog,handlerParam:e.id,icon:"delete",tooltip:(0,x.default)("logDelete")}),J&&(0,M.default)(T.default,{handler:function(){return Z(e)},icon:"bug",tooltip:(0,x.default)("reportBug")})))}}],te=(o=(0,K.addSubscriptions)({logs:Q.subscribeApiLogs,users:Q.subscribeUsers}),o(a=function(e){function t(){var e,n,r,o;(0,p.default)(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r=(0,b.default)(this,(e=t.__proto__||(0,d.default)(t)).call.apply(e,[this].concat(i))),r._deleteAllLogs=function(){return(0,G.confirm)({title:(0,x.default)("logDeleteAllTitle"),body:(0,x.default)("logDeleteAllMessage")}).then(function(){return u.default.all((0,B.default)(r.props.logs,function(e,t){return(0,Q.deleteApiLog)(t)}))})},r._getLogs=(0,Y.createSelector)(function(){return r.props.logs},function(e){return(0,B.default)(e,function(e,t){return(0,s.default)({},e,{id:t})})}),r._showError=function(e){return(0,G.alert)((0,x.default)("logError"),(0,M.default)(z.default,{tagName:"pre"},void 0,e.data.method+"\n"+(0,S.default)(e.data.params,null,2)+"\n"+(0,S.default)(e.data.error,null,2).replace(/\\n/g,"\n")))},r._getData=(0,Y.createSelector)(function(){return r.props.users},function(){return r._showError},function(e,t){return{users:e,showError:t}}),o=n,(0,b.default)(r,o)}return(0,y.default)(t,e),(0,m.default)(t,[{key:"render",value:function(){var e=this._getLogs();return(0,M.default)("div",{},void 0,(0,D.default)(e)?(0,M.default)("p",{},void 0,(0,x.default)("noLogs")):(0,M.default)("div",{},void 0,(0,M.default)("span",{className:"pull-right"},void 0,(0,M.default)(X.default,{btnStyle:"danger",handler:this._deleteAllLogs,icon:"delete",labelId:"logDeleteAll"}))," ",(0,M.default)(F.default,{collection:e,columns:ee,userData:this._getData()})))}}]),t}(P.default))||a);n.default=te},{"./index.css":1594,"action-row-button":1403,"babel-runtime/core-js/json/stringify":7,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,"button-group":1406,copiable:1415,intl:1436,"lodash/find":710,"lodash/isEmpty":735,"lodash/map":754,modal:1461,react:1269,"react-intl":1103,selectors:1470,"sorted-table":1475,"tab-button":1481,utils:1490,xo:1519}],1596:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l,u=e("babel-runtime/core-js/json/stringify"),c=r(u),d=e("babel-runtime/regenerator"),f=r(d),p=e("babel-runtime/helpers/asyncToGenerator"),h=r(p),m=e("babel-runtime/helpers/jsx"),v=r(m),b=e("babel-runtime/core-js/object/get-prototype-of"),g=r(b),y=e("babel-runtime/helpers/classCallCheck"),_=r(y),M=e("babel-runtime/helpers/createClass"),w=r(M),S=e("babel-runtime/helpers/possibleConstructorReturn"),C=r(S),x=e("babel-runtime/helpers/inherits"),k=r(x),T=e("intl"),A=r(T),P=e("action-button"),N=r(P),O=e("action-toggle"),E=r(O),z=e("button"),R=r(z),j=e("base-component"),L=r(j),D=e("json-schema-input"),I=r(D),B=e("icon"),V=r(B),q=e("lodash/isEmpty"),F=r(q),U=e("lodash/map"),W=r(U),H=e("react"),X=r(H),K=e("lodash/size"),G=r(K),Y=e("utils"),$=e("modal"),Q=e("reselect"),J=e("xo-json-schema-input"),Z=e("promise-toolbox"),ee=e("grid"),te=e("xo"),ne=(0,v.default)("hr",{}),re=(a=o=function(e){function t(e){(0,_.default)(this,t);var n=(0,C.default)(this,(t.__proto__||(0,g.default)(t)).call(this,e));return i.call(n),n.configFormId="form-config-"+e.id,n.testFormId="form-test-"+e.id,n}return(0,k.default)(t,e),(0,w.default)(t,[{key:"render",value:function(){var e=this.props,t=this.state,n=t.editedConfig,r=t.expanded,o=e.configurationPresets,a=e.loaded;return(0,v.default)("div",{className:"card-block"},void 0,(0,v.default)(ee.Row,{},void 0,(0,v.default)(ee.Col,{mediumSize:8},void 0,(0,v.default)("h5",{className:"form-inline clearfix"},void 0,(0,v.default)(E.default,{disabled:a&&e.unloadable===!1,handler:this._updateLoad,value:a}),(0,v.default)("span",{className:"text-primary"},void 0," "+e.name+" "),(0,v.default)("span",{},void 0,"(v"+e.version+") "),(0,v.default)("div",{className:"checkbox small"},void 0,(0,v.default)("label",{className:"text-muted"},void 0,(0,A.default)("autoloadPlugin")," ",(0,v.default)("input",{type:"checkbox",checked:e.autoload,onChange:this._setAutoload}))))),(0,v.default)(ee.Col,{mediumSize:4},void 0,(0,v.default)("div",{className:"form-group pull-right small"},void 0,(0,v.default)(R.default,{btnStyle:"primary",onClick:this._updateExpanded},void 0,(0,v.default)(V.default,{icon:r?"minus":"plus"}))))),r&&e.configurationSchema&&(0,v.default)("form",{id:this.configFormId,onReset:this._stopEditing},void 0,(0,G.default)(o)>0&&(0,v.default)("div",{},void 0,(0,v.default)("legend",{},void 0,(0,A.default)("pluginConfigurationPresetTitle")),(0,v.default)("span",{className:"text-muted"},void 0,(0,v.default)("p",{},void 0,(0,A.default)("pluginConfigurationChoosePreset"))),(0,v.default)("div",{className:"input-group"},void 0,X.default.createElement("select",{className:"form-control",disabled:!n,ref:"selectPredefinedConfiguration"},(0,W.default)(o,function(e,t){return(0,v.default)("option",{value:t},t,t)})),(0,v.default)("span",{className:"input-group-btn"},void 0,(0,v.default)(R.default,{btnStyle:"primary",disabled:!n,onClick:this._applyPredefinedConfiguration},void 0,(0,A.default)("applyPluginPreset")))),ne),(0,v.default)(I.default,{label:"Configuration",required:!0,schema:e.configurationSchema,uiSchema:this._getUiSchema(),onChange:this.linkState("editedConfig"),value:n||this.props.configuration}),(0,v.default)("div",{className:"form-group pull-right"},void 0,(0,v.default)("div",{className:"btn-toolbar"},void 0,(0,v.default)("div",{className:"btn-group"},void 0,(0,v.default)(N.default,{btnStyle:"danger",disabled:!e.configuration,icon:"delete",handler:this._deleteConfiguration},void 0,(0,A.default)("deletePluginConfiguration"))),(0,v.default)("div",{className:"btn-group"},void 0,(0,v.default)(R.default,{disabled:!n,type:"reset"},void 0,(0,A.default)("cancelPluginEdition"))),(0,v.default)("div",{className:"btn-group"},void 0,(0,v.default)(N.default,{disabled:!n,form:this.configFormId,icon:"save",className:"btn-primary",handler:this._saveConfiguration},void 0,(0,A.default)("savePluginConfiguration")))))),r&&e.testable&&(0,v.default)("form",{id:this.testFormId},void 0,e.testSchema&&X.default.createElement(I.default,{label:"Test data",schema:e.testSchema,uiSchema:(0,J.generateUiSchema)(e.testSchema),required:!0,ref:"testInput"}),(0,v.default)("div",{className:"form-group pull-right"},void 0,(0,v.default)(N.default,{btnStyle:"primary",form:this.testFormId,handler:this._test,icon:"diagnosis"},void 0,"Test plugin"))))}}]),t}(L.default),i=function(){var e=this;this._getUiSchema=(0,Q.createSelector)(function(){return e.props.configurationSchema},J.generateUiSchema),this._updateExpanded=function(){e.setState({expanded:!e.state.expanded})},this._setAutoload=function(t){var n;if(!e._updateAutoload){e._updateAutoload=!0;var r=t.target.checked?te.enablePluginAutoload:te.disablePluginAutoload;(n=r(e.props.id),Z.lastly).call(n,function(){e._updateAutoload=!1})}},this._updateLoad=function(){var t=e.props;return t.loaded?t.unloadable!==!1?(0,te.unloadPlugin)(t.id):void 0:(0,te.loadPlugin)(t.id)},this._saveConfiguration=(0,h.default)(f.default.mark(function t(){return f.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,te.configurePlugin)(e.props.id,e.state.editedConfig);case 2:e._stopEditing();case 3:case"end":return t.stop()}},t,e)})),this._deleteConfiguration=(0,h.default)(f.default.mark(function t(){return f.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,(0,te.purgePluginConfiguration)(e.props.id);case 2:e._stopEditing();case 3:case"end":return t.stop()}},t,e)})),this._stopEditing=function(t){t&&t.preventDefault(),e.setState({editedConfig:void 0})},this._applyPredefinedConfiguration=function(){var t=e.refs.selectPredefinedConfiguration.value;e.setState({editedConfig:e.props.configurationPresets[t]})},this._test=(0,h.default)(f.default.mark(function t(){var n;return f.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,n=e.refs.testInput,t.next=4,(0,te.testPlugin)(e.props.id,n&&n.value);case 4:t.next=11;break;case 6:return t.prev=6,t.t0=t.catch(0),t.next=10,(0,$.alert)("You have an error!",(0,v.default)("div",{},void 0,(0,v.default)("p",{},void 0,"Code: ",t.t0.code),(0,v.default)("p",{},void 0,"Message: ",t.t0.message),t.t0.data&&(0,v.default)("pre",{},void 0,(0,c.default)(t.t0.data,null,2))));case 10:throw t.t0;case 11:case"end":return t.stop()}},t,e,[[0,6]])}))},a),oe=(s=(0,Y.addSubscriptions)({plugins:te.subscribePlugins}),s(l=function(e){function t(){return(0,_.default)(this,t),(0,C.default)(this,(t.__proto__||(0,g.default)(t)).apply(this,arguments))}return(0,k.default)(t,e),(0,w.default)(t,[{key:"render",value:function(){return(0,F.default)(this.props.plugins)?(0,v.default)("p",{},void 0,(0,v.default)("em",{},void 0,(0,A.default)("noPlugins"))):(0,v.default)("div",{},void 0,(0,v.default)("ul",{style:{paddingLeft:0}},void 0,(0,W.default)(this.props.plugins,function(e,t){return(0,v.default)("li",{className:"list-group-item clearfix"},t,X.default.createElement(re,e))})))}}]),t}(L.default))||l);n.default=oe},{"action-button":1401,"action-toggle":1404,"babel-runtime/core-js/json/stringify":7,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/asyncToGenerator":21,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/regenerator":147,"base-component":1405,button:1407,grid:1431,icon:1435,intl:1436,"json-schema-input":1454,"lodash/isEmpty":735,"lodash/map":754,"lodash/size":772,modal:1461,"promise-toolbox":829,react:1269,reselect:1291,utils:1490,xo:1519,"xo-json-schema-input":1493}],1597:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l,u=e("babel-runtime/regenerator"),c=r(u),d=e("babel-runtime/helpers/asyncToGenerator"),f=r(d),p=e("babel-runtime/helpers/jsx"),h=r(p),m=e("babel-runtime/helpers/extends"),v=r(m),b=e("babel-runtime/core-js/object/get-prototype-of"),g=r(b),y=e("babel-runtime/helpers/classCallCheck"),_=r(y),M=e("babel-runtime/helpers/createClass"),w=r(M),S=e("babel-runtime/helpers/possibleConstructorReturn"),C=r(S),x=e("babel-runtime/helpers/inherits"),k=r(x),T=e("intl"),A=r(T),P=e("action-button"),N=r(P),O=e("action-row-button"),E=r(O),z=e("lodash/filter"),R=r(z),j=e("icon"),L=r(j),D=e("lodash/isEmpty"),I=r(D),B=e("lodash/map"),V=r(B),q=e("react"),F=r(q),U=e("lodash/some"),W=r(U),H=e("state-button"),X=r(H),K=e("tooltip"),G=r(K),Y=e("utils"),$=e("modal"),Q=e("notification"),J=e("xo-remote-parser"),Z=e("editable"),ee=e("react-intl"),te=e("xo"),ne={file:"remoteTypeLocal",nfs:"remoteTypeNfs",smb:"remoteTypeSmb"},re=(0,h.default)("td",{}),oe=(0,h.default)(L.default,{icon:"alarm",size:"lg"}),ae=function(e){function t(){var e,n,r,o;(0,_.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,C.default)(this,(e=t.__proto__||(0,g.default)(t)).call.apply(e,[this].concat(i))),r._changeUrlElement=function(e,t){var n=(0,v.default)({},r.props.remote);n[t]=e;var o=(0,J.format)(n);return(0,te.editRemote)(n,{url:o})},r._showError=function(){return(0,$.alert)((0,A.default)("remoteConnectionFailed"),r.props.remote.error)},r._changeName=function(e){var t=r.props.remote;return(0,te.editRemote)(t,{name:e})},r._test=function(){var e=r.props.remote;(0,te.testRemote)(e).then(function(t){var n=(0,h.default)("span",{},void 0,(0,h.default)(L.default,{icon:t.success?"success":"error"})," ",(0,A.default)(t.success?"remoteTestSuccess":"remoteTestFailure",{name:e.name})),r=void 0;r=t.success?(0,A.default)("remoteTestSuccessMessage"):(0,h.default)("p",{},void 0,(0,h.default)("dl",{className:"dl-horizontal"},void 0,(0,h.default)("dt",{},void 0,(0,A.default)("remoteTestError")),(0,h.default)("dd",{},void 0,t.error),(0,h.default)("dt",{},void 0,(0,A.default)("remoteTestStep")),(0,h.default)("dd",{},void 0,t.step))),(0,$.alert)(n,r)})},o=n,(0,C.default)(r,o)}return(0,k.default)(t,e),(0,w.default)(t,[{key:"render",value:function(){var e=this.props.remote;return(0,h.default)("tr",{},void 0,re,(0,h.default)("td",{},void 0,(0,h.default)(Z.Text,{value:e.name,onChange:this._changeName,placeholder:this.props.intl.formatMessage(T.messages.remoteNamePlaceHolder)})),(0,h.default)("td",{},void 0,this._renderRemoteInfo(e)),(0,h.default)("td",{},void 0,this._renderAuthInfo(e)),(0,h.default)("td",{},void 0,(0,h.default)(X.default,{disabledLabel:(0,A.default)("remoteDisconnected"),disabledHandler:te.enableRemote,disabledTooltip:(0,A.default)("remoteConnectTip"),enabledLabel:(0,A.default)("remoteConnected"),enabledHandler:te.disableRemote,enabledTooltip:(0,A.default)("remoteDisconnectTip"),handlerParam:e,state:e.enabled})," ",e.error&&(0,h.default)(G.default,{content:(0,A.default)("remoteConnectionFailed")},void 0,(0,h.default)("a",{className:"text-danger btn btn-link",style:{padding:"0px"},onClick:this._showError},void 0,oe))),(0,h.default)("td",{className:"text-xs-right"},void 0,e.enabled&&(0,h.default)(G.default,{content:(0,A.default)("remoteTestTip")},void 0,(0,h.default)(E.default,{btnStyle:"primary",handler:this._test,icon:"diagnosis"}))," ",(0,h.default)(G.default,{content:(0,A.default)("remoteDeleteTip")},void 0,(0,h.default)(E.default,{btnStyle:"danger",handler:te.deleteRemote,handlerParam:e,icon:"delete"}))))}},{key:"_renderRemoteInfo",value:function(){throw new Error("NOT IMPLEMENTED")}},{key:"_renderAuthInfo",value:function(){throw new Error("NOT IMPLEMENTED")}},{key:"accessible",get:function(){throw new Error("NOT IMPLEMENTED")}},{key:"unaccessible",get:function(){throw new Error("NOT IMPLEMENTED")}}]),t}(q.Component),ie=(0,ee.injectIntl)(o=function(e){function t(){return(0,_.default)(this,t),(0,C.default)(this,(t.__proto__||(0,g.default)(t)).apply(this,arguments))}return(0,k.default)(t,e),(0,w.default)(t,[{key:"_renderRemoteInfo",value:function(){var e=this,t=this.props.remote;return(0,h.default)(Z.Text,{value:t.path,onChange:function(t){return e._changeUrlElement(t,"path")},placeholder:this.props.intl.formatMessage(T.messages.remoteLocalPlaceHolderPath)})}},{key:"_renderAuthInfo",value:function(){return""}},{key:"accessible",get:function(){return"Accessible"}},{key:"unaccessible",get:function(){return"Unaccessible"}}]),t}(ae))||o,se=(0,ee.injectIntl)(a=function(e){function t(){return(0,_.default)(this,t),(0,C.default)(this,(t.__proto__||(0,g.default)(t)).apply(this,arguments))}return(0,k.default)(t,e),(0,w.default)(t,[{key:"_renderRemoteInfo",value:function(){var e=this,t=this.props.remote;return(0,h.default)("span",{},void 0,(0,h.default)(Z.Text,{value:t.host,onChange:function(t){return e._changeUrlElement(t,"host")},placeholder:this.props.intl.formatMessage(T.messages.remoteNfsPlaceHolderHost)}),":",(0,h.default)(Z.Text,{value:t.path,onChange:function(t){return e._changeUrlElement(t,"path");
|
96 | },placeholder:this.props.intl.formatMessage(T.messages.remoteNfsPlaceHolderPath)}))}},{key:"_renderAuthInfo",value:function(){return""}},{key:"accessible",get:function(){return(0,A.default)("remoteMounted")}},{key:"unaccessible",get:function(){return(0,A.default)("remoteUnmounted")}}]),t}(ae))||a,le=(0,h.default)("strong",{className:"text-info"},void 0,"\\\\"),ue=(0,h.default)("strong",{className:"text-info"},void 0,"\\"),ce=(0,ee.injectIntl)(i=function(e){function t(){return(0,_.default)(this,t),(0,C.default)(this,(t.__proto__||(0,g.default)(t)).apply(this,arguments))}return(0,k.default)(t,e),(0,w.default)(t,[{key:"_renderRemoteInfo",value:function(){var e=this,t=this.props.remote;return(0,h.default)("span",{},void 0,le,(0,h.default)(Z.Text,{value:t.host,onChange:function(t){return e._changeUrlElement(t,"host")}}),ue,(0,h.default)("span",{},void 0,(0,h.default)(Z.Text,{value:t.path,onChange:function(t){return e._changeUrlElement(t,"path")},placeholder:this.props.intl.formatMessage(T.messages.remoteSmbPlaceHolderRemotePath)})))}},{key:"_renderAuthInfo",value:function(){var e=this,t=this.props.remote;return(0,h.default)("span",{},void 0,(0,h.default)(Z.Text,{value:t.username,onChange:function(t){return e._changeUrlElement(t,"username")}}),":",(0,h.default)(Z.Password,{value:"",onChange:function(t){return e._changeUrlElement(t,"password")},placeholder:this.props.intl.formatMessage(T.messages.remotePlaceHolderPassword)}),"@",(0,h.default)(Z.Text,{value:t.domain,onChange:function(t){return e._changeUrlElement(t,"domain")}}))}},{key:"accessible",get:function(){return"Accessible"}},{key:"unaccessible",get:function(){return"Unaccessible"}}]),t}(ae))||i,de=(0,h.default)(L.default,{icon:"error"}),fe=(0,h.default)("th",{}),pe=(0,h.default)("th",{}),he=(0,h.default)("span",{className:"input-group-addon"},void 0,"/"),me=(0,h.default)("span",{className:"input-group-addon"},void 0,"/"),ve=(0,h.default)("span",{className:"input-group-addon"},void 0,"\\\\"),be=(0,h.default)("span",{className:"input-group-addon"},void 0,"\\"),ge=(s=(0,Y.addSubscriptions)({remotes:function(e){return(0,te.subscribeRemotes)(function(t){t=(0,V.default)(t,function(e){return(0,v.default)({},e,(0,J.parse)(e.url))});var n={},r=function(e){n[e]=(0,R.default)(t,function(t){return t.type===e})};for(var o in ne)r(o);e(n)})}}),s(l=(0,ee.injectIntl)(l=function(e){function t(e){var n=this;(0,_.default)(this,t);var r=(0,C.default)(this,(t.__proto__||(0,g.default)(t)).call(this,e));return r._handleRemoteTypeSelection=function(e){return r.setState({type:e})},r._checkNameExists=function(){return(0,W.default)(r.props.remotes,function(e){return(0,W.default)(e,["name",r.refs.name.value])})?(0,$.alert)((0,h.default)("span",{},void 0,de," ",(0,A.default)("remoteTestName")),(0,h.default)("p",{},void 0,(0,A.default)("remoteTestNameFailure"))):r._createRemote()},r._createRemote=(0,f.default)(c.default.mark(function e(){var t,o,a,i,s,l,u,d,f,p;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.refs,o=t.name,a=t.host,i=t.path,s=t.username,l=t.password,u=t.domain,d=r.state.type,f={type:d,host:a&&a.value,path:i&&i.value},s&&(f.username=s.value),l&&(f.password=l.value),u&&(f.domain=u.value),p=(0,J.format)(f),e.abrupt("return",(0,te.createRemote)(o&&o.value,p).then(function(){r.setState({type:"file"}),i&&(i.value=""),s&&(s.value=""),l&&(l.value=""),u&&(u.value="")},function(e){return(0,Q.error)("Create Remote",e.message||String(e))}));case 8:case"end":return e.stop()}},e,n)})),r.state={type:"file"},r}return(0,k.default)(t,e),(0,w.default)(t,[{key:"render",value:function(){var e=this,t=this.props.remotes,n=void 0===t?{}:t,r=this.state.type;return(0,h.default)("div",{},void 0,(0,h.default)("table",{className:"table table-hover"},void 0,!(0,I.default)(n.file)&&(0,h.default)("tbody",{},void 0,(0,h.default)("tr",{},void 0,(0,h.default)("th",{className:"text-info"},void 0,(0,A.default)("remoteTypeLocal")),(0,h.default)("th",{},void 0,(0,A.default)("remoteName")),(0,h.default)("th",{},void 0,(0,A.default)("remotePath")),fe,(0,h.default)("th",{},void 0,(0,A.default)("remoteState")),(0,h.default)("th",{className:"text-xs-right"},void 0,(0,A.default)("remoteAction"))),(0,V.default)(n.file,function(e,t){return(0,h.default)(ie,{remote:e},t)})),!(0,I.default)(n.nfs)&&(0,h.default)("tbody",{},void 0,(0,h.default)("tr",{},void 0,(0,h.default)("th",{className:"text-info"},void 0,(0,A.default)("remoteTypeNfs")),(0,h.default)("th",{},void 0,(0,A.default)("remoteName")),(0,h.default)("th",{},void 0,(0,A.default)("remoteDevice")),pe,(0,h.default)("th",{},void 0,(0,A.default)("remoteState")),(0,h.default)("th",{className:"text-xs-right"},void 0,(0,A.default)("remoteAction"))),(0,V.default)(n.nfs,function(e,t){return(0,h.default)(se,{remote:e},t)})),!(0,I.default)(n.smb)&&(0,h.default)("tbody",{},void 0,(0,h.default)("tr",{},void 0,(0,h.default)("th",{className:"text-info"},void 0,(0,A.default)("remoteTypeSmb")),(0,h.default)("th",{},void 0,(0,A.default)("remoteName")),(0,h.default)("th",{},void 0,(0,A.default)("remoteShare")),(0,h.default)("th",{},void 0,(0,A.default)("remoteAuth")),(0,h.default)("th",{},void 0,(0,A.default)("remoteState")),(0,h.default)("th",{className:"text-xs-right"},void 0,(0,A.default)("remoteAction"))),(0,V.default)(n.smb,function(e,t){return(0,h.default)(ce,{remote:e},t)}))),(0,h.default)("h2",{},void 0,(0,A.default)("newRemote")),(0,h.default)("form",{id:"newRemoteForm"},void 0,(0,h.default)("div",{className:"form-group"},void 0,(0,h.default)("label",{htmlFor:"newRemoteType"},void 0,(0,A.default)("remoteType")),(0,h.default)("select",{id:"newRemoteType",className:"form-control",defaultValue:r,onChange:function(t){e._handleRemoteTypeSelection(t.target.value)},required:!0},void 0,(0,V.default)(ne,function(e,t){return(0,A.default)({key:t},e,function(e){return(0,h.default)("option",{value:t},void 0,e)})}))),(0,h.default)("div",{className:"form-group"},void 0,F.default.createElement("input",{type:"text",ref:"name",className:"form-control",placeholder:this.props.intl.formatMessage(T.messages.remoteMyNamePlaceHolder),required:!0})),"file"===r&&(0,h.default)("fieldset",{className:"form-group"},void 0,(0,h.default)("div",{className:"input-group"},void 0,he,F.default.createElement("input",{type:"text",ref:"path",pattern:"^(([^/]+)+(/[^/]+)*)?$",className:"form-control",placeholder:this.props.intl.formatMessage(T.messages.remoteLocalPlaceHolderPath)}))),"nfs"===r&&(0,h.default)("fieldset",{className:"form-group"},void 0,(0,h.default)("div",{className:"form-group"},void 0,F.default.createElement("input",{type:"text",ref:"host",className:"form-control",placeholder:this.props.intl.formatMessage(T.messages.remoteNfsPlaceHolderHost),required:!0})),(0,h.default)("div",{className:"input-group"},void 0,me,F.default.createElement("input",{type:"text",ref:"path",pattern:"^(([^/]+)+(/[^/]+)*)?$",className:"form-control",placeholder:this.props.intl.formatMessage(T.messages.remoteNfsPlaceHolderPath)}))),"smb"===r&&(0,h.default)("fieldset",{className:"form-group"},void 0,(0,h.default)("div",{className:"input-group form-group"},void 0,ve,F.default.createElement("input",{type:"text",ref:"host",pattern:"^([^\\\\/]+)\\\\([^\\\\/]+)$",className:"form-control",placeholder:this.props.intl.formatMessage(T.messages.remoteSmbPlaceHolderAddressShare),required:!0}),be,F.default.createElement("input",{type:"text",ref:"path",pattern:"^(([^\\\\/]+)+(\\\\[^\\\\/]+)*)?$",className:"form-control",placeholder:this.props.intl.formatMessage(T.messages.remoteSmbPlaceHolderRemotePath)})),(0,h.default)("div",{className:"form-group"},void 0,F.default.createElement("input",{type:"text",ref:"username",className:"form-control",placeholder:this.props.intl.formatMessage(T.messages.remoteSmbPlaceHolderUsername)})),(0,h.default)("div",{className:"form-group"},void 0,F.default.createElement("input",{type:"text",ref:"password",className:"form-control",placeholder:this.props.intl.formatMessage(T.messages.remoteSmbPlaceHolderPassword)})),(0,h.default)("div",{className:"form-group"},void 0,F.default.createElement("input",{type:"text",ref:"domain",className:"form-control",placeholder:this.props.intl.formatMessage(T.messages.remoteSmbPlaceHolderDomain),required:!0}))),(0,h.default)("div",{className:"form-group"},void 0,(0,h.default)(N.default,{type:"submit",form:"newRemoteForm",icon:"save",btnStyle:"primary",handler:this._checkNameExists},void 0,(0,A.default)("savePluginConfiguration")))))}}]),t}(q.Component))||l)||l);n.default=ge},{"action-button":1401,"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/asyncToGenerator":21,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/regenerator":147,editable:1421,icon:1435,intl:1436,"lodash/filter":709,"lodash/isEmpty":735,"lodash/map":754,"lodash/some":774,modal:1461,notification:1463,react:1269,"react-intl":1103,"state-button":1476,tooltip:1488,utils:1490,xo:1519,"xo-remote-parser":1397}],1598:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/regenerator"),u=r(l),c=e("babel-runtime/helpers/asyncToGenerator"),d=r(c),f=e("babel-runtime/core-js/object/get-prototype-of"),p=r(f),h=e("babel-runtime/helpers/classCallCheck"),m=r(h),v=e("babel-runtime/helpers/createClass"),b=r(v),g=e("babel-runtime/helpers/possibleConstructorReturn"),y=r(g),_=e("babel-runtime/helpers/inherits"),M=r(_),w=e("intl"),S=r(w),C=e("action-button"),x=r(C),k=e("action-row-button"),T=r(k),A=e("base-component"),P=r(A),N=e("icon"),O=r(N),E=e("lodash/map"),z=r(E),R=e("react"),j=(r(R),e("state-button")),L=r(j),D=e("tooltip"),I=r(D),B=e("utils"),V=e("modal"),q=e("grid"),F=e("editable"),U=e("form"),W=e("react-intl"),H=e("xo"),X=(0,s.default)(O.default,{icon:"alarm",size:"lg"}),K=(o=(0,B.addSubscriptions)({servers:H.subscribeServers}),o(a=(0,W.injectIntl)(a=function(e){function t(){var e,n,r,o,a=this;(0,m.default)(this,t);for(var i=arguments.length,s=Array(i),l=0;l<i;l++)s[l]=arguments[l];return n=r=(0,y.default)(this,(e=t.__proto__||(0,p.default)(t)).call.apply(e,[this].concat(s))),r._addServer=(0,d.default)(u.default.mark(function e(){var t,n,o,i,s;return u.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.state,n=t.label,o=t.host,i=t.password,s=t.username,e.next=3,(0,H.addServer)(o,s,i,n);case 3:r.setState({label:"",host:"",password:"",username:""});case 4:case"end":return e.stop()}},e,a)})),r._showError=function(e){return(0,V.alert)("SESSION_AUTHENTICATION_FAILED"===e.code?(0,S.default)("serverAuthFailed"):e.code||(0,S.default)("serverUnknownError"),e.message)},o=n,(0,y.default)(r,o)}return(0,M.default)(t,e),(0,b.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.intl.formatMessage,r=t.servers,o=this.state;return(0,s.default)(q.Container,{},void 0,(0,s.default)("table",{className:"table table-striped"},void 0,(0,s.default)("thead",{},void 0,(0,s.default)("tr",{},void 0,(0,s.default)("td",{},void 0,(0,S.default)("serverLabel")),(0,s.default)("td",{},void 0,(0,S.default)("serverHost")),(0,s.default)("td",{},void 0,(0,S.default)("serverUsername")),(0,s.default)("td",{},void 0,(0,S.default)("serverPassword")),(0,s.default)("td",{},void 0,(0,S.default)("serverStatus")),(0,s.default)("td",{},void 0,(0,S.default)("serverReadOnly")),(0,s.default)("td",{className:"text-xs-right"},void 0,(0,S.default)("serverAction")))),(0,s.default)("tbody",{},void 0,(0,z.default)(r,function(t){return(0,s.default)("tr",{},t.id,(0,s.default)("td",{},void 0,(0,s.default)(F.Text,{value:t.label||"",onChange:function(e){return(0,H.editServer)(t,{label:e})},placeholder:n(w.messages.serverPlaceHolderLabel)})),(0,s.default)("td",{},void 0,(0,s.default)(F.Text,{value:t.host,onChange:function(e){return(0,H.editServer)(t,{host:e})},placeholder:n(w.messages.serverPlaceHolderAddress)})),(0,s.default)("td",{},void 0,(0,s.default)(F.Text,{value:t.username,onChange:function(e){return(0,H.editServer)(t,{username:e})},placeholder:n(w.messages.serverPlaceHolderUser)})),(0,s.default)("td",{},void 0,(0,s.default)(F.Password,{value:"",onChange:function(e){return(0,H.editServer)(t,{password:e})},placeholder:n(w.messages.serverPlaceHolderPassword)})),(0,s.default)("td",{},void 0,(0,s.default)(L.default,{disabledLabel:(0,S.default)("serverDisconnected"),disabledHandler:H.connectServer,disabledTooltip:(0,S.default)("serverConnect"),enabledLabel:(0,S.default)("serverConnected"),enabledHandler:H.disconnectServer,enabledTooltip:(0,S.default)("serverDisconnect"),handlerParam:t,pending:"connecting"===t.status,state:"connected"===t.status})," ",t.error&&(0,s.default)(I.default,{content:(0,S.default)("serverConnectionFailed")},void 0,(0,s.default)("a",{className:"text-danger btn btn-link",style:{padding:"0px"},onClick:function(){return e._showError(t.error)}},void 0,X))),(0,s.default)("td",{},void 0,(0,s.default)(U.Toggle,{value:!!t.readOnly,onChange:function(e){return(0,H.editServer)(t,{readOnly:e})}})),(0,s.default)("td",{className:"text-xs-right"},void 0,(0,s.default)(T.default,{btnStyle:"danger",handler:H.removeServer,handlerParam:t,icon:"delete",style:{marginRight:"0.5em"}})))}))),(0,s.default)("form",{className:"form-inline",id:"form-add-server"},void 0,(0,s.default)("div",{className:"form-group"},void 0,(0,s.default)("input",{className:"form-control",onChange:this.linkState("label"),placeholder:n(w.messages.serverPlaceHolderLabel),type:"text",value:o.label}))," ",(0,s.default)("div",{className:"form-group"},void 0,(0,s.default)("input",{className:"form-control",onChange:this.linkState("host"),placeholder:n(w.messages.serverPlaceHolderAddress),required:!0,type:"text",value:o.host}))," ",(0,s.default)("div",{className:"form-group"},void 0,(0,s.default)("input",{className:"form-control",onChange:this.linkState("username"),placeholder:n(w.messages.serverPlaceHolderUser),required:!0,type:"text",value:o.username}))," ",(0,s.default)("div",{className:"form-group"},void 0,(0,s.default)(U.Password,{disabled:!this.state.username,onChange:this.linkState("password"),placeholder:n(w.messages.serverPlaceHolderPassword),required:!0,value:o.password}))," ",(0,s.default)(x.default,{btnStyle:"primary",form:"form-add-server",handler:this._addServer,icon:"save"},void 0,(0,S.default)("serverConnect"))))}}]),t}(P.default))||a)||a);n.default=K},{"action-button":1401,"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/asyncToGenerator":21,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/regenerator":147,"base-component":1405,editable:1421,form:1425,grid:1431,icon:1435,intl:1436,"lodash/map":754,modal:1461,react:1269,"react-intl":1103,"state-button":1476,tooltip:1488,utils:1490,xo:1519}],1599:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,i,s=e("babel-runtime/core-js/object/get-prototype-of"),l=o(s),u=e("babel-runtime/helpers/classCallCheck"),c=o(u),d=e("babel-runtime/helpers/createClass"),f=o(d),p=e("babel-runtime/helpers/possibleConstructorReturn"),h=o(p),m=e("babel-runtime/helpers/inherits"),v=o(m),b=e("babel-runtime/helpers/jsx"),g=o(b),y=e("editable"),_=r(y),M=e("intl"),w=o(M),S=e("action-button"),C=o(S),x=e("action-row-button"),k=o(x),T=e("base-component"),A=o(T),P=e("lodash/isEmpty"),N=o(P),O=e("lodash/keyBy"),E=o(O),z=e("lodash/map"),R=o(z),j=e("react"),L=o(j),D=e("sorted-table"),I=o(D),B=e("utils"),V=e("react-intl"),q=e("form"),F=e("xo"),U={none:{label:(0,w.default)("userLabel"),value:"none"},admin:{label:(0,w.default)("adminLabel"),value:"admin"}},W=[{name:(0,w.default)("userNameColumn"),itemRenderer:function(e){return(0,g.default)(_.Text,{onChange:function(t){return(0,F.editUser)(e,{email:t})},value:e.email})},sortCriteria:function(e){return e.email}},{name:(0,w.default)("userPermissionColumn"),itemRenderer:function(e){return L.default.createElement(q.Select,{clearable:!1,value:e.permission||U.none.value,ref:"permission",onChange:function(t){return(0,F.editUser)(e,{permission:t.value})},options:(0,R.default)(U)})},sortCriteria:function(e){return e.permission}},{name:(0,w.default)("userPasswordColumn"),itemRenderer:function(e){return(0,g.default)(_.Password,{onChange:function(t){return(0,F.editUser)(e,{password:t})},value:""})}},{name:"",itemRenderer:function(e){return(0,g.default)(k.default,{icon:"delete",handler:F.deleteUser,handlerParam:e,btnStyle:"danger"})}}],H=(0,g.default)("hr",{}),X=(a=(0,B.addSubscriptions)({users:function(e){return(0,F.subscribeUsers)(function(t){return e((0,E.default)(t,"id"))})}}),a(i=(0,V.injectIntl)(i=function(e){function t(){var e,n,r,o;(0,c.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,h.default)(this,(e=t.__proto__||(0,l.default)(t)).call.apply(e,[this].concat(i))),r.state={email:"",password:"",permission:U.none},r._create=function(){var e=r.state,t=e.email,n=e.password,o=e.permission;return(0,F.createUser)(t,n,o.value).then(function(){r.setState({email:"",password:"",permission:U.none})})},o=n,(0,h.default)(r,o)}return(0,v.default)(t,e),(0,f.default)(t,[{key:"render",value:function(){var e=this.props,t=e.users,n=e.intl,r=this.state,o=r.email,a=r.password,i=r.permission;return(0,g.default)("div",{},void 0,(0,g.default)("form",{id:"newUserForm",className:"form-inline"},void 0,(0,g.default)("div",{className:"form-group"},void 0,(0,g.default)("input",{className:"form-control",onChange:this.linkState("email"),placeholder:n.formatMessage(M.messages.userName),required:!0,type:"text",value:o}))," ",(0,g.default)("div",{className:"form-group"},void 0,(0,g.default)(q.Select,{clearable:!1,onChange:this.linkState("permission"),options:(0,R.default)(U),placeholder:n.formatMessage(M.messages.selectPermission),required:!0,value:i}))," ",(0,g.default)("div",{className:"form-group"},void 0,(0,g.default)(q.Password,{disabled:!this.state.email,enableGenerator:!0,onChange:this.linkState("password"),placeholder:n.formatMessage(M.messages.userPassword),required:!0,value:a}))," ",(0,g.default)(C.default,{form:"newUserForm",icon:"add",btnStyle:"success",handler:this._create},void 0,(0,w.default)("createUserButton"))),H,(0,N.default)(t)?(0,g.default)("p",{},void 0,(0,g.default)("em",{},void 0,(0,w.default)("noUserFound"))):(0,g.default)(I.default,{collection:t,columns:W}))}}]),t}(A.default))||i)||i);n.default=X},{"action-button":1401,"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,editable:1421,form:1425,intl:1436,"lodash/isEmpty":735,"lodash/keyBy":749,"lodash/map":754,react:1269,"react-intl":1103,"sorted-table":1475,utils:1490,xo:1519}],1600:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("action-bar"),s=r(i),l=e("react"),u=(r(l),e("xo")),c=function(e){var t=e.sr;return(0,a.default)(s.default,{actions:[{icon:"refresh",label:"srRescan",handler:u.rescanSr},{icon:"sr-reconnect-all",label:"srReconnectAll",handler:u.reconnectAllHostsSr},{icon:"sr-disconnect-all",label:"srDisconnectAll",handler:u.disconnectAllHostsSr},{icon:"sr-forget",label:"srForget",handler:u.forgetSr}],display:"icon",param:t})};n.default=c},{"action-bar":1400,"babel-runtime/helpers/jsx":27,react:1269,xo:1519}],1601:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l,u=e("babel-runtime/helpers/jsx"),c=r(u),d=e("babel-runtime/core-js/object/get-prototype-of"),f=r(d),p=e("babel-runtime/helpers/classCallCheck"),h=r(p),m=e("babel-runtime/helpers/createClass"),v=r(m),b=e("babel-runtime/helpers/possibleConstructorReturn"),g=r(b),y=e("babel-runtime/helpers/inherits"),_=r(y),M=e("babel-runtime/helpers/extends"),w=r(M),S=e("intl"),C=r(S),x=e("lodash/assign"),k=r(x),T=e("base-component"),A=r(T),P=e("lodash/find"),N=r(P),O=e("lodash/flatten"),E=r(O),z=e("lodash/forEach"),R=r(z),j=e("icon"),L=r(j),D=e("link"),I=r(D),B=e("lodash/map"),V=r(B),q=e("lodash/mapValues"),F=r(q),U=e("../page"),W=r(U),H=e("lodash/pick"),X=r(H),K=e("react"),G=r(K),Y=e("./action-bar"),$=r(Y),Q=e("grid"),J=e("xo"),Z=e("nav"),ee=e("editable"),te=e("utils"),ne=e("selectors"),re=e("./tab-advanced"),oe=r(re),ae=e("./tab-general"),ie=r(ae),se=e("./tab-logs"),le=r(se),ue=e("./tab-host"),ce=r(ue),de=e("./tab-disks"),fe=r(de),pe=e("./tab-xosan"),he=r(pe),me=(0,c.default)(L.default,{icon:"loading"}),ve=(0,c.default)(L.default,{icon:"sr"}),be=(0,c.default)("br",{}),ge=(o=(0,te.routes)("general",{advanced:oe.default,general:ie.default,logs:le.default,hosts:ce.default,disks:fe.default,xosan:he.default}),a=(0,te.connectStore)(function(){var e=(0,ne.createGetObject)(),t=(0,ne.createGetObject)(function(t,n){return e(t,n).$container}),n=(0,ne.createGetObjectsOfType)("PBD").pick((0,ne.createSelector)(e,function(e){return e.$PBDs})),r=(0,ne.createGetObjectsOfType)("host").pick((0,ne.createSelector)(n,function(e){return(0,V.default)(e,function(e){return e.host})})),o=(0,ne.createGetObjectsOfType)("VDI").pick((0,ne.createSelector)(e,function(e){return e.VDIs})).sort(),a=(0,ne.createGetObjectMessages)(e),i=(0,ne.createGetObjectsOfType)("VBD").pick((0,ne.createSelector)(o,function(e){return(0,E.default)((0,V.default)(e,function(e){return e.$VBDs}))})).groupBy("VDI"),s=(0,ne.createGetObjectsOfType)("VDI-snapshot").pick((0,ne.createSelector)(e,function(e){return e.VDIs})).sort(),l=(0,ne.createSelector)(o,s,function(e,t){var n={};return(0,R.default)(t,function(t){n[t.id]=t.$snapshot_of&&(0,N.default)(e,function(e){return e.id===t.$snapshot_of})}),n}),u=(0,ne.createSelector)(i,s,l,function(e,t,n){var r={};return(0,R.default)(t,function(t){var o=n[t.id];r[t.id]=o&&e[o.id]}),r}),c=(0,ne.createSelector)(i,u,function(e,t){return(0,F.default)((0,w.default)({},e,t),function(e){var t=(0,N.default)(e,"VM");if(t)return t.VM})});return function(i,l){var u=e(i,l);return u?{container:t(i,l),hosts:r(i,l),pbds:n(i,l),logs:a(i,l),vdis:o(i,l),vdiSnapshots:s(i,l),vdisToVmIds:c(i,l),sr:u}:{}}}),o(i=a((l=s=function(e){function t(){return(0,h.default)(this,t),(0,g.default)(this,(t.__proto__||(0,f.default)(t)).apply(this,arguments))}return(0,_.default)(t,e),(0,v.default)(t,[{key:"componentWillReceiveProps",value:function(e){this.props.sr&&!e.sr&&this.context.router.push("/")}},{key:"header",value:function(){var e=this.props,t=e.sr,n=e.container;return t?(0,c.default)(Q.Container,{},void 0,(0,c.default)(Q.Row,{},void 0,(0,c.default)(Q.Col,{mediumSize:6,className:"header-title"},void 0,(0,c.default)("h2",{},void 0,ve," ",(0,c.default)(ee.Text,{value:t.name_label,onChange:function(e){return(0,J.editSr)(t,{nameLabel:e})}})),(0,c.default)("span",{},void 0,(0,c.default)(ee.Text,{value:t.name_description,onChange:function(e){return(0,J.editSr)(t,{nameDescription:e})}}),n&&(0,c.default)("span",{className:"text-muted"},void 0," - ",(0,c.default)(I.default,{to:"/"+n.type+"s/"+n.id},void 0,n.name_label)))),(0,c.default)(Q.Col,{mediumSize:6},void 0,(0,c.default)("div",{className:"text-xs-center"},void 0,(0,c.default)($.default,{sr:t})))),be,(0,c.default)(Q.Row,{},void 0,(0,c.default)(Q.Col,{},void 0,(0,c.default)(Z.NavTabs,{},void 0,(0,c.default)(Z.NavLink,{to:"/srs/"+t.id+"/general"},void 0,(0,C.default)("generalTabName")),(0,c.default)(Z.NavLink,{to:"/srs/"+t.id+"/disks"},void 0,(0,C.default)("disksTabName",{disks:t.VDIs.length})),"xosan"===t.SR_type&&(0,c.default)(Z.NavLink,{to:"/srs/"+t.id+"/xosan"},void 0,"XOSAN"),(0,c.default)(Z.NavLink,{to:"/srs/"+t.id+"/hosts"},void 0,(0,C.default)("hostsTabName")),(0,c.default)(Z.NavLink,{to:"/srs/"+t.id+"/logs"},void 0,(0,C.default)("logsTabName")),(0,c.default)(Z.NavLink,{to:"/srs/"+t.id+"/advanced"},void 0,(0,C.default)("advancedTabName")))))):me}},{key:"render",value:function(){var e=this.props,t=e.container,n=e.sr;if(!n)return(0,c.default)("h1",{},void 0,(0,C.default)("statusLoading"));var r=(0,k.default)((0,X.default)(this.props,["hosts","logs","pbds","sr","vdis","vdiSnapshots","vdisToVmIds"]));return(0,c.default)(W.default,{header:this.header(),title:""+n.name_label+(t?" ("+t.name_label+")":"")},void 0,(0,K.cloneElement)(this.props.children,r))}}]),t}(A.default),s.contextTypes={router:G.default.PropTypes.object},i=l))||i)||i);n.default=ge},{"../page":1578,"./action-bar":1600,"./tab-advanced":1602,"./tab-disks":1603,"./tab-general":1604,"./tab-host":1605,"./tab-logs":1606,"./tab-xosan":1607,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,editable:1421,grid:1431,icon:1435,intl:1436,link:1459,"lodash/assign":690,"lodash/find":710,"lodash/flatten":714,"lodash/forEach":716,"lodash/map":754,"lodash/mapValues":756,"lodash/pick":764,nav:1462,react:1269,selectors:1470,utils:1490,xo:1519}],1602:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("intl"),s=r(i),l=e("copiable"),u=r(l),c=e("react"),d=(r(c),e("tab-button")),f=r(d),p=e("xo"),h=e("grid");n.default=function(e){var t=e.sr;return(0,a.default)(h.Container,{},void 0,(0,a.default)(h.Row,{},void 0,(0,a.default)(h.Col,{className:"text-xs-right"},void 0,(0,a.default)(f.default,{btnStyle:"danger",handler:p.deleteSr,handlerParam:t,icon:"sr-remove",labelId:"srRemoveButton"}))),(0,a.default)(h.Row,{},void 0,(0,a.default)(h.Col,{},void 0,(0,a.default)("h3",{},void 0,(0,s.default)("xenSettingsLabel")),(0,a.default)("table",{className:"table"},void 0,(0,a.default)("tbody",{},void 0,(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,s.default)("uuid")),(0,a.default)(u.default,{tagName:"td"},void 0,t.uuid)))))))}},{"babel-runtime/helpers/jsx":27,copiable:1415,grid:1431,intl:1436,react:1269,"tab-button":1481,xo:1519}],1603:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("intl"),s=r(i),l=e("action-row-button"),u=r(l),c=e("icon"),d=r(c),f=e("lodash/isEmpty"),p=r(f),h=e("link"),m=r(h),v=e("react"),b=(r(v),e("sorted-table")),g=r(b),y=e("utils"),_=e("grid"),M=e("xo"),w=e("render-xo-item"),S=e("editable"),C=(0,a.default)("span",{className:"tag tag-info"},void 0,(0,a.default)(d.default,{icon:"vm-snapshot"})),x=[{name:(0,s.default)("vdiNameLabel"),itemRenderer:function(e){return(0,a.default)("span",{},void 0,(0,a.default)(S.Text,{value:e.name_label,onChange:function(t){return(0,M.editVdi)(e,{name_label:t})}})," ","VDI-snapshot"===e.type&&C)},sortCriteria:function(e){return e.name_label}},{name:(0,s.default)("vdiNameDescription"),itemRenderer:function(e){return(0,a.default)(S.Text,{value:e.name_description,onChange:function(t){return(0,M.editVdi)(e,{name_description:t})}})}},{name:(0,s.default)("vdiVm"),itemRenderer:function(e,t){var n=t[e.id],r=(0,w.renderXoItemFromId)(n);return n?(0,a.default)(m.default,{to:"/vms/"+n+("VDI-snapshot"===e.type?"/snapshots":"")},void 0,r):r}},{name:(0,s.default)("vdiTags"),itemRenderer:function(e){return e.tags}},{name:(0,s.default)("vdiSize"),itemRenderer:function(e){return(0,y.formatSize)(e.size)},sortCriteria:function(e){return e.size}},{name:(0,s.default)("vdiAction"),itemRenderer:function(e){return(0,a.default)(u.default,{btnStyle:"danger",handler:M.deleteVdi,handlerParam:e,icon:"delete"})}}],k={filterNoSnapshots:"type:!VDI-snapshot",filterOnlySnapshots:"type:VDI-snapshot"};n.default=function(e){var t=e.vdis,n=e.vdiSnapshots,r=e.vdisToVmIds;return(0,a.default)(_.Container,{},void 0,(0,a.default)(_.Row,{},void 0,(0,a.default)(_.Col,{},void 0,(0,p.default)(t)?(0,a.default)("h4",{className:"text-xs-center"},void 0,(0,s.default)("srNoVdis")):(0,a.default)(g.default,{collection:t.concat(n),userData:r,columns:x,filters:k}))))}},{"action-row-button":1403,"babel-runtime/helpers/jsx":27,editable:1421,grid:1431,icon:1435,intl:1436,link:1459,"lodash/isEmpty":735,react:1269,"render-xo-item":1466,"sorted-table":1475,utils:1490,xo:1519}],1604:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("intl"),s=r(i),l=e("icon"),u=r(l),c=e("lodash/map"),d=r(c),f=e("react"),p=(r(f),e("home-tags")),h=r(p),m=e("xo"),v=e("grid"),b=e("utils"),g=e("render-xo-item"),y=e("usage"),_=r(y),M=(0,a.default)(u.default,{icon:"disk",size:"lg"}),w=(0,a.default)(u.default,{icon:"sr",size:"lg"}),S=(0,a.default)(u.default,{icon:"host",size:"lg"}),C=(0,a.default)("br",{});n.default=function(e){var t=e.sr,n=e.vdis,r=e.vdisToVmIds;return(0,a.default)(v.Container,{},void 0,(0,a.default)(v.Row,{className:"text-xs-center"},void 0,(0,a.default)(v.Col,{mediumSize:4},void 0,(0,a.default)("h2",{},void 0,t.VDIs.length,"x ",M)),(0,a.default)(v.Col,{mediumSize:4},void 0,(0,a.default)("h2",{},void 0,(0,b.formatSize)(t.size)," ",w),(0,a.default)("p",{},void 0,"Type: ",t.SR_type)),(0,a.default)(v.Col,{mediumSize:4},void 0,(0,a.default)("h2",{},void 0,t.$PBDs.length,"x ",S))),(0,a.default)(v.Row,{},void 0,(0,a.default)(v.Col,{className:"text-xs-center"},void 0,(0,a.default)("h5",{},void 0,(0,b.formatSize)(t.physical_usage)," ",(0,s.default)("srUsed")," (",(0,b.formatSize)(t.size-t.physical_usage)," ",(0,s.default)("srFree"),")"))),(0,a.default)(v.Row,{},void 0,(0,a.default)(v.Col,{smallOffset:1,mediumSize:10},void 0,(0,a.default)(_.default,{total:t.size},void 0,(0,d.default)(n,function(e){return(0,a.default)(y.UsageElement,{tooltip:(0,a.default)("span",{},void 0,e.name_label,C,r[e.id]&&(0,g.renderXoItemFromId)(r[e.id])),value:e.usage},e.id)})))),(0,a.default)(v.Row,{className:"text-xs-center"},void 0,(0,a.default)(v.Col,{},void 0,(0,a.default)("h2",{className:"text-xs-center"},void 0,(0,a.default)(h.default,{type:"SR",labels:t.tags,onDelete:function(e){return(0,m.removeTag)(t.id,e)},onAdd:function(e){return(0,m.addTag)(t.id,e)}})))))}},{"babel-runtime/helpers/jsx":27,grid:1431,"home-tags":1433,icon:1435,intl:1436,"lodash/map":754,react:1269,"render-xo-item":1466,usage:1489,utils:1490,xo:1519}],1605:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("intl"),s=r(i),l=e("action-row-button"),u=r(l),c=e("lodash/isEmpty"),d=r(c),f=e("link"),p=r(f),h=e("react"),m=(r(h),e("sorted-table")),v=r(m),b=e("state-button"),g=r(b),y=e("grid"),_=e("xo"),M=e("editable"),w=[{name:(0,s.default)("hostNameLabel"),itemRenderer:function(e,t){var n=t[e.host];return(0,a.default)(p.default,{to:"/hosts/"+n.id},void 0,(0,a.default)(M.Text,{value:n.name_label,onChange:function(e){return(0,_.editHost)(n,{name_label:e})},useLongClick:!0}))},sortCriteria:function(e,t){return t[e.host].name_label}},{name:(0,s.default)("hostDescription"),itemRenderer:function(e,t){var n=t[e.host];return(0,a.default)(M.Text,{value:n.name_description,onChange:function(e){
|
97 | return(0,_.editHost)(n,{name_description:e})}})},sortCriteria:function(e,t){return t[e.host].name_description}},{name:(0,s.default)("pbdStatus"),itemRenderer:function(e){return(0,a.default)(g.default,{disabledLabel:(0,s.default)("pbdStatusDisconnected"),disabledHandler:_.connectPbd,disabledTooltip:(0,s.default)("pbdConnect"),enabledLabel:(0,s.default)("pbdStatusConnected"),enabledHandler:_.disconnectPbd,enabledTooltip:(0,s.default)("pbdDisconnect"),handlerParam:e,state:e.attached})},sortCriteria:"attached"},{name:(0,s.default)("pbdAction"),itemRenderer:function(e){return!e.attached&&(0,a.default)(u.default,{handler:_.deletePbd,handlerParam:e,icon:"sr-forget",tooltip:(0,s.default)("pbdForget")})},textAlign:"right"}];n.default=function(e){var t=e.hosts,n=e.pbds;return(0,a.default)(y.Container,{},void 0,(0,a.default)(y.Row,{},void 0,(0,a.default)(y.Col,{},void 0,(0,d.default)(t)?(0,a.default)("h4",{className:"text-xs-center"},void 0,(0,s.default)("noHost")):(0,a.default)(v.default,{collection:n,userData:t,columns:w}))))}},{"action-row-button":1403,"babel-runtime/helpers/jsx":27,editable:1421,grid:1431,intl:1436,link:1459,"lodash/isEmpty":735,react:1269,"sorted-table":1475,"state-button":1476,xo:1519}],1606:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("intl"),b=r(v),g=e("action-row-button"),y=r(g),_=e("button"),M=r(_),w=e("lodash/isEmpty"),S=r(w),C=e("lodash/map"),x=r(C),k=e("react"),T=(r(k),e("tab-button")),A=r(T),P=e("xo"),N=e("selectors"),O=e("react-intl"),E=e("grid"),z=(0,a.default)("br",{}),R=function(e){function t(){(0,u.default)(this,t);var e=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this));return e._deleteAllLogs=function(){return(0,x.default)(e.props.logs,P.deleteMessage)},e._nextPage=function(){return e.setState({page:e.state.page+1})},e._previousPage=function(){return e.setState({page:e.state.page-1})},e.getLogs=(0,N.createPager)(function(){return e.props.logs},function(){return e.state.page},10),e.state={page:1},e}return(0,m.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){var e=this.getLogs();return(0,a.default)(E.Container,{},void 0,(0,S.default)(e)?(0,a.default)(E.Row,{},void 0,(0,a.default)(E.Col,{mediumSize:6,className:"text-xs-center"},void 0,z,(0,a.default)("h4",{},void 0,(0,b.default)("noLogs")))):(0,a.default)("div",{},void 0,(0,a.default)(E.Row,{},void 0,(0,a.default)(E.Col,{className:"text-xs-right"},void 0,(0,a.default)(M.default,{size:"large",onClick:this._previousPage},void 0,"<"),(0,a.default)(M.default,{size:"large",onClick:this._nextPage},void 0,">"),(0,a.default)(A.default,{btnStyle:"danger",handler:this._deleteAllLogs,icon:"delete",labelId:"logRemoveAll"}))),(0,a.default)(E.Row,{},void 0,(0,a.default)(E.Col,{},void 0,(0,a.default)("table",{className:"table"},void 0,(0,a.default)("thead",{className:"thead-default"},void 0,(0,a.default)("tr",{},void 0,(0,a.default)("th",{},void 0,(0,b.default)("logDate")),(0,a.default)("th",{},void 0,(0,b.default)("logName")),(0,a.default)("th",{},void 0,(0,b.default)("logContent")),(0,a.default)("th",{},void 0,(0,b.default)("logAction")))),(0,a.default)("tbody",{},void 0,(0,x.default)(e,function(e){return(0,a.default)("tr",{},e.id,(0,a.default)("td",{},void 0,(0,a.default)(O.FormattedTime,{value:1e3*e.time,minute:"numeric",hour:"numeric",day:"numeric",month:"long",year:"numeric"})," (",(0,a.default)(O.FormattedRelative,{value:1e3*e.time}),")"),(0,a.default)("td",{},void 0,e.name),(0,a.default)("td",{},void 0,e.body),(0,a.default)("td",{},void 0,(0,a.default)(y.default,{btnStyle:"danger",handler:P.deleteMessage,handlerParam:e,icon:"delete"})))})))))))}}]),t}(k.Component);n.default=R},{"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,button:1407,grid:1431,intl:1436,"lodash/isEmpty":735,"lodash/map":754,react:1269,"react-intl":1103,selectors:1470,"tab-button":1481,xo:1519}],1607:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("lodash/map"),b=r(v),g=e("lodash/keys"),y=r(g),_=e("base-component"),M=r(_),w=e("react"),S=(r(w),e("grid")),C=e("xo"),x=function(e){function t(){return(0,u.default)(this,t),(0,p.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,d.default)(t,[{key:"componentDidMount",value:function(){var e=this;(0,C.getVolumeInfo)(this.props.sr.id).then(function(t){e.setState({volumeInfo:t})})}},{key:"render",value:function(){var e=this;return(0,a.default)(S.Container,{},void 0,this.state.volumeInfo&&(0,b.default)((0,y.default)(this.state.volumeInfo).sort(),function(t){return"Bricks"!==t?(0,a.default)(S.Row,{},t,(0,a.default)(S.Col,{size:3},void 0,(0,a.default)("strong",{},void 0,t)),(0,a.default)(S.Col,{size:4},void 0,e.state.volumeInfo[t])):null}))}}]),t}(M.default);n.default=x},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,grid:1431,"lodash/keys":750,"lodash/map":754,react:1269,xo:1519}],1608:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.TaskItem=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("intl"),s=r(i),l=e("action-row-button"),u=r(l),c=e("button-group"),d=r(c),f=e("center-panel"),p=r(f),h=e("icon"),m=r(h),v=e("lodash/isEmpty"),b=r(v),g=e("lodash/keys"),y=r(g),_=e("link"),M=r(_),w=e("lodash/map"),S=r(w),C=e("react"),x=(r(C),e("single-line-row")),k=r(x),T=e("react-intl"),A=e("card"),P=e("utils"),N=e("grid"),O=e("selectors"),E=e("xo"),z=e("../page"),R=r(z),j=(0,a.default)(N.Container,{},void 0,(0,a.default)(N.Row,{},void 0,(0,a.default)(N.Col,{mediumSize:12},void 0,(0,a.default)("h2",{},void 0,(0,a.default)(m.default,{icon:"task"})," ",(0,s.default)("taskMenu"))))),L={margin:0},D=n.TaskItem=(0,P.connectStore)(function(){return{host:(0,O.createGetObject)(function(e,t){return t.task.$host})}})(function(e){var t=e.task,n=e.host;return(0,a.default)(k.default,{className:"mb-1"},void 0,(0,a.default)(N.Col,{mediumSize:6},void 0,t.name_label," (on ",n?(0,a.default)(M.default,{to:"/hosts/"+n.id},void 0,n.name_label):"unknown host − "+t.$host,")"," "+Math.round(100*t.progress),"%"),(0,a.default)(N.Col,{mediumSize:4},void 0,(0,a.default)("progress",{style:L,className:"progress",value:100*t.progress,max:"100"})),(0,a.default)(N.Col,{mediumSize:2},void 0,(0,a.default)(d.default,{},void 0,(0,a.default)(u.default,{handler:E.cancelTask,handlerParam:t,icon:"task-cancel"}),(0,a.default)(u.default,{handler:E.destroyTask,handlerParam:t,icon:"task-destroy"}))))});n.default=(0,T.injectIntl)((0,P.connectStore)(function(){var e=(0,O.createGetObjectsOfType)("task"),t=e.count([function(e){return"pending"===e.status}]),n=e.filter([function(e){return"pending"===e.status}]).sort().groupBy("$pool"),r=(0,O.createGetObjectsOfType)("pool").pick((0,O.createSelector)(n,function(e){return(0,y.default)(e)})).sort();return function(e,o){return{nTasks:t(e,o),pendingTasksByPool:n(e,o),pools:r(e,o)}}})(function(e){var t=e.intl,n=e.nTasks,r=e.pendingTasksByPool,o=e.pools;if((0,b.default)(r))return(0,a.default)(R.default,{header:j,title:"taskPage",formatTitle:!0},void 0,(0,a.default)(p.default,{},void 0,(0,a.default)(A.Card,{},void 0,(0,a.default)(A.CardHeader,{},void 0,(0,s.default)("noTasks")),(0,a.default)(A.CardBlock,{},void 0,(0,a.default)(N.Row,{},void 0,(0,a.default)(N.Col,{},void 0,(0,a.default)("p",{className:"text-muted"},void 0,(0,s.default)("xsTasks"))))))));var l=t.formatMessage;return(0,a.default)(R.default,{header:j,title:"("+n+") "+l(i.messages.taskPage)},void 0,(0,a.default)(N.Container,{},void 0,(0,S.default)(o,function(e){return(0,a.default)(N.Row,{},void 0,(0,a.default)(A.Card,{},void 0,(0,a.default)(A.CardHeader,{},e.id,(0,a.default)(M.default,{to:"/pools/"+e.id},void 0,e.name_label)),(0,a.default)(A.CardBlock,{},void 0,(0,S.default)(r[e.id],function(e){return(0,a.default)(D,{task:e},e.id)}))))})))}))},{"../page":1578,"action-row-button":1403,"babel-runtime/helpers/jsx":27,"button-group":1406,card:1408,"center-panel":1410,grid:1431,icon:1435,intl:1436,link:1459,"lodash/isEmpty":735,"lodash/keys":750,"lodash/map":754,react:1269,"react-intl":1103,selectors:1470,"single-line-row":1473,utils:1490,xo:1519}],1609:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,i,s,l,u,c,d,f=e("babel-runtime/core-js/object/get-prototype-of"),p=o(f),h=e("babel-runtime/helpers/classCallCheck"),m=o(h),v=e("babel-runtime/helpers/createClass"),b=o(v),g=e("babel-runtime/helpers/possibleConstructorReturn"),y=o(g),_=e("babel-runtime/helpers/inherits"),M=o(_),w=e("babel-runtime/helpers/jsx"),S=o(w),C=e("form-grid"),x=r(C),k=e("home-filters"),T=r(k),A=e("intl"),P=o(A),N=e("action-button"),O=o(N),E=e("base-component"),z=o(E),R=e("icon"),j=o(R),L=e("lodash/isEmpty"),D=o(L),I=e("lodash/map"),B=o(I),V=e("prop-types"),q=o(V),F=e("react"),U=(o(F),e("editable")),W=e("modal"),H=e("grid"),X=e("selectors"),K=e("react-intl"),G=e("form"),Y=e("card"),$=e("utils"),Q=e("xo"),J=e("../page"),Z=o(J),ee=(0,S.default)(H.Container,{},void 0,(0,S.default)(H.Row,{},void 0,(0,S.default)(H.Col,{},void 0,(0,S.default)("h2",{},void 0,(0,S.default)(j.default,{icon:"user"})," ",(0,P.default)("userPage"))))),te={host:"homeTypeHost",pool:"homeTypePool",VM:"homeTypeVm",vmTemplate:"homeTypeVmTemplate"},ne={wordWrap:"break-word"},re=function(e,t){return null==e?"":e[t]||""},oe=function(e){return e.preferences||{}},ae=(a=(0,q.default)({customFilters:q.default.object,defaultFilter:q.default.string.isRequired,filters:q.default.object.isRequired,type:q.default.string.isRequired}),a(i=function(e){function t(){var e,n,r,o;(0,m.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,y.default)(this,(e=t.__proto__||(0,p.default)(t)).call.apply(e,[this].concat(i))),r._handleDefaultFilter=function(e){return(0,Q.setDefaultHomeFilter)(r.props.type,e&&e.value).catch($.noop)},o=n,(0,y.default)(r,o)}return(0,M.default)(t,e),(0,b.default)(t,[{key:"_computeOptions",value:function(e){var t=e.customFilters,n=e.filters,r=[{label:(0,P.default)("customFilters"),disabled:!0}];r.push.apply(r,(0,B.default)(t,function(e,t){return{label:t,value:t}})),r.push({label:(0,P.default)("defaultFilters"),disabled:!0}),r.push.apply(r,(0,B.default)(n,function(e,t){return{label:(0,P.default)(t),value:t}})),this.setState({options:r})}},{key:"componentWillMount",value:function(){this._computeOptions(this.props)}},{key:"componentWillReceiveProps",value:function(e){this._computeOptions(e)}},{key:"render",value:function(){return(0,S.default)(H.Row,{},void 0,(0,S.default)(H.Col,{},void 0,(0,S.default)(x.Row,{},void 0,(0,S.default)(x.LabelCol,{},void 0,(0,S.default)("strong",{},void 0,(0,P.default)("defaultFilter"))),(0,S.default)(x.InputCol,{},void 0,(0,S.default)(G.Select,{onChange:this._handleDefaultFilter,options:this.state.options,value:this.props.defaultFilter})))))}}]),t}(z.default))||i),ie=(0,S.default)("hr",{}),se=(s=(0,q.default)({user:q.default.object.isRequired}),s(l=function(e){function t(){var e,n,r,o;(0,m.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,y.default)(this,(e=t.__proto__||(0,p.default)(t)).call.apply(e,[this].concat(i))),r._removeFilter=function(e){var t=e.name,n=e.type;return(0,Q.removeCustomFilter)(n,t)},o=n,(0,y.default)(r,o)}return(0,M.default)(t,e),(0,b.default)(t,[{key:"render",value:function(){var e=this,t=oe(this.props.user),n=t.defaultHomeFilters,r=t.filters;return(0,S.default)(H.Container,{},void 0,(0,S.default)(H.Row,{},void 0,(0,S.default)(H.Col,{},void 0,(0,S.default)("h4",{},void 0,(0,P.default)("customizeFilters")),(0,S.default)("div",{},void 0,(0,B.default)(T,function(t,o){var a=te[o];if(a){var i=r&&r[o],s=re(n,o);return(0,S.default)("div",{},o,(0,S.default)("h5",{},void 0,(0,P.default)(a)),ie,(0,S.default)(ae,{customFilters:i,defaultFilter:s,filters:t,type:o}),(0,B.default)(i,function(t,n){return(0,S.default)(H.Row,{className:"pb-1"},n,(0,S.default)(H.Col,{mediumSize:4},void 0,(0,S.default)("div",{className:"input-group"},void 0,(0,S.default)(U.Text,{onChange:function(e){return(0,Q.editCustomFilter)(o,n,{newName:e})},value:n}))),(0,S.default)(H.Col,{mediumSize:7},void 0,(0,S.default)("div",{className:"input-group"},void 0,(0,S.default)(U.Text,{onChange:function(e){return(0,Q.editCustomFilter)(o,n,{newValue:e})},value:t}))),(0,S.default)(H.Col,{mediumSize:1},void 0,(0,S.default)(O.default,{btnStyle:"danger",className:"pull-right",handler:e._removeFilter,handlerParam:{name:n,type:o},icon:"delete"})))}))}})))))}}]),t}(z.default))||l),le=(0,S.default)(j.default,{icon:"ssh-key"}),ue=(0,$.addSubscriptions)({user:Q.subscribeCurrentUser})(function(e){var t=e.user,n=t&&t.preferences&&t.preferences.sshKeys;return(0,S.default)("div",{},void 0,(0,S.default)(Y.Card,{},void 0,(0,S.default)(Y.CardHeader,{},void 0,le," ",(0,P.default)("sshKeys"),(0,S.default)(O.default,{className:"btn-success pull-right",icon:"add",handler:Q.addSshKey},void 0,(0,P.default)("newSshKey"))),(0,S.default)(Y.CardBlock,{},void 0,(0,D.default)(n)?(0,P.default)("noSshKeys"):(0,S.default)(H.Container,{},void 0,(0,B.default)(n,function(e,t){return(0,S.default)(H.Row,{className:"pb-1"},t,(0,S.default)(H.Col,{size:2},void 0,(0,S.default)("strong",{},void 0,e.title)),(0,S.default)(H.Col,{size:8,style:ne},void 0,e.key),(0,S.default)(H.Col,{size:2,className:"text-xs-right"},void 0,(0,S.default)(O.default,{icon:"delete",handler:function(){return(0,Q.deleteSshKey)(e)}},void 0,(0,P.default)("deleteSshKey"))))})))))}),ce=(0,S.default)("p",{},void 0,"Loading…"),de=(0,S.default)("br",{}),fe=(0,S.default)("br",{}),pe=(0,S.default)("option",{value:"en"},void 0,"English"),he=(0,S.default)("option",{value:"fr"},void 0,"Français"),me=(0,S.default)("option",{value:"he"},void 0,"עברי"),ve=(0,S.default)("option",{value:"pl"},void 0,"Polski"),be=(0,S.default)("option",{value:"pt"},void 0,"Português"),ge=(0,S.default)("option",{value:"es"},void 0,"Español"),ye=(0,S.default)("option",{value:"zh"},void 0,"简体中文"),_e=(0,S.default)("option",{value:"hu"},void 0,"Magyar"),Me=(0,S.default)("hr",{}),we=(0,S.default)(ue,{}),Se=(0,S.default)("hr",{}),Ce=(u=(0,$.addSubscriptions)({user:Q.subscribeCurrentUser}),c=(0,$.connectStore)({lang:X.getLang}),u(d=c(d=(0,K.injectIntl)(d=function(e){function t(){var e,n,r,o;(0,m.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,y.default)(this,(e=t.__proto__||(0,p.default)(t)).call.apply(e,[this].concat(i))),r.handleSelectLang=function(e){r.props.selectLang(e.target.value)},r._handleSavePassword=function(){var e=r.state,t=e.oldPassword,n=e.newPassword,o=e.confirmPassword;return n!==o?(0,W.alert)((0,P.default)("confirmationPasswordError"),(0,P.default)("confirmationPasswordErrorBody")):(0,Q.changePassword)(t,n).then(function(){return r.setState({oldPassword:void 0,newPassword:void 0,confirmPassword:void 0})})},r._handleOldPasswordChange=function(e){return r.setState({oldPassword:e.target.value})},r._handleNewPasswordChange=function(e){return r.setState({newPassword:e.target.value})},r._handleConfirmPasswordChange=function(e){return r.setState({confirmPassword:e.target.value})},o=n,(0,y.default)(r,o)}return(0,M.default)(t,e),(0,b.default)(t,[{key:"render",value:function(){var e=this.props,t=e.lang,n=e.user;if(!n)return ce;var r=this.props.intl.formatMessage,o=this.state,a=o.confirmPassword,i=o.newPassword,s=o.oldPassword;return(0,S.default)(Z.default,{header:ee,title:n.email},void 0,(0,S.default)(H.Container,{},void 0,(0,S.default)(H.Row,{},void 0,(0,S.default)(H.Col,{smallSize:2},void 0,(0,S.default)("strong",{},void 0,(0,P.default)("username"))),(0,S.default)(H.Col,{smallSize:10},void 0,n.email)),de,(0,S.default)(H.Row,{},void 0,(0,S.default)(H.Col,{smallSize:2},void 0,(0,S.default)("strong",{},void 0,(0,P.default)("password"))),(0,S.default)(H.Col,{smallSize:10},void 0,(0,S.default)("form",{className:"form-inline",id:"changePassword"},void 0,(0,S.default)("input",{autocomplete:"off",className:"form-control",onChange:this._handleOldPasswordChange,placeholder:r(A.messages.oldPasswordPlaceholder),required:!0,type:"password",value:s||""})," ",(0,S.default)("input",{type:"password",autocomplete:"off",className:"form-control",onChange:this._handleNewPasswordChange,placeholder:r(A.messages.newPasswordPlaceholder),required:!0,value:i})," ",(0,S.default)("input",{autocomplete:"off",className:"form-control",onChange:this._handleConfirmPasswordChange,placeholder:r(A.messages.confirmPasswordPlaceholder),required:!0,type:"password",value:a})," ",(0,S.default)(O.default,{icon:"save",form:"changePassword",btnStyle:"primary",handler:this._handleSavePassword},void 0,(0,P.default)("changePasswordOk"))))),fe,(0,S.default)(H.Row,{},void 0,(0,S.default)(H.Col,{smallSize:2},void 0,(0,S.default)("strong",{},void 0,(0,P.default)("language"))),(0,S.default)(H.Col,{smallSize:10},void 0,(0,S.default)("select",{className:"form-control",onChange:this.handleSelectLang,value:t,style:{width:"10em"}},void 0,pe,he,me,ve,be,ge,ye,_e)))),Me,we,Se,(0,S.default)(se,{user:n}))}}]),t}(z.default))||d)||d)||d);n.default=Ce},{"../page":1578,"action-button":1401,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,card:1408,editable:1421,form:1425,"form-grid":1424,grid:1431,"home-filters":1432,icon:1435,intl:1436,"lodash/isEmpty":735,"lodash/map":754,modal:1461,"prop-types":1464,react:1269,"react-intl":1103,selectors:1470,utils:1490,xo:1519}],1610:[function(e,t,n){t.exports={vmContainer:"mc580d5799_vmContainer"}},{}],1611:[function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a,i,s,l=e("babel-runtime/core-js/promise"),u=o(l),c=e("babel-runtime/helpers/extends"),d=o(c),f=e("babel-runtime/regenerator"),p=o(f),h=e("babel-runtime/helpers/asyncToGenerator"),m=o(h),v=e("babel-runtime/core-js/object/get-prototype-of"),b=o(v),g=e("babel-runtime/helpers/classCallCheck"),y=o(g),_=e("babel-runtime/helpers/createClass"),M=o(_),w=e("babel-runtime/helpers/possibleConstructorReturn"),S=o(w),C=e("babel-runtime/helpers/inherits"),x=o(C),k=e("babel-runtime/helpers/jsx"),T=o(k),A=e("form-grid"),P=r(A),N=e("intl"),O=o(N),E=e("action-button"),z=o(E),R=e("button"),j=o(R),L=e("base-component"),D=o(L),I=e("dropzone"),B=o(I),V=e("icon"),q=o(V),F=e("lodash/isEmpty"),U=o(F),W=e("lodash/map"),H=o(W),X=e("lodash/orderBy"),K=o(X),G=e("prop-types"),Y=o(G),$=e("react"),Q=o($),J=e("xoa-upgrade"),Z=o(J),ee=e("grid"),te=e("xo"),ne=e("form"),re=e("selectors"),oe=e("utils"),ae=e("select-objects"),ie=e("../page"),se=o(ie),le=e("./ova"),ue=o(le),ce=e("./index.css"),de=o(ce),fe={ova:ue.default,xva:oe.noop},pe=(0,T.default)(ee.Container,{},void 0,(0,T.default)(ee.Row,{},void 0,(0,T.default)(ee.Col,{},void 0,(0,T.default)("h2",{},void 0,(0,T.default)(q.default,{icon:"import"})," ",(0,O.default)("newImport"))))),he=(a=(0,Y.default)({descriptionLabel:Y.default.string,disks:Y.default.objectOf(Y.default.shape({capacity:Y.default.number.isRequired,descriptionLabel:Y.default.string.isRequired,nameLabel:Y.default.string.isRequired,path:Y.default.string.isRequired})),memory:Y.default.number,nameLabel:Y.default.string,nCpus:Y.default.number,networks:Y.default.array,pool:Y.default.object.isRequired}),i=(0,oe.connectStore)(function(){var e=(0,re.createGetObject)(function(e,t){return t.pool.master}),t=(0,re.createGetObjectsOfType)("PIF").pick(function(t,n){return e(t,n).$PIFs}),n=(0,re.createSelector)((0,re.createFinder)(t,[function(e){return e.management}]),function(e){return e.$network});return{defaultNetwork:n}},{withRef:!0}),a(s=i(s=function(e){function t(){var e,n,r,o;(0,y.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,S.default)(this,(e=t.__proto__||(0,b.default)(t)).call.apply(e,[this].concat(i))),r._getNetworkPredicate=(0,re.createSelector)(function(){return r.props.pool.id},function(e){return function(t){return t.$pool===e}}),o=n,(0,S.default)(r,o)}return(0,x.default)(t,e),(0,M.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.descriptionLabel,r=t.defaultNetwork,o=t.disks,a=t.memory,i=t.nameLabel,s=t.nCpus,l=t.networks;return(0,T.default)("div",{},void 0,(0,T.default)(ee.Row,{},void 0,(0,T.default)(ee.Col,{mediumSize:6},void 0,(0,T.default)("div",{className:"form-group"},void 0,(0,T.default)("label",{},void 0,(0,O.default)("vmNameLabel")),Q.default.createElement("input",{className:"form-control",ref:"nameLabel",defaultValue:i,type:"text",required:!0})),(0,T.default)("div",{className:"form-group"},void 0,(0,T.default)("label",{},void 0,(0,O.default)("vmNameDescription")),Q.default.createElement("input",{className:"form-control",ref:"descriptionLabel",defaultValue:n,type:"text",required:!0}))),(0,T.default)(ee.Col,{mediumSize:6},void 0,(0,T.default)("div",{className:"form-group"},void 0,(0,T.default)("label",{},void 0,(0,O.default)("nCpus")),Q.default.createElement("input",{className:"form-control",ref:"nCpus",defaultValue:s,type:"number",required:!0})),(0,T.default)("div",{className:"form-group"},void 0,(0,T.default)("label",{},void 0,(0,O.default)("vmMemory")),Q.default.createElement(ne.SizeInput,{defaultValue:a,ref:"memory",required:!0})))),(0,T.default)(ee.Row,{},void 0,(0,T.default)(ee.Col,{mediumSize:6},void 0,(0,U.default)(o)?(0,O.default)("noDisks"):(0,H.default)(o,function(e,t){return(0,T.default)(ee.Row,{},t,(0,T.default)(ee.Col,{mediumSize:6},void 0,(0,T.default)("div",{className:"form-group"},void 0,(0,T.default)("label",{},void 0,(0,O.default)("diskInfo",{position:""+e.position,capacity:(0,oe.formatSize)(e.capacity)})),Q.default.createElement("input",{className:"form-control",ref:"disk-name-"+t,defaultValue:e.nameLabel,type:"text",required:!0}))),(0,T.default)(ee.Col,{mediumSize:6},void 0,(0,T.default)("div",{className:"form-group"},void 0,(0,T.default)("label",{},void 0,(0,O.default)("diskDescription")),Q.default.createElement("input",{className:"form-control",ref:"disk-description-"+t,defaultValue:e.descriptionLabel,type:"text",required:!0}))))})),(0,T.default)(ee.Col,{mediumSize:6},void 0,l.length>0?(0,H.default)(l,function(t,n){return(0,T.default)("div",{className:"form-group"},n,(0,T.default)("label",{},void 0,(0,O.default)("networkInfo",{name:t})),Q.default.createElement(ae.SelectNetwork,{defaultValue:r,ref:"network-"+n,predicate:e._getNetworkPredicate()}))}):(0,O.default)("noNetworks"))))}},{key:"value",get:function(){var e=this.props,t=this.refs;return{descriptionLabel:t.descriptionLabel.value,disks:(0,H.default)(e.disks,function(e,n){var r=e.capacity,o=e.path,a=e.position;return{capacity:r,descriptionLabel:t["disk-description-"+n].value,nameLabel:t["disk-name-"+n].value,path:o,position:a}}),memory:+t.memory.value,nameLabel:t.nameLabel.value,networks:(0,H.default)(e.networks,function(e,n){var r=t["network-"+n].value;return r.id?r.id:r}),nCpus:+t.nCpus.value}}}]),t}(D.default))||s)||s),me=function(){var e=(0,m.default)(p.default.mark(function e(t,n,r){return p.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r(t);case 3:return e.t0=e.sent,e.t1=t,e.t2=n,e.abrupt("return",{data:e.t0,file:e.t1,type:e.t2});case 9:return e.prev=9,e.t3=e.catch(0),e.abrupt("return",{error:e.t3,file:t,type:n});case 12:case"end":return e.stop()}},e,void 0,[[0,9]])}));return function(t,n,r){return e.apply(this,arguments)}}(),ve=(0,T.default)("hr",{}),be=(0,T.default)("hr",{}),ge=(0,T.default)("hr",{}),ye=(0,T.default)("hr",{}),_e=((0,T.default)(ee.Container,{},void 0,(0,T.default)(Z.default,{place:"vmImport",available:2})),function(e){function t(e){var n=this;(0,y.default)(this,t);var r=(0,S.default)(this,(t.__proto__||(0,b.default)(t)).call(this,e));return r._import=function(){var e=r.state;return(0,te.importVms)((0,oe.mapPlus)(e.vms,function(e,t,n){if(!e.error){var o=r.refs["vm-data-"+n];t((0,d.default)({},e,{data:o&&o.value}))}}),e.sr)},r._handleDrop=function(){var e=(0,m.default)(p.default.mark(function e(t){var o;return p.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u.default.all((0,oe.mapPlus)(t,function(e,t){var n=e.name,r=n.lastIndexOf("."),o=void 0,a=void 0;r>=0&&(a=n.substring(r+1))&&(o=fe[a])&&t(me(e,a,o))}));case 2:o=e.sent,r.setState({vms:(0,K.default)(o,function(e){return[null!=e.error,e.type,e.file.name]})});case 4:case"end":return e.stop()}},e,n)}));return function(t){return e.apply(this,arguments)}}(),r._handleCleanSelectedVms=function(){r.setState({vms:[]})},r._handleSelectedPool=function(e){""===e?r.setState({pool:void 0,sr:void 0,srPredicate:void 0}):r.setState({pool:e,sr:e.default_SR,srPredicate:function(e){return e.$pool===r.state.pool.id&&(0,te.isSrWritable)(e)}})},r._handleSelectedSr=function(e){r.setState({sr:""===e?void 0:e})},r.state.vms=[],r}return(0,x.default)(t,e),(0,M.default)(t,[{key:"render",value:function(){var e=this.state,t=e.pool,n=e.sr,r=e.srPredicate,o=e.vms;return(0,T.default)(se.default,{header:pe,title:"newImport",formatTitle:!0},void 0,(0,T.default)(ee.Container,{},void 0,(0,T.default)("form",{id:"import-form"},void 0,(0,T.default)(P.Row,{},void 0,(0,T.default)(P.LabelCol,{},void 0,(0,O.default)("vmImportToPool")),(0,T.default)(P.InputCol,{},void 0,(0,T.default)(ae.SelectPool,{value:t,onChange:this._handleSelectedPool,required:!0}))),(0,T.default)(P.Row,{},void 0,(0,T.default)(P.LabelCol,{},void 0,(0,O.default)("vmImportToSr")),(0,T.default)(P.InputCol,{},void 0,(0,T.default)(ae.SelectSr,{disabled:!t,onChange:this._handleSelectedSr,predicate:r,required:!0,value:n}))),n&&(0,T.default)("div",{},void 0,(0,T.default)(B.default,{onDrop:this._handleDrop,message:(0,O.default)("importVmsList")}),ve,(0,T.default)("h5",{},void 0,(0,O.default)("vmsToImport")),o.length>0?(0,T.default)("div",{},void 0,(0,H.default)(o,function(e,n){var r=e.data,o=e.error,a=e.file,i=e.type;return(0,T.default)("div",{className:de.default.vmContainer},a.preview,(0,T.default)("strong",{},void 0,a.name),(0,T.default)("span",{className:"pull-right"},void 0,(0,T.default)("strong",{},void 0,"("+(0,oe.formatSize)(a.size)+")")),o?(0,T.default)("div",{},void 0,ge,(0,T.default)("div",{className:"alert alert-danger",role:"alert"},void 0,(0,T.default)("strong",{},void 0,(0,O.default)("vmImportError"))," ",o&&o.message||(0,O.default)("noVmImportErrorDescription"))):r&&(0,T.default)("div",{},void 0,be,(0,T.default)("div",{className:"alert alert-info",role:"alert"},void 0,(0,T.default)("strong",{},void 0,(0,O.default)("vmImportFileType",{type:i}))," ",(0,O.default)("vmImportConfigAlert")),Q.default.createElement(he,(0,d.default)({},r,{ref:"vm-data-"+n,pool:t}))))})):(0,T.default)("p",{},void 0,(0,O.default)("noSelectedVms")),ye,(0,T.default)("div",{className:"form-group pull-right"},void 0,(0,T.default)(z.default,{btnStyle:"primary",disabled:!o.length,className:"mr-1",form:"import-form",handler:this._import,icon:"import",redirectOnSuccess:"/",type:"submit"},void 0,(0,O.default)("newImport")),(0,T.default)(j.default,{onClick:this._handleCleanSelectedVms},void 0,(0,O.default)("importVmsCleanList")))))))}}]),t}(D.default));n.default=_e},{"../page":1578,"./index.css":1610,"./ova":1612,"action-button":1401,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/asyncToGenerator":21,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/regenerator":147,"base-component":1405,button:1407,dropzone:1419,form:1425,"form-grid":1424,grid:1431,icon:1435,intl:1436,"lodash/isEmpty":735,"lodash/map":754,"lodash/orderBy":763,"prop-types":1464,react:1269,"select-objects":1469,selectors:1470,utils:1490,xo:1519,"xoa-upgrade":1528}],1612:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/core-js/promise"),a=r(o),i=e("lodash/find"),s=r(i),l=e("lodash/forEach"),u=r(l),c=e("tar-stream"),d=r(c),f=e("xml2js"),p=r(f),h=e("utils"),m={k:1024,m:1048576,g:1073741824,t:1099511627776},v={3:function(e,t){var n=t["rasd:VirtualQuantity"];e.nCpus=+n},4:function(e,t){var n=t["rasd:AllocationUnits"],r=t["rasd:VirtualQuantity"];e.memory=r*b(n)},10:function(e,t){var n=e.networks,r=t["rasd:AutomaticAllocation"],o=t["rasd:Connection"];r&&n.push(o)},17:function(e,t){var n=e.disks,r=t["rasd:AddressOnParent"],o=t["rasd:Description"],a=void 0===o?"No description":o,i=t["rasd:ElementName"],s=t["rasd:HostResource"],l=s.match(/^(?:ovf:)?\/disk\/(.+)$/),u=l&&n[l[1]];u?(u.descriptionLabel=a,u.nameLabel=i,u.position=+r):console.error("No disk found: '"+l+"'.")}},b=function(e){var t=e.match(/\^([0-9]+)$/);return null!=t?Math.pow(2,t[1]):m[e.charAt(0).toLowerCase()]},g=function(e){for(var t in e)null==e[t].position&&(console.error("No position specified for '"+t+"'."),delete e[t])},y=function(e){return new a.default(function(t,n){var r=(0,h.htmlFileToStream)(e),o=d.default.extract();r.on("error",n),o.on("finish",function(){n(new Error("No ovf file found."))}),o.on("error",n),o.on("entry",function(e,r,o){var a=e.name,i=a.lastIndexOf(".");return i===-1||"ovf"!==a.substring(i+1)?(r.on("end",o),void r.resume()):void(0,h.streamToString)(r).then(function(e){p.default.parseString(e,{mergeAttrs:!0,explicitArray:!1},function(e,r){if(e)return void n(e);var a=r.Envelope,i=a.DiskSection.Disk,l=a.References.File,c=a.VirtualSystem,d={disks:{},networks:[]},f=c.VirtualHardwareSection;d.nameLabel=f.System["vssd:VirtualSystemIdentifier"],d.descriptionLabel=c.AnnotationSection&&c.AnnotationSection.Annotation||c.OperatingSystemSection&&c.OperatingSystemSection.Description,(0,u.default)((0,h.ensureArray)(i),function(e){var t=(0,s.default)((0,h.ensureArray)(l),function(t){return t["ovf:id"]===e["ovf:fileRef"]}),n=e["ovf:capacityAllocationUnits"];d.disks[e["ovf:diskId"]]={capacity:e["ovf:capacity"]*(n&&b(n)||1),path:t&&t["ovf:href"]}}),(0,u.default)((0,h.ensureArray)(f.Item),function(e){var t=v[e["rasd:ResourceType"]];t&&t(d,e)}),g(d.disks),t(d),o()})})}),r.pipe(o)})};n.default=y},{"babel-runtime/core-js/promise":17,"lodash/find":710,"lodash/forEach":716,
|
98 | "tar-stream":1357,utils:1490,xml2js:1375}],1613:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("lodash/includes"),s=r(i),l=e("action-bar"),u=r(l),c=e("react"),d=(r(c),e("utils")),f=e("selectors"),p=e("xo"),h={Running:function(e){var t=e.isAdmin,n=e.vm;return(0,a.default)(u.default,{actions:[{icon:"vm-stop",label:"stopVmLabel",handler:p.stopVm,pending:(0,s.default)(n.current_operations,"clean_shutdown")},{icon:"vm-reboot",label:"rebootVmLabel",handler:p.restartVm,pending:(0,s.default)(n.current_operations,"clean_reboot")},(t||!n.resourceSet)&&{icon:"vm-migrate",label:"migrateVmLabel",handler:p.migrateVm,pending:(0,s.default)(n.current_operations,"migrate_send")||(0,s.default)(n.current_operations,"pool_migrate")},(t||!n.resourceSet)&&{icon:"vm-snapshot",label:"snapshotVmLabel",handler:p.snapshotVm,pending:(0,s.default)(n.current_operations,"snapshot")},(t||!n.resourceSet)&&{icon:"export",label:"exportVmLabel",handler:p.exportVm,pending:(0,s.default)(n.current_operations,"export")},(t||!n.resourceSet)&&{icon:"vm-copy",label:"copyVmLabel",handler:p.copyVm,pending:(0,s.default)(n.current_operations,"copy")}],display:"icon",param:n})},Halted:function(e){var t=e.isAdmin,n=e.vm;return(0,a.default)(u.default,{actions:[{icon:"vm-start",label:"startVmLabel",handler:p.startVm,pending:(0,s.default)(n.current_operations,"start")},(t||!n.resourceSet)&&{icon:"vm-fast-clone",label:"fastCloneVmLabel",handler:p.cloneVm,pending:(0,s.default)(n.current_operations,"clone")},(t||!n.resourceSet)&&{icon:"vm-migrate",label:"migrateVmLabel",handler:p.migrateVm,pending:(0,s.default)(n.current_operations,"pool_migrate")},(t||!n.resourceSet)&&{icon:"vm-snapshot",label:"snapshotVmLabel",handler:p.snapshotVm,pending:(0,s.default)(n.current_operations,"snapshot")},(t||!n.resourceSet)&&{icon:"export",label:"exportVmLabel",handler:p.exportVm,pending:(0,s.default)(n.current_operations,"export")},(t||!n.resourceSet)&&{icon:"vm-copy",label:"copyVmLabel",handler:p.copyVm,pending:(0,s.default)(n.current_operations,"copy")}],display:"icon",param:n})},Suspended:function(e){var t=e.isAdmin,n=e.vm;return(0,a.default)(u.default,{actions:[{icon:"vm-start",label:"resumeVmLabel",handler:p.resumeVm,pending:(0,s.default)(n.current_operations,"start")},(t||!n.resourceSet)&&{icon:"vm-snapshot",label:"snapshotVmLabel",handler:p.snapshotVm,pending:(0,s.default)(n.current_operations,"snapshot")},(t||!n.resourceSet)&&{icon:"export",label:"exportVmLabel",handler:p.exportVm,pending:(0,s.default)(n.current_operations,"export")},(t||!n.resourceSet)&&{icon:"vm-copy",label:"copyVmLabel",handler:p.copyVm,pending:(0,s.default)(n.current_operations,"copy")}],display:"icon",param:n})}},m=(0,d.connectStore)({isAdmin:f.isAdmin})(function(e){var t=e.isAdmin,n=e.vm,r=h[n.power_state];return r?(0,a.default)(r,{isAdmin:t,vm:n}):(0,a.default)("p",{},void 0,"No action bar for state ",n.power_state)});n.default=m},{"action-bar":1400,"babel-runtime/helpers/jsx":27,"lodash/includes":728,react:1269,selectors:1470,utils:1490,xo:1519}],1614:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l,u=e("babel-runtime/helpers/extends"),c=r(u),d=e("babel-runtime/helpers/jsx"),f=r(d),p=e("babel-runtime/helpers/toConsumableArray"),h=r(p),m=e("babel-runtime/core-js/object/get-prototype-of"),v=r(m),b=e("babel-runtime/helpers/classCallCheck"),g=r(b),y=e("babel-runtime/helpers/createClass"),_=r(y),M=e("babel-runtime/helpers/possibleConstructorReturn"),w=r(M),S=e("babel-runtime/helpers/inherits"),C=r(S),x=e("lodash/pick"),k=r(x),T=e("lodash/map"),A=r(T),P=e("lodash/isEmpty"),N=r(P),O=e("lodash/forEach"),E=r(O),z=e("lodash/assign"),R=r(z),j=e("intl"),L=r(j),D=e("base-component"),I=r(D),B=e("icon"),V=r(B),q=e("link"),F=r(q),U=e("nav"),W=e("../page"),H=r(W),X=e("react"),K=r(X),G=e("./action-bar"),Y=r(G),$=e("editable"),Q=e("xo"),J=e("grid"),Z=e("utils"),ee=e("selectors"),te=e("./tab-general"),ne=r(te),re=e("./tab-stats"),oe=r(re),ae=e("./tab-console"),ie=r(ae),se=e("./tab-containers"),le=r(se),ue=e("./tab-disks"),ce=r(ue),de=e("./tab-network"),fe=r(de),pe=e("./tab-snapshots"),he=r(pe),me=e("./tab-logs"),ve=r(me),be=e("./tab-advanced"),ge=r(be),ye=(0,f.default)(V.default,{icon:"loading"}),_e=(0,f.default)(V.default,{icon:"vm-busy"}),Me=(0,f.default)("span",{},void 0," - "),we=(0,f.default)("br",{}),Se=(o=(0,Z.routes)("general",{advanced:ge.default,console:ie.default,containers:le.default,disks:ce.default,general:ne.default,logs:ve.default,network:fe.default,snapshots:he.default,stats:oe.default}),a=(0,Z.connectStore)(function(){var e=(0,ee.createGetObject)(),t=(0,ee.createGetObject)(function(t,n){return e(t,n).$container}),n=(0,ee.createGetObject)(function(t,n){return e(t,n).$pool}),r=(0,ee.createGetObjectsOfType)("VBD").pick(function(t,n){return e(t,n).$VBDs}).sort(),o=(0,ee.createGetObjectsOfType)("VDI").pick((0,ee.createSelector)(r,function(e){return(0,Z.mapPlus)(e,function(e,t){!e.is_cd_drive&&e.VDI&&t(e.VDI)})})),a=(0,ee.createGetObjectsOfType)("SR").pick((0,ee.createSelector)(o,function(e){return(0,A.default)(e,function(e){return e.$SR})})),i=(0,ee.createSelector)(o,function(e){var t=0;return(0,E.default)(e,function(e){t+=e.size}),t}),s=(0,ee.createGetObjectsOfType)("host");return function(l,u){var c=e(l,u);return c?{checkPermissions:(0,ee.getCheckPermissions)(l,u),container:t(l,u),hosts:s(l,u),isAdmin:(0,ee.isAdmin)(l,u),pool:n(l,u),srs:a(l,u),vbds:r(l,u),vdis:o(l,u),vm:c,vmTotalDiskSpace:i(l,u)}:{}}}),o(i=a((l=s=function(e){function t(){var e,n,r,o,a;(0,g.default)(this,t);for(var i=arguments.length,s=Array(i),l=0;l<i;l++)s[l]=arguments[l];return r=o=(0,w.default)(this,(e=t.__proto__||(0,v.default)(t)).call.apply(e,[this].concat(s))),o.loop=(n=o).loop.bind(n),o._getCanSnapshot=(0,ee.createSelector)(function(){return o.props.checkPermissions},function(){return o.props.vm},function(){return o.props.srs},function(e,t,n){return e([[t.id,"administrate"]].concat((0,h.default)((0,A.default)(n,function(e){return[e.id,"operate"]}))))}),o._setNameDescription=function(e){return(0,Q.editVm)(o.props.vm,{name_description:e})},o._setNameLabel=function(e){return(0,Q.editVm)(o.props.vm,{name_label:e})},o._migrateVm=function(e){return(0,Q.migrateVm)(o.props.vm,e)},o._selectOptionRenderer=function(e){return e.name_label},o._toggleHeader=function(){return o.setState({collapsedHeader:!o.state.collapsedHeader})},a=r,(0,w.default)(o,a)}return(0,C.default)(t,e),(0,_.default)(t,[{key:"loop",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.vm;if(this.cancel&&this.cancel(),(0,Q.isVmRunning)(t)){var n=!1;this.cancel=function(){n=!0},(0,Q.fetchVmStats)(t).then(function(t){n||(e.cancel=null,clearTimeout(e.timeout),e.setState({statsOverview:t},function(){e.timeout=setTimeout(e.loop,1e3*t.interval)}))})}}},{key:"componentWillMount",value:function(){this.loop()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.vm,n=e.vm;t&&!n&&this.context.router.push("/"),!(0,Q.isVmRunning)(t)&&(0,Q.isVmRunning)(n)?this.loop(n):(0,Q.isVmRunning)(t)&&!(0,Q.isVmRunning)(n)&&this.setState({statsOverview:void 0})}},{key:"header",value:function(){var e=this.props,t=e.vm,n=e.container,r=e.pool,o=e.hosts;return t?(0,f.default)(J.Container,{},void 0,(0,f.default)(J.Row,{},void 0,(0,f.default)(J.Col,{mediumSize:6,className:"header-title"},void 0,(0,f.default)("h2",{},void 0,(0,N.default)(t.current_operations)?(0,f.default)(V.default,{icon:"vm-"+t.power_state.toLowerCase()}):_e," ",(0,f.default)($.Text,{value:t.name_label,onChange:this._setNameLabel})),(0,f.default)("span",{},void 0,(0,f.default)($.Text,{value:t.name_description,onChange:this._setNameDescription}),(0,f.default)("span",{className:"text-muted"},void 0,"Running"===t.power_state&&n&&(0,f.default)("span",{},void 0,Me,(0,f.default)($.Select,{onChange:this._migrateVm,options:o,renderer:this._selectOptionRenderer,useLongClick:!0,value:n},void 0,(0,f.default)(F.default,{to:"/"+n.type+"s/"+n.id},void 0,n.name_label)))," ",r&&(0,f.default)(F.default,{to:"/pools/"+r.id},void 0,r.name_label)))),(0,f.default)(J.Col,{mediumSize:6,className:"text-xs-center"},void 0,(0,f.default)("div",{},void 0,(0,f.default)(Y.default,{vm:t})))),we,(0,f.default)(J.Row,{},void 0,(0,f.default)(J.Col,{},void 0,(0,f.default)(U.NavTabs,{},void 0,(0,f.default)(U.NavLink,{to:"/vms/"+t.id+"/general"},void 0,(0,L.default)("generalTabName")),(0,f.default)(U.NavLink,{to:"/vms/"+t.id+"/stats"},void 0,(0,L.default)("statsTabName")),(0,f.default)(U.NavLink,{to:"/vms/"+t.id+"/console"},void 0,(0,L.default)("consoleTabName")),(0,f.default)(U.NavLink,{to:"/vms/"+t.id+"/network"},void 0,(0,L.default)("networkTabName")),(0,f.default)(U.NavLink,{to:"/vms/"+t.id+"/disks"},void 0,(0,L.default)("disksTabName",{disks:t.$VBDs.length})),this._getCanSnapshot()&&(0,f.default)(U.NavLink,{to:"/vms/"+t.id+"/snapshots"},void 0,(0,L.default)("snapshotsTabName")," ",0!==t.snapshots.length&&(0,f.default)("span",{className:"tag tag-pill tag-default"},void 0,t.snapshots.length)),(0,f.default)(U.NavLink,{to:"/vms/"+t.id+"/logs"},void 0,(0,L.default)("logsTabName")),t.docker&&(0,f.default)(U.NavLink,{to:"/vms/"+t.id+"/containers"},void 0,(0,L.default)("containersTabName")),(0,f.default)(U.NavLink,{to:"/vms/"+t.id+"/advanced"},void 0,(0,L.default)("advancedTabName")))))):ye}},{key:"render",value:function(){var e=this.props,t=e.container,n=e.vm;if(!n)return(0,f.default)("h1",{},void 0,(0,L.default)("statusLoading"));var r=(0,R.default)((0,k.default)(this.props,["container","pool","removeTag","srs","vbds","vdis","vm","vmTotalDiskSpace"]),(0,k.default)(this.state,["statsOverview"]));return(0,f.default)(H.default,{header:this.header(),collapsedHeader:this.state.collapsedHeader,title:""+n.name_label+(t?" ("+t.name_label+")":"")},void 0,(0,X.cloneElement)(this.props.children,(0,c.default)({},r,{toggleHeader:this._toggleHeader})))}}]),t}(I.default),s.contextTypes={router:K.default.PropTypes.object},i=l))||i)||i);n.default=Se},{"../page":1578,"./action-bar":1613,"./tab-advanced":1615,"./tab-console":1616,"./tab-containers":1617,"./tab-disks":1618,"./tab-general":1619,"./tab-logs":1620,"./tab-network":1621,"./tab-snapshots":1622,"./tab-stats":1623,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/toConsumableArray":32,"base-component":1405,editable:1421,grid:1431,icon:1435,intl:1436,link:1459,"lodash/assign":690,"lodash/forEach":716,"lodash/isEmpty":735,"lodash/map":754,"lodash/pick":764,nav:1462,react:1269,selectors:1470,utils:1490,xo:1519}],1615:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("lodash/uniq"),y=r(g),_=e("lodash/map"),M=r(_),w=e("lodash/every"),S=r(w),C=e("intl"),x=r(C),k=e("base-component"),T=r(k),A=e("copiable"),P=r(A),N=e("icon"),O=r(N),E=e("lodash/isEmpty"),z=r(E),R=e("react"),j=(r(R),e("render-xo-item")),L=r(j),D=e("tab-button"),I=r(D),B=e("form"),V=e("editable"),q=e("grid"),F=e("utils"),U=e("xo"),W=e("selectors"),H=function(e){return(0,U.restartVm)(e,!0)},X=function(e){return(0,U.stopVm)(e,!0)},K=function(e){return(0,U.cloneVm)(e,!0)},G=(0,s.default)(O.default,{icon:"remove"}),Y=(o=(0,F.connectStore)(function(){var e=(0,W.createGetObjectsOfType)("host").find(function(e,t){var n=t.vm;return{id:n.affinityHost}}),t=(0,W.createGetObjectsOfType)("VBD").pick(function(e,t){var n=t.vm;return n.$VBDs}),n=(0,W.createGetObjectsOfType)("VDI").pick((0,W.createSelector)(t,function(e){return(0,M.default)(e,"VDI")})),r=(0,W.createGetObjectsOfType)("SR").pick((0,W.createSelector)(n,function(e){return(0,y.default)((0,M.default)(e,"$SR"))})),o=(0,W.createSelector)(r,function(e){return(0,y.default)((0,M.default)(e,"$container"))}),a=(0,W.createSelector)(e,o,function(e,t){return function(n){return(!e||n.id!==e.id)&&(0,S.default)(t,function(e){return e===n.$pool||e===n.id})}});return{affinityHost:e,affinityHostPredicate:a}}),o(a=function(e){function t(){var e,n,r,o;(0,d.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,m.default)(this,(e=t.__proto__||(0,u.default)(t)).call.apply(e,[this].concat(i))),r._editAffinityHost=function(e){return(0,U.editVm)(r.props.vm,{affinityHost:e.id||null})},o=n,(0,m.default)(r,o)}return(0,b.default)(t,e),(0,p.default)(t,[{key:"render",value:function(){var e=this.props,t=e.affinityHost,n=e.affinityHostPredicate;return(0,s.default)("span",{},void 0,(0,s.default)(V.XoSelect,{onChange:this._editAffinityHost,predicate:n,value:t,xoType:"host"},void 0,t?(0,L.default)(t):(0,x.default)("noAffinityHost"))," ",t&&(0,s.default)("a",{role:"button",onClick:this._editAffinityHost},void 0,G))}}]),t}(T.default))||a),$=(0,s.default)("br",{}),Q=(0,s.default)("br",{}),J=(0,s.default)("br",{});n.default=function(e){var t=e.vm;return(0,s.default)(q.Container,{},void 0,(0,s.default)(q.Row,{},void 0,(0,s.default)(q.Col,{className:"text-xs-right"},void 0,"Running"===t.power_state&&(0,s.default)("span",{},void 0,(0,s.default)(I.default,{btnStyle:"primary",handler:U.suspendVm,handlerParam:t,icon:"vm-suspend",labelId:"suspendVmLabel"}),(0,s.default)(I.default,{btnStyle:"warning",handler:H,handlerParam:t,icon:"vm-force-reboot",labelId:"forceRebootVmLabel"}),(0,s.default)(I.default,{btnStyle:"warning",handler:X,handlerParam:t,icon:"vm-force-shutdown",labelId:"forceShutdownVmLabel"})),"Halted"===t.power_state&&(0,s.default)("span",{},void 0,(0,s.default)(I.default,{btnStyle:"primary",handler:U.recoveryStartVm,handlerParam:t,icon:"vm-recovery-mode",labelId:"recoveryModeLabel"}),(0,s.default)(I.default,{btnStyle:"primary",handler:K,handlerParam:t,icon:"vm-clone",labelId:"cloneVmLabel"}),(0,s.default)(I.default,{btnStyle:"danger",handler:U.convertVmToTemplate,handlerParam:t,icon:"vm-create-template",labelId:"vmConvertButton",redirectOnSuccess:"/"})),"Suspended"===t.power_state&&(0,s.default)("span",{},void 0,(0,s.default)(I.default,{btnStyle:"primary",handler:U.resumeVm,handlerParam:t,icon:"vm-start",labelId:"resumeVmLabel"}),(0,s.default)(I.default,{btnStyle:"warning",handler:X,handlerParam:t,icon:"vm-force-shutdown",labelId:"forceShutdownVmLabel"})),(0,s.default)(I.default,{btnStyle:"danger",handler:U.deleteVm,handlerParam:t,icon:"vm-delete",labelId:"vmRemoveButton"}))),(0,s.default)(q.Row,{},void 0,(0,s.default)(q.Col,{},void 0,(0,s.default)("h3",{},void 0,(0,x.default)("xenSettingsLabel")),(0,s.default)("table",{className:"table"},void 0,(0,s.default)("tbody",{},void 0,(0,s.default)("tr",{},void 0,(0,s.default)("th",{},void 0,(0,x.default)("uuid")),(0,s.default)(P.default,{tagName:"td"},void 0,t.uuid)),(0,s.default)("tr",{},void 0,(0,s.default)("th",{},void 0,(0,x.default)("virtualizationMode")),(0,s.default)("td",{},void 0,"pv"===t.virtualizationMode?(0,x.default)("paraVirtualizedMode"):(0,x.default)("hardwareVirtualizedMode"))),"pv"===t.virtualizationMode&&(0,s.default)("tr",{},void 0,(0,s.default)("th",{},void 0,(0,x.default)("pvArgsLabel")),(0,s.default)("td",{},void 0,(0,s.default)(V.Text,{value:t.PV_args,onChange:function(e){return(0,U.editVm)(t,{PV_args:e})}}))),(0,s.default)("tr",{},void 0,(0,s.default)("th",{},void 0,(0,x.default)("cpuWeightLabel")),(0,s.default)("td",{},void 0,(0,s.default)(V.Number,{value:null==t.cpuWeight?null:t.cpuWeight,onChange:function(e){return(0,U.editVm)(t,{cpuWeight:e})},nullable:!0},void 0,null==t.cpuWeight?(0,x.default)("defaultCpuWeight",{value:U.XEN_DEFAULT_CPU_WEIGHT}):t.cpuWeight))),(0,s.default)("tr",{},void 0,(0,s.default)("th",{},void 0,(0,x.default)("cpuCapLabel")),(0,s.default)("td",{},void 0,(0,s.default)(V.Number,{value:null==t.cpuCap?null:t.cpuCap,onChange:function(e){return(0,U.editVm)(t,{cpuCap:e})},nullable:!0},void 0,null==t.cpuCap?(0,x.default)("defaultCpuCap",{value:U.XEN_DEFAULT_CPU_CAP}):t.cpuCap))),(0,s.default)("tr",{},void 0,(0,s.default)("th",{},void 0,(0,x.default)("autoPowerOn")),(0,s.default)("td",{},void 0,(0,s.default)(B.Toggle,{value:t.auto_poweron,onChange:function(e){return(0,U.editVm)(t,{auto_poweron:e})}}))),(0,s.default)("tr",{},void 0,(0,s.default)("th",{},void 0,(0,x.default)("ha")),(0,s.default)("td",{},void 0,(0,s.default)(B.Toggle,{value:t.high_availability,onChange:function(e){return(0,U.editVm)(t,{high_availability:e})}}))),(0,s.default)("tr",{},void 0,(0,s.default)("th",{},void 0,(0,x.default)("vmAffinityHost")),(0,s.default)("td",{},void 0,(0,s.default)(Y,{vm:t}))))),$,(0,s.default)("h3",{},void 0,(0,x.default)("vmLimitsLabel")),(0,s.default)("table",{className:"table table-hover"},void 0,(0,s.default)("tbody",{},void 0,(0,s.default)("tr",{},void 0,(0,s.default)("th",{},void 0,(0,x.default)("vmCpuLimitsLabel")),(0,s.default)("td",{},void 0,(0,s.default)(V.Number,{value:t.CPUs.number,onChange:function(e){return(0,U.editVm)(t,{cpus:e})}}),"/","Running"===t.power_state?t.CPUs.max:(0,s.default)(V.Number,{value:t.CPUs.max,onChange:function(e){return(0,U.editVm)(t,{cpusStaticMax:e})}}))),(0,s.default)("tr",{},void 0,(0,s.default)("th",{},void 0,(0,x.default)("vmMemoryLimitsLabel")),(0,s.default)("td",{},void 0,(0,s.default)("p",{},void 0,"Static: ",(0,F.formatSize)(t.memory.static[0]),"/",(0,s.default)(V.Size,{value:(0,F.firstDefined)(t.memory.static[1],null),onChange:function(e){return(0,U.editVm)(t,{memoryStaticMax:e})}})),(0,s.default)("p",{},void 0,"Dynamic: ",(0,s.default)(V.Size,{value:(0,F.firstDefined)(t.memory.dynamic[0],null),onChange:function(e){return(0,U.editVm)(t,{memoryMin:e})}}),"/",(0,s.default)(V.Size,{value:(0,F.firstDefined)(t.memory.dynamic[1],null),onChange:function(e){return(0,U.editVm)(t,{memoryMax:e})}})))))),Q,(0,s.default)("h3",{},void 0,(0,x.default)("guestOsLabel")),(0,s.default)("table",{className:"table table-hover"},void 0,(0,s.default)("tbody",{},void 0,(0,s.default)("tr",{},void 0,(0,s.default)("th",{},void 0,(0,x.default)("xenToolsStatus")),(0,s.default)("td",{},void 0,(0,x.default)("xenToolsStatusValue",{status:(0,F.normalizeXenToolsStatus)(t.xenTools)}))),(0,s.default)("tr",{},void 0,(0,s.default)("th",{},void 0,(0,x.default)("osName")),(0,s.default)("td",{},void 0,(0,z.default)(t.os_version)?(0,x.default)("unknownOsName"):(0,s.default)("span",{},void 0,(0,s.default)(O.default,{className:"text-info",icon:(0,F.osFamily)(t.os_version.distro)})," ",t.os_version.name))),(0,s.default)("tr",{},void 0,(0,s.default)("th",{},void 0,(0,x.default)("osKernel")),(0,s.default)("td",{},void 0,t.os_version&&t.os_version.uname?t.os_version.uname:(0,x.default)("unknownOsKernel"))))),J,(0,s.default)("h3",{},void 0,(0,x.default)("miscLabel")),(0,s.default)("table",{className:"table table-hover"},void 0,(0,s.default)("tbody",{},void 0,(0,s.default)("tr",{},void 0,(0,s.default)("th",{},void 0,(0,x.default)("originalTemplate")),(0,s.default)("td",{},void 0,t.other.base_template_name?t.other.base_template_name:(0,x.default)("unknownOriginalTemplate"))))))))}},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,copiable:1415,editable:1421,form:1425,grid:1431,icon:1435,intl:1436,"lodash/every":708,"lodash/isEmpty":735,"lodash/map":754,"lodash/uniq":793,react:1269,"render-xo-item":1466,selectors:1470,"tab-button":1481,utils:1490,xo:1519}],1616:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("intl"),b=r(v),g=e("button"),y=r(g),_=e("base-component"),M=r(_),w=e("react-copy-to-clipboard"),S=r(w),C=e("lodash/debounce"),x=r(C),k=e("icon"),T=r(k),A=e("invoke"),P=r(A),N=e("iso-device"),O=r(N),E=e("react-novnc"),z=r(E),R=e("react"),j=r(R),L=e("tooltip"),D=r(L),I=e("xo"),B=e("grid"),V=e("xo-sparklines"),q=(0,a.default)(B.Container,{},void 0,(0,a.default)("p",{},void 0,"Console is only available for running VMs.")),F=(0,a.default)(T.default,{icon:"cpu",size:2}),U=(0,a.default)(T.default,{icon:"memory",size:2}),W=(0,a.default)(T.default,{icon:"network",size:2}),H=(0,a.default)(T.default,{icon:"disk",size:2}),X=(0,a.default)(T.default,{icon:"clipboard"}),K=(0,a.default)(T.default,{icon:"vm-keyboard"}),G=(0,a.default)(T.default,{icon:"info"}),Y=function(e){function t(){var e,n,r,o;(0,u.default)(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r=(0,p.default)(this,(e=t.__proto__||(0,s.default)(t)).call.apply(e,[this].concat(i))),r.state={scale:1},r._sendCtrlAltDel=function(){r.refs.noVnc.sendCtrlAltDel()},r._getRemoteClipboard=function(e){r.setState({clipboard:e}),r.refs.clipboard.value=e},r._setRemoteClipboard=(0,P.default)(function(){var e=(0,x.default)(function(e){r.setState({clipboard:e}),r.refs.noVnc.setClipboard(e)},200);return function(t){return e(t.target.value)}}),r._getClipboardContent=function(){return r.refs.clipboard&&r.refs.clipboard.value},r._toggleMinimalLayout=function(){r.props.toggleHeader(),r.setState({minimalLayout:!r.state.minimalLayout})},o=n,(0,p.default)(r,o)}return(0,m.default)(t,e),(0,d.default)(t,[{key:"componentWillReceiveProps",value:function(e){(0,I.isVmRunning)(this.props.vm)&&!(0,I.isVmRunning)(e.vm)&&this.state.minimalLayout&&this._toggleMinimalLayout()}},{key:"render",value:function(){var e=this.props,t=e.statsOverview,n=e.vm,r=this.state,o=r.minimalLayout,i=r.scale;return(0,I.isVmRunning)(n)?(0,a.default)(B.Container,{},void 0,!o&&t&&(0,a.default)(B.Row,{className:"text-xs-center"},void 0,(0,a.default)(B.Col,{mediumSize:3},void 0,(0,a.default)("p",{},void 0,F," ",(0,a.default)(V.CpuSparkLines,{data:t}))),(0,a.default)(B.Col,{mediumSize:3},void 0,(0,a.default)("p",{},void 0,U," ",(0,a.default)(V.MemorySparkLines,{data:t}))),(0,a.default)(B.Col,{mediumSize:3},void 0,(0,a.default)("p",{},void 0,W," ",(0,a.default)(V.VifSparkLines,{data:t}))),(0,a.default)(B.Col,{mediumSize:3},void 0,(0,a.default)("p",{},void 0,H," ",(0,a.default)(V.XvdSparkLines,{data:t})))),(0,a.default)(B.Row,{},void 0,(0,a.default)(B.Col,{mediumSize:3},void 0,(0,a.default)(O.default,{vm:n})),(0,a.default)(B.Col,{mediumSize:3},void 0,(0,a.default)("div",{className:"input-group"},void 0,j.default.createElement("input",{type:"text",className:"form-control",ref:"clipboard",onChange:this._setRemoteClipboard}),(0,a.default)("span",{className:"input-group-btn"},void 0,(0,a.default)(S.default,{text:this.state.clipboard||""},void 0,(0,a.default)(y.default,{},void 0,X," ",(0,b.default)("copyToClipboardLabel")))))),(0,a.default)(B.Col,{mediumSize:2},void 0,(0,a.default)(y.default,{onClick:this._sendCtrlAltDel},void 0,K," ",(0,b.default)("ctrlAltDelButtonLabel"))),(0,a.default)(B.Col,{mediumSize:3},void 0,(0,a.default)("input",{className:"form-control",max:3,min:.1,onChange:this.linkState("scale"),step:.1,type:"range",value:i})),(0,a.default)(B.Col,{mediumSize:1},void 0,(0,a.default)(D.default,{content:o?(0,b.default)("showHeaderTooltip"):(0,b.default)("hideHeaderTooltip")},void 0,(0,a.default)(y.default,{onClick:this._toggleMinimalLayout},void 0,(0,a.default)(T.default,{icon:o?"caret":"caret-up"}))))),(0,a.default)(B.Row,{className:"console"},void 0,(0,a.default)(B.Col,{},void 0,j.default.createElement(z.default,{onClipboardChange:this._getRemoteClipboard,ref:"noVnc",scale:i,url:(0,I.resolveUrl)("consoles/"+n.id)}),!o&&(0,a.default)("p",{},void 0,(0,a.default)("em",{},void 0,G," ",(0,a.default)("a",{href:"https://bugs.xenserver.org/browse/XSO-650",target:"_blank"},void 0,(0,b.default)("tipLabel")," ",(0,b.default)("tipConsoleLabel"))))))):q}}]),t}(M.default);n.default=Y},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,button:1407,grid:1431,icon:1435,intl:1436,invoke:1446,"iso-device":1448,"lodash/debounce":701,react:1269,"react-copy-to-clipboard":939,"react-novnc":1465,tooltip:1488,xo:1519,"xo-sparklines":1507}],1617:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("babel-runtime/core-js/object/get-prototype-of"),a=r(o),i=e("babel-runtime/helpers/classCallCheck"),s=r(i),l=e("babel-runtime/helpers/createClass"),u=r(l),c=e("babel-runtime/helpers/possibleConstructorReturn"),d=r(c),f=e("babel-runtime/helpers/inherits"),p=r(f),h=e("babel-runtime/helpers/jsx"),m=r(h),v=e("intl"),b=r(v),g=e("action-row-button"),y=r(g),_=e("button-group"),M=r(_),w=e("lodash/isEmpty"),S=r(w),C=e("react"),x=(r(C),e("sorted-table")),k=r(x),T=e("tooltip"),A=r(T),P=e("react-intl"),N=e("grid"),O=e("xo"),E=[{name:(0,b.default)("containerName"),itemRenderer:function(e){return e.entry.names},sortCriteria:function(e){return e.entry.names},sortOrder:"asc"},{name:(0,b.default)("containerCommand"),itemRenderer:function(e){return e.entry.command},sortCriteria:function(e){return e.entry.command}},{name:(0,b.default)("containerCreated"),itemRenderer:function(e){return(0,m.default)("span",{},void 0,(0,m.default)(P.FormattedTime,{value:1e3*e.entry.created,minute:"numeric",hour:"numeric",day:"numeric",month:"long",year:"numeric"})," (",(0,m.default)(P.FormattedRelative,{value:1e3*e.entry.created}),")")},sortCriteria:function(e){return e.entry.created},sortOrder:"desc"},{name:(0,b.default)("containerStatus"),itemRenderer:function(e){return e.entry.status},sortCriteria:function(e){return e.entry.status}},{action:(0,b.default)("containerAction"),itemRenderer:function(e,t){return(0,m.default)(M.default,{},void 0,"Up"===e.entry.status&&[(0,m.default)(A.default,{content:(0,b.default)("containerStop")},1,(0,m.default)(y.default,{btnStyle:"primary",handler:function(){return(0,O.stopContainer)(t,e.entry.container)},icon:"vm-stop"})),(0,m.default)(A.default,{content:(0,b.default)("containerRestart")},2,(0,m.default)(y.default,{btnStyle:"primary",handler:function(){return(0,O.restartContainer)(t,e.entry.container)},icon:"vm-reboot"})),(0,m.default)(A.default,{content:(0,b.default)("containerPause")},3,(0,m.default)(y.default,{btnStyle:"primary",handler:function(){return(0,O.pauseContainer)(t,e.entry.container)},icon:"vm-suspend"}))],"Exited (137)"===e.entry.status&&(0,m.default)(A.default,{content:(0,b.default)("containerStart")},void 0,(0,m.default)(y.default,{btnStyle:"primary",handler:function(){return(0,O.startContainer)(t,e.entry.container)},icon:"vm-start"})),"Up (Paused)"===e.entry.status&&(0,m.default)(A.default,{content:(0,b.default)("containerResume")},void 0,(0,m.default)(y.default,{btnStyle:"primary",handler:function(){return(0,O.unpauseContainer)(t,e.entry.container)},icon:"vm-start"})))}}],z=function(e){function t(){return(0,s.default)(this,t),(0,d.default)(this,(t.__proto__||(0,a.default)(t)).apply(this,arguments))}return(0,p.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props.vm;return(0,S.default)(e.docker.containers)?(0,m.default)(N.Row,{},void 0,(0,m.default)(N.Col,{className:"text-xs-center mt-1"},void 0,(0,m.default)("h4",{},void 0,(0,b.default)("noContainers")))):(0,m.default)(N.Container,{},void 0,(0,m.default)(N.Row,{},void 0,(0,m.default)(N.Col,{},void 0,(0,m.default)(k.default,{collection:e.docker.containers,userData:e,columns:E}))))}}]),t}(C.Component);n.default=z},{"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"button-group":1406,grid:1431,intl:1436,"lodash/isEmpty":735,react:1269,"react-intl":1103,"sorted-table":1475,tooltip:1488,xo:1519}],1618:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l,u,c,d,f,p,h,m,v,b,g=e("babel-runtime/core-js/promise"),y=r(g),_=e("babel-runtime/helpers/jsx"),M=r(_),w=e("babel-runtime/core-js/object/get-prototype-of"),S=r(w),C=e("babel-runtime/helpers/classCallCheck"),x=r(C),k=e("babel-runtime/helpers/createClass"),T=r(k),A=e("babel-runtime/helpers/possibleConstructorReturn"),P=r(A),N=e("babel-runtime/helpers/inherits"),O=r(N),E=e("babel-runtime/core-js/get-iterator"),z=r(E),R=e("intl"),j=r(R),L=e("action-button"),D=r(L),I=e("action-row-button"),B=r(I),V=e("base-component"),q=r(V),F=e("lodash/forEach"),U=r(F),W=e("react-dnd-html5-backend"),H=r(W),X=e("icon"),K=r(X),G=e("lodash/isEmpty"),Y=r(G),$=e("iso-device"),Q=r($),J=e("link"),Z=r(J),ee=e("lodash/map"),te=r(ee),ne=e("prop-types"),re=r(ne),oe=e("react"),ae=r(oe),ie=e("single-line-row"),se=r(ie),le=e("lodash/some"),ue=r(le),ce=e("state-button"),de=r(ce),fe=e("tab-button"),pe=r(fe),he=e("tooltip"),me=r(he),ve=e("grid"),be=e("selectors"),ge=e("react-dnd"),ye=e("react-intl"),_e=e("utils"),Me=e("select-objects"),we=e("form"),Se=e("editable"),Ce=e("modal"),xe=e("notification"),ke=e("xo"),Te=function(e){var t={c:"Hard-Drive",d:"DVD-Drive",n:"Network"},n=[];if(e){var r=!0,o=!1,a=void 0;try{for(var i,s=(0,z.default)(e);!(r=(i=s.next()).done);r=!0){var l=i.value;l in t&&(n.push({id:l,text:t[l],active:!0}),delete t[l])}}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}}return(0,U.default)(t,function(e,t){n.push({id:t,text:e,active:!1})}),n},Ae=(o=(0,re.default)({onClose:re.default.func,vm:re.default.object.isRequired}),(0,ye.injectIntl)(a=o(a=function(e){function t(e){(0,x.default)(this,t);var n=(0,P.default)(this,(t.__proto__||(0,S.default)(t)).call(this,e));return n._createDisk=function(){var e=n.props,t=e.vm,r=e.onClose,o=void 0===r?_e.noop:r,a=n.refs,i=a.name,s=a.size,l=a.bootable,u=a.readOnly,c=n.state.sr;return(0,ke.createDisk)(i.value,s.value,c).then(function(e){var n=u.value?"RO":"RW";return(0,ke.attachDiskToVm)(e,t,{bootable:l&&l.value,mode:n}).then(o)})},n._selectSr=function(e){return n.setState({sr:e})},n._getSrPredicate=(0,be.createSelector)(function(){var e=n.props.vm;return e&&e.$pool},function(e){return function(t){return t.$pool===e&&(0,ke.isSrWritable)(t)}}),n.state={sr:void 0},n}return(0,O.default)(t,e),(0,T.default)(t,[{key:"render",value:function(){var e=this.props.vm,t=this.props.intl.formatMessage;return(0,M.default)("form",{id:"newDiskForm"},void 0,(0,M.default)("div",{className:"form-group"},void 0,(0,M.default)(Me.SelectSr,{predicate:this._getSrPredicate(),onChange:this._selectSr,required:!0})),(0,M.default)("fieldset",{className:"form-inline"},void 0,(0,M.default)("div",{className:"form-group"},void 0,ae.default.createElement("input",{type:"text",ref:"name",placeholder:t(R.messages.vdbNamePlaceHolder),className:"form-control",required:!0}))," ",(0,M.default)("div",{className:"form-group"},void 0,ae.default.createElement(we.SizeInput,{ref:"size",placeholder:t(R.messages.vdbSizePlaceHolder),
|
99 | required:!0}))," ",(0,M.default)("div",{className:"form-group"},void 0,"pv"===e.virtualizationMode&&(0,M.default)("span",{},void 0,(0,j.default)("vdbBootable")," ",ae.default.createElement(we.Toggle,{ref:"bootable"})," "),(0,M.default)("span",{},void 0,(0,j.default)("vdbReadonly")," ",ae.default.createElement(we.Toggle,{ref:"readOnly"}))),(0,M.default)("span",{className:"pull-right"},void 0,(0,M.default)(D.default,{form:"newDiskForm",icon:"add",btnStyle:"primary",handler:this._createDisk},void 0,(0,j.default)("vdbCreate")))))}}]),t}(q.default))||a)||a),Pe=(i=(0,re.default)({onClose:re.default.func,vbds:re.default.array.isRequired,vm:re.default.object.isRequired}),i(s=function(e){function t(){var e,n,r,o;(0,x.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,P.default)(this,(e=t.__proto__||(0,S.default)(t)).call.apply(e,[this].concat(i))),r._getVdiPredicate=(0,be.createSelector)(function(){var e=r.props.vm;return e&&e.$pool},function(e){return function(t){return t.$pool===e}}),r._getSrPredicate=(0,be.createSelector)(function(){var e=r.props.vm;return e&&e.$pool},function(e){return function(t){return t.$pool===e&&(0,ke.isSrWritable)(t)}}),r._selectVdi=function(e){return r.setState({vdi:e})},r._addVdi=function(){var e=r.props,t=e.vm,n=e.vbds,o=e.onClose,a=void 0===o?_e.noop:o,i=r.state.vdi,s=r.refs,l=s.bootable,u=s.readOnly,c=function(e){return 0===e.$VBDs.length||(0,ue.default)(e.$VBDs,function(e){var t=n[e];return!t||!t.attached||t.read_only})},d=u.value||!c(i)?"RO":"RW";return(0,ke.attachDiskToVm)(i,t,{bootable:l&&l.value,mode:d}).then(a)},o=n,(0,P.default)(r,o)}return(0,O.default)(t,e),(0,T.default)(t,[{key:"render",value:function(){var e=this.props.vm,t=this.state.vdi;return(0,M.default)("form",{id:"attachDiskForm"},void 0,(0,M.default)("div",{className:"form-group"},void 0,(0,M.default)(Me.SelectVdi,{predicate:this._getVdiPredicate(),srPredicate:this._getSrPredicate(),onChange:this._selectVdi})),t&&(0,M.default)("fieldset",{className:"form-inline"},void 0,(0,M.default)("div",{className:"form-group"},void 0,"pv"===e.virtualizationMode&&(0,M.default)("span",{},void 0,(0,j.default)("vdbBootable")," ",ae.default.createElement(we.Toggle,{ref:"bootable"})," "),(0,M.default)("span",{},void 0,(0,j.default)("vdbReadonly")," ",ae.default.createElement(we.Toggle,{ref:"readOnly"}))),(0,M.default)("span",{className:"pull-right"},void 0,(0,M.default)(D.default,{icon:"add",form:"attachDiskForm",btnStyle:"primary",handler:this._addVdi},void 0,(0,j.default)("vdbCreate")))))}}]),t}(q.default))||s),Ne={beginDrag:function(e){return{id:e.id,index:e.index}}},Oe={hover:function(e,t,n){var r=t.getItem().index,o=e.index;r!==o&&(e.move(r,o),t.getItem().index=o)}},Ee=(0,M.default)(K.default,{icon:"grab"}),ze=(0,M.default)(K.default,{icon:"grab"}),Re=(l=(0,ge.DropTarget)("orderItem",Oe,function(e){return{connectDropTarget:e.dropTarget()}}),u=(0,ge.DragSource)("orderItem",Ne,function(e,t){return{connectDragSource:e.dragSource(),isDragging:t.isDragging()}}),c=(0,re.default)({connectDragSource:re.default.func.isRequired,connectDropTarget:re.default.func.isRequired,index:re.default.number.isRequired,isDragging:re.default.bool.isRequired,id:re.default.any.isRequired,item:re.default.object.isRequired,move:re.default.func.isRequired,showBootableFlag:re.default.bool}),l(d=u(d=c(d=function(e){function t(){var e,n,r,o;(0,x.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,P.default)(this,(e=t.__proto__||(0,S.default)(t)).call.apply(e,[this].concat(i))),r._toggle=function(e){var t=r.props.item;t.active=e,r.forceUpdate()},o=n,(0,P.default)(r,o)}return(0,O.default)(t,e),(0,T.default)(t,[{key:"render",value:function(){var e=this.props,t=e.item,n=e.connectDragSource,r=e.connectDropTarget,o=e.showBootableFlag;return n(r((0,M.default)("li",{className:"list-group-item"},void 0,Ee," ",ze," ",t.text,o&&(0,M.default)("span",{className:"pull-right"},void 0,(0,M.default)(we.Toggle,{value:t.active,onChange:this._toggle})))))}}]),t}(q.default))||d)||d)||d),je=(f=(0,re.default)({onClose:re.default.func,vm:re.default.object.isRequired}),p=(0,ge.DragDropContext)(H.default),f(h=p((v=m=function(e){function t(e){(0,x.default)(this,t);var n=(0,P.default)(this,(t.__proto__||(0,S.default)(t)).call(this,e));b.call(n);var r=e.vm,o=Te(r.boot&&r.boot.order);return n.state={order:o},n}return(0,O.default)(t,e),(0,T.default)(t,[{key:"render",value:function(){var e=this,t=this.props.vm,n=this.state.order;return(0,M.default)("form",{},void 0,(0,M.default)("ul",{},void 0,(0,te.default)(n,function(n,r){return(0,M.default)(Re,{index:r,id:n.id,item:n,move:e._moveOrderItem,showBootableFlag:"pv"===t.virtualizationMode},r)})),(0,M.default)("fieldset",{className:"form-inline"},void 0,(0,M.default)("span",{className:"pull-right"},void 0,(0,M.default)(D.default,{icon:"save",btnStyle:"primary",handler:this._save},void 0,(0,j.default)("saveBootOption"))," ",(0,M.default)(D.default,{icon:"reset",handler:this._reset},void 0,(0,j.default)("resetBootOption")))))}}]),t}(q.default),b=function(){var e=this;this._moveOrderItem=function(t,n){var r=e.state.order.slice(),o=r.splice(t,1);o.length&&(r.splice(n,0,o.pop()),e.setState({order:r}))},this._reset=function(){var t=e.props.vm,n=Te(t.boot&&t.boot.order);e.setState({order:n})},this._save=function(){var t=e.props,n=t.vm,r=t.onClose,o=void 0===r?_e.noop:r,a=e.state.order,i="";return(0,U.default)(a,function(e){e.active&&(i+=e.id)}),(0,ke.setVmBootOrder)(n,i).then(o)}},h=v))||h)||h),Le=function(e){function t(){return(0,x.default)(this,t),(0,P.default)(this,(t.__proto__||(0,S.default)(t)).apply(this,arguments))}return(0,O.default)(t,e),(0,T.default)(t,[{key:"render",value:function(){return(0,M.default)(ve.Container,{},void 0,(0,M.default)(se.default,{},void 0,(0,M.default)(ve.Col,{size:6},void 0,(0,j.default)("vdiMigrateSelectSr")),(0,M.default)(ve.Col,{size:6},void 0,(0,M.default)(Me.SelectSr,{onChange:this.linkState("sr"),required:!0}))),(0,M.default)(se.default,{className:"mt-1"},void 0,(0,M.default)(ve.Col,{},void 0,(0,M.default)("label",{},void 0,(0,M.default)("input",{type:"checkbox",onChange:this.linkState("migrateAll")})," ",(0,j.default)("vdiMigrateAll")))))}},{key:"value",get:function(){return this.state}}]),t}(q.default),De=(0,M.default)(Le,{}),Ie=(0,M.default)("hr",{}),Be=(0,M.default)("hr",{}),Ve=(0,M.default)("hr",{}),qe=function(e){function t(e){(0,x.default)(this,t);var n=(0,P.default)(this,(t.__proto__||(0,S.default)(t)).call(this,e));return n._toggleNewDisk=function(){return n.setState({newDisk:!n.state.newDisk,attachDisk:!1,bootOrder:!1})},n._toggleAttachDisk=function(){return n.setState({attachDisk:!n.state.attachDisk,bootOrder:!1,newDisk:!1})},n._toggleBootOrder=function(){return n.setState({bootOrder:!n.state.bootOrder,attachDisk:!1,newDisk:!1})},n._migrateVdi=function(e){return(0,Ce.confirm)({title:(0,j.default)("vdiMigrate"),body:De}).then(function(t){var r=t.sr,o=t.migrateAll;return r?o?y.default.all((0,te.default)(n.props.vdis,function(e){return(0,ke.migrateVdi)(e,r)})):(0,ke.migrateVdi)(e,r):(0,xe.error)((0,j.default)("vdiMigrateNoSr"),(0,j.default)("vdiMigrateNoSrMessage"))})},n.state={attachDisk:!1,bootOrder:!1,newDisk:!1},n}return(0,O.default)(t,e),(0,T.default)(t,[{key:"render",value:function(){var e=this,t=this.props,n=t.srs,r=t.vbds,o=t.vdis,a=t.vm,i=this.state,s=i.attachDisk,l=i.bootOrder,u=i.newDisk;return(0,M.default)(ve.Container,{},void 0,(0,M.default)(ve.Row,{},void 0,(0,M.default)(ve.Col,{className:"text-xs-right"},void 0,(0,M.default)(pe.default,{btnStyle:u?"info":"primary",handler:this._toggleNewDisk,icon:"add",labelId:"vbdCreateDeviceButton"}),(0,M.default)(pe.default,{btnStyle:s?"info":"primary",handler:this._toggleAttachDisk,icon:"disk",labelId:"vdiAttachDeviceButton"}),(0,M.default)(pe.default,{btnStyle:l?"info":"primary",handler:this._toggleBootOrder,icon:"sort",labelId:"vdiBootOrder"}))),(0,M.default)(ve.Row,{},void 0,(0,M.default)(ve.Col,{},void 0,u&&(0,M.default)("div",{},void 0,(0,M.default)(Ae,{vm:a,onClose:this._toggleNewDisk}),Ie),s&&(0,M.default)("div",{},void 0,(0,M.default)(Pe,{vm:a,vbds:r,onClose:this._toggleAttachDisk}),Be),l&&(0,M.default)("div",{},void 0,(0,M.default)(je,{vm:a,onClose:this._toggleBootOrder}),Ve))),(0,M.default)(ve.Row,{},void 0,(0,M.default)(ve.Col,{},void 0,(0,Y.default)(r)?(0,M.default)("h4",{className:"text-xs-center"},void 0,(0,j.default)("vbdNoVbd")):(0,M.default)("table",{className:"table"},void 0,(0,M.default)("thead",{className:"thead-default"},void 0,(0,M.default)("tr",{},void 0,(0,M.default)("th",{},void 0,(0,j.default)("vdiNameLabel")),(0,M.default)("th",{},void 0,(0,j.default)("vdiNameDescription")),(0,M.default)("th",{},void 0,(0,j.default)("vdiSize")),(0,M.default)("th",{},void 0,(0,j.default)("vdiSr")),"pv"===a.virtualizationMode&&(0,M.default)("th",{},void 0,(0,j.default)("vdbBootableStatus")),(0,M.default)("th",{},void 0,(0,j.default)("vdbStatus")),(0,M.default)("th",{className:"text-xs-right"},void 0,(0,j.default)("vbdAction")))),(0,M.default)("tbody",{},void 0,(0,te.default)(r,function(t){var r=o[t.VDI];if(!t.is_cd_drive&&r){var i=n[r.$SR];return(0,M.default)("tr",{},t.id,(0,M.default)("td",{},void 0,(0,M.default)(Se.Text,{value:r.name_label,onChange:function(e){return(0,ke.editVdi)(r,{name_label:e})}})),(0,M.default)("td",{},void 0,(0,M.default)(Se.Text,{value:r.name_description,onChange:function(e){return(0,ke.editVdi)(r,{name_description:e})}})),(0,M.default)("td",{},void 0,(0,M.default)(Se.Size,{value:r.size||null,onChange:function(e){return(0,ke.editVdi)(r,{size:e})}})),(0,M.default)("td",{},void 0," ",i&&(0,M.default)(Se.XoSelect,{onChange:function(e){return(0,ke.migrateVdi)(r,e)},xoType:"SR",predicate:function(e){return e.$pool===a.$pool&&(0,ke.isSrWritable)(e)},labelProp:"name_label",value:i,useLongClick:!0},void 0,(0,M.default)(Z.default,{to:"/srs/"+i.id},void 0,i.name_label))),"pv"===a.virtualizationMode&&(0,M.default)("td",{},void 0,(0,M.default)(we.Toggle,{value:t.bootable,onChange:function(e){return(0,ke.setBootableVbd)(t,e)}})),(0,M.default)("td",{},void 0,(0,M.default)(de.default,{disabledLabel:(0,j.default)("vbdStatusDisconnected"),disabledHandler:ke.connectVbd,disabledTooltip:(0,j.default)("vbdConnect"),enabledLabel:(0,j.default)("vbdStatusConnected"),enabledHandler:ke.disconnectVbd,enabledTooltip:(0,j.default)("vbdDisconnect"),disabled:!(t.attached||(0,ke.isVmRunning)(a)),handlerParam:t,state:t.attached})),(0,M.default)("td",{className:"text-xs-right"},void 0,(0,M.default)(me.default,{content:(0,j.default)("vdiMigrate")},void 0,(0,M.default)(B.default,{icon:"vdi-migrate",handler:e._migrateVdi,handlerParam:r})),!t.attached&&(0,M.default)("span",{},void 0,(0,M.default)(me.default,{content:(0,j.default)("vdiForget")},void 0,(0,M.default)(B.default,{icon:"vdi-forget",handler:ke.deleteVbd,handlerParam:t})),(0,M.default)(me.default,{content:(0,j.default)("vdiRemove")},void 0,(0,M.default)(B.default,{icon:"vdi-remove",handler:ke.deleteVdi,handlerParam:r})))))}}))))),(0,M.default)(ve.Row,{},void 0,(0,M.default)(ve.Col,{mediumSize:5},void 0,(0,M.default)(Q.default,{vm:a}))))}}]),t}(q.default);n.default=qe},{"action-button":1401,"action-row-button":1403,"babel-runtime/core-js/get-iterator":5,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,editable:1421,form:1425,grid:1431,icon:1435,intl:1436,"iso-device":1448,link:1459,"lodash/forEach":716,"lodash/isEmpty":735,"lodash/map":754,"lodash/some":774,modal:1461,notification:1463,"prop-types":1464,react:1269,"react-dnd":964,"react-dnd-html5-backend":950,"react-intl":1103,"select-objects":1469,selectors:1470,"single-line-row":1473,"state-button":1476,"tab-button":1481,tooltip:1488,utils:1490,xo:1519}],1619:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("intl"),s=r(i),l=e("copiable"),u=r(l),c=e("icon"),d=r(c),f=e("lodash/isEmpty"),p=r(f),h=e("lodash/map"),m=r(h),v=e("react"),b=(r(v),e("home-tags")),g=r(b),y=e("tooltip"),_=r(y),M=e("xo"),w=e("link"),S=e("react-intl"),C=e("grid"),x=e("editable"),k=e("utils"),T=e("xo-sparklines"),A=(0,a.default)("br",{}),P=(0,a.default)(d.default,{icon:"cpu",size:"lg"}),N=(0,a.default)("span",{},void 0,(0,a.default)(d.default,{icon:"memory",size:"lg"})),O=(0,a.default)(d.default,{icon:"network",size:"lg"}),E=(0,a.default)(d.default,{icon:"disk",size:"lg"}),z=(0,a.default)("br",{}),R=(0,a.default)(d.default,{icon:"error"}),j=(0,a.default)("br",{});n.default=function(e){var t=e.statsOverview,n=e.vm,r=e.vmTotalDiskSpace;return(0,a.default)(C.Container,{},void 0,A,(0,a.default)(C.Row,{className:"text-xs-center"},void 0,(0,a.default)(C.Col,{mediumSize:3},void 0,(0,a.default)("h2",{},void 0,(0,a.default)(x.Number,{value:n.CPUs.number,onChange:function(e){return(0,M.editVm)(n,{CPUs:e})}}),"x ",P),(0,a.default)(w.BlockLink,{to:"/vms/"+n.id+"/stats"},void 0,t&&(0,a.default)(T.CpuSparkLines,{data:t}))),(0,a.default)(C.Col,{mediumSize:3},void 0,(0,a.default)("h2",{className:"form-inline"},void 0,(0,a.default)(x.Size,{value:(0,k.firstDefined)(n.memory.dynamic[1],null),onChange:function(e){return(0,M.editVm)(n,{memory:e})}})," ",N),(0,a.default)(w.BlockLink,{to:"/vms/"+n.id+"/stats"},void 0,t&&(0,a.default)(T.MemorySparkLines,{data:t}))),(0,a.default)(C.Col,{mediumSize:3},void 0,(0,a.default)(w.BlockLink,{to:"/vms/"+n.id+"/network"},void 0,(0,a.default)("h2",{},void 0,n.VIFs.length,"x ",O)),(0,a.default)(w.BlockLink,{to:"/vms/"+n.id+"/stats"},void 0,t&&(0,a.default)(T.VifSparkLines,{data:t}))),(0,a.default)(C.Col,{mediumSize:3},void 0,(0,a.default)(w.BlockLink,{to:"/vms/"+n.id+"/disks"},void 0,(0,a.default)("h2",{},void 0,(0,k.formatSize)(r)," ",E)),(0,a.default)(w.BlockLink,{to:"/vms/"+n.id+"/stats"},void 0,t&&(0,a.default)(T.XvdSparkLines,{data:t})))),z,(0,a.default)(C.Row,{className:"text-xs-center"},void 0,(0,a.default)(C.Col,{mediumSize:3},void 0,"Running"===n.power_state?(0,a.default)("div",{},void 0,(0,a.default)("p",{className:"text-xs-center"},void 0,(0,s.default)("started",{ago:(0,a.default)(S.FormattedRelative,{value:1e3*n.startTime})}))):(0,a.default)("p",{className:"text-xs-center"},void 0,(0,s.default)("vmNotRunning"))),(0,a.default)(C.Col,{mediumSize:3},void 0,(0,a.default)("p",{},void 0,"pv"===n.virtualizationMode?(0,s.default)("paraVirtualizedMode"):(0,s.default)("hardwareVirtualizedMode"))),(0,a.default)(C.Col,{mediumSize:3},void 0,(0,a.default)(w.BlockLink,{to:"/vms/"+n.id+"/network"},void 0,(0,a.default)(u.default,{tagName:"p"},void 0,n.addresses&&n.addresses["0/ip"]?n.addresses["0/ip"]:(0,s.default)("noIpv4Record")))),(0,a.default)(C.Col,{mediumSize:3},void 0,(0,a.default)(w.BlockLink,{to:"/vms/"+n.id+"/advanced"},void 0,(0,a.default)(_.default,{content:n.os_version?n.os_version.name:(0,s.default)("unknownOsName")},void 0,(0,a.default)("h1",{},void 0,(0,a.default)(d.default,{className:"text-info",icon:n.os_version&&n.os_version.distro&&(0,k.osFamily)(n.os_version.distro)})))))),!n.xenTools&&"Running"===n.power_state&&(0,a.default)(C.Row,{className:"text-xs-center"},void 0,(0,a.default)(C.Col,{},void 0,R,(0,a.default)("em",{},void 0," ",(0,s.default)("noToolsDetected"),"."))),j,(0,a.default)(C.Row,{},void 0,(0,a.default)(C.Col,{},void 0,(0,a.default)("h2",{className:"text-xs-center"},void 0,(0,a.default)(g.default,{type:"VM",labels:n.tags,onDelete:function(e){return(0,M.removeTag)(n.id,e)},onAdd:function(e){return(0,M.addTag)(n.id,e)}})))),(0,p.default)(n.current_operations)?null:(0,a.default)(C.Row,{className:"text-xs-center"},void 0,(0,a.default)(C.Col,{},void 0,(0,a.default)("h4",{},void 0,(0,s.default)("vmCurrentStatus")," ",(0,m.default)(n.current_operations)[0]))))}},{"babel-runtime/helpers/jsx":27,copiable:1415,editable:1421,grid:1431,"home-tags":1433,icon:1435,intl:1436,link:1459,"lodash/isEmpty":735,"lodash/map":754,react:1269,"react-intl":1103,tooltip:1488,utils:1490,xo:1519,"xo-sparklines":1507}],1620:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("babel-runtime/helpers/jsx"),b=r(v),g=e("intl"),y=r(g),_=e("action-row-button"),M=r(_),w=e("lodash/isEmpty"),S=r(w),C=e("lodash/map"),x=r(C),k=e("react"),T=(r(k),e("sorted-table")),A=r(T),P=e("tab-button"),N=r(P),O=e("utils"),E=e("xo"),z=e("react-intl"),R=e("grid"),j=e("selectors"),L=[{name:(0,y.default)("logDate"),itemRenderer:function(e){return(0,b.default)("span",{},void 0,(0,b.default)(z.FormattedTime,{value:1e3*e.time,minute:"numeric",hour:"numeric",day:"numeric",month:"long",year:"numeric"})," (",(0,b.default)(z.FormattedRelative,{value:1e3*e.time}),")")},sortCriteria:function(e){return e.time},sortOrder:"desc"},{name:(0,y.default)("logName"),itemRenderer:function(e){return e.name},sortCriteria:function(e){return e.name}},{name:(0,y.default)("logContent"),itemRenderer:function(e){return e.body},sortCriteria:function(e){return e.body}},{name:(0,y.default)("logAction"),itemRenderer:function(e){return(0,b.default)(M.default,{btnStyle:"danger",handler:E.deleteMessage,handlerParam:e,icon:"delete"})}}],D=(0,b.default)("br",{}),I=(o=(0,O.connectStore)(function(){var e=(0,j.createGetObjectMessages)(function(e,t){return t.vm});return function(t,n){return{logs:e(t,n)}}}),o(a=function(e){function t(){var e,n,r,o;(0,u.default)(this,t);for(var a=arguments.length,i=Array(a),l=0;l<a;l++)i[l]=arguments[l];return n=r=(0,p.default)(this,(e=t.__proto__||(0,s.default)(t)).call.apply(e,[this].concat(i))),r._deleteAllLogs=function(){return(0,x.default)(r.props.logs,E.deleteMessage)},o=n,(0,p.default)(r,o)}return(0,m.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){var e=this.props.logs;return(0,S.default)(e)?(0,b.default)(R.Row,{},void 0,(0,b.default)(R.Col,{className:"text-xs-center"},void 0,D,(0,b.default)("h4",{},void 0,(0,y.default)("noLogs")))):(0,b.default)(R.Container,{},void 0,(0,b.default)(R.Row,{},void 0,(0,b.default)(R.Col,{className:"text-xs-right"},void 0,(0,b.default)(N.default,{btnStyle:"danger",handler:this._deleteAllLogs,icon:"delete",labelId:"logRemoveAll"}))),(0,b.default)(R.Row,{},void 0,(0,b.default)(R.Col,{},void 0,(0,b.default)(A.default,{collection:e,columns:L}))))}}]),t}(k.Component))||a);n.default=I},{"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,grid:1431,intl:1436,"lodash/isEmpty":735,"lodash/map":754,react:1269,"react-intl":1103,selectors:1470,"sorted-table":1475,"tab-button":1481,utils:1490,xo:1519}],1621:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i,s,l,u,c=e("babel-runtime/helpers/jsx"),d=r(c),f=e("babel-runtime/helpers/toConsumableArray"),p=r(f),h=e("babel-runtime/core-js/object/get-prototype-of"),m=r(h),v=e("babel-runtime/helpers/classCallCheck"),b=r(v),g=e("babel-runtime/helpers/createClass"),y=r(g),_=e("babel-runtime/helpers/possibleConstructorReturn"),M=r(_),w=e("babel-runtime/helpers/inherits"),S=r(w),C=e("intl"),x=r(C),k=e("action-button"),T=r(k),A=e("action-row-button"),P=r(A),N=e("base-component"),O=r(N),E=e("lodash/concat"),z=r(E),R=e("lodash/every"),j=r(R),L=e("lodash/find"),D=r(L),I=e("icon"),B=r(I),V=e("lodash/includes"),q=r(V),F=e("lodash/isEmpty"),U=r(F),W=e("lodash/keys"),H=r(W),X=e("lodash/map"),K=r(X),G=e("prop-types"),Y=r(G),$=e("react"),Q=(r($),e("lodash/remove")),J=r(Q),Z=e("state-button"),ee=r(Z),te=e("tab-button"),ne=r(te),re=e("tooltip"),oe=r(re),ae=e("ip"),ie=e("grid"),se=e("react-intl"),le=e("select-objects"),ue=e("editable"),ce=e("utils"),de=e("selectors"),fe=e("xo"),pe={maxWidth:"20em"},he={minWidth:"0"},me=(0,d.default)(B.default,{icon:"lock"}),ve=(0,d.default)(B.default,{icon:"unknown-status"}),be=(0,d.default)(B.default,{icon:"error"}),ge=(0,d.default)(B.default,{icon:"unlock"}),ye=(o=(0,ce.addSubscriptions)({ipPools:fe.subscribeIpPools,resourceSets:fe.subscribeResourceSets}),a=(0,ce.connectStore)(function(){var e=(0,de.createGetObject)(function(e,t){return t.vifId}),t=(0,de.createSelector)(e,function(e){return e.$network}),n=(0,de.createGetObject)(t);return function(r,o){return{vif:e(r,o),network:n(r,o),networkId:t(r,o)}}}),o(i=a(i=function(e){function t(){var e,n,r,o;(0,b.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,M.default)(this,(e=t.__proto__||(0,m.default)(t)).call.apply(e,[this].concat(i))),r._setMac=function(e){return(0,fe.setVif)(r.props.vif,{mac:e})},r._setNetwork=function(e){return(0,fe.setVif)(r.props.vif,{network:e})},r._saveIp=function(e,t){if(!(0,ae.isIp)(t.id))throw new Error("Not a valid IP");var n=r.props.vif,o=n.allowedIpv4Addresses,a=n.allowedIpv6Addresses;(0,ae.isIpV4)(t.id)?o[e]=t.id:a[e-o.length]=t.id,(0,fe.setVif)(n,{allowedIpv4Addresses:o,allowedIpv6Addresses:a})},r._addIp=function(e){if(r._toggleNewIp(),(0,ae.isIp)(e.id)){var t=r.props.vif,n=t.allowedIpv4Addresses,o=t.allowedIpv6Addresses;(0,ae.isIpV4)(e.id)?n=[].concat((0,p.default)(n),[e.id]):o=[].concat((0,p.default)(o),[e.id]),(0,fe.setVif)(t,{allowedIpv4Addresses:n,allowedIpv6Addresses:o})}},r._deleteIp=function(e){var t=r.props.vif,n=t.allowedIpv4Addresses,o=t.allowedIpv6Addresses;e<n.length?(0,J.default)(n,function(t,n){return n===e}):(0,J.default)(o,function(t,r){return r===e-n.length}),(0,fe.setVif)(t,{allowedIpv4Addresses:n,allowedIpv6Addresses:o})},r._getIps=(0,de.createSelector)(function(){return r.props.vif.allowedIpv4Addresses||ce.EMPTY_ARRAY},function(){return r.props.vif.allowedIpv6Addresses||ce.EMPTY_ARRAY},z.default),r._getIpPredicate=(0,de.createSelector)(r._getIps,function(){return r.props.ipPools},function(){return r.props.resourceSet},function(){return r.props.resourceSets},function(e,t,n,r){return function(o){var a=(0,j.default)(e,function(e){return e!==o.id}),i=void 0;if(n){var s=(0,D.default)(r,function(e){return e.id===n}),l=(0,D.default)(t,function(e){return(0,q.default)((0,H.default)(e.addresses),o.id)}),u=s&&s.limits["ipPool:"+l.id];i=s&&l&&(!u||u.available)}return a&&(!n||i)}}),r._getIsNetworkAllowed=(0,de.createSelector)(function(){return r.props.networkId},function(e){return function(t){return(0,D.default)(t.networks,function(t){return t===e})}}),r._getNetworkPredicate=(0,de.createSelector)(function(){return r.props.vif&&r.props.vif.$pool},function(){return r.props.vifNetworkId},function(e,t){return function(n){return n.$pool===e&&n.id!==t}}),r._toggleNewIp=function(){return r.setState({showNewIpForm:!r.state.showNewIpForm})},r._getNetworkStatus=function(){if(!(0,U.default)(r._getIps()))return(0,d.default)(oe.default,{content:(0,x.default)("vifLockedNetwork")},void 0,me);var e=r.props.network;return e?e.defaultIsLocked?(0,d.default)(oe.default,{content:(0,x.default)("vifLockedNetworkNoIps")},void 0,be):(0,d.default)(oe.default,{content:(0,x.default)("vifUnLockedNetwork")},void 0,ge):(0,d.default)(oe.default,{content:(0,x.default)("vifUnknownNetwork")},void 0,ve)},o=n,(0,M.default)(r,o)}return(0,S.default)(t,e),(0,y.default)(t,[{key:"render",value:function(){var e=this,t=this.state.showNewIpForm,n=this.props,r=n.isVmRunning,o=n.network,a=n.resourceSet,i=n.vif;return i?(0,d.default)("tr",{},i.id,(0,d.default)("td",{},void 0,"VIF #",i.device),(0,d.default)("td",{},void 0,(0,d.default)("pre",{},void 0,(0,d.default)(ue.Text,{value:i.MAC,onChange:this._setMac}))),(0,d.default)("td",{},void 0,i.MTU),(0,d.default)("td",{},void 0,o&&(0,d.default)(ue.XoSelect,{onChange:this._setNetwork,predicate:this._getNetworkPredicate(),value:o,xoType:"network"},void 0,o.name_label)),(0,d.default)("td",{style:pe},void 0,(0,d.default)(ie.Container,{},void 0,(0,U.default)(this._getIps())?(0,d.default)(ie.Row,{},void 0,(0,d.default)(ie.Col,{},void 0,(0,d.default)("em",{},void 0,(0,x.default)("vifNoIps")))):(0,K.default)(this._getIps(),function(t,n){return(0,d.default)(ie.Row,{},void 0,(0,d.default)(ie.Col,{size:10},void 0,(0,d.default)(ue.XoSelect,{containerPredicate:e._getIsNetworkAllowed(),onChange:function(t){return e._saveIp(n,t)},predicate:e._getIpPredicate(),resourceSetId:a,value:t,xoType:a?"resourceSetIp":"ip"},void 0,t)),(0,d.default)(ie.Col,{size:1},void 0,(0,d.default)(P.default,{handler:e._deleteIp,handlerParam:n,icon:"delete"})))}),(0,d.default)(ie.Row,{},void 0,(0,d.default)(ie.Col,{size:10},void 0,t?(0,d.default)("span",{onBlur:this._toggleNewIp},void 0,a?(0,d.default)(le.SelectResourceSetIp,{autoFocus:!0,containerPredicate:this._getIsNetworkAllowed(),onChange:function(t){return e._addIp(t)},predicate:this._getIpPredicate(),required:!0,resourceSetId:a}):(0,d.default)(le.SelectIp,{autoFocus:!0,containerPredicate:this._getIsNetworkAllowed(),onChange:function(t){return e._addIp(t)},predicate:this._getIpPredicate(),required:!0})):(0,d.default)(T.default,{btnStyle:"success",size:"small",handler:this._toggleNewIp,icon:"add"}))))),(0,d.default)("td",{},void 0,(0,d.default)(ee.default,{disabledLabel:(0,x.default)("vifStatusDisconnected"),disabledHandler:r&&fe.connectVif,disabledTooltip:(0,x.default)("vifConnect"),enabledLabel:(0,x.default)("vifStatusConnected"),enabledHandler:fe.disconnectVif,enabledTooltip:(0,x.default)("vifDisconnect"),handlerParam:i,state:i.attached})," ",this._getNetworkStatus()),(0,d.default)("td",{className:"text-xs-right"},void 0,!i.attached&&(0,d.default)(P.default,{handler:fe.deleteVif,handlerParam:i,icon:"remove",tooltip:(0,x.default)("vifRemove")}))):null}}]),t}(O.default))||i)||i),_e=(s=(0,Y.default)({onClose:Y.default.func,vm:Y.default.object.isRequired}),l=(0,ce.connectStore)(function(){var e=(0,de.createGetObject)(function(e,t){return t.pool&&t.pool.master}),t=(0,de.createGetObjectsOfType)("PIF").pick(function(t,n){var r=e(t,n);return r&&r.$PIFs}),n=(0,de.createGetObject)((0,de.createSelector)((0,de.createFinder)(t,[function(e){return e.management}]),function(e){return e&&e.$network}));return{defaultNetwork:n}}),s(u=l(u=(0,se.injectIntl)(u=function(e){function t(){var e,n,r,o;(0,b.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,M.default)(this,(e=t.__proto__||(0,m.default)(t)).call.apply(e,[this].concat(i))),r._autoFill=function(e){var t=e.defaultNetwork;t&&!r.state.network&&r.setState({network:t})},r._getNetworkPredicate=(0,de.createSelector)(function(){var e=r.props.vm;return e&&e.$pool},function(e){return function(t){return t.$pool===e}}),r._selectNetwork=function(e){r.setState({network:e})},r._createVif=function(){var e=r.props,t=e.vm,n=e.onClose,o=void 0===n?ce.noop:n,a=r.state,i=a.mac,s=a.network;return(0,fe.createVmInterface)(t,s,i).then(o)},o=n,(0,M.default)(r,o)}return(0,S.default)(t,e),(0,y.default)(t,[{key:"componentWillMount",value:function(){this._autoFill(this.props)}},{key:"componentWillReceiveProps",value:function(e){this._autoFill(e)}},{key:"render",value:function(){var e=this.props.intl.formatMessage,t=this.state,n=t.mac,r=t.network;return(0,d.default)("form",{id:"newVifForm"},void 0,(0,d.default)("div",{className:"form-group"},void 0,(0,d.default)(le.SelectNetwork,{value:r,predicate:this._getNetworkPredicate(),onChange:this._selectNetwork,required:!0})),(0,d.default)("fieldset",{className:"form-inline"},void 0,(0,d.default)("div",{className:"form-group"},void 0,(0,d.default)("input",{type:"text",value:n||"",onChange:this.linkState("mac"),placeholder:e(C.messages.vifMacLabel),className:"form-control"})," (",(0,x.default)("vifMacAutoGenerate"),")"),(0,d.default)("span",{className:"pull-right"},void 0,(0,d.default)(T.default,{form:"newVifForm",icon:"add",btnStyle:"primary",handler:this._createVif},void 0,(0,x.default)("vifCreate")))))}}]),t}(O.default))||u)||u)||u),Me=function(e){function t(){var e,n,r,o;(0,b.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,M.default)(this,(e=t.__proto__||(0,m.default)(t)).call.apply(e,[this].concat(i))),r._toggleNewVif=function(){return r.setState({newVif:!r.state.newVif})},o=n,(0,M.default)(r,o)}return(0,S.default)(t,e),(0,y.default)(t,[{key:"render",value:function(){var e=this.state.newVif,t=this.props,n=t.pool,r=t.vm;return(0,d.default)(ie.Container,{},void 0,(0,d.default)(ie.Row,{},void 0,(0,d.default)(ie.Col,{className:"text-xs-right"},void 0,(0,d.default)(ne.default,{btnStyle:"primary",handler:this._toggleNewVif,icon:"add",labelId:"vifCreateDeviceButton"}))),e&&(0,d.default)(ie.Row,{className:"mb-1"},void 0,(0,d.default)(ie.Col,{},void 0,(0,d.default)(_e,{vm:r,pool:n,onClose:this._toggleNewVif}))),(0,d.default)(ie.Row,{},void 0,(0,d.default)(ie.Col,{},void 0,(0,U.default)(r.VIFs)?(0,d.default)("h4",{className:"text-xs-center"},void 0,(0,x.default)("vifNoInterface")):(0,d.default)("span",{},void 0,(0,d.default)("table",{className:"table",style:he},void 0,(0,d.default)("thead",{},void 0,(0,d.default)("tr",{},void 0,(0,d.default)("th",{},void 0,(0,x.default)("vifDeviceLabel")),(0,d.default)("th",{},void 0,(0,x.default)("vifMacLabel")),(0,d.default)("th",{},void 0,(0,x.default)("vifMtuLabel")),(0,d.default)("th",{},void 0,(0,x.default)("vifNetworkLabel")),(0,d.default)("th",{},void 0,(0,x.default)("vifAllowedIps")),(0,d.default)("th",{},void 0,(0,x.default)("vifStatusLabel")),(0,d.default)("th",{className:"text-xs-right"},void 0,(0,x.default)("vifAction")))),(0,d.default)("tbody",{},void 0,(0,K.default)(r.VIFs,function(e){return(0,d.default)(ye,{vifId:e,isVmRunning:(0,fe.isVmRunning)(r),resourceSet:r.resourceSet})}))),r.addresses&&!(0,U.default)(r.addresses)?(0,d.default)("span",{},void 0,(0,d.default)("h4",{},void 0,(0,x.default)("vifIpAddresses")),(0,K.default)(r.addresses,function(e){return(0,d.default)("span",{className:"tag tag-info tag-ip"},e,e)})):(0,x.default)("noIpRecord")))))}}]),t}(O.default);n.default=Me},{"action-button":1401,"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/helpers/toConsumableArray":32,"base-component":1405,editable:1421,grid:1431,icon:1435,intl:1436,ip:1447,"lodash/concat":697,"lodash/every":708,"lodash/find":710,"lodash/includes":728,"lodash/isEmpty":735,"lodash/keys":750,"lodash/map":754,"lodash/remove":769,"prop-types":1464,react:1269,"react-intl":1103,"select-objects":1469,selectors:1470,"state-button":1476,"tab-button":1481,tooltip:1488,utils:1490,xo:1519}],1622:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/helpers/jsx"),s=r(i),l=e("babel-runtime/core-js/object/get-prototype-of"),u=r(l),c=e("babel-runtime/helpers/classCallCheck"),d=r(c),f=e("babel-runtime/helpers/createClass"),p=r(f),h=e("babel-runtime/helpers/possibleConstructorReturn"),m=r(h),v=e("babel-runtime/helpers/inherits"),b=r(v),g=e("lodash/map"),y=r(g),_=e("lodash/includes"),M=r(_),w=e("intl"),S=r(w),C=e("action-row-button"),x=r(C),k=e("button-group"),T=r(k),A=e("icon"),P=r(A),N=e("lodash/isEmpty"),O=r(N),E=e("react"),z=(r(E),e("tab-button")),R=r(z),j=e("tooltip"),L=r(j),D=e("utils"),I=e("react-intl"),B=e("grid"),V=e("editable"),q=e("selectors"),F=e("xo"),U=(0,
|
100 | s.default)(P.default,{icon:"info",size:1}),W=(0,s.default)(P.default,{icon:"info"}),H=(o=(0,D.connectStore)(function(){return{snapshots:(0,q.createGetObjectsOfType)("VM-snapshot").pick(function(e,t){return t.vm.snapshots}).sort()}}),o(a=function(e){function t(){return(0,d.default)(this,t),(0,m.default)(this,(t.__proto__||(0,u.default)(t)).apply(this,arguments))}return(0,b.default)(t,e),(0,p.default)(t,[{key:"render",value:function(){var e=this.props,t=e.snapshots,n=e.vm;return(0,s.default)(B.Container,{},void 0,(0,s.default)(B.Row,{},void 0,(0,s.default)(B.Col,{className:"text-xs-right"},void 0,(0,s.default)(R.default,{btnStyle:"primary",handler:F.snapshotVm,handlerParam:n,icon:"add",labelId:"snapshotCreateButton",pending:(0,M.default)(n.current_operations,"snapshot")}))),(0,O.default)(t)?(0,s.default)(B.Row,{},void 0,(0,s.default)(B.Col,{className:"text-xs-center"},void 0,(0,s.default)("h4",{},void 0,(0,S.default)("noSnapshots")),(0,s.default)("p",{},void 0,(0,s.default)("em",{},void 0,U," ",(0,S.default)("tipLabel")," ",(0,S.default)("tipCreateSnapshotLabel"))))):(0,s.default)(B.Row,{},void 0,(0,s.default)(B.Col,{},void 0,(0,s.default)("table",{className:"table"},void 0,(0,s.default)("thead",{className:"thead-default"},void 0,(0,s.default)("tr",{},void 0,(0,s.default)("th",{},void 0,(0,S.default)("snapshotDate")),(0,s.default)("th",{},void 0,(0,S.default)("snapshotName")),(0,s.default)("th",{},void 0,(0,S.default)("snapshotAction")))),(0,s.default)("tbody",{},void 0,(0,y.default)(t,function(e){return(0,s.default)("tr",{},e.id,(0,s.default)("td",{},void 0,(0,s.default)(I.FormattedTime,{value:1e3*e.snapshot_time,minute:"numeric",hour:"numeric",day:"numeric",month:"long",year:"numeric"})," (",(0,s.default)(I.FormattedRelative,{value:1e3*e.snapshot_time}),")"," ",(0,M.default)(e.tags,"quiesce")&&(0,s.default)(L.default,{content:(0,S.default)("snapshotQuiesce")},void 0,W)),(0,s.default)("td",{},void 0,(0,s.default)(V.Text,{value:e.name_label,onChange:function(t){return(0,F.editVm)(e,{name_label:t})}})),(0,s.default)("td",{},void 0,(0,s.default)(T.default,{},void 0,(0,s.default)(L.default,{content:(0,S.default)("copySnapshot")},void 0,(0,s.default)(x.default,{btnStyle:"primary",handler:F.copyVm,handlerParam:e,icon:"vm-copy"})),(0,s.default)(L.default,{content:(0,S.default)("exportSnapshot")},void 0,(0,s.default)(x.default,{btnStyle:"primary",handler:F.exportVm,handlerParam:e,icon:"export"})),(0,s.default)(L.default,{content:(0,S.default)("revertSnapshot")},void 0,(0,s.default)(x.default,{btnStyle:"warning",handler:F.revertSnapshot,handlerParam:e,icon:"snapshot-revert"})),(0,s.default)(L.default,{content:(0,S.default)("deleteSnapshot")},void 0,(0,s.default)(x.default,{btnStyle:"danger",handler:F.deleteSnapshot,handlerParam:e,icon:"delete"})))))}))))))}}]),t}(E.Component))||a);n.default=H},{"action-row-button":1403,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"button-group":1406,editable:1421,grid:1431,icon:1435,intl:1436,"lodash/includes":728,"lodash/isEmpty":735,"lodash/map":754,react:1269,"react-intl":1103,selectors:1470,"tab-button":1481,tooltip:1488,utils:1490,xo:1519}],1623:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0});var o=e("babel-runtime/helpers/jsx"),a=r(o),i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("intl"),b=r(v),g=e("base-component"),y=r(g),_=e("icon"),M=r(_),w=e("react"),S=(r(w),e("tooltip")),C=r(S),x=e("xoa-upgrade"),k=r(x),T=e("xo"),A=e("form"),P=e("react-intl"),N=e("grid"),O=e("xo-line-chart"),E=(0,a.default)("p",{},void 0,"No stats."),z=(0,a.default)("div",{className:"text-xs-right"},void 0,(0,a.default)(M.default,{icon:"loading",size:2})),R=(0,a.default)(M.default,{icon:"cpu",size:1}),j=(0,a.default)(M.default,{icon:"memory",size:1}),L=(0,a.default)("br",{}),D=(0,a.default)("hr",{}),I=(0,a.default)(M.default,{icon:"network",size:1}),B=(0,a.default)(M.default,{icon:"disk",size:1});(0,a.default)(N.Container,{},void 0,(0,a.default)(k.default,{place:"vmStats",available:3}));n.default=(0,P.injectIntl)(function(e){function t(e){(0,u.default)(this,t);var n=(0,p.default)(this,(t.__proto__||(0,s.default)(t)).call(this,e));return n.loop=n.loop.bind(n),n.handleSelectStats=n.handleSelectStats.bind(n),n.state.useCombinedValues=!1,n}return(0,m.default)(t,e),(0,d.default)(t,[{key:"loop",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.vm;if(this.cancel&&this.cancel(),"Running"===t.power_state){var n=!1;this.cancel=function(){n=!0},(0,T.fetchVmStats)(t,this.state.granularity).then(function(t){n||(e.cancel=null,clearTimeout(e.timeout),e.setState({stats:t,selectStatsLoading:!1},function(){e.timeout=setTimeout(e.loop,1e3*t.interval)}))})}}},{key:"componentWillMount",value:function(){this.loop()}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"componentWillReceiveProps",value:function(e){var t=this.props.vm,n=e.vm;"Running"!==t.power_state&&"Running"===n.power_state?this.loop(n):"Running"===t.power_state&&"Running"!==n.power_state&&this.setState({stats:void 0})}},{key:"handleSelectStats",value:function(e){var t=e.target.value;clearTimeout(this.timeout),this.setState({granularity:t,selectStatsLoading:!0},this.loop)}},{key:"render",value:function(){var e=this.props.intl,t=this.state,n=t.granularity,r=t.selectStatsLoading,o=t.stats,i=t.useCombinedValues;return o?(0,a.default)(N.Container,{},void 0,(0,a.default)(N.Row,{},void 0,(0,a.default)(N.Col,{mediumSize:6},void 0,(0,a.default)("div",{className:"form-group"},void 0,(0,a.default)(C.default,{content:(0,b.default)("useStackedValuesOnStats")},void 0,(0,a.default)(A.Toggle,{value:i,onChange:this.linkState("useCombinedValues")}))),r&&z),(0,a.default)(N.Col,{mediumSize:6},void 0,(0,a.default)("div",{className:"btn-tab"},void 0,(0,a.default)("select",{className:"form-control",onChange:this.handleSelectStats,defaultValue:n},void 0,(0,a.default)("option",{value:"seconds"},void 0,e.formatMessage(v.messages.statLastTenMinutes)),(0,a.default)("option",{value:"minutes"},void 0,e.formatMessage(v.messages.statLastTwoHours)),(0,a.default)("option",{value:"hours"},void 0,e.formatMessage(v.messages.statLastWeek)),(0,a.default)("option",{value:"days"},void 0,e.formatMessage(v.messages.statLastYear)))))),(0,a.default)(N.Row,{},void 0,(0,a.default)(N.Col,{mediumSize:6},void 0,(0,a.default)("h5",{className:"text-xs-center"},void 0,R," ",(0,b.default)("statsCpu")),(0,a.default)(O.CpuLineChart,{addSumSeries:i,data:o})),(0,a.default)(N.Col,{mediumSize:6},void 0,(0,a.default)("h5",{className:"text-xs-center"},void 0,j," ",(0,b.default)("statsMemory")),(0,a.default)(O.MemoryLineChart,{data:o}))),L,D,(0,a.default)(N.Row,{},void 0,(0,a.default)(N.Col,{mediumSize:6},void 0,(0,a.default)("h5",{className:"text-xs-center"},void 0,I," ",(0,b.default)("statsNetwork")),(0,a.default)(O.VifLineChart,{addSumSeries:i,data:o})),(0,a.default)(N.Col,{mediumSize:6},void 0,(0,a.default)("h5",{className:"text-xs-center"},void 0,B," ",(0,b.default)("statDisk")),(0,a.default)(O.XvdLineChart,{addSumSeries:i,data:o})))):E}}]),t}(y.default))},{"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,form:1425,grid:1431,icon:1435,intl:1436,react:1269,"react-intl":1103,tooltip:1488,xo:1519,"xo-line-chart":1505,"xoa-upgrade":1528}],1624:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.UpdateTag=n.default=void 0;var o,a,i=e("babel-runtime/regenerator"),s=r(i),l=e("babel-runtime/helpers/asyncToGenerator"),u=r(l),c=e("babel-runtime/core-js/object/get-prototype-of"),d=r(c),f=e("babel-runtime/helpers/classCallCheck"),p=r(f),h=e("babel-runtime/helpers/createClass"),m=r(h),v=e("babel-runtime/helpers/possibleConstructorReturn"),b=r(v),g=e("babel-runtime/helpers/inherits"),y=r(g),_=e("babel-runtime/helpers/jsx"),M=r(_),w=e("intl"),S=r(w),C=e("action-button"),x=(r(C),e("ansi_up")),k=(r(x),e("lodash/assign")),T=r(k),A=e("button"),P=(r(A),e("base-component")),N=r(P),O=e("icon"),E=r(O),z=e("lodash/isEmpty"),R=r(z),j=e("lodash/map"),L=(r(j),e("../page")),D=r(L),I=e("react"),B=(r(I),e("tooltip")),V=r(B),q=e("xoa-updater"),F=r(q),U=e("modal"),W=e("utils"),H=(e("card"),e("grid")),X=e("notification"),K=e("react-intl"),G=(e("form"),e("xo")),Y=e("../../../package"),$=(r(Y),(0,M.default)(H.Container,{},void 0,(0,M.default)("h2",{},void 0,(0,M.default)(E.default,{icon:"menu-update"})," ",(0,S.default)("updatePage")))),Q=function(){return F.default.update()},J=(0,M.default)("a",{href:"https://xen-orchestra.com"},void 0,"https://xen-orchestra.com"),Z=((0,M.default)("hr",{}),(0,M.default)("br",{}),o=(0,W.connectStore)(function(e){return{configuration:e.xoaConfiguration,log:e.xoaUpdaterLog,registration:e.xoaRegisterState,state:e.xoaUpdaterState,trial:e.xoaTrialState}}),o(a=(0,K.injectIntl)(a=function(e){function t(){var e,n,r,o,a=this;(0,p.default)(this,t);for(var i=arguments.length,l=Array(i),c=0;c<i;c++)l[c]=arguments[c];return n=r=(0,b.default)(this,(e=t.__proto__||(0,d.default)(t)).call.apply(e,[this].concat(l))),r._handleProxyHostChange=function(e){return r.setState({proxyHost:e.target.value||""})},r._handleProxyPortChange=function(e){return r.setState({proxyPort:e.target.value||""})},r._handleProxyUserChange=function(e){return r.setState({proxyUser:e.target.value||""})},r._handleConfigReset=function(){var e=r.props.configuration,t=r.refs.proxyPassword;t.value="",r.setState(e)},r._register=(0,u.default)(s.default.mark(function e(){var t,n,o,i,l;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.state,n=t.email,o=t.password,i=r.props.registration,l="registered"===i.state,!l){e.next=12;break}return e.prev=4,e.next=7,(0,U.confirm)({title:(0,S.default)("alreadyRegisteredModal"),body:(0,M.default)("p",{},void 0,(0,S.default)("alreadyRegisteredModalText",{email:i.email}))});case 7:e.next=12;break;case 9:return e.prev=9,e.t0=e.catch(4),e.abrupt("return");case 12:return r.setState({askRegisterAgain:!1}),e.abrupt("return",F.default.register(n,o,l).then(function(){return r.setState({email:"",password:""})}));case 14:case"end":return e.stop()}},e,a,[[4,9]])})),r._configure=(0,u.default)(s.default.mark(function e(){var t,n,o,i,l;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.state,n=t.proxyHost,o=t.proxyPort,i=t.proxyUser,l=r.refs.proxyPassword,e.abrupt("return",F.default.configure({proxyHost:n,proxyPort:o,proxyUser:i,proxyPassword:l.value}).then(function(e){r.setState({proxyHost:void 0,proxyPort:void 0,proxyUser:void 0}),l.value=""}));case 3:case"end":return e.stop()}},e,a)})),r._trialAllowed=function(e){return"default"===e.state&&(0,q.exposeTrial)(e.trial)},r._trialAvailable=function(e){return"default"===e.state&&(0,q.isTrialRunning)(e.trial)},r._trialConsumed=function(e){return"default"===e.state&&!(0,q.isTrialRunning)(e.trial)&&!(0,q.exposeTrial)(e.trial)},r._updaterDown=function(e){return(0,R.default)(e)||"ERROR"===e.state},r._toggleAskRegisterAgain=function(){return r.setState({askRegisterAgain:!r.state.askRegisterAgain})},r._startTrial=(0,u.default)(s.default.mark(function e(){return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,U.confirm)({title:(0,S.default)("trialReadyModal"),body:(0,M.default)("p",{},void 0,(0,S.default)("trialReadyModalText"))});case 3:return e.abrupt("return",F.default.requestTrial().then(function(){return F.default.update()}).catch(function(e){return(0,X.error)("Request Trial",e.message||String(e))}));case 6:e.prev=6,e.t0=e.catch(0);case 8:case"end":return e.stop()}},e,a,[[0,6]])})),o=n,(0,b.default)(r,o)}return(0,y.default)(t,e),(0,m.default)(t,[{key:"componentWillMount",value:function(){var e=this;this.setState({askRegisterAgain:!1}),G.serverVersion.then(function(t){e.setState({serverVersion:t})}),Q()}},{key:"render",value:function(){var e=this.props,t=(e.log,e.registration),n=(e.state,e.trial,this.props.configuration);"registered"===t.state;n=(0,T.default)({},n);var r=this.state,o=r.proxyHost,a=r.proxyPort,i=r.proxyUser,s=!1;void 0!==o&&(n.proxyHost=o)&&(s=!0),void 0!==a&&(n.proxyPort=a)&&(s=!0),void 0!==i&&(n.proxyUser=i)&&(s=!0);this.props.intl.formatMessage;return(0,M.default)(D.default,{header:$,title:"updateTitle",formatTitle:!0},void 0,(0,M.default)(H.Container,{},void 0,(0,M.default)("div",{},void 0,(0,M.default)("h2",{className:"text-danger"},void 0,(0,S.default)("noUpdaterCommunity")),(0,M.default)("p",{},void 0,(0,S.default)("considerSubscribe",{link:J})),(0,M.default)("p",{className:"text-danger"},void 0,(0,S.default)("noUpdaterWarning")))))}}]),t}(N.default))||a)||a);n.default=Z;var ee=(0,M.default)("span",{className:"fa-stack"},void 0,(0,M.default)("i",{className:"fa fa-circle fa-stack-2x text-danger"}),(0,M.default)("i",{className:"fa fa-exclamation fa-stack-1x"})),te=function(){return ee},ne=(0,M.default)("span",{className:"fa-stack"},void 0,(0,M.default)("i",{className:"fa fa-circle fa-stack-2x text-danger"}),(0,M.default)("i",{className:"fa fa-question fa-stack-1x"})),re=function(){return ne},oe=(0,M.default)("span",{className:"fa-stack"},void 0,(0,M.default)("i",{className:"fa fa-circle fa-stack-2x text-warning"}),(0,M.default)("i",{className:"fa fa-question fa-stack-1x"})),ae=function(){return oe},ie=(0,M.default)(E.default,{icon:"success"}),se=function(){return ie},le=(0,M.default)("span",{className:"fa-stack"},void 0,(0,M.default)("i",{className:"fa fa-circle fa-stack-2x text-success"}),(0,M.default)("i",{className:"fa fa-bell fa-stack-1x"})),ue=function(){return le},ce=(0,M.default)(E.default,{icon:"not-registered",className:"text-warning"}),de=function(){return ce},fe=(0,M.default)(re,{}),pe=(0,M.default)(ae,{}),he=(0,M.default)(se,{}),me=(0,M.default)(ue,{}),ve=(0,M.default)(de,{}),be=(0,M.default)(te,{});n.UpdateTag=(0,W.connectStore)(function(e){return{configuration:e.xoaConfiguration,log:e.xoaUpdaterLog,registration:e.xoaRegisterState,state:e.xoaUpdaterState,trial:e.xoaTrialState}})(function(e){var t=e.state,n={disconnected:fe,connected:pe,upToDate:he,upgradeNeeded:me,registerNeeded:ve,error:be},r={disconnected:(0,S.default)("noUpdateInfo"),connected:(0,S.default)("waitingUpdateInfo"),upToDate:(0,S.default)("upToDate"),upgradeNeeded:(0,S.default)("mustUpgrade"),registerNeeded:(0,S.default)("registerNeeded"),error:(0,S.default)("updaterError")};return(0,M.default)(V.default,{content:r[t]},void 0,n[t])})},{"../../../package":1399,"../page":1578,"action-button":1401,ansi_up:1,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/asyncToGenerator":21,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"babel-runtime/regenerator":147,"base-component":1405,button:1407,card:1408,form:1425,grid:1431,icon:1435,intl:1436,"lodash/assign":690,"lodash/isEmpty":735,"lodash/map":754,modal:1461,notification:1463,react:1269,"react-intl":1103,tooltip:1488,utils:1490,xo:1519,"xoa-updater":1527}],1625:[function(e,t,n){t.exports={wrapper:"mca5423d5d_wrapper",graphWrapper:"mca5423d5d_graphWrapper",graph:"mca5423d5d_graph",loss:"mca5423d5d_loss",legend:"mca5423d5d_legend"}},{}],1626:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o,a,i=e("babel-runtime/core-js/object/get-prototype-of"),s=r(i),l=e("babel-runtime/helpers/classCallCheck"),u=r(l),c=e("babel-runtime/helpers/createClass"),d=r(c),f=e("babel-runtime/helpers/possibleConstructorReturn"),p=r(f),h=e("babel-runtime/helpers/inherits"),m=r(h),v=e("babel-runtime/helpers/jsx"),b=r(v),g=e("lodash/map"),y=r(g),_=e("intl"),M=r(_),w=e("base-component"),S=r(w),C=e("icon"),x=r(C),k=e("prop-types"),T=r(k),A=e("react"),P=(r(A),e("./index.css")),N=r(P),O=38.56,E=function(e,t,n){return(0,b.default)("foreignObject",{x:e-O/2,y:t,width:O,height:O},void 0,(0,b.default)(x.default,{className:n&&N.default.loss,size:2,icon:"disk",fixedWidth:!0}))},z=(0,b.default)(x.default,{icon:"sr",size:2,fixedWidth:!0}),R=function(e,t,n){return(0,b.default)("foreignObject",{x:e-O/2,y:t,width:O,height:O},void 0,z)},j=function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;return(0,b.default)("path",{d:"M"+e+" "+t+" L"+n+" "+r,stroke:"#373a3c",strokeLinecap:"round",strokeWidth:"4",transform:"translate("+o+" "+a+")"},e+","+t+","+n+","+r+","+o+","+a)},L=function(e,t,n,r,o,a){return[j(r/(2*e),0,r-r/(2*e),0,t,n),(0,y.default)(new Array(e),function(i,s){return[j(s*r/e+r/(2*e),0,s*r/e+r/(2*e),o,t,n),void 0!==a&&E(t+s*r/e+r/(2*e),n+o,s>=e-a)]})]},D=function(e,t,n,r,o){var a=r/5;return(0,b.default)("svg",{width:n,height:r},void 0,R(n/2,0),j(n/2,a,n/2,2*a),1===e?L(t,0,2*a,n,a,o):[L(e,0,2*a,n,a),(0,y.default)(new Array(e),function(r,i){return L(t,i*n/e,3*a,n/e,a,o)})])},I=function(e,t,n,r){return D(1,e,n,r,t)},B=function(e,t,n,r){var o=e/t;return D(o,t,n,r,t-1)},V=(o=(0,T.default)({layout:T.default.string.isRequired,redundancy:T.default.number.isRequired,nSrs:T.default.number}),o(a=function(e){function t(){return(0,u.default)(this,t),(0,p.default)(this,(t.__proto__||(0,s.default)(t)).apply(this,arguments))}return(0,m.default)(t,e),(0,d.default)(t,[{key:"render",value:function(){var e=this.props,t=e.layout,n=e.redundancy,r=e.nSrs,o=e.width,a=e.height;return(0,b.default)("div",{className:N.default.wrapper},void 0,(0,b.default)("div",{className:N.default.graphWrapper},void 0,(0,b.default)("div",{className:N.default.graph},void 0,"disperse"===t?I(r,n,o,a):B(r,n-("replica_arbiter"===t?1:0),o,a))),(0,b.default)("div",{},void 0,(0,b.default)("strong",{className:N.default.legend},void 0,(0,M.default)("xosanDiskLossLegend"))))}}]),t}(S.default))||a);n.default=V},{"./index.css":1625,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,icon:1435,intl:1436,"lodash/map":754,"prop-types":1464,react:1269}],1627:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(n,"__esModule",{value:!0}),n.default=n.XosanVolumesTable=void 0;var o,a,i,s,l,u=e("babel-runtime/helpers/extends"),c=r(u),d=e("babel-runtime/core-js/promise"),f=r(d),p=e("babel-runtime/core-js/object/get-prototype-of"),h=r(p),m=e("babel-runtime/helpers/classCallCheck"),v=r(m),b=e("babel-runtime/helpers/createClass"),g=r(b),y=e("babel-runtime/helpers/possibleConstructorReturn"),_=r(y),M=e("babel-runtime/helpers/inherits"),w=r(M),S=e("babel-runtime/helpers/jsx"),C=r(S),x=e("lodash/some"),k=(r(x),e("lodash/pickBy")),T=r(k),A=e("lodash/map"),P=r(A),N=e("lodash/keys"),O=r(N),E=e("lodash/isEmpty"),z=r(E),R=e("lodash/forEach"),j=r(R),L=e("lodash/find"),D=r(L),I=e("lodash/filter"),B=r(I),V=e("lodash/every"),q=r(V),F=e("intl"),U=r(F),W=e("action-button"),H=r(W),X=e("collapse"),K=(r(X),e("base-component")),G=r(K),Y=e("icon"),$=r(Y),Q=e("link"),J=r(Q),Z=e("../page"),ee=r(Z),te=e("react"),ne=(r(te),e("single-line-row")),re=r(ne),oe=e("tooltip"),ae=r(oe),ie=e("grid"),se=e("form"),le=e("select-objects"),ue=e("selectors"),ce=e("utils"),de=e("xo"),fe=e("./graph"),pe=r(fe),he=(0,C.default)(ie.Container,{},void 0,(0,C.default)("h2",{},void 0,(0,C.default)($.default,{icon:"menu-xosan"})," ",(0,U.default)("xosanTitle"))),me=(n.XosanVolumesTable=(o=(0,ce.connectStore)(function(){return{vifs:(0,ue.createGetObjectsOfType)("VIF"),vms:(0,ue.createGetObjectsOfType)("VM"),vbds:(0,ue.createGetObjectsOfType)("VBD"),vdis:(0,ue.createGetObjectsOfType)("VDI")}}),o(a=function(e){function t(e){(0,v.default)(this,t);var n=(0,_.default)(this,(t.__proto__||(0,h.default)(t)).call(this,e));return n.state={peers:null,volumesByConfig:null,volumesByID:null},n}return(0,w.default)(t,e),(0,g.default)(t,[{key:"componentDidMount",value:function(){var e=this;this.props.xosansrs&&this.props.xosansrs.length>0&&f.default.all(this.props.xosansrs.map(function(e){return(0,de.getVolumeInfo)(e.id)})).then(function(t){var n={};t.forEach(function(t,r){n[e.props.xosansrs[r].id]=t}),e.setState({volumeConfig:n})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.xosansrs,r=t.hosts;return(0,C.default)("div",{},void 0,(0,C.default)("h3",{},void 0,(0,U.default)("xosanSrTitle")),(0,C.default)("table",{className:"table table-striped"},void 0,(0,C.default)("thead",{},void 0,(0,C.default)("tr",{},void 0,(0,C.default)("th",{},void 0,(0,U.default)("xosanName")),(0,C.default)("th",{},void 0,(0,U.default)("xosanHosts")),(0,C.default)("th",{},void 0,(0,U.default)("xosanVolumeId")),(0,C.default)("th",{},void 0,(0,U.default)("xosanSize")),(0,C.default)("th",{},void 0,(0,U.default)("xosanUsedSpace")))),(0,C.default)("tbody",{},void 0,(0,P.default)(n,function(t){var n={};return(0,j.default)(t.pbds,function(e){n[e.device_config.server]=!0}),(0,C.default)("tr",{},t.id,(0,C.default)("td",{},void 0,(0,C.default)(J.default,{to:"/srs/"+t.id+"/xosan"},void 0,t.name_label)),(0,C.default)("td",{},void 0,(0,P.default)(t.pbds,function(e){var t=e.host;return(0,D.default)(r,["id",t]).name_label}).join(", ")),(0,C.default)("td",{},void 0,e.state.volumeConfig&&e.state.volumeConfig[t.id]&&e.state.volumeConfig[t.id]["Volume ID"]),(0,C.default)("td",{},void 0,(0,ce.formatSize)(t.size)),(0,C.default)("td",{},void 0,t.size>0&&(0,C.default)(ae.default,{content:(0,U.default)("spaceLeftTooltip",{used:String(Math.round(t.physical_usage/t.size*100)),free:(0,ce.formatSize)(t.size-t.physical_usage)})},void 0,(0,C.default)("progress",{className:"progress",max:"100",style:{margin:0},value:t.physical_usage/t.size*100}))))}))))}}]),t}(G.default))||a),function(e){var t=e[0];return(0,j.default)(e,function(e){(0,ce.compareVersions)(e.version,t.version)>0&&(t=e)}),t}),ve=(0,C.default)($.default,{icon:"loading"}),be=(0,C.default)($.default,{icon:"error"}),ge=(0,C.default)("br",{}),ye=(0,C.default)("th",{}),_e=(0,C.default)("th",{}),Me=(0,C.default)("hr",{}),we=(function(e){function t(){var e,n,r,o;(0,v.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,_.default)(this,(e=t.__proto__||(0,h.default)(t)).call.apply(e,[this].concat(i))),r.state={selectedSrs:{}},r._selectSr=function(e,t){var n=(0,c.default)({},r.state.selectedSrs);n[t]=e.target.checked,(0,de.computeXosanPossibleOptions)((0,O.default)((0,T.default)(n))).then(function(e){r.setState({selectedSrs:n,suggestion:0,suggestions:e})})},r._getPifPredicate=(0,ue.createSelector)(function(){return r.props.pool},function(e){return function(t){return t.vlan===-1&&t.$host===e.master}}),r._getNSelectedSrs=(0,ue.createSelector)(function(){return r.state.selectedSrs},function(e){return(0,B.default)(e).length}),r._getLatestTemplate=(0,ue.createSelector)(function(){return r.props.templates},me),r._getDisableSrCheckbox=(0,ue.createSelector)(function(){return r.state.selectedSrs},function(){return r.props.lvmsrs},function(e,t){return function(n){return!(0,q.default)((0,O.default)((0,T.default)(e)),function(e){return e===n.id||(0,D.default)(t,{id:e}).$container!==n.$container})}}),r._getDisableCreation=(0,ue.createSelector)(function(){return r.state.suggestion},function(){return r.state.suggestions},function(){return r.state.pif},r._getNSelectedSrs,function(e,t,n,r){return!t||!t[e]||!n||r<2}),r._createXosanVm=function(){var e=r.state,t=e.pif,n=e.vlan,o=e.selectedSrs,a=e.suggestion,i=e.suggestions,s=i[a];if(s)return(0,de.createXosanSR)({template:r._getLatestTemplate(),pif:t,vlan:n||0,srs:(0,O.default)((0,T.default)(o)),glusterType:s.layout,redundancy:s.redundancy})},o=n,(0,_.default)(r,o)}return(0,w.default)(t,e),(0,g.default)(t,[{key:"componentDidMount",value:function(){var e=this;this.componentWillUnmount=(0,de.subscribeIsInstallingXosan)(this.props.pool,function(t){e.setState({isInstallingXosan:t})})}},{key:"render",value:function(){var e=this,t=this.props,n=t.hosts,r=t.lvmsrs,o=t.noPack,a=t.pool,i=this.state,s=i.isInstallingXosan,l=i.pif,u=i.selectedSrs,c=i.suggestion,d=i.suggestions,f=i.useVlan,p=i.vlan;if(s)return(0,C.default)("em",{},void 0,ve," ",(0,U.default)("xosanInstalling"));if(o)return(0,C.default)("div",{className:"mb-3"},void 0,be," ",(0,U.default)("xosanNeedPack"),ge,(0,C.default)(H.default,{btnStyle:"success",icon:"export",handler:de.downloadAndInstallXosanPack,handlerParam:a},void 0,(0,U.default)("xosanInstallIt")));var h=this._getDisableSrCheckbox();return(0,C.default)("div",{className:"mb-3"},void 0,(0,C.default)("h3",{},void 0,(0,U.default)("xosanAvailableSrsTitle")),(0,C.default)("table",{className:"table table-striped"},void 0,(0,C.default)("thead",{},void 0,(0,C.default)("tr",{},void 0,ye,(0,C.default)("th",{},void 0,(0,U.default)("xosanName")),(0,C.default)("th",{},void 0,(0,U.default)("xosanHost")),(0,C.default)("th",{},void 0,(0,U.default)("xosanSize")),(0,C.default)("th",{},void 0,(0,U.default)("xosanUsedSpace")))),(0,C.default)("tbody",{},void 0,(0,P.default)(r,function(t){var r=(0,D.default)(n,["id",t.$container]);return(0,C.default)("tr",{},t.id,(0,C.default)("td",{},void 0,(0,C.default)("input",{checked:u[t.id]||!1,disabled:h(t),onChange:function(n){return e._selectSr(n,t.id)},type:"checkbox"})),(0,C.default)("td",{},void 0,(0,C.default)(J.default,{to:"/srs/"+t.id+"/general"},void 0,t.name_label)),(0,C.default)("td",{},void 0,(0,C.default)(J.default,{to:"/hosts/"+r.id+"/general"},void 0,r.name_label)),(0,C.default)("td",{},void 0,(0,ce.formatSize)(t.size)),(0,C.default)("td",{},void 0,t.size>0&&(0,C.default)(ae.default,{content:(0,U.default)("spaceLeftTooltip",{used:String(Math.round(t.physical_usage/t.size*100)),free:(0,ce.formatSize)(t.size-t.physical_usage)})},void 0,(0,C.default)("progress",{className:"progress",max:"100",value:t.physical_usage/t.size*100}))))}))),(0,C.default)("h3",{},void 0,(0,U.default)("xosanSuggestions")),(0,z.default)(d)?(0,C.default)("em",{},void 0,(0,U.default)("xosanSelect2Srs")):(0,C.default)("div",{},void 0,(0,C.default)("table",{className:"table table-striped"},void 0,(0,C.default)("thead",{},void 0,(0,C.default)("tr",{},void 0,_e,(0,C.default)("th",{},void 0,(0,U.default)("xosanLayout")),(0,C.default)("th",{},void 0,(0,U.default)("xosanRedundancy")),(0,C.default)("th",{},void 0,(0,U.default)("xosanCapacity")),(0,C.default)("th",{},void 0,(0,U.default)("xosanAvailableSpace")))),(0,C.default)("tbody",{},void 0,(0,P.default)(d,function(t,n){var r=t.layout,o=t.redundancy,i=t.capacity,s=t.availableSpace;return(0,C.default)("tr",{},n,(0,C.default)("td",{},void 0,(0,C.default)("input",{checked:+c===n,name:"suggestion_"+a.id,onChange:e.linkState("suggestion"),type:"radio",value:n})),(0,C.default)("td",{},void 0,r),(0,C.default)("td",{},void 0,o),(0,C.default)("td",{},void 0,i),(0,C.default)("td",{},void 0,(0,ce.formatSize)(s)))}))),(0,C.default)(pe.default,{height:160,layout:d[c].layout,nSrs:this._getNSelectedSrs(),redundancy:d[c].redundancy,width:600}),Me,(0,C.default)(ie.Container,{},void 0,(0,C.default)(re.default,{},void 0,(0,C.default)(ie.Col,{size:6},void 0,(0,C.default)(le.SelectPif,{onChange:this.linkState("pif"),predicate:this._getPifPredicate(),value:l})),(0,C.default)(ie.Col,{size:3},void 0,(0,C.default)("input",{className:"form-control pull-right",disabled:!f,onChange:this.linkState("vlan"),placeholder:"VLAN",style:{width:"70%"},type:"text",value:p}),(0,C.default)(se.Toggle,{className:"pull-right mr-1",onChange:this.linkState("useVlan"),value:f})),(0,C.default)(ie.Col,{size:3},void 0,(0,C.default)(H.default,{btnStyle:"success",className:"pull-right",disabled:this._getDisableCreation(),handler:this._createXosanVm,icon:"add"},void 0,(0,U.default)("xosanCreate")))))))}}]),t}(G.default),(0,C.default)($.default,{icon:"error"})),Se=((0,C.default)($.default,{icon:"error"}),(0,C.default)("a",{href:"https://xen-orchestra.com"},void 0,"https://xen-orchestra.com")),Ce=(i=(0,ce.connectStore)(function(){var e=(0,ue.createGetObjectsOfType)("PBD").groupBy("SR"),t=(0,ue.createSort)((0,ue.createSelector)((0,ue.createGetObjectsOfType)("SR").filter([function(e){return!e.shared&&"lvm"===e.SR_type}]),e,function(e,t){return(0,ce.mapPlus)(e,function(e,n){var r=void 0;(r=t[e.id]).length&&n((0,c.default)({},e,{pbds:r}))})}),"name_label"),n=(0,ue.createSort)((0,ue.createSelector)((0,ue.createGetObjectsOfType)("SR").filter([function(e){return e.shared&&"xosan"===e.SR_type}]),e,function(e,t){return(0,P.default)(e,function(e){return(0,c.default)({},e,{pbds:t[e.id]})})}),"name_label");return{hostsByPool:(0,ue.createGetObjectsOfType)("host").groupBy("$pool"),pools:(0,ue.createGetObjectsOfType)("pool"),xosanSrsByPool:(0,ue.createGroupBy)(n,"$pool"),lvmSrsByPool:(0,ue.createGroupBy)(t,"$pool"),networks:(0,ue.createGetObjectsOfType)("network").groupBy("$pool")}}),s=(0,ce.addSubscriptions)({catalog:de.subscribeResourceCatalog,plugins:de.subscribePlugins}),i(l=s(l=function(e){function t(){var e,n,r,o;(0,v.default)(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=r=(0,_.default)(this,(e=t.__proto__||(0,h.default)(t)).call.apply(e,[this].concat(i))),r._getError=(0,ue.createSelector)(function(){return r.props.plugins},function(){return r.props.catalog},function(e,t){var n=(0,D.default)(e,{id:"cloud"});if(!n)return(0,U.default)("xosanInstallCloudPlugin");if(!n.loaded)return(0,U.default)("xosanLoadCloudPlugin");if(!t)return(0,U.default)("xosanLoading");var r=t._namespaces.xosan;return r?r.available?(0,C.default)(H.default,{handler:de.registerXosan,btnStyle:"primary",icon:"add"},void 0,(0,U.default)("xosanRegisterBeta")):r.pending?(0,U.default)("xosanSuccessfullyRegistered"):void 0:(0,C.default)("span",{},void 0,we," ",(0,U.default)("xosanNotAvailable"))}),o=n,(0,_.default)(r,o)}return(0,w.default)(t,e),(0,g.default)(t,[{key:"render",value:function(){var e=this.props;e.pools,e.xosanSrsByPool,e.lvmSrsByPool,e.catalog,e.hostsByPool,this._getError();return(0,C.default)(ee.default,{header:he,title:"xosan",formatTitle:!0},void 0,(0,C.default)(ie.Container,{},void 0,(0,C.default)("h2",{className:"text-danger"},void 0,(0,U.default)("xosanCommunity")),(0,C.default)("p",{},void 0,(0,U.default)("considerSubscribe",{link:Se}))))}}]),t}(G.default))||l)||l);n.default=Ce},{"../page":1578,"./graph":1626,"action-button":1401,"babel-runtime/core-js/object/get-prototype-of":14,"babel-runtime/core-js/promise":17,"babel-runtime/helpers/classCallCheck":22,"babel-runtime/helpers/createClass":23,"babel-runtime/helpers/extends":25,"babel-runtime/helpers/inherits":26,"babel-runtime/helpers/jsx":27,"babel-runtime/helpers/possibleConstructorReturn":29,"base-component":1405,collapse:1411,form:1425,grid:1431,icon:1435,intl:1436,link:1459,"lodash/every":708,"lodash/filter":709,"lodash/find":710,"lodash/forEach":716,"lodash/isEmpty":735,"lodash/keys":750,"lodash/map":754,"lodash/pickBy":765,"lodash/some":774,react:1269,"select-objects":1469,selectors:1470,"single-line-row":1473,tooltip:1488,utils:1490,xo:1519}]},{},[1529]);
|
101 | //# sourceMappingURL=index.js.map
|