From 6dde9ce720118b6f5de8e83e729db11ee38db902 Mon Sep 17 00:00:00 2001 From: Maurizio Napoleoni Date: Fri, 17 Mar 2017 14:25:22 +1000 Subject: [PATCH] tiny-single-react-ui: squashed commit rebased on the new gutenberg, based on PR #275 --- shared/navigation.js | 3 +- tinymce-single-react-ui/.babelrc | 14 + tinymce-single-react-ui/.editorconfig | 16 + tinymce-single-react-ui/.eslintignore | 1 + tinymce-single-react-ui/.eslintrc.json | 19 + tinymce-single-react-ui/.vscode/settings.json | 3 + tinymce-single-react-ui/build/app.js | 25 + tinymce-single-react-ui/index.html | 14 + tinymce-single-react-ui/package.json | 67 +++ tinymce-single-react-ui/shared | 1 + tinymce-single-react-ui/src/Turducken.js | 82 +++ .../src/assets/stylesheets/_animations.scss | 15 + .../src/assets/stylesheets/_variables.scss | 33 ++ .../src/assets/stylesheets/main.scss | 538 ++++++++++++++++++ .../src/components/button/Button.js | 30 + .../src/components/button/button.scss | 49 ++ .../src/components/dropbutton/Dropbutton.js | 57 ++ .../src/components/dropbutton/dropbutton.scss | 14 + .../components/tinymce/tinymce-react-ui.js | 270 +++++++++ .../components/toolbar/BlockAlignToolbar.js | 23 + .../components/toolbar/BlockChangeToolbar.js | 65 +++ .../src/components/toolbar/BlockToolbar.js | 42 ++ .../src/components/toolbar/InlineToolbar.js | 50 ++ .../src/components/toolbar/blocktoolbar.scss | 24 + .../src/components/toolbar/inlinetoolbar.scss | 18 + .../src/external/dashicons/_style.scss | 6 + .../src/external/dashicons/create-dashicon.js | 21 + .../external/dashicons/icons/.eslintrc.json | 5 + .../external/dashicons/icons/add-outline.js | 17 + .../external/dashicons/icons/admin-links.js | 13 + .../dashicons/icons/arrow-down-alt2.js | 13 + .../external/dashicons/icons/arrow-up-alt2.js | 13 + .../external/dashicons/icons/cloud-outline.js | 20 + .../dashicons/icons/editor-aligncenter.js | 13 + .../dashicons/icons/editor-alignleft.js | 13 + .../dashicons/icons/editor-alignright.js | 13 + .../external/dashicons/icons/editor-bold.js | 13 + .../dashicons/icons/editor-heading.js | 7 + .../external/dashicons/icons/editor-italic.js | 13 + .../dashicons/icons/editor-paragraph.js | 13 + .../external/dashicons/icons/editor-quote.js | 13 + .../dashicons/icons/editor-strikethrough.js | 13 + .../external/dashicons/icons/editor-table.js | 13 + .../external/dashicons/icons/format-image.js | 13 + .../dashicons/icons/image-align-center.js | 7 + .../dashicons/icons/image-align-left.js | 7 + .../dashicons/icons/image-align-right.js | 7 + .../dashicons/icons/image-full-width.js | 11 + .../external/dashicons/icons/video-alt3.js | 13 + .../src/external/dashicons/index.js | 21 + .../src/external/wp-blocks/editable/index.js | 261 +++++++++ .../src/external/wp-blocks/index.js | 29 + .../src/external/wp-blocks/input/index.js | 116 ++++ .../src/external/wp-elements/index.js | 6 + tinymce-single-react-ui/src/index.js | 17 + .../src/reducers/action.js | 57 ++ tinymce-single-react-ui/src/utils/tag.js | 47 ++ tinymce-single-react-ui/webpack.config.js | 65 +++ 58 files changed, 2381 insertions(+), 1 deletion(-) create mode 100644 tinymce-single-react-ui/.babelrc create mode 100644 tinymce-single-react-ui/.editorconfig create mode 100644 tinymce-single-react-ui/.eslintignore create mode 100644 tinymce-single-react-ui/.eslintrc.json create mode 100644 tinymce-single-react-ui/.vscode/settings.json create mode 100644 tinymce-single-react-ui/build/app.js create mode 100644 tinymce-single-react-ui/index.html create mode 100644 tinymce-single-react-ui/package.json create mode 120000 tinymce-single-react-ui/shared create mode 100644 tinymce-single-react-ui/src/Turducken.js create mode 100644 tinymce-single-react-ui/src/assets/stylesheets/_animations.scss create mode 100644 tinymce-single-react-ui/src/assets/stylesheets/_variables.scss create mode 100644 tinymce-single-react-ui/src/assets/stylesheets/main.scss create mode 100644 tinymce-single-react-ui/src/components/button/Button.js create mode 100644 tinymce-single-react-ui/src/components/button/button.scss create mode 100644 tinymce-single-react-ui/src/components/dropbutton/Dropbutton.js create mode 100644 tinymce-single-react-ui/src/components/dropbutton/dropbutton.scss create mode 100644 tinymce-single-react-ui/src/components/tinymce/tinymce-react-ui.js create mode 100644 tinymce-single-react-ui/src/components/toolbar/BlockAlignToolbar.js create mode 100644 tinymce-single-react-ui/src/components/toolbar/BlockChangeToolbar.js create mode 100644 tinymce-single-react-ui/src/components/toolbar/BlockToolbar.js create mode 100644 tinymce-single-react-ui/src/components/toolbar/InlineToolbar.js create mode 100644 tinymce-single-react-ui/src/components/toolbar/blocktoolbar.scss create mode 100644 tinymce-single-react-ui/src/components/toolbar/inlinetoolbar.scss create mode 100644 tinymce-single-react-ui/src/external/dashicons/_style.scss create mode 100644 tinymce-single-react-ui/src/external/dashicons/create-dashicon.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/.eslintrc.json create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/add-outline.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/admin-links.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/arrow-down-alt2.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/arrow-up-alt2.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/cloud-outline.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/editor-aligncenter.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/editor-alignleft.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/editor-alignright.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/editor-bold.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/editor-heading.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/editor-italic.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/editor-paragraph.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/editor-quote.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/editor-strikethrough.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/editor-table.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/format-image.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/image-align-center.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/image-align-left.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/image-align-right.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/image-full-width.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/icons/video-alt3.js create mode 100644 tinymce-single-react-ui/src/external/dashicons/index.js create mode 100644 tinymce-single-react-ui/src/external/wp-blocks/editable/index.js create mode 100644 tinymce-single-react-ui/src/external/wp-blocks/index.js create mode 100644 tinymce-single-react-ui/src/external/wp-blocks/input/index.js create mode 100644 tinymce-single-react-ui/src/external/wp-elements/index.js create mode 100644 tinymce-single-react-ui/src/index.js create mode 100644 tinymce-single-react-ui/src/reducers/action.js create mode 100644 tinymce-single-react-ui/src/utils/tag.js create mode 100644 tinymce-single-react-ui/webpack.config.js diff --git a/shared/navigation.js b/shared/navigation.js index 86877fc052d68..f2fe8bcdcc592 100644 --- a/shared/navigation.js +++ b/shared/navigation.js @@ -9,7 +9,8 @@ PROTOTYPES = { '/': 'UI Prototype', '/tinymce-per-block/': 'TinyMCE per block prototype', - '/tinymce-single/': 'Single TinyMCE instance prototype' + '/tinymce-single/': 'Single TinyMCE instance prototype', + '/tinymce-single-react-ui/': 'Single TinyMCE with React UI' }; // Generate Navigation DOM diff --git a/tinymce-single-react-ui/.babelrc b/tinymce-single-react-ui/.babelrc new file mode 100644 index 0000000000000..2293ad41d1a26 --- /dev/null +++ b/tinymce-single-react-ui/.babelrc @@ -0,0 +1,14 @@ +{ + "presets": [ + [ "es2015", { + "modules": false + } ], + "stage-2" + ], + "plugins": [ + [ "transform-react-jsx", { + "pragma": "createElement" + } ], + "lodash" + ] +} diff --git a/tinymce-single-react-ui/.editorconfig b/tinymce-single-react-ui/.editorconfig new file mode 100644 index 0000000000000..667a507d56e97 --- /dev/null +++ b/tinymce-single-react-ui/.editorconfig @@ -0,0 +1,16 @@ +# http://editorconfig.org +root = true + +[*] +indent_style = tab +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[package.json] +indent_style = space +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false diff --git a/tinymce-single-react-ui/.eslintignore b/tinymce-single-react-ui/.eslintignore new file mode 100644 index 0000000000000..0b6bacfd9731b --- /dev/null +++ b/tinymce-single-react-ui/.eslintignore @@ -0,0 +1 @@ +src/parsers/block/grammar.js diff --git a/tinymce-single-react-ui/.eslintrc.json b/tinymce-single-react-ui/.eslintrc.json new file mode 100644 index 0000000000000..4a800f0d5d04e --- /dev/null +++ b/tinymce-single-react-ui/.eslintrc.json @@ -0,0 +1,19 @@ +{ + "root": true, + "extends": "wpcalypso/react", + "parser": "babel-eslint", + "env": { + "browser": true, + "node": true + }, + "settings": { + "react": { + "pragma": "createElement" + } + }, + "rules": { + "camelcase": 0, + "max-len": [ 2, { "code": 120 } ], + "react/jsx-no-bind": 0 + } +} diff --git a/tinymce-single-react-ui/.vscode/settings.json b/tinymce-single-react-ui/.vscode/settings.json new file mode 100644 index 0000000000000..20af2f68a6587 --- /dev/null +++ b/tinymce-single-react-ui/.vscode/settings.json @@ -0,0 +1,3 @@ +// Place your settings in this file to overwrite default and user settings. +{ +} \ No newline at end of file diff --git a/tinymce-single-react-ui/build/app.js b/tinymce-single-react-ui/build/app.js new file mode 100644 index 0000000000000..4609e34e280db --- /dev/null +++ b/tinymce-single-react-ui/build/app.js @@ -0,0 +1,25 @@ +!function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:o})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=340)}([function(e,t){function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function r(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function i(e){if(p===clearTimeout)return clearTimeout(e);if((p===o||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function a(){v&&d&&(v=!1,d.length?h=d.concat(h):m=-1,h.length&&u())}function u(){if(!v){var e=r(a);v=!0;for(var t=h.length;t;){for(d=h,h=[];++m1)for(var n=1;n1?t-1:0),o=1;o2?o-2:0),i=2;i1){for(var _=Array(b),E=0;E1){for(var b=Array(g),_=0;_0?this.props.extraClass.join(" "):"",t={ACTIVE:l.a.active,INACTIVE:l.a.inactive,DISABLED:l.a.disabled},o=f()(l.a.button,t[this.props.status]||l.a.inactive,e);return n.i(a.createElement)("div",{className:o}," ",this.props.children," ")}}]),t}(u.a.Component);t.a=h},function(e,t){function n(e,t){for(var n=0;n=0&&g.splice(t,1)}function a(e){var t=document.createElement("style");return t.type="text/css",r(e,t),t}function u(e){var t=document.createElement("link");return t.rel="stylesheet",r(e,t),t}function s(e,t){var n,o,r;if(t.singleton){var s=y++;n=m||(m=a(t)),o=c.bind(null,n,s,!1),r=c.bind(null,n,s,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=u(t),o=p.bind(null,n),r=function(){i(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(t),o=l.bind(null,n),r=function(){i(n)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}function c(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=b(t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function l(e,t){var n=t.css,o=t.media;if(o&&e.setAttribute("media",o),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function p(e,t){var n=t.css,o=t.sourceMap;o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var r=new Blob([n],{type:"text/css"}),i=e.href;e.href=URL.createObjectURL(r),i&&URL.revokeObjectURL(i)}var f={},d=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}},h=d(function(){return/msie [6-9]\b/.test(self.navigator.userAgent.toLowerCase())}),v=d(function(){return document.head||document.getElementsByTagName("head")[0]}),m=null,y=0,g=[];e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},void 0===t.singleton&&(t.singleton=h()),void 0===t.insertAt&&(t.insertAt="bottom");var r=o(e);return n(r,t),function(e){for(var i=[],a=0;a-1||("production"!==t.env.NODE_ENV?u(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e):a("96",e)),!l.plugins[o]){n.extractEvents||("production"!==t.env.NODE_ENV?u(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e):a("97",e)),l.plugins[o]=n;var i=n.eventTypes;for(var p in i)r(i[p],n,p)||("production"!==t.env.NODE_ENV?u(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",p,e):a("98",p,e))}}}function r(e,n,o){l.eventNameDispatchConfigs.hasOwnProperty(o)&&("production"!==t.env.NODE_ENV?u(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",o):a("99",o)),l.eventNameDispatchConfigs[o]=e;var r=e.phasedRegistrationNames;if(r){for(var s in r)if(r.hasOwnProperty(s)){var c=r[s];i(c,n,o)}return!0}return!!e.registrationName&&(i(e.registrationName,n,o),!0)}function i(e,n,o){if(l.registrationNameModules[e]&&("production"!==t.env.NODE_ENV?u(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e):a("100",e)),l.registrationNameModules[e]=n,l.registrationNameDependencies[e]=n.eventTypes[o].dependencies,"production"!==t.env.NODE_ENV){var r=e.toLowerCase();l.possibleRegistrationNames[r]=e,"onDoubleClick"===e&&(l.possibleRegistrationNames.ondblclick=e)}}var a=n(3),u=n(1),s=null,c={},l={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},possibleRegistrationNames:"production"!==t.env.NODE_ENV?{}:null,injectEventPluginOrder:function(e){s&&("production"!==t.env.NODE_ENV?u(!1,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."):a("101")),s=Array.prototype.slice.call(e),o()},injectEventPluginsByName:function(e){var n=!1;for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];c.hasOwnProperty(r)&&c[r]===i||(c[r]&&("production"!==t.env.NODE_ENV?u(!1,"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",r):a("102",r)),c[r]=i,n=!0)}n&&o()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return l.registrationNameModules[t.registrationName]||null;if(void 0!==t.phasedRegistrationNames){var n=t.phasedRegistrationNames;for(var o in n)if(n.hasOwnProperty(o)){var r=l.registrationNameModules[n[o]];if(r)return r}}return null},_resetEventPlugins:function(){s=null;for(var e in c)c.hasOwnProperty(e)&&delete c[e];l.plugins.length=0;var n=l.eventNameDispatchConfigs;for(var o in n)n.hasOwnProperty(o)&&delete n[o];var r=l.registrationNameModules;for(var i in r)r.hasOwnProperty(i)&&delete r[i];if("production"!==t.env.NODE_ENV){var a=l.possibleRegistrationNames;for(var u in a)a.hasOwnProperty(u)&&delete a[u]}}};e.exports=l}).call(t,n(0))},function(e,t,n){"use strict";function o(e){return Object.prototype.hasOwnProperty.call(e,v)||(e[v]=d++,p[e[v]]={}),p[e[v]]}var r,i=n(4),a=n(42),u=n(248),s=n(103),c=n(284),l=n(65),p={},f=!1,d=0,h={topAbort:"abort",topAnimationEnd:c("animationend")||"animationend",topAnimationIteration:c("animationiteration")||"animationiteration",topAnimationStart:c("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:c("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"},v="_reactListenersID"+String(Math.random()).slice(2),m=i({},u,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(m.handleTopLevel),m.ReactEventListener=e}},setEnabled:function(e){m.ReactEventListener&&m.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!m.ReactEventListener||!m.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,r=o(n),i=a.registrationNameDependencies[e],u=0;u]/;e.exports=r},function(e,t,n){"use strict";var o,r=n(7),i=n(54),a=/^[ \r\n\t\f]/,u=/<(!--|link|noscript|meta|script|style)[ \r\n\t\f\/>]/,s=n(61),c=s(function(e,t){if(e.namespaceURI!==i.svg||"innerHTML"in e)e.innerHTML=t;else{o=o||document.createElement("div"),o.innerHTML=""+t+"";for(var n=o.firstChild;n.firstChild;)e.appendChild(n.firstChild)}});if(r.canUseDOM){var l=document.createElement("div");l.innerHTML=" ",""===l.innerHTML&&(c=function(e,t){if(e.parentNode&&e.parentNode.replaceChild(e,e),a.test(t)||"<"===t[0]&&u.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}),l=null}e.exports=c},function(e,t,n){"use strict";var o=n(12),r=(n.n(o),n(11)),i=(n.n(r),n(27));n.d(t,"h",function(){return u}),n.d(t,"i",function(){return s}),n.d(t,"j",function(){return c}),n.d(t,"d",function(){return p}),n.d(t,"e",function(){return f}),n.d(t,"f",function(){return d}),n.d(t,"g",function(){return h}),n.d(t,"b",function(){return v}),n.d(t,"c",function(){return m}),n.d(t,"a",function(){return y});var a=function(e,t){return e.indexOf(t)!==-1},u=function(e){return a(["STRONG","B"],e)},s=function(e){return a(["EM","I"],e)},c=function(e){return a(["DEL"],e)},l={P:"p",H1:"h",H2:"h",BLOCKQUOTE:"blockquote"},p=["p","h","blockquote"],f={p:n.i(o.createElement)(i.a,null),h:n.i(o.createElement)(i.b,null),blockquote:n.i(o.createElement)(i.c,null)},d=["left","right","center"],h={left:n.i(o.createElement)(i.d,null),center:n.i(o.createElement)(i.e,null),right:n.i(o.createElement)(i.f,null)},v=function(e){return e&&l[e.nodeName]||"p"},m=function(e){return"left"},y=function(e,t){if(t===e||!e.contains(t))return null;for(;t.parentNode!==e;)t=t.parentNode;return t}},function(e,t,n){"use strict";function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!==e&&t!==t}function r(e,t){if(o(e,t))return!0;if("object"!==(void 0===e?"undefined":i(e))||null===e||"object"!==(void 0===t?"undefined":i(t))||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var u=0;u0&&o.length<20?n+" (keys: "+o.join(", ")+")":n}function i(e,n){var o=c.get(e);if(!o){if("production"!==t.env.NODE_ENV){var r=e.constructor;"production"!==t.env.NODE_ENV&&d(!n,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",n,n,r&&(r.displayName||r.name)||"ReactClass")}return null}return"production"!==t.env.NODE_ENV&&"production"!==t.env.NODE_ENV&&d(null==s.current,"%s(...): Cannot update during an existing state transition (such as within `render` or another component's constructor). Render methods should be a pure function of props and state; constructor side-effects are an anti-pattern, but can be moved to `componentWillMount`.",n),o}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},u=n(3),s=n(15),c=n(32),l=n(10),p=n(14),f=n(1),d=n(2),h={isMounted:function(e){if("production"!==t.env.NODE_ENV){var n=s.current;null!==n&&("production"!==t.env.NODE_ENV&&d(n._warnedAboutRefsInRender,"%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",n.getName()||"A component"),n._warnedAboutRefsInRender=!0)}var o=c.get(e);return!!o&&!!o._renderedComponent},enqueueCallback:function(e,t,n){h.validateCallback(t,n);var r=i(e);if(!r)return null;r._pendingCallbacks?r._pendingCallbacks.push(t):r._pendingCallbacks=[t],o(r)},enqueueCallbackInternal:function(e,t){e._pendingCallbacks?e._pendingCallbacks.push(t):e._pendingCallbacks=[t],o(e)},enqueueForceUpdate:function(e){var t=i(e,"forceUpdate");t&&(t._pendingForceUpdate=!0,o(t))},enqueueReplaceState:function(e,t){var n=i(e,"replaceState");n&&(n._pendingStateQueue=[t],n._pendingReplaceState=!0,o(n))},enqueueSetState:function(e,n){"production"!==t.env.NODE_ENV&&(l.debugTool.onSetState(),"production"!==t.env.NODE_ENV&&d(null!=n,"setState(...): You passed an undefined or null state object; instead, use forceUpdate()."));var r=i(e,"setState");if(r){(r._pendingStateQueue||(r._pendingStateQueue=[])).push(n),o(r)}},enqueueElementInternal:function(e,t,n){e._pendingElement=t,e._context=n,o(e)},validateCallback:function(e,n){e&&"function"!=typeof e&&("production"!==t.env.NODE_ENV?f(!1,"%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",n,r(e)):u("122",n,r(e)))}};e.exports=h}).call(t,n(0))},function(e,t,n){"use strict";var o=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,o,r){MSApp.execUnsafeLocalFunction(function(){return e(t,n,o,r)})}:e};e.exports=o},function(e,t,n){"use strict";function o(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,t>=32||13===t?t:0}e.exports=o},function(e,t,n){"use strict";function o(e){var t=this,n=t.nativeEvent;if(n.getModifierState)return n.getModifierState(e);var o=i[e];return!!o&&!!n[o]}function r(e){return o}var i={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};e.exports=r},function(e,t,n){"use strict";function o(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}e.exports=o},function(e,t,n){"use strict";/** + * Checks if an event is supported in the current execution environment. + * + * NOTE: This will not work correctly for non-generic events such as `change`, + * `reset`, `load`, `error`, and `select`. + * + * Borrows from Modernizr. + * + * @param {string} eventNameSuffix Event name, e.g. "click". + * @param {?boolean} capture Check if the capture phase is supported. + * @return {boolean} True if the event is supported. + * @internal + * @license Modernizr 3.0.0pre (Custom Build) | MIT + */ +function o(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var a=document.createElement("div");a.setAttribute(n,"return;"),o="function"==typeof a[n]}return!o&&r&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}var r,i=n(7);i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0),e.exports=o},function(e,t,n){"use strict";function o(e,t){var n=null===e||e===!1,o=null===t||t===!1;if(n||o)return n===o;var i=void 0===e?"undefined":r(e),a=void 0===t?"undefined":r(t);return"string"===i||"number"===i?"string"===a||"number"===a:"object"===a&&e.type===t.type&&e.key===t.key}var r="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};e.exports=o},function(e,t,n){"use strict";(function(t){var o=n(4),r=n(13),i=n(2),a=r;if("production"!==t.env.NODE_ENV){var u=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],s=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],c=s.concat(["button"]),l=["dd","dt","li","option","optgroup","p","rp","rt"],p={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null},f=function(e,t,n){var r=o({},e||p),i={tag:t,instance:n};return s.indexOf(t)!==-1&&(r.aTagInScope=null,r.buttonTagInScope=null,r.nobrTagInScope=null),c.indexOf(t)!==-1&&(r.pTagInButtonScope=null),u.indexOf(t)!==-1&&"address"!==t&&"div"!==t&&"p"!==t&&(r.listItemTagAutoclosing=null,r.dlItemTagAutoclosing=null),r.current=i,"form"===t&&(r.formTag=i),"a"===t&&(r.aTagInScope=i),"button"===t&&(r.buttonTagInScope=i),"nobr"===t&&(r.nobrTagInScope=i),"p"===t&&(r.pTagInButtonScope=i),"li"===t&&(r.listItemTagAutoclosing=i),"dd"!==t&&"dt"!==t||(r.dlItemTagAutoclosing=i),r},d=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return l.indexOf(t)===-1;case"body":case"caption":case"col":case"colgroup":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0},h=function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null},v=function(e){if(!e)return[];var t=[];do{t.push(e)}while(e=e._currentElement._owner);return t.reverse(),t},m={};a=function(e,n,o,r){r=r||p;var a=r.current,u=a&&a.tag;null!=n&&("production"!==t.env.NODE_ENV&&i(null==e,"validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var s=d(e,u)?null:a,c=s?null:h(e,r),l=s||c;if(l){var f,y=l.tag,g=l.instance,b=o&&o._currentElement._owner,_=g&&g._currentElement._owner,E=v(b),A=v(_),N=Math.min(E.length,A.length),w=-1;for(f=0;f "),D=!!s+"|"+e+"|"+y+"|"+O;if(m[D])return;m[D]=!0;var S=e,I="";if("#text"===e?/\S/.test(n)?S="Text nodes":(S="Whitespace text nodes",I=" Make sure you don't have any extra whitespace between tags on each line of your source code."):S="<"+e+">",s){var T="";"table"===y&&"tr"===e&&(T+=" Add a to your code to match the DOM tree generated by the browser."),"production"!==t.env.NODE_ENV&&i(!1,"validateDOMNesting(...): %s cannot appear as a child of <%s>.%s See %s.%s",S,y,I,O,T)}else"production"!==t.env.NODE_ENV&&i(!1,"validateDOMNesting(...): %s cannot appear as a descendant of <%s>. See %s.",S,y,O)}},a.updatedAncestorInfo=f,a.isTagValidInContext=function(e,t){t=t||p;var n=t.current;return d(e,n&&n.tag)&&!h(e,t)}}e.exports=a}).call(t,n(0))},function(e,t,n){"use strict";(function(t){function o(e,t,n){this.props=e,this.context=t,this.refs=s,this.updater=n||a}var r="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=n(21),a=n(69),u=n(71),s=n(29),c=n(1),l=n(2);if(o.prototype.isReactComponent={},o.prototype.setState=function(e,n){"object"!==(void 0===e?"undefined":r(e))&&"function"!=typeof e&&null!=e&&("production"!==t.env.NODE_ENV?c(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."):i("85")),this.updater.enqueueSetState(this,e),n&&this.updater.enqueueCallback(this,n,"setState")},o.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this),e&&this.updater.enqueueCallback(this,e,"forceUpdate")},"production"!==t.env.NODE_ENV){var p={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},f=function(e,n){u&&Object.defineProperty(o.prototype,e,{get:function(){"production"!==t.env.NODE_ENV&&l(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",n[0],n[1])}})};for(var d in p)p.hasOwnProperty(d)&&f(d,p[d])}e.exports=o}).call(t,n(0))},function(e,t,n){"use strict";(function(t){function o(e,n){if("production"!==t.env.NODE_ENV){var o=e.constructor;"production"!==t.env.NODE_ENV&&r(!1,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op. Please check the code for the %s component.",n,n,o&&(o.displayName||o.name)||"ReactClass")}}var r=n(2),i={isMounted:function(e){return!1},enqueueCallback:function(e,t){},enqueueForceUpdate:function(e){o(e,"forceUpdate")},enqueueReplaceState:function(e,t){o(e,"replaceState")},enqueueSetState:function(e,t){o(e,"setState")}};e.exports=i}).call(t,n(0))},function(e,t,n){"use strict";(function(t){var n={};"production"!==t.env.NODE_ENV&&(n={prop:"prop",context:"context",childContext:"child context"}),e.exports=n}).call(t,n(0))},function(e,t,n){"use strict";(function(t){var n=!1;if("production"!==t.env.NODE_ENV)try{Object.defineProperty({},"x",{get:function(){}}),n=!0}catch(e){}e.exports=n}).call(t,n(0))},function(e,t,n){"use strict";function o(e){var t=e&&(r&&e[r]||e[i]);if("function"==typeof t)return t}var r="function"==typeof Symbol&&Symbol.iterator,i="@@iterator";e.exports=o},function(e,t){var n,o="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=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":o(window))&&(n=window)}e.exports=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){var o=n(333);"string"==typeof o&&(o=[[e.i,o,""]]);n(35)(o,{});o.locals&&(e.exports=o.locals)},function(e,t,n){"use strict";(function(t){var o=n(13),r={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,n,r){return e.addEventListener?(e.addEventListener(n,r,!0),{remove:function(){e.removeEventListener(n,r,!0)}}):("production"!==t.env.NODE_ENV&&console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:o})},registerDefault:function(){}};e.exports=r}).call(t,n(0))},function(e,t,n){"use strict";function o(e){try{e.focus()}catch(e){}}e.exports=o},function(e,t,n){"use strict";function o(){if("undefined"==typeof document)return null;try{return document.activeElement||document.body}catch(e){return document.body}}e.exports=o},function(e,t,n){"use strict";var o=n(145),r=o.a.Symbol;t.a=r},function(e,t,n){"use strict";function o(e){if(!n.i(a.a)(e)||n.i(r.a)(e)!=u)return!1;var t=n.i(i.a)(e);if(null===t)return!0;var o=p.call(t,"constructor")&&t.constructor;return"function"==typeof o&&o instanceof o&&l.call(o)==f}var r=n(139),i=n(141),a=n(146),u="[object Object]",s=Function.prototype,c=Object.prototype,l=s.toString,p=c.hasOwnProperty,f=l.call(Object);t.a=o},function(e,t,n){function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tf))return!1;var h=l.get(e);if(h&&l.get(t))return h==t;var v=-1,m=!0,y=n&s?new r:void 0;for(l.set(e,t),l.set(t,e);++v-1&&e%1==0&&e<=o}var o=9007199254740991;e.exports=n},function(e,t){function n(e){var t=void 0===e?"undefined":o(e);return null!=e&&("object"==t||"function"==t)}var o="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};e.exports=n},function(e,t,n){var o=n(164),r=n(167),i=n(198),a=i&&i.isTypedArray,u=a?r(a):o;e.exports=u},function(e,t,n){"use strict";function o(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var r={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},i=["Webkit","ms","Moz","O"];Object.keys(r).forEach(function(e){i.forEach(function(t){r[o(t,e)]=r[e]})});var a={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}},u={isUnitlessNumber:r,shorthandPropertyExpansions:a};e.exports=u},function(e,t,n){"use strict";(function(t){function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=n(3),i=n(19),a=n(1),u=function(){function e(t){o(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,n=this._contexts,o=this._arg;if(e&&n){e.length!==n.length&&("production"!==t.env.NODE_ENV?a(!1,"Mismatched list of contexts in callback queue"):r("24")),this._callbacks=null,this._contexts=null;for(var i=0;i must be an array if `multiple` is true.%s",a,r(o)):!n.multiple&&u&&"production"!==t.env.NODE_ENV&&f(!1,"The `%s` prop supplied to ',""],c=[1,"","
"],l=[3,"","
"],p=[1,'',""],f={"*":[1,"?
","
"],area:[1,"",""],col:[2,"","
"],legend:[1,"
","
"],param:[1,"",""],tr:[2,"","
"],optgroup:s,option:s,caption:c,colgroup:c,tbody:c,tfoot:c,thead:c,td:l,th:l};["circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","text","tspan"].forEach(function(e){f[e]=p,u[e]=!0}),e.exports=o}).call(t,n(0))},function(e,t,n){"use strict";function o(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=o},function(e,t,n){"use strict";function o(e){return e.replace(r,"-$1").toLowerCase()}var r=/([A-Z])/g;e.exports=o},function(e,t,n){"use strict";function o(e){return r(e).replace(i,"-ms-")}var r=n(131),i=/^ms-/;e.exports=o},function(e,t,n){"use strict";function o(e){return!(!e||!("function"==typeof Node?e instanceof Node:"object"===(void 0===e?"undefined":r(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}var r="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};e.exports=o},function(e,t,n){"use strict";function o(e){return r(e)&&3==e.nodeType}var r=n(133);e.exports=o},function(e,t,n){"use strict";function o(e){var t={};return function(n){return t.hasOwnProperty(n)||(t[n]=e.call(this,n)),t[n]}}e.exports=o},function(e,t,n){"use strict";var o,r=n(7);r.canUseDOM&&(o=window.performance||window.msPerformance||window.webkitPerformance),e.exports=o||{}},function(e,t,n){"use strict";var o,r=n(136);o=r.now?function(){return r.now()}:function(){return Date.now()},e.exports=o},function(e,t,n){var o,r,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};!function(a,u){"object"===i(t)&&void 0!==e?e.exports=u():(o=u,void 0!==(r="function"==typeof o?o.call(t,n,t,e):o)&&(e.exports=r))}(0,function(){"use strict";function e(e,t){t&&(e.prototype=Object.create(t.prototype)),e.prototype.constructor=e}function t(e){return a(e)?e:S(e)}function n(e){return u(e)?e:I(e)}function o(e){return s(e)?e:T(e)}function r(e){return a(e)&&!c(e)?e:M(e)}function a(e){return!(!e||!e[ln])}function u(e){return!(!e||!e[pn])}function s(e){return!(!e||!e[fn])}function c(e){return u(e)||s(e)}function l(e){return!(!e||!e[dn])}function p(e){return e.value=!1,e}function f(e){e&&(e.value=!0)}function d(){}function h(e,t){t=t||0;for(var n=Math.max(0,e.length-t),o=new Array(n),r=0;r>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?v(e)+t:t}function y(){return!0}function g(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&t>=n)}function b(e,t){return E(e,t,0)}function _(e,t){return E(e,t,t)}function E(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}function A(e){this.next=e}function N(e,t,n,o){var r=0===e?t:1===e?n:[t,n];return o?o.value=r:o={value:r,done:!1},o}function w(){return{value:void 0,done:!0}}function C(e){return!!O(e)}function x(e){return e&&"function"==typeof e.next}function k(e){var t=O(e);return t&&t.call(e)}function O(e){var t=e&&(wn&&e[wn]||e[Cn]);if("function"==typeof t)return t}function D(e){return e&&"number"==typeof e.length}function S(e){return null===e||void 0===e?U():a(e)?e.toSeq():F(e)}function I(e){return null===e||void 0===e?U().toKeyedSeq():a(e)?u(e)?e.toSeq():e.fromEntrySeq():L(e)}function T(e){return null===e||void 0===e?U():a(e)?u(e)?e.entrySeq():e.toIndexedSeq():z(e)}function M(e){return(null===e||void 0===e?U():a(e)?u(e)?e.entrySeq():e:z(e)).toSetSeq()}function P(e){this._array=e,this.size=e.length}function R(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function V(e){this._iterable=e,this.size=e.length||e.size}function B(e){this._iterator=e,this._iteratorCache=[]}function j(e){return!(!e||!e[kn])}function U(){return On||(On=new P([]))}function L(e){var t=Array.isArray(e)?new P(e).fromEntrySeq():x(e)?new B(e).fromEntrySeq():C(e)?new V(e).fromEntrySeq():"object"===(void 0===e?"undefined":i(e))?new R(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function z(e){var t=q(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function F(e){var t=q(e)||"object"===(void 0===e?"undefined":i(e))&&new R(e);if(!t)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e);return t}function q(e){return D(e)?new P(e):x(e)?new B(e):C(e)?new V(e):void 0}function W(e,t,n,o){var r=e._cache;if(r){for(var i=r.length-1,a=0;a<=i;a++){var u=r[n?i-a:a];if(t(u[1],o?u[0]:a,e)===!1)return a+1}return a}return e.__iterateUncached(t,n)}function H(e,t,n,o){var r=e._cache;if(r){var i=r.length-1,a=0;return new A(function(){var e=r[n?i-a:a];return a++>i?w():N(t,o?e[0]:a-1,e[1])})}return e.__iteratorUncached(t,n)}function Y(e,t){return t?K(t,e,"",{"":e}):G(e)}function K(e,t,n,o){return Array.isArray(t)?e.call(o,n,T(t).map(function(n,o){return K(e,n,o,t)})):$(t)?e.call(o,n,I(t).map(function(n,o){return K(e,n,o,t)})):t}function G(e){return Array.isArray(e)?T(e).map(G).toList():$(e)?I(e).map(G).toMap():e}function $(e){return e&&(e.constructor===Object||void 0===e.constructor)}function Q(e,t){if(e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if(e=e.valueOf(),t=t.valueOf(),e===t||e!==e&&t!==t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function X(e,t){if(e===t)return!0;if(!a(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||u(e)!==u(t)||s(e)!==s(t)||l(e)!==l(t))return!1;if(0===e.size&&0===t.size)return!0;var n=!c(e);if(l(e)){var o=e.entries();return t.every(function(e,t){var r=o.next().value;return r&&Q(r[1],e)&&(n||Q(r[0],t))})&&o.next().done}var r=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{r=!0;var i=e;e=t,t=i}var p=!0,f=t.__iterate(function(t,o){if(n?!e.has(t):r?!Q(t,e.get(o,gn)):!Q(e.get(o,gn),t))return p=!1,!1});return p&&e.size===f}function J(e,t){if(!(this instanceof J))return new J(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(Dn)return Dn;Dn=this}}function Z(e,t){if(!e)throw new Error(t)}function ee(e,t,n){if(!(this instanceof ee))return new ee(e,t,n);if(Z(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),t>>1&1073741824|3221225471&e}function ae(e){if(e===!1||null===e||void 0===e)return 0;if("function"==typeof e.valueOf&&((e=e.valueOf())===!1||null===e||void 0===e))return 0;if(e===!0)return 1;var t=void 0===e?"undefined":i(e);if("number"===t){if(e!==e||e===1/0)return 0;var n=0|e;for(n!==e&&(n^=4294967295*e);e>4294967295;)e/=4294967295,n^=e;return ie(n)}if("string"===t)return e.length>jn?ue(e):se(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===t)return ce(e);if("function"==typeof e.toString)return se(e.toString());throw new Error("Value type "+t+" cannot be hashed.")}function ue(e){var t=zn[e];return void 0===t&&(t=se(e),Ln===Un&&(Ln=0,zn={}),Ln++,zn[e]=t),t}function se(e){for(var t=0,n=0;n0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}function pe(e){Z(e!==1/0,"Cannot perform this action with an infinite size.")}function fe(e){return null===e||void 0===e?Ne():de(e)&&!l(e)?e:Ne().withMutations(function(t){var o=n(e);pe(o.size),o.forEach(function(e,n){return t.set(n,e)})})}function de(e){return!(!e||!e[Fn])}function he(e,t){this.ownerID=e,this.entries=t}function ve(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function me(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function ye(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function ge(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function be(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Ee(e._root)}function _e(e,t){return N(e,t[0],t[1])}function Ee(e,t){return{node:e,index:0,__prev:t}}function Ae(e,t,n,o){var r=Object.create(qn);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=o,r.__altered=!1,r}function Ne(){return Wn||(Wn=Ae(0))}function we(e,t,n){var o,r;if(e._root){var i=p(bn),a=p(_n);if(o=Ce(e._root,e.__ownerID,0,void 0,t,n,i,a),!a.value)return e;r=e.size+(i.value?n===gn?-1:1:0)}else{if(n===gn)return e;r=1,o=new he(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=o,e.__hash=void 0,e.__altered=!0,e):o?Ae(r,o):Ne()}function Ce(e,t,n,o,r,i,a,u){return e?e.update(t,n,o,r,i,a,u):i===gn?e:(f(u),f(a),new ge(t,o,[r,i]))}function xe(e){return e.constructor===ge||e.constructor===ye}function ke(e,t,n,o,r){if(e.keyHash===o)return new ye(t,o,[e.entry,r]);var i,a=(0===n?e.keyHash:e.keyHash>>>n)&yn,u=(0===n?o:o>>>n)&yn;return new ve(t,1<>>=1)a[u]=1&n?t[i++]:void 0;return a[o]=r,new me(e,i+1,a)}function Ie(e,t,o){for(var r=[],i=0;i>1&1431655765,e=(858993459&e)+(e>>2&858993459),e=e+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Be(e,t,n,o){var r=o?e:h(e);return r[t]=n,r}function je(e,t,n,o){var r=e.length+1;if(o&&t+1===r)return e[t]=n,e;for(var i=new Array(r),a=0,u=0;u0&&ri?0:i-n,c=a-n;return c>mn&&(c=mn),function(){if(r===c)return Xn;var e=t?--c:r++;return o&&o[e]}}function r(e,o,r){var u,s=e&&e.array,c=r>i?0:i-r>>o,l=1+(a-r>>o);return l>mn&&(l=mn),function(){for(;;){if(u){var e=u();if(e!==Xn)return e;u=null}if(c===l)return Xn;var i=t?--l:c++;u=n(s&&s[i],o-vn,r+(i<=e.size||t<0)return e.withMutations(function(e){t<0?Qe(e,t).set(0,n):Qe(e,0,t+1).set(t,n)});t+=e._origin;var o=e._tail,r=e._root,i=p(_n);return t>=Je(e._capacity)?o=Ke(o,e.__ownerID,0,t,n,i):r=Ke(r,e.__ownerID,e._level,t,n,i),i.value?e.__ownerID?(e._root=r,e._tail=o,e.__hash=void 0,e.__altered=!0,e):We(e._origin,e._capacity,e._level,r,o):e}function Ke(e,t,n,o,r,i){var a=o>>>n&yn,u=e&&a0){var c=e&&e.array[a],l=Ke(c,t,n-vn,o,r,i);return l===c?e:(s=Ge(e,t),s.array[a]=l,s)}return u&&e.array[a]===r?e:(f(i),s=Ge(e,t),void 0===r&&a===s.array.length-1?s.array.pop():s.array[a]=r,s)}function Ge(e,t){return t&&e&&t===e.ownerID?e:new Fe(e?e.array.slice():[],t)}function $e(e,t){if(t>=Je(e._capacity))return e._tail;if(t<1<0;)n=n.array[t>>>o&yn],o-=vn;return n}}function Qe(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var o=e.__ownerID||new d,r=e._origin,i=e._capacity,a=r+t,u=void 0===n?i:n<0?i+n:r+n;if(a===r&&u===i)return e;if(a>=u)return e.clear();for(var s=e._level,c=e._root,l=0;a+l<0;)c=new Fe(c&&c.array.length?[void 0,c]:[],o),s+=vn,l+=1<=1<p?new Fe([],o):h;if(h&&f>p&&avn;y-=vn){var g=p>>>y&yn;m=m.array[g]=Ge(m.array[g],o)}m.array[p>>>vn&yn]=h}if(u=f)a-=f,u-=f,s=vn,c=null,v=v&&v.removeBefore(o,0,a);else if(a>r||f>>s&yn;if(b!==f>>>s&yn)break;b&&(l+=(1<r&&(c=c.removeBefore(o,s,a-l)),c&&fi&&(i=c.size),a(s)||(c=c.map(function(e){return Y(e)})),r.push(c)}return i>e.size&&(e=e.setSize(i)),Pe(e,t,r)}function Je(e){return e>>vn<=mn&&a.size>=2*i.size?(r=a.filter(function(e,t){return void 0!==e&&u!==t}),o=r.toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(o.__ownerID=r.__ownerID=e.__ownerID)):(o=i.remove(t),r=u===a.size-1?a.pop():a.set(u,void 0))}else if(s){if(n===a.get(u)[1])return e;o=i,r=a.set(u,[t,n])}else o=i.set(t,a.size),r=a.set(a.size,[t,n]);return e.__ownerID?(e.size=o.size,e._map=o,e._list=r,e.__hash=void 0,e):tt(o,r)}function rt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function it(e){this._iter=e,this.size=e.size}function at(e){this._iter=e,this.size=e.size}function ut(e){this._iter=e,this.size=e.size}function st(e){var t=Dt(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=St,t.__iterateUncached=function(t,n){var o=this;return e.__iterate(function(e,n){return t(n,e,o)!==!1},n)},t.__iteratorUncached=function(t,n){if(t===Nn){var o=e.__iterator(t,n);return new A(function(){var e=o.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(t===An?En:An,n)},t}function ct(e,t,n){var o=Dt(e);return o.size=e.size,o.has=function(t){return e.has(t)},o.get=function(o,r){var i=e.get(o,gn);return i===gn?r:t.call(n,i,o,e)},o.__iterateUncached=function(o,r){var i=this;return e.__iterate(function(e,r,a){return o(t.call(n,e,r,a),r,i)!==!1},r)},o.__iteratorUncached=function(o,r){var i=e.__iterator(Nn,r);return new A(function(){var r=i.next();if(r.done)return r;var a=r.value,u=a[0];return N(o,u,t.call(n,a[1],u,e),r)})},o}function lt(e,t){var n=Dt(e);return n._iter=e,n.size=e.size,n.reverse=function(){return e},e.flip&&(n.flip=function(){var t=st(e);return t.reverse=function(){return e.flip()},t}),n.get=function(n,o){return e.get(t?n:-1-n,o)},n.has=function(n){return e.has(t?n:-1-n)},n.includes=function(t){return e.includes(t)},n.cacheResult=St,n.__iterate=function(t,n){var o=this;return e.__iterate(function(e,n){return t(e,n,o)},!n)},n.__iterator=function(t,n){return e.__iterator(t,!n)},n}function pt(e,t,n,o){var r=Dt(e);return o&&(r.has=function(o){var r=e.get(o,gn);return r!==gn&&!!t.call(n,r,o,e)},r.get=function(o,r){var i=e.get(o,gn);return i!==gn&&t.call(n,i,o,e)?i:r}),r.__iterateUncached=function(r,i){var a=this,u=0;return e.__iterate(function(e,i,s){if(t.call(n,e,i,s))return u++,r(e,o?i:u-1,a)},i),u},r.__iteratorUncached=function(r,i){var a=e.__iterator(Nn,i),u=0;return new A(function(){for(;;){var i=a.next();if(i.done)return i;var s=i.value,c=s[0],l=s[1];if(t.call(n,l,c,e))return N(r,o?c:u++,l,i)}})},r}function ft(e,t,n){var o=fe().asMutable();return e.__iterate(function(r,i){o.update(t.call(n,r,i,e),0,function(e){return e+1})}),o.asImmutable()}function dt(e,t,n){var o=u(e),r=(l(e)?Ze():fe()).asMutable();e.__iterate(function(i,a){r.update(t.call(n,i,a,e),function(e){return e=e||[],e.push(o?[a,i]:i),e})});var i=Ot(e);return r.map(function(t){return Ct(e,i(t))})}function ht(e,t,n,o){var r=e.size;if(void 0!==t&&(t|=0),void 0!==n&&(n===1/0?n=r:n|=0),g(t,n,r))return e;var i=b(t,r),a=_(n,r);if(i!==i||a!==a)return ht(e.toSeq().cacheResult(),t,n,o);var u,s=a-i;s===s&&(u=s<0?0:s);var c=Dt(e);return c.size=0===u?u:e.size&&u||void 0,!o&&j(e)&&u>=0&&(c.get=function(t,n){return t=m(this,t),t>=0&&tu)return w();var e=r.next();return o||t===An?e:t===En?N(t,s-1,void 0,e):N(t,s-1,e.value[1],e)})},c}function vt(e,t,n){var o=Dt(e);return o.__iterateUncached=function(o,r){var i=this;if(r)return this.cacheResult().__iterate(o,r);var a=0;return e.__iterate(function(e,r,u){return t.call(n,e,r,u)&&++a&&o(e,r,i)}),a},o.__iteratorUncached=function(o,r){var i=this;if(r)return this.cacheResult().__iterator(o,r);var a=e.__iterator(Nn,r),u=!0;return new A(function(){if(!u)return w();var e=a.next();if(e.done)return e;var r=e.value,s=r[0],c=r[1];return t.call(n,c,s,i)?o===Nn?e:N(o,s,c,e):(u=!1,w())})},o}function mt(e,t,n,o){var r=Dt(e);return r.__iterateUncached=function(r,i){var a=this;if(i)return this.cacheResult().__iterate(r,i);var u=!0,s=0;return e.__iterate(function(e,i,c){if(!u||!(u=t.call(n,e,i,c)))return s++,r(e,o?i:s-1,a)}),s},r.__iteratorUncached=function(r,i){var a=this;if(i)return this.cacheResult().__iterator(r,i);var u=e.__iterator(Nn,i),s=!0,c=0;return new A(function(){var e,i,l;do{if(e=u.next(),e.done)return o||r===An?e:r===En?N(r,c++,void 0,e):N(r,c++,e.value[1],e);var p=e.value;i=p[0],l=p[1],s&&(s=t.call(n,l,i,a))}while(s);return r===Nn?e:N(r,i,l,e)})},r}function yt(e,t){var o=u(e),r=[e].concat(t).map(function(e){return a(e)?o&&(e=n(e)):e=o?L(e):z(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===r.length)return e;if(1===r.length){var i=r[0];if(i===e||o&&u(i)||s(e)&&s(i))return i}var c=new P(r);return o?c=c.toKeyedSeq():s(e)||(c=c.toSetSeq()),c=c.flatten(!0),c.size=r.reduce(function(e,t){if(void 0!==e){var n=t.size;if(void 0!==n)return e+n}},0),c}function gt(e,t,n){var o=Dt(e);return o.__iterateUncached=function(o,r){function i(e,c){var l=this;e.__iterate(function(e,r){return(!t||c0}function wt(e,n,o){var r=Dt(e);return r.size=new P(o).map(function(e){return e.size}).min(),r.__iterate=function(e,t){for(var n,o=this.__iterator(An,t),r=0;!(n=o.next()).done&&e(n.value,r++,this)!==!1;);return r},r.__iteratorUncached=function(e,r){var i=o.map(function(e){return e=t(e),k(r?e.reverse():e)}),a=0,u=!1;return new A(function(){var t;return u||(t=i.map(function(e){return e.next()}),u=t.some(function(e){return e.done})),u?w():N(e,a++,n.apply(null,t.map(function(e){return e.value})))})},r}function Ct(e,t){return j(e)?t:e.constructor(t)}function xt(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function kt(e){return pe(e.size),v(e)}function Ot(e){return u(e)?n:s(e)?o:r}function Dt(e){return Object.create((u(e)?I:s(e)?T:M).prototype)}function St(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):S.prototype.cacheResult.call(this)}function It(e,t){return e>t?1:et?-1:0}function an(e){if(e.size===1/0)return 0;var t=l(e),n=u(e),o=t?1:0;return un(e.__iterate(n?t?function(e,t){o=31*o+sn(ae(e),ae(t))|0}:function(e,t){o=o+sn(ae(e),ae(t))|0}:t?function(e){o=31*o+ae(e)|0}:function(e){o=o+ae(e)|0}),o)}function un(e,t){return t=Tn(t,3432918353),t=Tn(t<<15|t>>>-15,461845907),t=Tn(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=Tn(t^t>>>16,2246822507),t=Tn(t^t>>>13,3266489909),t=ie(t^t>>>16)}function sn(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}var cn=Array.prototype.slice;e(n,t),e(o,t),e(r,t),t.isIterable=a,t.isKeyed=u,t.isIndexed=s,t.isAssociative=c,t.isOrdered=l,t.Keyed=n,t.Indexed=o,t.Set=r;var ln="@@__IMMUTABLE_ITERABLE__@@",pn="@@__IMMUTABLE_KEYED__@@",fn="@@__IMMUTABLE_INDEXED__@@",dn="@@__IMMUTABLE_ORDERED__@@",hn="delete",vn=5,mn=1<o?w():N(e,r,n[t?o-r++:r++])})},e(R,I),R.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},R.prototype.has=function(e){return this._object.hasOwnProperty(e)},R.prototype.__iterate=function(e,t){for(var n=this._object,o=this._keys,r=o.length-1,i=0;i<=r;i++){var a=o[t?r-i:i];if(e(n[a],a,this)===!1)return i+1}return i},R.prototype.__iterator=function(e,t){var n=this._object,o=this._keys,r=o.length-1,i=0;return new A(function(){var a=o[t?r-i:i];return i++>r?w():N(e,a,n[a])})},R.prototype[dn]=!0,e(V,T),V.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=this._iterable,o=k(n),r=0;if(x(o))for(var i;!(i=o.next()).done&&e(i.value,r++,this)!==!1;);return r},V.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var n=this._iterable,o=k(n);if(!x(o))return new A(w);var r=0;return new A(function(){var t=o.next();return t.done?t:N(e,r++,t.value)})},e(B,T),B.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n=this._iterator,o=this._iteratorCache,r=0;r=o.length){var t=n.next();if(t.done)return t;o[r]=t.value}return N(e,r,o[r++])})};var On;e(J,T),J.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},J.prototype.get=function(e,t){return this.has(e)?this._value:t},J.prototype.includes=function(e){return Q(this._value,e)},J.prototype.slice=function(e,t){var n=this.size;return g(e,t,n)?this:new J(this._value,_(t,n)-b(e,n))},J.prototype.reverse=function(){return this},J.prototype.indexOf=function(e){return Q(this._value,e)?0:-1},J.prototype.lastIndexOf=function(e){return Q(this._value,e)?this.size:-1},J.prototype.__iterate=function(e,t){for(var n=0;n=0&&t=0&&nn?w():N(e,i++,a)})},ee.prototype.equals=function(e){return e instanceof ee?this._start===e._start&&this._end===e._end&&this._step===e._step:X(this,e)};var Sn;e(te,t),e(ne,te),e(oe,te),e(re,te),te.Keyed=ne,te.Indexed=oe,te.Set=re;var In,Tn="function"==typeof Math.imul&&Math.imul(4294967295,2)===-2?Math.imul:function(e,t){e|=0,t|=0;var n=65535&e,o=65535&t;return n*o+((e>>>16)*o+n*(t>>>16)<<16>>>0)|0},Mn=Object.isExtensible,Pn=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}(),Rn="function"==typeof WeakMap;Rn&&(In=new WeakMap);var Vn=0,Bn="__immutablehash__";"function"==typeof Symbol&&(Bn=Symbol(Bn));var jn=16,Un=255,Ln=0,zn={};e(fe,ne),fe.of=function(){var e=cn.call(arguments,0);return Ne().withMutations(function(t){for(var n=0;n=e.length)throw new Error("Missing value for key: "+e[n]);t.set(e[n],e[n+1])}})},fe.prototype.toString=function(){return this.__toString("Map {","}")},fe.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},fe.prototype.set=function(e,t){return we(this,e,t)},fe.prototype.setIn=function(e,t){return this.updateIn(e,gn,function(){return t})},fe.prototype.remove=function(e){return we(this,e,gn)},fe.prototype.deleteIn=function(e){return this.updateIn(e,function(){return gn})},fe.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},fe.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var o=Re(this,Tt(e),t,n);return o===gn?void 0:o},fe.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ne()},fe.prototype.merge=function(){return Ie(this,void 0,arguments)},fe.prototype.mergeWith=function(e){return Ie(this,e,cn.call(arguments,1))},fe.prototype.mergeIn=function(e){var t=cn.call(arguments,1);return this.updateIn(e,Ne(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},fe.prototype.mergeDeep=function(){return Ie(this,Te,arguments)},fe.prototype.mergeDeepWith=function(e){var t=cn.call(arguments,1);return Ie(this,Me(e),t)},fe.prototype.mergeDeepIn=function(e){var t=cn.call(arguments,1);return this.updateIn(e,Ne(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},fe.prototype.sort=function(e){return Ze(Et(this,e))},fe.prototype.sortBy=function(e,t){return Ze(Et(this,t,e))},fe.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},fe.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new d)},fe.prototype.asImmutable=function(){return this.__ensureOwner()},fe.prototype.wasAltered=function(){return this.__altered},fe.prototype.__iterator=function(e,t){return new be(this,e,t)},fe.prototype.__iterate=function(e,t){var n=this,o=0;return this._root&&this._root.iterate(function(t){return o++,e(t[1],t[0],n)},t),o},fe.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Ae(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},fe.isMap=de;var Fn="@@__IMMUTABLE_MAP__@@",qn=fe.prototype;qn[Fn]=!0,qn[hn]=qn.remove,qn.removeIn=qn.deleteIn,he.prototype.get=function(e,t,n,o){for(var r=this.entries,i=0,a=r.length;i=Hn)return Oe(e,s,o,r);var d=e&&e===this.ownerID,v=d?s:h(s);return p?u?c===l-1?v.pop():v[c]=v.pop():v[c]=[o,r]:v.push([o,r]),d?(this.entries=v,this):new he(e,v)}},ve.prototype.get=function(e,t,n,o){void 0===t&&(t=ae(n));var r=1<<((0===e?t:t>>>e)&yn),i=this.bitmap;return 0==(i&r)?o:this.nodes[Ve(i&r-1)].get(e+vn,t,n,o)},ve.prototype.update=function(e,t,n,o,r,i,a){void 0===n&&(n=ae(o));var u=(0===t?n:n>>>t)&yn,s=1<=Yn)return Se(e,f,c,u,h);if(l&&!h&&2===f.length&&xe(f[1^p]))return f[1^p];if(l&&h&&1===f.length&&xe(h))return h;var v=e&&e===this.ownerID,m=l?h?c:c^s:c|s,y=l?h?Be(f,p,h,v):Ue(f,p,v):je(f,p,h,v);return v?(this.bitmap=m,this.nodes=y,this):new ve(e,m,y)},me.prototype.get=function(e,t,n,o){void 0===t&&(t=ae(n));var r=(0===e?t:t>>>e)&yn,i=this.nodes[r];return i?i.get(e+vn,t,n,o):o},me.prototype.update=function(e,t,n,o,r,i,a){void 0===n&&(n=ae(o));var u=(0===t?n:n>>>t)&yn,s=r===gn,c=this.nodes,l=c[u];if(s&&!l)return this;var p=Ce(l,e,t+vn,n,o,r,i,a);if(p===l)return this;var f=this.count;if(l){if(!p&&--f=0&&e>>t&yn;if(o>=this.array.length)return new Fe([],e);var r,i=0===o;if(t>0){var a=this.array[o];if((r=a&&a.removeBefore(e,t-vn,n))===a&&i)return this}if(i&&!r)return this;var u=Ge(this,e);if(!i)for(var s=0;s>>t&yn;if(o>=this.array.length)return this;var r;if(t>0){var i=this.array[o];if((r=i&&i.removeAfter(e,t-vn,n))===i&&o===this.array.length-1)return this}var a=Ge(this,e);return a.array.splice(o+1),r&&(a.array[o]=r),a};var Qn,Xn={};e(Ze,fe),Ze.of=function(){return this(arguments)},Ze.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Ze.prototype.get=function(e,t){var n=this._map.get(e);return void 0!==n?this._list.get(n)[1]:t},Ze.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):nt()},Ze.prototype.set=function(e,t){return ot(this,e,t)},Ze.prototype.remove=function(e){return ot(this,e,gn)},Ze.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Ze.prototype.__iterate=function(e,t){var n=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],n)},t)},Ze.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},Ze.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),n=this._list.__ensureOwner(e);return e?tt(t,n,e,this.__hash):(this.__ownerID=e,this._map=t,this._list=n,this)},Ze.isOrderedMap=et,Ze.prototype[dn]=!0,Ze.prototype[hn]=Ze.prototype.remove;var Jn;e(rt,I),rt.prototype.get=function(e,t){return this._iter.get(e,t)},rt.prototype.has=function(e){return this._iter.has(e)},rt.prototype.valueSeq=function(){return this._iter.valueSeq()},rt.prototype.reverse=function(){var e=this,t=lt(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},rt.prototype.map=function(e,t){var n=this,o=ct(this,e,t);return this._useKeys||(o.valueSeq=function(){return n._iter.toSeq().map(e,t)}),o},rt.prototype.__iterate=function(e,t){var n,o=this;return this._iter.__iterate(this._useKeys?function(t,n){return e(t,n,o)}:(n=t?kt(this):0,function(r){return e(r,t?--n:n++,o)}),t)},rt.prototype.__iterator=function(e,t){if(this._useKeys)return this._iter.__iterator(e,t);var n=this._iter.__iterator(An,t),o=t?kt(this):0;return new A(function(){var r=n.next();return r.done?r:N(e,t?--o:o++,r.value,r)})},rt.prototype[dn]=!0,e(it,T),it.prototype.includes=function(e){return this._iter.includes(e)},it.prototype.__iterate=function(e,t){var n=this,o=0;return this._iter.__iterate(function(t){return e(t,o++,n)},t)},it.prototype.__iterator=function(e,t){var n=this._iter.__iterator(An,t),o=0;return new A(function(){var t=n.next();return t.done?t:N(e,o++,t.value,t)})},e(at,M),at.prototype.has=function(e){return this._iter.includes(e)},at.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){return e(t,t,n)},t)},at.prototype.__iterator=function(e,t){var n=this._iter.__iterator(An,t);return new A(function(){var t=n.next();return t.done?t:N(e,t.value,t.value,t)})},e(ut,I),ut.prototype.entrySeq=function(){return this._iter.toSeq()},ut.prototype.__iterate=function(e,t){var n=this;return this._iter.__iterate(function(t){if(t){xt(t);var o=a(t);return e(o?t.get(1):t[1],o?t.get(0):t[0],n)}},t)},ut.prototype.__iterator=function(e,t){var n=this._iter.__iterator(An,t);return new A(function(){for(;;){var t=n.next();if(t.done)return t;var o=t.value;if(o){xt(o);var r=a(o);return N(e,r?o.get(0):o[0],r?o.get(1):o[1],t)}}})},it.prototype.cacheResult=rt.prototype.cacheResult=at.prototype.cacheResult=ut.prototype.cacheResult=St,e(Mt,ne),Mt.prototype.toString=function(){return this.__toString(Rt(this)+" {","}")},Mt.prototype.has=function(e){return this._defaultValues.hasOwnProperty(e)},Mt.prototype.get=function(e,t){if(!this.has(e))return t;var n=this._defaultValues[e];return this._map?this._map.get(e,n):n},Mt.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var e=this.constructor;return e._empty||(e._empty=Pt(this,Ne()))},Mt.prototype.set=function(e,t){if(!this.has(e))throw new Error('Cannot set unknown key "'+e+'" on '+Rt(this));if(this._map&&!this._map.has(e)){if(t===this._defaultValues[e])return this}var n=this._map&&this._map.set(e,t);return this.__ownerID||n===this._map?this:Pt(this,n)},Mt.prototype.remove=function(e){if(!this.has(e))return this;var t=this._map&&this._map.remove(e);return this.__ownerID||t===this._map?this:Pt(this,t)},Mt.prototype.wasAltered=function(){return this._map.wasAltered()},Mt.prototype.__iterator=function(e,t){var o=this;return n(this._defaultValues).map(function(e,t){return o.get(t)}).__iterator(e,t)},Mt.prototype.__iterate=function(e,t){var o=this;return n(this._defaultValues).map(function(e,t){return o.get(t)}).__iterate(e,t)},Mt.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map&&this._map.__ensureOwner(e);return e?Pt(this,t,e):(this.__ownerID=e,this._map=t,this)};var Zn=Mt.prototype;Zn[hn]=Zn.remove,Zn.deleteIn=Zn.removeIn=qn.removeIn,Zn.merge=qn.merge,Zn.mergeWith=qn.mergeWith,Zn.mergeIn=qn.mergeIn,Zn.mergeDeep=qn.mergeDeep,Zn.mergeDeepWith=qn.mergeDeepWith,Zn.mergeDeepIn=qn.mergeDeepIn,Zn.setIn=qn.setIn,Zn.update=qn.update,Zn.updateIn=qn.updateIn,Zn.withMutations=qn.withMutations,Zn.asMutable=qn.asMutable,Zn.asImmutable=qn.asImmutable,e(jt,re),jt.of=function(){return this(arguments)},jt.fromKeys=function(e){return this(n(e).keySeq())},jt.prototype.toString=function(){return this.__toString("Set {","}")},jt.prototype.has=function(e){return this._map.has(e)},jt.prototype.add=function(e){return Lt(this,this._map.set(e,!0))},jt.prototype.remove=function(e){return Lt(this,this._map.remove(e))},jt.prototype.clear=function(){return Lt(this,this._map.clear())},jt.prototype.union=function(){var e=cn.call(arguments,0);return e=e.filter(function(e){return 0!==e.size}),0===e.length?this:0!==this.size||this.__ownerID||1!==e.length?this.withMutations(function(t){for(var n=0;n=0;n--)t={value:arguments[n],next:t};return this.__ownerID?(this.size=e,this._head=t,this.__hash=void 0,this.__altered=!0,this):$t(e,t)},Kt.prototype.pushAll=function(e){if(e=o(e),0===e.size)return this;pe(e.size);var t=this.size,n=this._head;return e.reverse().forEach(function(e){t++,n={value:e,next:n}}),this.__ownerID?(this.size=t,this._head=n,this.__hash=void 0,this.__altered=!0,this):$t(t,n)},Kt.prototype.pop=function(){return this.slice(1)},Kt.prototype.unshift=function(){return this.push.apply(this,arguments)},Kt.prototype.unshiftAll=function(e){return this.pushAll(e)},Kt.prototype.shift=function(){return this.pop.apply(this,arguments)},Kt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):Qt()},Kt.prototype.slice=function(e,t){if(g(e,t,this.size))return this;var n=b(e,this.size);if(_(t,this.size)!==this.size)return oe.prototype.slice.call(this,e,t);for(var o=this.size-n,r=this._head;n--;)r=r.next;return this.__ownerID?(this.size=o,this._head=r,this.__hash=void 0,this.__altered=!0,this):$t(o,r)},Kt.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?$t(this.size,this._head,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Kt.prototype.__iterate=function(e,t){if(t)return this.reverse().__iterate(e);for(var n=0,o=this._head;o&&e(o.value,n++,this)!==!1;)o=o.next;return n},Kt.prototype.__iterator=function(e,t){if(t)return this.reverse().__iterator(e);var n=0,o=this._head;return new A(function(){if(o){var t=o.value;return o=o.next,N(e,n++,t)}return w()})},Kt.isStack=Gt;var io="@@__IMMUTABLE_STACK__@@",ao=Kt.prototype;ao[io]=!0,ao.withMutations=qn.withMutations,ao.asMutable=qn.asMutable,ao.asImmutable=qn.asImmutable,ao.wasAltered=qn.wasAltered;var uo;t.Iterator=A,Xt(t,{toArray:function(){pe(this.size);var e=new Array(this.size||0);return this.valueSeq().__iterate(function(t,n){e[n]=t}),e},toIndexedSeq:function(){return new it(this)},toJS:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJS?e.toJS():e}).__toJS()},toJSON:function(){return this.toSeq().map(function(e){return e&&"function"==typeof e.toJSON?e.toJSON():e}).__toJS()},toKeyedSeq:function(){return new rt(this,!0)},toMap:function(){return fe(this.toKeyedSeq())},toObject:function(){pe(this.size);var e={};return this.__iterate(function(t,n){e[n]=t}),e},toOrderedMap:function(){return Ze(this.toKeyedSeq())},toOrderedSet:function(){return qt(u(this)?this.valueSeq():this)},toSet:function(){return jt(u(this)?this.valueSeq():this)},toSetSeq:function(){return new at(this)},toSeq:function(){return s(this)?this.toIndexedSeq():u(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Kt(u(this)?this.valueSeq():this)},toList:function(){return Le(u(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){return Ct(this,yt(this,cn.call(arguments,0)))},includes:function(e){return this.some(function(t){return Q(t,e)})},entries:function(){return this.__iterator(Nn)},every:function(e,t){pe(this.size);var n=!0;return this.__iterate(function(o,r,i){if(!e.call(t,o,r,i))return n=!1,!1}),n},filter:function(e,t){return Ct(this,pt(this,e,t,!0))},find:function(e,t,n){var o=this.findEntry(e,t);return o?o[1]:n},forEach:function(e,t){return pe(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){pe(this.size),e=void 0!==e?""+e:",";var t="",n=!0;return this.__iterate(function(o){n?n=!1:t+=e,t+=null!==o&&void 0!==o?o.toString():""}),t},keys:function(){return this.__iterator(En)},map:function(e,t){return Ct(this,ct(this,e,t))},reduce:function(e,t,n){pe(this.size);var o,r;return arguments.length<2?r=!0:o=t,this.__iterate(function(t,i,a){r?(r=!1,o=t):o=e.call(n,o,t,i,a)}),o},reduceRight:function(e,t,n){var o=this.toKeyedSeq().reverse();return o.reduce.apply(o,arguments)},reverse:function(){return Ct(this,lt(this,!0))},slice:function(e,t){return Ct(this,ht(this,e,t,!0))},some:function(e,t){return!this.every(en(e),t)},sort:function(e){return Ct(this,Et(this,e))},values:function(){return this.__iterator(An)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return v(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return ft(this,e,t)},equals:function(e){return X(this,e)},entrySeq:function(){var e=this;if(e._cache)return new P(e._cache);var t=e.toSeq().map(Zt).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(en(e),t)},findEntry:function(e,t,n){var o=n;return this.__iterate(function(n,r,i){if(e.call(t,n,r,i))return o=[r,n],!1}),o},findKey:function(e,t){var n=this.findEntry(e,t);return n&&n[0]},findLast:function(e,t,n){return this.toKeyedSeq().reverse().find(e,t,n)},findLastEntry:function(e,t,n){return this.toKeyedSeq().reverse().findEntry(e,t,n)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(){return this.find(y)},flatMap:function(e,t){return Ct(this,bt(this,e,t))},flatten:function(e){return Ct(this,gt(this,e,!0))},fromEntrySeq:function(){return new ut(this)},get:function(e,t){return this.find(function(t,n){return Q(n,e)},void 0,t)},getIn:function(e,t){for(var n,o=this,r=Tt(e);!(n=r.next()).done;){var i=n.value;if((o=o&&o.get?o.get(i,gn):gn)===gn)return t}return o},groupBy:function(e,t){return dt(this,e,t)},has:function(e){return this.get(e,gn)!==gn},hasIn:function(e){return this.getIn(e,gn)!==gn},isSubset:function(e){return e="function"==typeof e.includes?e:t(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return e="function"==typeof e.isSubset?e:t(e),e.isSubset(this)},keyOf:function(e){return this.findKey(function(t){return Q(t,e)})},keySeq:function(){return this.toSeq().map(Jt).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return At(this,e)},maxBy:function(e,t){return At(this,t,e)},min:function(e){return At(this,e?tn(e):rn)},minBy:function(e,t){return At(this,t?tn(t):rn,e)},rest:function(){return this.slice(1)},skip:function(e){return this.slice(Math.max(0,e))},skipLast:function(e){return Ct(this,this.toSeq().reverse().skip(e).reverse())},skipWhile:function(e,t){return Ct(this,mt(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(en(e),t)},sortBy:function(e,t){return Ct(this,Et(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return Ct(this,this.toSeq().reverse().take(e).reverse())},takeWhile:function(e,t){return Ct(this,vt(this,e,t))},takeUntil:function(e,t){return this.takeWhile(en(e),t)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=an(this))}});var so=t.prototype;so[ln]=!0,so[xn]=so.values,so.__toJS=so.toArray,so.__toStringMapper=nn,so.inspect=so.toSource=function(){return this.toString()},so.chain=so.flatMap,so.contains=so.includes,Xt(n,{flip:function(){return Ct(this,st(this))},mapEntries:function(e,t){var n=this,o=0;return Ct(this,this.toSeq().map(function(r,i){return e.call(t,[i,r],o++,n)}).fromEntrySeq())},mapKeys:function(e,t){var n=this;return Ct(this,this.toSeq().flip().map(function(o,r){return e.call(t,o,r,n)}).flip())}});var co=n.prototype;return co[pn]=!0,co[xn]=so.entries,co.__toJS=so.toObject,co.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+nn(e)},Xt(o,{toKeyedSeq:function(){return new rt(this,!1)},filter:function(e,t){return Ct(this,pt(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return Ct(this,lt(this,!1))},slice:function(e,t){return Ct(this,ht(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=b(e,e<0?this.count():this.size);var o=this.slice(0,e);return Ct(this,1===n?o:o.concat(h(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return Ct(this,gt(this,e,!1))},get:function(e,t){return e=m(this,e),e<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,n){return n===e},void 0,t)},has:function(e){return(e=m(this,e))>=0&&(void 0!==this.size?this.size===1/0||e-1&&e%1==0&&e-1}var r=n(37);e.exports=o},function(e,t,n){function o(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}var r=n(37);e.exports=o},function(e,t,n){function o(){this.size=0,this.__data__={hash:new r,map:new(a||i),string:new r}}var r=n(148),i=n(36),a=n(50);e.exports=o},function(e,t,n){function o(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}var r=n(39);e.exports=o},function(e,t,n){function o(e){return r(this,e).get(e)}var r=n(39);e.exports=o},function(e,t,n){function o(e){return r(this,e).has(e)}var r=n(39);e.exports=o},function(e,t,n){function o(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}var r=n(39);e.exports=o},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e,o){n[++t]=[o,e]}),n}e.exports=n},function(e,t,n){var o=n(200),r=o(Object.keys,Object);e.exports=r},function(e,t,n){(function(e){var o="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},r=n(83),i="object"==o(t)&&t&&!t.nodeType&&t,a=i&&"object"==o(e)&&e&&!e.nodeType&&e,u=a&&a.exports===i,s=u&&r.process,c=function(){try{return s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=c}).call(t,n(74)(e))},function(e,t){function n(e){return r.call(e)}var o=Object.prototype,r=o.toString;e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t){function n(e){return this.__data__.set(e,o),this}var o="__lodash_hash_undefined__";e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t){function n(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e.exports=n},function(e,t,n){function o(){this.__data__=new r,this.size=0}var r=n(36);e.exports=o},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){function o(e,t){var n=this.__data__;if(n instanceof r){var o=n.__data__;if(!i||o.length8&&A<=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"]}},O=!1,D=null,S={eventTypes:k,extractEvents:function(e,t,n,o){return[c(e,t,n,o),f(e,t,n,o)]}};e.exports=S},function(e,t,n){"use strict";(function(t){var o=n(91),r=n(7),i=n(10),a=n(125),u=n(277),s=n(132),c=n(135),l=n(2),p=c(function(e){return s(e)}),f=!1,d="cssFloat";if(r.canUseDOM){var h=document.createElement("div").style;try{h.font=""}catch(e){f=!0}void 0===document.documentElement.style.cssFloat&&(d="styleFloat")}if("production"!==t.env.NODE_ENV)var v=/^(?:webkit|moz|o)[A-Z]/,m=/;\s*$/,y={},g={},b=!1,_=function(e,n){y.hasOwnProperty(e)&&y[e]||(y[e]=!0,"production"!==t.env.NODE_ENV&&l(!1,"Unsupported style property %s. Did you mean %s?%s",e,a(e),w(n)))},E=function(e,n){y.hasOwnProperty(e)&&y[e]||(y[e]=!0,"production"!==t.env.NODE_ENV&&l(!1,"Unsupported vendor-prefixed style property %s. Did you mean %s?%s",e,e.charAt(0).toUpperCase()+e.slice(1),w(n)))},A=function(e,n,o){g.hasOwnProperty(n)&&g[n]||(g[n]=!0,"production"!==t.env.NODE_ENV&&l(!1,'Style property values shouldn\'t contain a semicolon.%s Try "%s: %s" instead.',w(o),e,n.replace(m,"")))},N=function(e,n,o){b||(b=!0,"production"!==t.env.NODE_ENV&&l(!1,"`NaN` is an invalid value for the `%s` css style property.%s",e,w(o)))},w=function(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""},C=function(e,t,n){var o;n&&(o=n._currentElement._owner),e.indexOf("-")>-1?_(e,o):v.test(e)?E(e,o):m.test(t)&&A(e,t,o),"number"==typeof t&&isNaN(t)&&N(e,t,o)};var x={createMarkupForStyles:function(e,n){var o="";for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];"production"!==t.env.NODE_ENV&&C(r,i,n),null!=i&&(o+=p(r)+":",o+=u(r,i,n)+";")}return o||null},setValueForStyles:function(e,n,r){"production"!==t.env.NODE_ENV&&i.debugTool.onHostOperation({instanceID:r._debugID,type:"update styles",payload:n});var a=e.style;for(var s in n)if(n.hasOwnProperty(s)){"production"!==t.env.NODE_ENV&&C(s,n[s],r);var c=u(s,n[s],r);if("float"!==s&&"cssFloat"!==s||(s=d),c)a[s]=c;else{var l=f&&o.shorthandPropertyExpansions[s];if(l)for(var p in l)a[p]="";else a[s]=""}}}};e.exports=x}).call(t,n(0))},function(e,t,n){"use strict";function o(e){var t=e.nodeName&&e.nodeName.toLowerCase();return"select"===t||"input"===t&&"file"===e.type}function r(e){var t=N.getPooled(k.change,D,e,w(e));b.accumulateTwoPhaseDispatches(t),A.batchedUpdates(i,t)}function i(e){g.enqueueEvents(e),g.processEventQueue(!1)}function a(e,t){O=e,D=t,O.attachEvent("onchange",r)}function u(){O&&(O.detachEvent("onchange",r),O=null,D=null)}function s(e,t){if("topChange"===e)return t}function c(e,t,n){"topFocus"===e?(u(),a(t,n)):"topBlur"===e&&u()}function l(e,t){O=e,D=t,S=e.value,I=Object.getOwnPropertyDescriptor(e.constructor.prototype,"value"),Object.defineProperty(O,"value",P),O.attachEvent?O.attachEvent("onpropertychange",f):O.addEventListener("propertychange",f,!1)}function p(){O&&(delete O.value,O.detachEvent?O.detachEvent("onpropertychange",f):O.removeEventListener("propertychange",f,!1),O=null,D=null,S=null,I=null)}function f(e){if("value"===e.propertyName){var t=e.srcElement.value;t!==S&&(S=t,r(e))}}function d(e,t){if("topInput"===e)return t}function h(e,t,n){"topFocus"===e?(p(),l(t,n)):"topBlur"===e&&p()}function v(e,t){if(("topSelectionChange"===e||"topKeyUp"===e||"topKeyDown"===e)&&O&&O.value!==S)return S=O.value,D}function m(e){return e.nodeName&&"input"===e.nodeName.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}function y(e,t){if("topClick"===e)return t}var g=n(30),b=n(31),_=n(7),E=n(6),A=n(14),N=n(17),w=n(64),C=n(65),x=n(109),k={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}},O=null,D=null,S=null,I=null,T=!1;_.canUseDOM&&(T=C("change")&&(!document.documentMode||document.documentMode>8));var M=!1;_.canUseDOM&&(M=C("input")&&(!document.documentMode||document.documentMode>11));var P={get:function(){return I.get.call(this)},set:function(e){S=""+e,I.set.call(this,e)}},R={eventTypes:k,extractEvents:function(e,t,n,r){var i,a,u=t?E.getNodeFromInstance(t):window;if(o(u)?T?i=s:a=c:x(u)?M?i=d:(i=v,a=h):m(u)&&(i=y),i){var l=i(e,t);if(l){var p=N.getPooled(k.change,l,n,r);return p.type="change",b.accumulateTwoPhaseDispatches(p),p}}a&&a(e,u,t)}};e.exports=R},function(e,t,n){"use strict";(function(t){var o=n(3),r=n(24),i=n(7),a=n(128),u=n(13),s=n(1),c={dangerouslyReplaceNodeWithMarkup:function(e,n){if(i.canUseDOM||("production"!==t.env.NODE_ENV?s(!1,"dangerouslyReplaceNodeWithMarkup(...): Cannot render markup in a worker thread. Make sure `window` and `document` are available globally before requiring React when unit testing or use ReactDOMServer.renderToString() for server rendering."):o("56")),n||("production"!==t.env.NODE_ENV?s(!1,"dangerouslyReplaceNodeWithMarkup(...): Missing markup."):o("57")),"HTML"===e.nodeName&&("production"!==t.env.NODE_ENV?s(!1,"dangerouslyReplaceNodeWithMarkup(...): Cannot replace markup of the node. This is because browser quirks make this unreliable and/or slow. If you want to render to the root you must use server rendering. See ReactDOMServer.renderToString()."):o("58")),"string"==typeof n){var c=a(n,u)[0];e.parentNode.replaceChild(c,e)}else r.replaceChildWithTree(e,n)}};e.exports=c}).call(t,n(0))},function(e,t,n){"use strict";var o=["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"];e.exports=o},function(e,t,n){"use strict";var o=n(31),r=n(6),i=n(44),a={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},u={eventTypes:a,extractEvents:function(e,t,n,u){if("topMouseOver"===e&&(n.relatedTarget||n.fromElement))return null;if("topMouseOut"!==e&&"topMouseOver"!==e)return null;var s;if(u.window===u)s=u;else{var c=u.ownerDocument;s=c?c.defaultView||c.parentWindow:window}var l,p;if("topMouseOut"===e){l=t;var f=n.relatedTarget||n.toElement;p=f?r.getClosestInstanceFromNode(f):null}else l=null,p=t;if(l===p)return null;var d=null==l?s:r.getNodeFromInstance(l),h=null==p?s:r.getNodeFromInstance(p),v=i.getPooled(a.mouseLeave,l,n,u);v.type="mouseleave",v.target=d,v.relatedTarget=h;var m=i.getPooled(a.mouseEnter,p,n,u);return m.type="mouseenter",m.target=h,m.relatedTarget=d,o.accumulateEnterLeaveDispatches(v,m,l,p),[v,m]}};e.exports=u},function(e,t,n){"use strict";function o(e){this._root=e,this._startText=this.getText(),this._fallbackText=null}var r=n(4),i=n(19),a=n(107);r(o.prototype,{destructor:function(){this._root=null,this._startText=null,this._fallbackText=null},getText:function(){return"value"in this._root?this._root.value:this._root[a()]},getData:function(){if(this._fallbackText)return this._fallbackText;var e,t,n=this._startText,o=n.length,r=this.getText(),i=r.length;for(e=0;e1?1-t:void 0;return this._fallbackText=r.slice(e,u),this._fallbackText}}),i.addPoolingTo(o),e.exports=o},function(e,t,n){"use strict";var o=n(18),r=o.injection.MUST_USE_PROPERTY,i=o.injection.HAS_BOOLEAN_VALUE,a=o.injection.HAS_NUMERIC_VALUE,u=o.injection.HAS_POSITIVE_NUMERIC_VALUE,s=o.injection.HAS_OVERLOADED_BOOLEAN_VALUE,c={isCustomAttribute:RegExp.prototype.test.bind(new RegExp("^(data|aria)-["+o.ATTRIBUTE_NAME_CHAR+"]*$")),Properties:{accept:0,acceptCharset:0,accessKey:0,action:0,allowFullScreen:i,allowTransparency:0,alt:0,as:0,async:i,autoComplete:0,autoPlay:i,capture:i,cellPadding:0,cellSpacing:0,charSet:0,challenge:0,checked:r|i,cite:0,classID:0,className:0,cols:u,colSpan:0,content:0,contentEditable:0,contextMenu:0,controls:i,coords:0,crossOrigin:0,data:0,dateTime:0,default:i,defer:i,dir:0,disabled:i,download:s,draggable:0,encType:0,form:0,formAction:0,formEncType:0,formMethod:0,formNoValidate:i,formTarget:0,frameBorder:0,headers:0,height:0,hidden:i,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:i,low:0,manifest:0,marginHeight:0,marginWidth:0,max:0,maxLength:0,media:0,mediaGroup:0,method:0,min:0,minLength:0,multiple:r|i,muted:r|i,name:0,nonce:0,noValidate:i,open:i,optimum:0,pattern:0,placeholder:0,playsInline:i,poster:0,preload:0,profile:0,radioGroup:0,readOnly:i,referrerPolicy:0,rel:0,required:i,reversed:i,role:0,rows:u,rowSpan:a,sandbox:0,scope:0,scoped:i,scrolling:0,seamless:i,selected:r|i,shape:0,size:u,sizes:0,span:u,spellCheck:0,src:0,srcDoc:0,srcLang:0,srcSet:0,start:a,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:i,itemType:0,itemID:0,itemRef:0,results:0,security:0,unselectable:0},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMPropertyNames:{}};e.exports=c},function(e,t,n){"use strict";(function(t){function o(e,o,i,s){var c=void 0===e[i];"production"!==t.env.NODE_ENV&&(r||(r=n(9)),c||"production"!==t.env.NODE_ENV&&l(!1,"flattenChildren(...): Encountered two children with the same key, `%s`. Child keys must be unique; when two children share a key, only the first child will be used.%s",u.unescape(i),r.getStackAddendumByID(s))),null!=o&&c&&(e[i]=a(o,!0))}var r,i=n(25),a=n(108),u=n(56),s=n(66),c=n(111),l=n(2);void 0!==t&&t.env&&"test"===t.env.NODE_ENV&&(r=n(9));var p={instantiateChildren:function(e,n,r,i){if(null==e)return null;var a={};return"production"!==t.env.NODE_ENV?c(e,function(e,t,n){return o(e,t,n,i)},a):c(e,o,a),a},updateChildren:function(e,t,n,o,r,u,c,l,p){if(t||e){var f,d;for(f in t)if(t.hasOwnProperty(f)){d=e&&e[f];var h=d&&d._currentElement,v=t[f];if(null!=d&&s(h,v))i.receiveComponent(d,v,r,l),t[f]=d;else{d&&(o[f]=i.getHostNode(d),i.unmountComponent(d,!1));var m=a(v,!0);t[f]=m;var y=i.mountComponent(m,r,u,c,l,p);n.push(y)}}for(f in e)!e.hasOwnProperty(f)||t&&t.hasOwnProperty(f)||(d=e[f],o[f]=i.getHostNode(d),i.unmountComponent(d,!1))}},unmountChildren:function(e,t){for(var n in e)if(e.hasOwnProperty(n)){var o=e[n];i.unmountComponent(o,t)}}};e.exports=p}).call(t,n(0))},function(e,t,n){"use strict";var o=n(53),r=n(234),i={processChildrenUpdates:r.dangerouslyProcessChildrenUpdates,replaceNodeWithMarkup:o.dangerouslyReplaceNodeWithMarkup};e.exports=i},function(e,t,n){"use strict";(function(t){function o(e){}function r(e,n){"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV&&w(null===n||n===!1||p.isValidElement(n),"%s(...): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.",e.displayName||e.name||"Component"),"production"!==t.env.NODE_ENV&&w(!e.childContextTypes,"%s(...): childContextTypes cannot be defined on a functional component.",e.displayName||e.name||"Component"))}function i(e){return!(!e.prototype||!e.prototype.isReactComponent)}function a(e){return!(!e.prototype||!e.prototype.isPureReactComponent)}function u(e,t,n){if(0===t)return e();m.debugTool.onBeginLifeCycleTimer(t,n);try{return e()}finally{m.debugTool.onEndLifeCycleTimer(t,n)}}var 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},c=n(3),l=n(4),p=n(26),f=n(58),d=n(15),h=n(59),v=n(32),m=n(10),y=n(101),g=n(25);if("production"!==t.env.NODE_ENV)var b=n(276);var _=n(29),E=n(1),A=n(49),N=n(66),w=n(2),C={ImpureClass:0,PureClass:1,StatelessFunctional:2};o.prototype.render=function(){var e=v.get(this)._currentElement.type,t=e(this.props,this.context,this.updater);return r(e,t),t};var x=1,k={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,"production"!==t.env.NODE_ENV&&(this._warnedAboutRefsInRender=!1)},mountComponent:function(e,n,l,f){var d=this;this._context=f,this._mountOrder=x++,this._hostParent=n,this._hostContainerInfo=l;var h,m=this._currentElement.props,y=this._processContext(f),g=this._currentElement.type,b=e.getUpdateQueue(),A=i(g),N=this._constructComponent(A,m,y,b);if(A||null!=N&&null!=N.render?a(g)?this._compositeType=C.PureClass:this._compositeType=C.ImpureClass:(h=N,r(g,h),null===N||N===!1||p.isValidElement(N)||("production"!==t.env.NODE_ENV?E(!1,"%s(...): A valid React element (or null) must be returned. You may have returned undefined, an array or some other invalid object.",g.displayName||g.name||"Component"):c("105",g.displayName||g.name||"Component")),N=new o(g),this._compositeType=C.StatelessFunctional),"production"!==t.env.NODE_ENV){null==N.render&&"production"!==t.env.NODE_ENV&&w(!1,"%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",g.displayName||g.name||"Component");var k=N.props!==m,O=g.displayName||g.name||"Component";"production"!==t.env.NODE_ENV&&w(void 0===N.props||!k,"%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",O,O)}N.props=m,N.context=y,N.refs=_,N.updater=b,this._instance=N,v.set(N,this),"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV&&w(!N.getInitialState||N.getInitialState.isReactClassApproved||N.state,"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",this.getName()||"a component"),"production"!==t.env.NODE_ENV&&w(!N.getDefaultProps||N.getDefaultProps.isReactClassApproved,"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",this.getName()||"a component"),"production"!==t.env.NODE_ENV&&w(!N.propTypes,"propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",this.getName()||"a component"),"production"!==t.env.NODE_ENV&&w(!N.contextTypes,"contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",this.getName()||"a component"),"production"!==t.env.NODE_ENV&&w("function"!=typeof N.componentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",this.getName()||"A component"),"production"!==t.env.NODE_ENV&&w("function"!=typeof N.componentDidUnmount,"%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",this.getName()||"A component"),"production"!==t.env.NODE_ENV&&w("function"!=typeof N.componentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",this.getName()||"A component"));var D=N.state;void 0===D&&(N.state=D=null),("object"!==(void 0===D?"undefined":s(D))||Array.isArray(D))&&("production"!==t.env.NODE_ENV?E(!1,"%s.state: must be set to an object or null",this.getName()||"ReactCompositeComponent"):c("106",this.getName()||"ReactCompositeComponent")),this._pendingStateQueue=null,this._pendingReplaceState=!1,this._pendingForceUpdate=!1;var S;return S=N.unstable_handleError?this.performInitialMountWithErrorHandling(h,n,l,e,f):this.performInitialMount(h,n,l,e,f),N.componentDidMount&&("production"!==t.env.NODE_ENV?e.getReactMountReady().enqueue(function(){u(function(){return N.componentDidMount()},d._debugID,"componentDidMount")}):e.getReactMountReady().enqueue(N.componentDidMount,N)),S},_constructComponent:function(e,n,o,r){if("production"===t.env.NODE_ENV)return this._constructComponentWithoutOwner(e,n,o,r);d.current=this;try{return this._constructComponentWithoutOwner(e,n,o,r)}finally{d.current=null}},_constructComponentWithoutOwner:function(e,n,o,r){var i=this._currentElement.type;return e?"production"!==t.env.NODE_ENV?u(function(){return new i(n,o,r)},this._debugID,"ctor"):new i(n,o,r):"production"!==t.env.NODE_ENV?u(function(){return i(n,o,r)},this._debugID,"render"):i(n,o,r)},performInitialMountWithErrorHandling:function(e,t,n,o,r){var i,a=o.checkpoint();try{i=this.performInitialMount(e,t,n,o,r)}catch(u){o.rollback(a),this._instance.unstable_handleError(u),this._pendingStateQueue&&(this._instance.state=this._processPendingState(this._instance.props,this._instance.context)),a=o.checkpoint(),this._renderedComponent.unmountComponent(!0),o.rollback(a),i=this.performInitialMount(e,t,n,o,r)}return i},performInitialMount:function(e,n,o,r,i){var a=this._instance,s=0;"production"!==t.env.NODE_ENV&&(s=this._debugID),a.componentWillMount&&("production"!==t.env.NODE_ENV?u(function(){return a.componentWillMount()},s,"componentWillMount"):a.componentWillMount(),this._pendingStateQueue&&(a.state=this._processPendingState(a.props,a.context))),void 0===e&&(e=this._renderValidatedComponent());var c=y.getType(e);this._renderedNodeType=c;var l=this._instantiateReactComponent(e,c!==y.EMPTY);this._renderedComponent=l;var p=g.mountComponent(l,r,n,o,this._processChildContext(i),s);if("production"!==t.env.NODE_ENV&&0!==s){var f=0!==l._debugID?[l._debugID]:[];m.debugTool.onSetChildren(s,f)}return p},getHostNode:function(){return g.getHostNode(this._renderedComponent)},unmountComponent:function(e){if(this._renderedComponent){var n=this._instance;if(n.componentWillUnmount&&!n._calledComponentWillUnmount)if(n._calledComponentWillUnmount=!0,e){var o=this.getName()+".componentWillUnmount()";h.invokeGuardedCallback(o,n.componentWillUnmount.bind(n))}else"production"!==t.env.NODE_ENV?u(function(){return n.componentWillUnmount()},this._debugID,"componentWillUnmount"):n.componentWillUnmount();this._renderedComponent&&(g.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,v.remove(n)}},_maskContext:function(e){var t=this._currentElement.type,n=t.contextTypes;if(!n)return _;var o={};for(var r in n)o[r]=e[r];return o},_processContext:function(e){var n=this._maskContext(e);if("production"!==t.env.NODE_ENV){var o=this._currentElement.type;o.contextTypes&&this._checkContextTypes(o.contextTypes,n,"context")}return n},_processChildContext:function(e){var n,o=this._currentElement.type,r=this._instance;if(r.getChildContext)if("production"!==t.env.NODE_ENV){m.debugTool.onBeginProcessingChildContext();try{n=r.getChildContext()}finally{m.debugTool.onEndProcessingChildContext()}}else n=r.getChildContext();if(n){"object"!==s(o.childContextTypes)&&("production"!==t.env.NODE_ENV?E(!1,"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",this.getName()||"ReactCompositeComponent"):c("107",this.getName()||"ReactCompositeComponent")),"production"!==t.env.NODE_ENV&&this._checkContextTypes(o.childContextTypes,n,"childContext");for(var i in n)i in o.childContextTypes||("production"!==t.env.NODE_ENV?E(!1,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',this.getName()||"ReactCompositeComponent",i):c("108",this.getName()||"ReactCompositeComponent",i));return l({},e,n)}return e},_checkContextTypes:function(e,n,o){"production"!==t.env.NODE_ENV&&b(e,n,o,this.getName(),null,this._debugID)},receiveComponent:function(e,t,n){var o=this._currentElement,r=this._context;this._pendingElement=null,this.updateComponent(t,o,e,r,n)},performUpdateIfNecessary:function(e){null!=this._pendingElement?g.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,n,o,r,i){var a=this._instance;null==a&&("production"!==t.env.NODE_ENV?E(!1,"Attempted to update component `%s` that has already been unmounted (or failed to mount).",this.getName()||"ReactCompositeComponent"):c("136",this.getName()||"ReactCompositeComponent"));var s,l=!1;this._context===i?s=a.context:(s=this._processContext(i),l=!0);var p=n.props,f=o.props;n!==o&&(l=!0),l&&a.componentWillReceiveProps&&("production"!==t.env.NODE_ENV?u(function(){return a.componentWillReceiveProps(f,s)},this._debugID,"componentWillReceiveProps"):a.componentWillReceiveProps(f,s));var d=this._processPendingState(f,s),h=!0;this._pendingForceUpdate||(a.shouldComponentUpdate?h="production"!==t.env.NODE_ENV?u(function(){return a.shouldComponentUpdate(f,d,s)},this._debugID,"shouldComponentUpdate"):a.shouldComponentUpdate(f,d,s):this._compositeType===C.PureClass&&(h=!A(p,f)||!A(a.state,d))),"production"!==t.env.NODE_ENV&&"production"!==t.env.NODE_ENV&&w(void 0!==h,"%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",this.getName()||"ReactCompositeComponent"),this._updateBatchNumber=null,h?(this._pendingForceUpdate=!1,this._performComponentUpdate(o,f,d,s,e,i)):(this._currentElement=o,this._context=i,a.props=f,a.state=d,a.context=s)},_processPendingState:function(e,t){var n=this._instance,o=this._pendingStateQueue,r=this._pendingReplaceState;if(this._pendingReplaceState=!1,this._pendingStateQueue=null,!o)return n.state;if(r&&1===o.length)return o[0];for(var i=l({},r?o[0]:n.state),a=r?1:0;a-1&&navigator.userAgent.indexOf("Edge")===-1||navigator.userAgent.indexOf("Firefox")>-1)){var h=window.location.protocol.indexOf("http")===-1&&navigator.userAgent.indexOf("Firefox")===-1;console.debug("Download the React DevTools "+(h?"and use an HTTP server (instead of a file: URL) ":"")+"for a better development experience: https://fb.me/react-devtools")}var v=function(){};"production"!==t.env.NODE_ENV&&f((v.name||v.toString()).indexOf("testFn")!==-1,"It looks like you're using a minified copy of the development build of React. When deploying React apps to production, make sure to use the production build which skips development warnings and is faster. See https://fb.me/react-minification for more details.");var m=document.documentMode&&document.documentMode<8;"production"!==t.env.NODE_ENV&&f(!m,'Internet Explorer is running in compatibility mode; please add the following tag to your HTML to prevent this from happening: ');for(var y=[Array.isArray,Array.prototype.every,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.map,Date.now,Function.prototype.bind,Object.keys,String.prototype.trim],g=0;g",r(e),r(n)))}}function a(e,n){n&&(ae[e._tag]&&(null!=n.children||null!=n.dangerouslySetInnerHTML)&&("production"!==t.env.NODE_ENV?L(!1,"%s is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.%s",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":""):g("137",e._tag,e._currentElement._owner?" Check the render method of "+e._currentElement._owner.getName()+".":"")),null!=n.dangerouslySetInnerHTML&&(null!=n.children&&("production"!==t.env.NODE_ENV?L(!1,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."):g("60")),"object"===y(n.dangerouslySetInnerHTML)&&J in n.dangerouslySetInnerHTML||("production"!==t.env.NODE_ENV?L(!1,"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information."):g("61"))),"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV&&W(null==n.innerHTML,"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),"production"!==t.env.NODE_ENV&&W(n.suppressContentEditableWarning||!n.contentEditable||null==n.children,"A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),"production"!==t.env.NODE_ENV&&W(null==n.onFocusIn&&null==n.onFocusOut,"React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React.")),null!=n.style&&"object"!==y(n.style)&&("production"!==t.env.NODE_ENV?L(!1,"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.%s",o(e)):g("62",o(e))))}function u(e,n,o,r){if(!(r instanceof B)){"production"!==t.env.NODE_ENV&&"production"!==t.env.NODE_ENV&&W("onScroll"!==n||z("scroll",!0),"This browser doesn't support the `onScroll` event");var i=e._hostContainerInfo;G(n,i._node&&i._node.nodeType===ee?i._node:i._ownerDocument),r.getReactMountReady().enqueue(s,{inst:e,registrationName:n,listener:o})}}function s(){var e=this;x.putListener(e.inst,e.registrationName,e.listener)}function c(){var e=this;I.postMountWrapper(e)}function l(){var e=this;P.postMountWrapper(e)}function p(){var e=this;T.postMountWrapper(e)}function f(){var e=this;e._rootNodeID||("production"!==t.env.NODE_ENV?L(!1,"Must be mounted to trap events"):g("63"));var n=K(e);switch(n||("production"!==t.env.NODE_ENV?L(!1,"trapBubbledEvent(...): Requires node to be rendered."):g("64")),e._tag){case"iframe":case"object":e._wrapperState.listeners=[O.trapBubbledEvent("topLoad","load",n)];break;case"video":case"audio":e._wrapperState.listeners=[];for(var o in oe)oe.hasOwnProperty(o)&&e._wrapperState.listeners.push(O.trapBubbledEvent(o,oe[o],n));break;case"source":e._wrapperState.listeners=[O.trapBubbledEvent("topError","error",n)];break;case"img":e._wrapperState.listeners=[O.trapBubbledEvent("topError","error",n),O.trapBubbledEvent("topLoad","load",n)];break;case"form":e._wrapperState.listeners=[O.trapBubbledEvent("topReset","reset",n),O.trapBubbledEvent("topSubmit","submit",n)];break;case"input":case"select":case"textarea":e._wrapperState.listeners=[O.trapBubbledEvent("topInvalid","invalid",n)]}}function d(){M.postUpdateWrapper(this)}function h(e){ce.call(se,e)||(ue.test(e)||("production"!==t.env.NODE_ENV?L(!1,"Invalid tag: %s",e):g("65",e)),se[e]=!0)}function v(e,t){return e.indexOf("-")>=0||null!=t.is}function m(e){var n=e.type;h(n),this._currentElement=e,this._tag=n.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,"production"!==t.env.NODE_ENV&&(this._ancestorInfo=null,ne.call(this,null))}var y="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},g=n(3),b=n(4),_=n(217),E=n(219),A=n(24),N=n(54),w=n(18),C=n(93),x=n(30),k=n(42),O=n(43),D=n(94),S=n(6),I=n(235),T=n(238),M=n(95),P=n(241),R=n(10),V=n(254),B=n(259),j=n(13),U=n(46),L=n(1),z=n(65),F=n(49),q=n(67),W=n(2),H=D,Y=x.deleteListener,K=S.getNodeFromInstance,G=O.listenTo,$=k.registrationNameModules,Q={string:!0,number:!0},X="style",J="__html",Z={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null},ee=11,te={},ne=j;"production"!==t.env.NODE_ENV&&(ne=function(e){var t=null!=this._contentDebugID,n=this._debugID,o=-n;if(null==e)return t&&R.debugTool.onUnmountComponent(this._contentDebugID),void(this._contentDebugID=null);q(null,String(e),this,this._ancestorInfo),this._contentDebugID=o,t?(R.debugTool.onBeforeUpdateComponent(o,e),R.debugTool.onUpdateComponent(o)):(R.debugTool.onBeforeMountComponent(o,e,n),R.debugTool.onMountComponent(o),R.debugTool.onSetChildren(n,[o]))});var oe={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"},re={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},ie={listing:!0,pre:!0,textarea:!0},ae=b({menuitem:!0},re),ue=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,se={},ce={}.hasOwnProperty,le=1;m.displayName="ReactDOMComponent",m.Mixin={mountComponent:function(e,n,o,r){this._rootNodeID=le++,this._domID=o._idCounter++,this._hostParent=n,this._hostContainerInfo=o;var i=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(f,this);break;case"input":I.mountWrapper(this,i,n),i=I.getHostProps(this,i),e.getReactMountReady().enqueue(f,this);break;case"option":T.mountWrapper(this,i,n),i=T.getHostProps(this,i);break;case"select":M.mountWrapper(this,i,n),i=M.getHostProps(this,i),e.getReactMountReady().enqueue(f,this);break;case"textarea":P.mountWrapper(this,i,n),i=P.getHostProps(this,i),e.getReactMountReady().enqueue(f,this)}a(this,i);var u,s;if(null!=n?(u=n._namespaceURI,s=n._tag):o._tag&&(u=o._namespaceURI,s=o._tag),(null==u||u===N.svg&&"foreignobject"===s)&&(u=N.html),u===N.html&&("svg"===this._tag?u=N.svg:"math"===this._tag&&(u=N.mathml)),this._namespaceURI=u,"production"!==t.env.NODE_ENV){var d;null!=n?d=n._ancestorInfo:o._tag&&(d=o._ancestorInfo),d&&q(this._tag,null,this,d),this._ancestorInfo=q.updatedAncestorInfo(d,this._tag,this)}var h;if(e.useCreateElement){var v,m=o._ownerDocument;if(u===N.html)if("script"===this._tag){var y=m.createElement("div"),g=this._currentElement.type;y.innerHTML="<"+g+">",v=y.removeChild(y.firstChild)}else v=i.is?m.createElement(this._currentElement.type,i.is):m.createElement(this._currentElement.type);else v=m.createElementNS(u,this._currentElement.type);S.precacheNode(this,v),this._flags|=H.hasCachedChildNodes,this._hostParent||C.setAttributeForRoot(v),this._updateDOMProperties(null,i,e);var b=A(v);this._createInitialChildren(e,i,r,b),h=b}else{var E=this._createOpenTagMarkupAndPutListeners(e,i),w=this._createContentMarkup(e,i,r);h=!w&&re[this._tag]?E+"/>":E+">"+w+""}switch(this._tag){case"input":e.getReactMountReady().enqueue(c,this),i.autoFocus&&e.getReactMountReady().enqueue(_.focusDOMComponent,this);break;case"textarea":e.getReactMountReady().enqueue(l,this),i.autoFocus&&e.getReactMountReady().enqueue(_.focusDOMComponent,this);break;case"select":i.autoFocus&&e.getReactMountReady().enqueue(_.focusDOMComponent,this);break;case"button":i.autoFocus&&e.getReactMountReady().enqueue(_.focusDOMComponent,this);break;case"option":e.getReactMountReady().enqueue(p,this)}return h},_createOpenTagMarkupAndPutListeners:function(e,n){var o="<"+this._currentElement.type;for(var r in n)if(n.hasOwnProperty(r)){var i=n[r];if(null!=i)if($.hasOwnProperty(r))i&&u(this,r,i,e);else{r===X&&(i&&("production"!==t.env.NODE_ENV&&(this._previousStyle=i),i=this._previousStyleCopy=b({},n.style)),i=E.createMarkupForStyles(i,this));var a=null;null!=this._tag&&v(this._tag,n)?Z.hasOwnProperty(r)||(a=C.createMarkupForCustomAttribute(r,i)):a=C.createMarkupForProperty(r,i),a&&(o+=" "+a)}}return e.renderToStaticMarkup?o:(this._hostParent||(o+=" "+C.createMarkupForRoot()),o+=" "+C.createMarkupForID(this._domID))},_createContentMarkup:function(e,n,o){var r="",i=n.dangerouslySetInnerHTML;if(null!=i)null!=i.__html&&(r=i.__html);else{var a=Q[y(n.children)]?n.children:null,u=null!=a?null:n.children;if(null!=a)r=U(a),"production"!==t.env.NODE_ENV&&ne.call(this,a);else if(null!=u){var s=this.mountChildren(u,e,o);r=s.join("")}}return ie[this._tag]&&"\n"===r.charAt(0)?"\n"+r:r},_createInitialChildren:function(e,n,o,r){var i=n.dangerouslySetInnerHTML;if(null!=i)null!=i.__html&&A.queueHTML(r,i.__html);else{var a=Q[y(n.children)]?n.children:null,u=null!=a?null:n.children;if(null!=a)""!==a&&("production"!==t.env.NODE_ENV&&ne.call(this,a),A.queueText(r,a));else if(null!=u)for(var s=this.mountChildren(u,e,o),c=0;c tried to unmount. Because of cross-browser quirks it is impossible to unmount some top-level components (eg , , and ) reliably and efficiently. To fix this, have a single top-level component that never unmounts render these elements.",this._tag):g("66",this._tag)}this.unmountChildren(e),S.uncacheNode(this),x.deleteAllListeners(this),this._rootNodeID=0,this._domID=0,this._wrapperState=null,"production"!==t.env.NODE_ENV&&ne.call(this,null)},getPublicInstance:function(){return K(this)}},b(m.prototype,m.Mixin,V.Mixin),e.exports=m}).call(t,n(0))},function(e,t,n){"use strict";(function(t){function o(e,n){var o={_topLevelWrapper:e,_idCounter:1,_ownerDocument:n?n.nodeType===i?n:n.ownerDocument:null,_node:n,_tag:n?n.nodeName.toLowerCase():null,_namespaceURI:n?n.namespaceURI:null};return"production"!==t.env.NODE_ENV&&(o._ancestorInfo=n?r.updatedAncestorInfo(null,o._tag,null):null),o}var r=n(67),i=9;e.exports=o}).call(t,n(0))},function(e,t,n){"use strict";var o=n(4),r=n(24),i=n(6),a=function(e){this._currentElement=null,this._hostNode=null,this._hostParent=null,this._hostContainerInfo=null,this._domID=0};o(a.prototype,{mountComponent:function(e,t,n,o){var a=n._idCounter++;this._domID=a,this._hostParent=t,this._hostContainerInfo=n;var u=" react-empty: "+this._domID+" ";if(e.useCreateElement){var s=n._ownerDocument,c=s.createComment(u);return i.precacheNode(this,c),r(c)}return e.renderToStaticMarkup?"":""},receiveComponent:function(){},getHostNode:function(){return i.getNodeFromInstance(this)},unmountComponent:function(){i.uncacheNode(this)}}),e.exports=a},function(e,t,n){"use strict";var o={useCreateElement:!0,useFiber:!1};e.exports=o},function(e,t,n){"use strict";var o=n(53),r=n(6),i={dangerouslyProcessChildrenUpdates:function(e,t){var n=r.getNodeFromInstance(e);o.processUpdates(n,t)}};e.exports=i},function(e,t,n){"use strict";(function(t){function o(){this._rootNodeID&&_.updateWrapper(this)}function r(e){return"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}function i(e){var n=this._currentElement.props,r=c.executeOnChange(n,e);p.asap(o,this);var i=n.name;if("radio"===n.type&&null!=i){for(var u=l.getNodeFromInstance(this),s=u;s.parentNode;)s=s.parentNode;for(var d=s.querySelectorAll("input[name="+JSON.stringify(""+i)+'][type="radio"]'),h=0;h tag. For details, see https://fb.me/invalid-aria-prop%s",a,n.type,u.getStackAddendumByID(e)):r.length>1&&"production"!==t.env.NODE_ENV&&s(!1,"Invalid aria props %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop%s",a,n.type,u.getStackAddendumByID(e))}function i(e,t){null!=t&&"string"==typeof t.type&&(t.type.indexOf("-")>=0||t.props.is||r(e,t))}var a=n(18),u=n(9),s=n(2),c={},l=new RegExp("^(aria)-["+a.ATTRIBUTE_NAME_CHAR+"]*$"),p={onBeforeMountComponent:function(e,n){"production"!==t.env.NODE_ENV&&i(e,n)},onBeforeUpdateComponent:function(e,n){"production"!==t.env.NODE_ENV&&i(e,n)}};e.exports=p}).call(t,n(0))},function(e,t,n){"use strict";(function(t){function o(e,n){null!=n&&("input"!==n.type&&"textarea"!==n.type&&"select"!==n.type||null==n.props||null!==n.props.value||a||("production"!==t.env.NODE_ENV&&i(!1,"`value` prop on `%s` should not be null. Consider using the empty string to clear the component or `undefined` for uncontrolled components.%s",n.type,r.getStackAddendumByID(e)),a=!0))}var r=n(9),i=n(2),a=!1,u={onBeforeMountComponent:function(e,t){o(e,t)},onBeforeUpdateComponent:function(e,t){o(e,t)}};e.exports=u}).call(t,n(0))},function(e,t,n){"use strict";(function(t){function o(e){var n="";return i.Children.forEach(e,function(e){null!=e&&("string"==typeof e||"number"==typeof e?n+=e:c||(c=!0,"production"!==t.env.NODE_ENV&&s(!1,"Only strings and numbers are supported as