From 2aeb16924a0bc2aa41afcfd091e9dc00f87a96cb Mon Sep 17 00:00:00 2001 From: Benjamin Perez Date: Thu, 28 Oct 2021 19:13:54 -0500 Subject: [PATCH] Added support to restore versions in object details Signed-off-by: Benjamin Perez --- portal-ui/build/agpl-logo.svg | 25 +++ portal-ui/build/asset-manifest.json | 26 +-- portal-ui/build/index.html | 2 +- .../build/static/css/2.71021f35.chunk.css | 2 + .../build/static/css/2.71021f35.chunk.css.map | 1 + .../build/static/css/2.f324abd6.chunk.css | 2 - .../build/static/css/2.f324abd6.chunk.css.map | 1 - .../build/static/css/main.e33a67ba.chunk.css | 2 - .../static/css/main.e33a67ba.chunk.css.map | 1 - .../build/static/css/main.ed78990a.chunk.css | 2 + .../static/css/main.ed78990a.chunk.css.map | 1 + portal-ui/build/static/js/2.050c5ce8.chunk.js | 3 + ...SE.txt => 2.050c5ce8.chunk.js.LICENSE.txt} | 0 ...d.chunk.js.map => 2.050c5ce8.chunk.js.map} | 2 +- portal-ui/build/static/js/2.97faa37d.chunk.js | 3 - .../build/static/js/main.368c5d1e.chunk.js | 2 - .../static/js/main.368c5d1e.chunk.js.map | 1 - .../build/static/js/main.a5d7537d.chunk.js | 2 + .../static/js/main.a5d7537d.chunk.js.map | 1 + portal-ui/build/verified.svg | 59 ++++++- portal-ui/src/icons/RefreshIcon.tsx | 2 +- .../Console/Buckets/ListBuckets/AddBucket.tsx | 1 + .../Objects/ObjectDetails/ObjectDetails.tsx | 55 +++++-- .../ObjectDetails/RestoreFileVersion.tsx | 135 +++++++++++++++ .../Common/TableWrapper/TableActionButton.tsx | 9 +- .../Common/TableWrapper/TableWrapper.tsx | 2 +- portal-ui/src/screens/Console/types.ts | 2 +- restapi/client.go | 5 + restapi/embedded_spec.go | 80 +++++++++ restapi/operations/console_api.go | 12 ++ .../operations/user_api/put_object_restore.go | 88 ++++++++++ .../user_api/put_object_restore_parameters.go | 154 ++++++++++++++++++ .../user_api/put_object_restore_responses.go | 113 +++++++++++++ .../user_api/put_object_restore_urlbuilder.go | 133 +++++++++++++++ restapi/user_buckets_test.go | 5 + restapi/user_objects.go | 64 ++++++++ swagger-console.yml | 27 +++ 37 files changed, 981 insertions(+), 44 deletions(-) create mode 100644 portal-ui/build/agpl-logo.svg create mode 100644 portal-ui/build/static/css/2.71021f35.chunk.css create mode 100644 portal-ui/build/static/css/2.71021f35.chunk.css.map delete mode 100644 portal-ui/build/static/css/2.f324abd6.chunk.css delete mode 100644 portal-ui/build/static/css/2.f324abd6.chunk.css.map delete mode 100644 portal-ui/build/static/css/main.e33a67ba.chunk.css delete mode 100644 portal-ui/build/static/css/main.e33a67ba.chunk.css.map create mode 100644 portal-ui/build/static/css/main.ed78990a.chunk.css create mode 100644 portal-ui/build/static/css/main.ed78990a.chunk.css.map create mode 100644 portal-ui/build/static/js/2.050c5ce8.chunk.js rename portal-ui/build/static/js/{2.97faa37d.chunk.js.LICENSE.txt => 2.050c5ce8.chunk.js.LICENSE.txt} (100%) rename portal-ui/build/static/js/{2.97faa37d.chunk.js.map => 2.050c5ce8.chunk.js.map} (51%) delete mode 100644 portal-ui/build/static/js/2.97faa37d.chunk.js delete mode 100644 portal-ui/build/static/js/main.368c5d1e.chunk.js delete mode 100644 portal-ui/build/static/js/main.368c5d1e.chunk.js.map create mode 100644 portal-ui/build/static/js/main.a5d7537d.chunk.js create mode 100644 portal-ui/build/static/js/main.a5d7537d.chunk.js.map create mode 100644 portal-ui/src/screens/Console/Buckets/ListBuckets/Objects/ObjectDetails/RestoreFileVersion.tsx create mode 100644 restapi/operations/user_api/put_object_restore.go create mode 100644 restapi/operations/user_api/put_object_restore_parameters.go create mode 100644 restapi/operations/user_api/put_object_restore_responses.go create mode 100644 restapi/operations/user_api/put_object_restore_urlbuilder.go diff --git a/portal-ui/build/agpl-logo.svg b/portal-ui/build/agpl-logo.svg new file mode 100644 index 0000000000..64d745ce28 --- /dev/null +++ b/portal-ui/build/agpl-logo.svg @@ -0,0 +1,25 @@ + + + diff --git a/portal-ui/build/asset-manifest.json b/portal-ui/build/asset-manifest.json index a3829c151d..1c2cfd9dfa 100644 --- a/portal-ui/build/asset-manifest.json +++ b/portal-ui/build/asset-manifest.json @@ -1,23 +1,23 @@ { "files": { - "main.css": "./static/css/main.e33a67ba.chunk.css", - "main.js": "./static/js/main.368c5d1e.chunk.js", - "main.js.map": "./static/js/main.368c5d1e.chunk.js.map", + "main.css": "./static/css/main.ed78990a.chunk.css", + "main.js": "./static/js/main.a5d7537d.chunk.js", + "main.js.map": "./static/js/main.a5d7537d.chunk.js.map", "runtime-main.js": "./static/js/runtime-main.30f8243a.js", "runtime-main.js.map": "./static/js/runtime-main.30f8243a.js.map", - "static/css/2.f324abd6.chunk.css": "./static/css/2.f324abd6.chunk.css", - "static/js/2.97faa37d.chunk.js": "./static/js/2.97faa37d.chunk.js", - "static/js/2.97faa37d.chunk.js.map": "./static/js/2.97faa37d.chunk.js.map", + "static/css/2.71021f35.chunk.css": "./static/css/2.71021f35.chunk.css", + "static/js/2.050c5ce8.chunk.js": "./static/js/2.050c5ce8.chunk.js", + "static/js/2.050c5ce8.chunk.js.map": "./static/js/2.050c5ce8.chunk.js.map", "index.html": "./index.html", - "static/css/2.f324abd6.chunk.css.map": "./static/css/2.f324abd6.chunk.css.map", - "static/css/main.e33a67ba.chunk.css.map": "./static/css/main.e33a67ba.chunk.css.map", - "static/js/2.97faa37d.chunk.js.LICENSE.txt": "./static/js/2.97faa37d.chunk.js.LICENSE.txt" + "static/css/2.71021f35.chunk.css.map": "./static/css/2.71021f35.chunk.css.map", + "static/css/main.ed78990a.chunk.css.map": "./static/css/main.ed78990a.chunk.css.map", + "static/js/2.050c5ce8.chunk.js.LICENSE.txt": "./static/js/2.050c5ce8.chunk.js.LICENSE.txt" }, "entrypoints": [ "static/js/runtime-main.30f8243a.js", - "static/css/2.f324abd6.chunk.css", - "static/js/2.97faa37d.chunk.js", - "static/css/main.e33a67ba.chunk.css", - "static/js/main.368c5d1e.chunk.js" + "static/css/2.71021f35.chunk.css", + "static/js/2.050c5ce8.chunk.js", + "static/css/main.ed78990a.chunk.css", + "static/js/main.a5d7537d.chunk.js" ] } \ No newline at end of file diff --git a/portal-ui/build/index.html b/portal-ui/build/index.html index 90146c7fef..df1c0acff1 100644 --- a/portal-ui/build/index.html +++ b/portal-ui/build/index.html @@ -1 +1 @@ -MinIO Console
\ No newline at end of file +MinIO Console
\ No newline at end of file diff --git a/portal-ui/build/static/css/2.71021f35.chunk.css b/portal-ui/build/static/css/2.71021f35.chunk.css new file mode 100644 index 0000000000..17a042393d --- /dev/null +++ b/portal-ui/build/static/css/2.71021f35.chunk.css @@ -0,0 +1,2 @@ +.CodeMirror{font-family:monospace;height:300px;color:#000;direction:ltr}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:#fff}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #000;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5)}.cm-animate-fat-cursor,.cm-fat-cursor-mark{-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;background-color:#7e7}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-s-default .cm-header{color:#00f}.cm-s-default .cm-quote{color:#090}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-keyword{color:#708}.cm-s-default .cm-atom{color:#219}.cm-s-default .cm-number{color:#164}.cm-s-default .cm-def{color:#00f}.cm-s-default .cm-variable-2{color:#05a}.cm-s-default .cm-type,.cm-s-default .cm-variable-3{color:#085}.cm-s-default .cm-comment{color:#a50}.cm-s-default .cm-string{color:#a11}.cm-s-default .cm-string-2{color:#f50}.cm-s-default .cm-meta,.cm-s-default .cm-qualifier{color:#555}.cm-s-default .cm-builtin{color:#30a}.cm-s-default .cm-bracket{color:#997}.cm-s-default .cm-tag{color:#170}.cm-s-default .cm-attribute{color:#00c}.cm-s-default .cm-hr{color:#999}.cm-s-default .cm-link{color:#00c}.cm-invalidchar,.cm-s-default .cm-error{color:red}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0b0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#a22}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden;background:#fff}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none;outline:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;-webkit-font-feature-settings:"calt";font-feature-settings:"calt";font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.cm-s-material.CodeMirror{background-color:#263238;color:#eff}.cm-s-material .CodeMirror-gutters{background:#263238;color:#546e7a;border:none}.cm-s-material .CodeMirror-guttermarker,.cm-s-material .CodeMirror-guttermarker-subtle,.cm-s-material .CodeMirror-linenumber{color:#546e7a}.cm-s-material .CodeMirror-cursor{border-left:1px solid #fc0}.cm-s-material .cm-animate-fat-cursor,.cm-s-material.cm-fat-cursor .CodeMirror-cursor{background-color:rgba(93,109,92,.5019607843137255)!important}.cm-s-material.CodeMirror-focused div.CodeMirror-selected,.cm-s-material div.CodeMirror-selected{background:rgba(128,203,196,.2)}.cm-s-material .CodeMirror-line::selection,.cm-s-material .CodeMirror-line>span::selection,.cm-s-material .CodeMirror-line>span>span::selection{background:rgba(128,203,196,.2)}.cm-s-material .CodeMirror-line::-moz-selection,.cm-s-material .CodeMirror-line>span::-moz-selection,.cm-s-material .CodeMirror-line>span>span::-moz-selection{background:rgba(128,203,196,.2)}.cm-s-material .CodeMirror-activeline-background{background:rgba(0,0,0,.5)}.cm-s-material .cm-keyword{color:#c792ea}.cm-s-material .cm-operator{color:#89ddff}.cm-s-material .cm-variable-2{color:#eff}.cm-s-material .cm-type,.cm-s-material .cm-variable-3{color:#f07178}.cm-s-material .cm-builtin{color:#ffcb6b}.cm-s-material .cm-atom{color:#f78c6c}.cm-s-material .cm-number{color:#ff5370}.cm-s-material .cm-def{color:#82aaff}.cm-s-material .cm-string{color:#c3e88d}.cm-s-material .cm-string-2{color:#f07178}.cm-s-material .cm-comment{color:#546e7a}.cm-s-material .cm-variable{color:#f07178}.cm-s-material .cm-tag{color:#ff5370}.cm-s-material .cm-meta{color:#ffcb6b}.cm-s-material .cm-attribute,.cm-s-material .cm-property{color:#c792ea}.cm-s-material .cm-qualifier,.cm-s-material .cm-type,.cm-s-material .cm-variable-3{color:#decb6b}.cm-s-material .cm-error{color:#fff;background-color:#ff5370}.cm-s-material .CodeMirror-matchingbracket{text-decoration:underline;color:#fff!important}.ReactVirtualized__Table__headerRow{font-weight:700;text-transform:uppercase}.ReactVirtualized__Table__headerRow,.ReactVirtualized__Table__row{display:flex;flex-direction:row;align-items:center}.ReactVirtualized__Table__headerTruncatedText{display:inline-block;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ReactVirtualized__Table__headerColumn,.ReactVirtualized__Table__rowColumn{margin-right:10px;min-width:0}.ReactVirtualized__Table__rowColumn{text-overflow:ellipsis;white-space:nowrap}.ReactVirtualized__Table__headerColumn:first-of-type,.ReactVirtualized__Table__rowColumn:first-of-type{margin-left:10px}.ReactVirtualized__Table__sortableHeaderColumn{cursor:pointer}.ReactVirtualized__Table__sortableHeaderIconContainer{display:flex;align-items:center}.ReactVirtualized__Table__sortableHeaderIcon{flex:0 0 24px;height:1em;width:1em;fill:currentColor}.react-grid-layout{position:relative;transition:height .2s ease}.react-grid-item{transition:all .2s ease;transition-property:left,top}.react-grid-item img{pointer-events:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.react-grid-item.cssTransforms{transition-property:transform}.react-grid-item.resizing{z-index:1;will-change:width,height}.react-grid-item.react-draggable-dragging{transition:none;z-index:3;will-change:transform}.react-grid-item.dropping{visibility:hidden}.react-grid-item.react-grid-placeholder{background:red;opacity:.2;transition-duration:.1s;z-index:2;-webkit-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.react-grid-item>.react-resizable-handle{position:absolute;width:20px;height:20px}.react-grid-item>.react-resizable-handle:after{content:"";position:absolute;right:3px;bottom:3px;width:5px;height:5px;border-right:2px solid rgba(0,0,0,.4);border-bottom:2px solid rgba(0,0,0,.4)}.react-resizable-hide>.react-resizable-handle{display:none}.react-grid-item>.react-resizable-handle.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-e,.react-grid-item>.react-resizable-handle.react-resizable-handle-w{top:50%;margin-top:-10px;cursor:ew-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-n,.react-grid-item>.react-resizable-handle.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgd2lkdGg9IjYiIGhlaWdodD0iNiI+PHBhdGggZD0iTTYgNkgwVjQuMmg0LjJWMEg2djZ6IiBvcGFjaXR5PSIuMzAyIi8+PC9zdmc+");background-position:100% 100%;padding:0 3px 3px 0}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-resizable-handle-e,.react-resizable-handle-w{top:50%;margin-top:-10px;cursor:ew-resize}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)} +/*# sourceMappingURL=2.71021f35.chunk.css.map */ \ No newline at end of file diff --git a/portal-ui/build/static/css/2.71021f35.chunk.css.map b/portal-ui/build/static/css/2.71021f35.chunk.css.map new file mode 100644 index 0000000000..8d874161ab --- /dev/null +++ b/portal-ui/build/static/css/2.71021f35.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack://node_modules/codemirror/lib/codemirror.css","webpack://node_modules/codemirror/theme/material.css","webpack://node_modules/react-virtualized/source/styles.css","webpack://node_modules/react-grid-layout/css/styles.css","webpack://node_modules/react-resizable/css/styles.css"],"names":[],"mappings":"AAEA,YAEE,qBAAsB,CACtB,YAAa,CACb,UAAY,CACZ,aACF,CAIA,kBACE,aACF,CACA,qEAEE,aACF,CAEA,uDACE,qBACF,CAIA,oBACE,2BAA4B,CAC5B,wBAAyB,CACzB,kBACF,CAEA,uBACE,mBAAoB,CACpB,cAAe,CACf,gBAAiB,CACjB,UAAW,CACX,kBACF,CAEA,yBAA2B,UAAc,CACzC,gCAAkC,UAAa,CAI/C,mBACE,0BAA4B,CAC5B,iBAAkB,CAClB,OACF,CAEA,2CACE,4BACF,CACA,kCACE,UAAW,CACX,kBAAoB,CACpB,eACF,CACA,sCACE,SACF,CACA,oBACE,mCAIF,CACA,2CAJE,+CAAgD,CAEhD,uCAQF,CANA,uBACE,UAAW,CAIX,qBACF,CAMA,yBAEE,IAAM,4BAA+B,CAEvC,CACA,iBAEE,IAAM,4BAA+B,CAEvC,CAKA,QAAU,oBAAqB,CAAE,uBAA0B,CAE3D,mBACE,iBAAkB,CAClB,MAAO,CAAE,OAAQ,CAAE,SAAU,CAAE,QAAS,CACxC,eACF,CACA,kBACE,0BAA2B,CAC3B,KAAM,CAAE,QAAS,CACjB,iBACF,CAIA,yBAA0B,UAAY,CACtC,wBAAyB,UAAY,CACrC,aAAc,UAAY,CAC1B,aAAc,UAAY,CAC1B,sBAAwB,eAAkB,CAC1C,OAAQ,iBAAmB,CAC3B,SAAU,yBAA2B,CACrC,kBAAmB,4BAA8B,CAEjD,0BAA2B,UAAY,CACvC,uBAAwB,UAAY,CACpC,yBAA0B,UAAY,CACtC,sBAAuB,UAAY,CAKnC,6BAA8B,UAAY,CAC1C,oDAAsD,UAAY,CAClE,0BAA2B,UAAY,CACvC,yBAA0B,UAAY,CACtC,2BAA4B,UAAY,CAExC,mDAA6B,UAAY,CACzC,0BAA2B,UAAY,CACvC,0BAA2B,UAAY,CACvC,sBAAuB,UAAY,CACnC,4BAA6B,UAAY,CACzC,qBAAsB,UAAY,CAClC,uBAAwB,UAAY,CAGpC,wCAAiB,SAAY,CAE7B,sBAAwB,uBAA0B,CAIlD,+CAAgD,UAAY,CAC5D,kDAAmD,UAAY,CAC/D,wBAA0B,6BAAmC,CAC7D,kCAAmC,kBAAoB,CAOvD,YACE,iBAAkB,CAClB,eAAgB,CAChB,eACF,CAEA,mBACE,yBAA2B,CAG3B,mBAAoB,CAAE,kBAAmB,CACzC,mBAAoB,CACpB,WAAY,CACZ,YAAa,CACb,iBACF,CACA,kBACE,iBAAkB,CAClB,mCACF,CAKA,qGACE,iBAAkB,CAClB,SAAU,CACV,YAAa,CACb,YACF,CACA,uBACE,OAAQ,CAAE,KAAM,CAChB,iBAAkB,CAClB,iBACF,CACA,uBACE,QAAS,CAAE,MAAO,CAClB,iBAAkB,CAClB,iBACF,CACA,6BACE,OAAQ,CAAE,QACZ,CACA,0BACE,MAAO,CAAE,QACX,CAEA,oBACE,iBAAkB,CAAE,MAAO,CAAE,KAAM,CACnC,eAAgB,CAChB,SACF,CACA,mBACE,kBAAmB,CACnB,WAAY,CACZ,oBAAqB,CACrB,kBAAmB,CACnB,mBACF,CACA,2BACE,iBAAkB,CAClB,SAAU,CACV,yBAA2B,CAC3B,qBACF,CACA,8BACE,iBAAkB,CAClB,KAAM,CAAE,QAAS,CACjB,SACF,CACA,uBACE,iBAAkB,CAClB,cAAe,CACf,SACF,CACA,uCAAyC,4BAA8B,CACvE,4CAA8C,4BAA8B,CAE5E,kBACE,WAAY,CACZ,cACF,CACA,qEAGmD,eAAgB,CACjE,cAAe,CACf,sBAAuB,CACvB,mBAAoB,CACpB,iBAAkB,CAClB,QAAS,CACT,eAAgB,CAChB,gBAAiB,CACjB,mBAAoB,CACpB,aAAc,CACd,SAAU,CACV,iBAAkB,CAClB,gBAAiB,CACjB,uCAAwC,CACxC,yCAA0C,CAC1C,oCAAkC,CAAlC,4BAAkC,CAAlC,iCACF,CACA,+EAEE,oBAAqB,CACrB,oBAAqB,CACrB,iBACF,CAEA,2BACE,iBAAkB,CAClB,MAAO,CAAE,OAAQ,CAAE,KAAM,CAAE,QAAS,CACpC,SACF,CAEA,uBACE,iBAAkB,CAClB,SAAU,CACV,YACF,CAIA,oBAAsB,aAAgB,CAEtC,iBACE,YACF,CAGA,mGAME,sBACF,CAEA,oBACE,iBAAkB,CAClB,UAAW,CACX,QAAS,CACT,eAAgB,CAChB,iBACF,CAEA,mBACE,iBAAkB,CAClB,mBACF,CACA,wBAA0B,eAAkB,CAE5C,uBACE,iBAAkB,CAClB,iBAAkB,CAClB,SACF,CAKA,sEACE,kBACF,CAEA,qBAAuB,kBAAqB,CAC5C,yCAA2C,kBAAqB,CAChE,sBAAwB,gBAAmB,CAC3C,mGAA6G,kBAAqB,CAClI,kHAA4H,kBAAqB,CAEjJ,cACE,qBAAsB,CACtB,mCACF,CAGA,iBAAmB,kBAAqB,CAExC,aAEE,mCACE,iBACF,CACF,CAGA,wBAA0B,UAAa,CAGvC,6BAA+B,eAAkB,CCtVjD,0BACE,wBAAyB,CACzB,UACF,CAEA,mCACE,kBAAmB,CACnB,aAAc,CACd,WACF,CAEA,6HAGE,aACF,CAEA,kCACE,0BACF,CAIA,sFACE,4DACF,CAMA,iGACE,+BACF,CAEA,gJAGE,+BACF,CAEA,+JAGE,+BACF,CAEA,iDACE,yBACF,CAEA,2BACE,aACF,CAEA,4BACE,aACF,CAEA,8BACE,UACF,CAEA,sDAEE,aACF,CAEA,2BACE,aACF,CAEA,wBACE,aACF,CAEA,0BACE,aACF,CAEA,uBACE,aACF,CAEA,0BACE,aACF,CAEA,4BACE,aACF,CAEA,2BACE,aACF,CAEA,4BACE,aACF,CAEA,uBACE,aACF,CAEA,wBACE,aACF,CAMA,yDACE,aACF,CAMA,mFAEE,aACF,CAGA,yBACE,UAA+B,CAC/B,wBACF,CAEA,2CACE,yBAA0B,CAC1B,oBACF,CCpHA,oCACE,eAAgB,CAChB,wBAIF,CACA,kEAJE,YAAa,CACb,kBAAmB,CACnB,kBAMF,CAEA,8CACE,oBAAqB,CACrB,cAAe,CACf,kBAAmB,CACnB,sBAAuB,CACvB,eACF,CAEA,2EAEE,iBAAkB,CAClB,WACF,CACA,oCACE,sBAAuB,CACvB,kBACF,CAEA,uGAEE,gBACF,CACA,+CACE,cACF,CAEA,sDACE,YAAa,CACb,kBACF,CACA,6CACE,aAAc,CACd,UAAW,CACX,SAAU,CACV,iBACF,CCxEA,mBACE,iBAAkB,CAClB,0BACF,CACA,iBACE,uBAA0B,CAC1B,4BACF,CACA,qBACE,mBAAoB,CACpB,wBAAiB,CAAjB,oBAAiB,CAAjB,gBACF,CACA,+BACE,6BACF,CACA,0BACE,SAAU,CACV,wBACF,CAEA,0CACE,eAAgB,CAChB,SAAU,CACV,qBACF,CAEA,0BACE,iBACF,CAEA,wCACE,cAAe,CACf,UAAY,CACZ,uBAA0B,CAC1B,SAAU,CACV,wBAAyB,CAEzB,oBAAqB,CACrB,mBAAoB,CACpB,gBACF,CAEA,yCACE,iBAAkB,CAClB,UAAW,CACX,WACF,CAEA,+CACE,UAAW,CACX,iBAAkB,CAClB,SAAU,CACV,UAAW,CACX,SAAU,CACV,UAAW,CACX,qCAA0C,CAC1C,sCACF,CAEA,8CACE,YACF,CAEA,mEACE,QAAS,CACT,MAAO,CACP,gBAAiB,CACjB,uBACF,CACA,mEACE,QAAS,CACT,OAAQ,CACR,gBACF,CACA,mEACE,KAAM,CACN,MAAO,CACP,gBAAiB,CACjB,wBACF,CACA,mEACE,KAAM,CACN,OAAQ,CACR,gBAAiB,CACjB,wBACF,CACA,oIAEE,OAAQ,CACR,gBAAiB,CACjB,gBACF,CACA,kEACE,MAAO,CACP,wBACF,CACA,kEACE,OAAQ,CACR,wBACF,CACA,oIAEE,QAAS,CACT,iBAAkB,CAClB,gBACF,CACA,kEACE,KAAM,CACN,wBACF,CACA,kEACE,QAAS,CACT,uBACF,CCjHA,iBACE,iBACF,CACA,wBACE,iBAAkB,CAClB,UAAW,CACX,WAAY,CACZ,2BAA4B,CAC5B,6BAA8B,CAC9B,qBAAsB,CACtB,0PAAuY,CACvY,6BAAiC,CACjC,mBACF,CACA,2BACE,QAAS,CACT,MAAO,CACP,gBAAiB,CACjB,uBACF,CACA,2BACE,QAAS,CACT,OAAQ,CACR,gBACF,CACA,2BACE,KAAM,CACN,MAAO,CACP,gBAAiB,CACjB,wBACF,CACA,2BACE,KAAM,CACN,OAAQ,CACR,gBAAiB,CACjB,wBACF,CACA,oDAEE,OAAQ,CACR,gBAAiB,CACjB,gBACF,CACA,0BACE,MAAO,CACP,wBACF,CACA,0BACE,OAAQ,CACR,wBACF,CACA,oDAEE,QAAS,CACT,iBAAkB,CAClB,gBACF,CACA,0BACE,KAAM,CACN,wBACF,CACA,0BACE,QAAS,CACT,uBACF","file":"2.71021f35.chunk.css","sourcesContent":["/* BASICS */\n\n.CodeMirror {\n /* Set height, width, borders, and global font properties here */\n font-family: monospace;\n height: 300px;\n color: black;\n direction: ltr;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n padding: 4px 0; /* Vertical padding around content */\n}\n.CodeMirror pre.CodeMirror-line,\n.CodeMirror pre.CodeMirror-line-like {\n padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n background-color: white; /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n border-right: 1px solid #ddd;\n background-color: #f7f7f7;\n white-space: nowrap;\n}\n.CodeMirror-linenumbers {}\n.CodeMirror-linenumber {\n padding: 0 3px 0 5px;\n min-width: 20px;\n text-align: right;\n color: #999;\n white-space: nowrap;\n}\n\n.CodeMirror-guttermarker { color: black; }\n.CodeMirror-guttermarker-subtle { color: #999; }\n\n/* CURSOR */\n\n.CodeMirror-cursor {\n border-left: 1px solid black;\n border-right: none;\n width: 0;\n}\n/* Shown when moving in bi-directional text */\n.CodeMirror div.CodeMirror-secondarycursor {\n border-left: 1px solid silver;\n}\n.cm-fat-cursor .CodeMirror-cursor {\n width: auto;\n border: 0 !important;\n background: #7e7;\n}\n.cm-fat-cursor div.CodeMirror-cursors {\n z-index: 1;\n}\n.cm-fat-cursor-mark {\n background-color: rgba(20, 255, 20, 0.5);\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n}\n.cm-animate-fat-cursor {\n width: auto;\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n background-color: #7e7;\n}\n@-moz-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@-webkit-keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n@keyframes blink {\n 0% {}\n 50% { background-color: transparent; }\n 100% {}\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n.CodeMirror-overwrite .CodeMirror-cursor {}\n\n.cm-tab { display: inline-block; text-decoration: inherit; }\n\n.CodeMirror-rulers {\n position: absolute;\n left: 0; right: 0; top: -50px; bottom: 0;\n overflow: hidden;\n}\n.CodeMirror-ruler {\n border-left: 1px solid #ccc;\n top: 0; bottom: 0;\n position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-header {color: blue;}\n.cm-s-default .cm-quote {color: #090;}\n.cm-negative {color: #d44;}\n.cm-positive {color: #292;}\n.cm-header, .cm-strong {font-weight: bold;}\n.cm-em {font-style: italic;}\n.cm-link {text-decoration: underline;}\n.cm-strikethrough {text-decoration: line-through;}\n\n.cm-s-default .cm-keyword {color: #708;}\n.cm-s-default .cm-atom {color: #219;}\n.cm-s-default .cm-number {color: #164;}\n.cm-s-default .cm-def {color: #00f;}\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {}\n.cm-s-default .cm-variable-2 {color: #05a;}\n.cm-s-default .cm-variable-3, .cm-s-default .cm-type {color: #085;}\n.cm-s-default .cm-comment {color: #a50;}\n.cm-s-default .cm-string {color: #a11;}\n.cm-s-default .cm-string-2 {color: #f50;}\n.cm-s-default .cm-meta {color: #555;}\n.cm-s-default .cm-qualifier {color: #555;}\n.cm-s-default .cm-builtin {color: #30a;}\n.cm-s-default .cm-bracket {color: #997;}\n.cm-s-default .cm-tag {color: #170;}\n.cm-s-default .cm-attribute {color: #00c;}\n.cm-s-default .cm-hr {color: #999;}\n.cm-s-default .cm-link {color: #00c;}\n\n.cm-s-default .cm-error {color: #f00;}\n.cm-invalidchar {color: #f00;}\n\n.CodeMirror-composing { border-bottom: 2px solid; }\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {color: #0b0;}\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {color: #a22;}\n.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }\n.CodeMirror-activeline-background {background: #e8f2ff;}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n position: relative;\n overflow: hidden;\n background: white;\n}\n\n.CodeMirror-scroll {\n overflow: scroll !important; /* Things will break if this is overridden */\n /* 50px is the magic margin used to hide the element's real scrollbars */\n /* See overflow: hidden in .CodeMirror */\n margin-bottom: -50px; margin-right: -50px;\n padding-bottom: 50px;\n height: 100%;\n outline: none; /* Prevent dragging from highlighting the element */\n position: relative;\n}\n.CodeMirror-sizer {\n position: relative;\n border-right: 50px solid transparent;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n before actual scrolling happens, thus preventing shaking and\n flickering artifacts. */\n.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {\n position: absolute;\n z-index: 6;\n display: none;\n outline: none;\n}\n.CodeMirror-vscrollbar {\n right: 0; top: 0;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.CodeMirror-hscrollbar {\n bottom: 0; left: 0;\n overflow-y: hidden;\n overflow-x: scroll;\n}\n.CodeMirror-scrollbar-filler {\n right: 0; bottom: 0;\n}\n.CodeMirror-gutter-filler {\n left: 0; bottom: 0;\n}\n\n.CodeMirror-gutters {\n position: absolute; left: 0; top: 0;\n min-height: 100%;\n z-index: 3;\n}\n.CodeMirror-gutter {\n white-space: normal;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n margin-bottom: -50px;\n}\n.CodeMirror-gutter-wrapper {\n position: absolute;\n z-index: 4;\n background: none !important;\n border: none !important;\n}\n.CodeMirror-gutter-background {\n position: absolute;\n top: 0; bottom: 0;\n z-index: 4;\n}\n.CodeMirror-gutter-elt {\n position: absolute;\n cursor: default;\n z-index: 4;\n}\n.CodeMirror-gutter-wrapper ::selection { background-color: transparent }\n.CodeMirror-gutter-wrapper ::-moz-selection { background-color: transparent }\n\n.CodeMirror-lines {\n cursor: text;\n min-height: 1px; /* prevents collapsing before first draw */\n}\n.CodeMirror pre.CodeMirror-line,\n.CodeMirror pre.CodeMirror-line-like {\n /* Reset some styles that the rest of the page might have set */\n -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;\n border-width: 0;\n background: transparent;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n white-space: pre;\n word-wrap: normal;\n line-height: inherit;\n color: inherit;\n z-index: 2;\n position: relative;\n overflow: visible;\n -webkit-tap-highlight-color: transparent;\n -webkit-font-variant-ligatures: contextual;\n font-variant-ligatures: contextual;\n}\n.CodeMirror-wrap pre.CodeMirror-line,\n.CodeMirror-wrap pre.CodeMirror-line-like {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: normal;\n}\n\n.CodeMirror-linebackground {\n position: absolute;\n left: 0; right: 0; top: 0; bottom: 0;\n z-index: 0;\n}\n\n.CodeMirror-linewidget {\n position: relative;\n z-index: 2;\n padding: 0.1px; /* Force widget margins to stay inside of the container */\n}\n\n.CodeMirror-widget {}\n\n.CodeMirror-rtl pre { direction: rtl; }\n\n.CodeMirror-code {\n outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n position: absolute;\n width: 100%;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n}\n\n.CodeMirror-cursor {\n position: absolute;\n pointer-events: none;\n}\n.CodeMirror-measure pre { position: static; }\n\ndiv.CodeMirror-cursors {\n visibility: hidden;\n position: relative;\n z-index: 3;\n}\ndiv.CodeMirror-dragcursors {\n visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n visibility: visible;\n}\n\n.CodeMirror-selected { background: #d9d9d9; }\n.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }\n.CodeMirror-crosshair { cursor: crosshair; }\n.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection { background: #d7d4f0; }\n.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection { background: #d7d4f0; }\n\n.cm-searching {\n background-color: #ffa;\n background-color: rgba(255, 255, 0, .4);\n}\n\n/* Used to force a border model for a node */\n.cm-force-border { padding-right: .1px; }\n\n@media print {\n /* Hide the cursor when printing */\n .CodeMirror div.CodeMirror-cursors {\n visibility: hidden;\n }\n}\n\n/* See issue #2901 */\n.cm-tab-wrap-hack:after { content: ''; }\n\n/* Help users use markselection to safely style text background */\nspan.CodeMirror-selectedtext { background: none; }\n","/*\n Name: material\n Author: Mattia Astorino (http://github.com/equinusocio)\n Website: https://material-theme.site/\n*/\n\n.cm-s-material.CodeMirror {\n background-color: #263238;\n color: #EEFFFF;\n}\n\n.cm-s-material .CodeMirror-gutters {\n background: #263238;\n color: #546E7A;\n border: none;\n}\n\n.cm-s-material .CodeMirror-guttermarker,\n.cm-s-material .CodeMirror-guttermarker-subtle,\n.cm-s-material .CodeMirror-linenumber {\n color: #546E7A;\n}\n\n.cm-s-material .CodeMirror-cursor {\n border-left: 1px solid #FFCC00;\n}\n.cm-s-material.cm-fat-cursor .CodeMirror-cursor {\n background-color: #5d6d5c80 !important;\n}\n.cm-s-material .cm-animate-fat-cursor {\n background-color: #5d6d5c80 !important;\n}\n\n.cm-s-material div.CodeMirror-selected {\n background: rgba(128, 203, 196, 0.2);\n}\n\n.cm-s-material.CodeMirror-focused div.CodeMirror-selected {\n background: rgba(128, 203, 196, 0.2);\n}\n\n.cm-s-material .CodeMirror-line::selection,\n.cm-s-material .CodeMirror-line>span::selection,\n.cm-s-material .CodeMirror-line>span>span::selection {\n background: rgba(128, 203, 196, 0.2);\n}\n\n.cm-s-material .CodeMirror-line::-moz-selection,\n.cm-s-material .CodeMirror-line>span::-moz-selection,\n.cm-s-material .CodeMirror-line>span>span::-moz-selection {\n background: rgba(128, 203, 196, 0.2);\n}\n\n.cm-s-material .CodeMirror-activeline-background {\n background: rgba(0, 0, 0, 0.5);\n}\n\n.cm-s-material .cm-keyword {\n color: #C792EA;\n}\n\n.cm-s-material .cm-operator {\n color: #89DDFF;\n}\n\n.cm-s-material .cm-variable-2 {\n color: #EEFFFF;\n}\n\n.cm-s-material .cm-variable-3,\n.cm-s-material .cm-type {\n color: #f07178;\n}\n\n.cm-s-material .cm-builtin {\n color: #FFCB6B;\n}\n\n.cm-s-material .cm-atom {\n color: #F78C6C;\n}\n\n.cm-s-material .cm-number {\n color: #FF5370;\n}\n\n.cm-s-material .cm-def {\n color: #82AAFF;\n}\n\n.cm-s-material .cm-string {\n color: #C3E88D;\n}\n\n.cm-s-material .cm-string-2 {\n color: #f07178;\n}\n\n.cm-s-material .cm-comment {\n color: #546E7A;\n}\n\n.cm-s-material .cm-variable {\n color: #f07178;\n}\n\n.cm-s-material .cm-tag {\n color: #FF5370;\n}\n\n.cm-s-material .cm-meta {\n color: #FFCB6B;\n}\n\n.cm-s-material .cm-attribute {\n color: #C792EA;\n}\n\n.cm-s-material .cm-property {\n color: #C792EA;\n}\n\n.cm-s-material .cm-qualifier {\n color: #DECB6B;\n}\n\n.cm-s-material .cm-variable-3,\n.cm-s-material .cm-type {\n color: #DECB6B;\n}\n\n\n.cm-s-material .cm-error {\n color: rgba(255, 255, 255, 1.0);\n background-color: #FF5370;\n}\n\n.cm-s-material .CodeMirror-matchingbracket {\n text-decoration: underline;\n color: white !important;\n}\n","/* Collection default theme */\n\n.ReactVirtualized__Collection {\n}\n\n.ReactVirtualized__Collection__innerScrollContainer {\n}\n\n/* Grid default theme */\n\n.ReactVirtualized__Grid {\n}\n\n.ReactVirtualized__Grid__innerScrollContainer {\n}\n\n/* Table default theme */\n\n.ReactVirtualized__Table {\n}\n\n.ReactVirtualized__Table__Grid {\n}\n\n.ReactVirtualized__Table__headerRow {\n font-weight: 700;\n text-transform: uppercase;\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n.ReactVirtualized__Table__row {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n\n.ReactVirtualized__Table__headerTruncatedText {\n display: inline-block;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.ReactVirtualized__Table__headerColumn,\n.ReactVirtualized__Table__rowColumn {\n margin-right: 10px;\n min-width: 0px;\n}\n.ReactVirtualized__Table__rowColumn {\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ReactVirtualized__Table__headerColumn:first-of-type,\n.ReactVirtualized__Table__rowColumn:first-of-type {\n margin-left: 10px;\n}\n.ReactVirtualized__Table__sortableHeaderColumn {\n cursor: pointer;\n}\n\n.ReactVirtualized__Table__sortableHeaderIconContainer {\n display: flex;\n align-items: center;\n}\n.ReactVirtualized__Table__sortableHeaderIcon {\n flex: 0 0 24px;\n height: 1em;\n width: 1em;\n fill: currentColor;\n}\n\n/* List default theme */\n\n.ReactVirtualized__List {\n}\n",".react-grid-layout {\n position: relative;\n transition: height 200ms ease;\n}\n.react-grid-item {\n transition: all 200ms ease;\n transition-property: left, top;\n}\n.react-grid-item img {\n pointer-events: none;\n user-select: none; \n}\n.react-grid-item.cssTransforms {\n transition-property: transform;\n}\n.react-grid-item.resizing {\n z-index: 1;\n will-change: width, height;\n}\n\n.react-grid-item.react-draggable-dragging {\n transition: none;\n z-index: 3;\n will-change: transform;\n}\n\n.react-grid-item.dropping {\n visibility: hidden;\n}\n\n.react-grid-item.react-grid-placeholder {\n background: red;\n opacity: 0.2;\n transition-duration: 100ms;\n z-index: 2;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n -o-user-select: none;\n user-select: none;\n}\n\n.react-grid-item > .react-resizable-handle {\n position: absolute;\n width: 20px;\n height: 20px;\n}\n\n.react-grid-item > .react-resizable-handle::after {\n content: \"\";\n position: absolute;\n right: 3px;\n bottom: 3px;\n width: 5px;\n height: 5px;\n border-right: 2px solid rgba(0, 0, 0, 0.4);\n border-bottom: 2px solid rgba(0, 0, 0, 0.4);\n}\n\n.react-resizable-hide > .react-resizable-handle {\n display: none;\n}\n\n.react-grid-item > .react-resizable-handle.react-resizable-handle-sw {\n bottom: 0;\n left: 0;\n cursor: sw-resize;\n transform: rotate(90deg);\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-se {\n bottom: 0;\n right: 0;\n cursor: se-resize;\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-nw {\n top: 0;\n left: 0;\n cursor: nw-resize;\n transform: rotate(180deg);\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-ne {\n top: 0;\n right: 0;\n cursor: ne-resize;\n transform: rotate(270deg);\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-w,\n.react-grid-item > .react-resizable-handle.react-resizable-handle-e {\n top: 50%;\n margin-top: -10px;\n cursor: ew-resize;\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-w {\n left: 0;\n transform: rotate(135deg);\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-e {\n right: 0;\n transform: rotate(315deg);\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-n,\n.react-grid-item > .react-resizable-handle.react-resizable-handle-s {\n left: 50%;\n margin-left: -10px;\n cursor: ns-resize;\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-n {\n top: 0;\n transform: rotate(225deg);\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-s {\n bottom: 0;\n transform: rotate(45deg);\n}\n",".react-resizable {\n position: relative;\n}\n.react-resizable-handle {\n position: absolute;\n width: 20px;\n height: 20px;\n background-repeat: no-repeat;\n background-origin: content-box;\n box-sizing: border-box;\n background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+');\n background-position: bottom right;\n padding: 0 3px 3px 0;\n}\n.react-resizable-handle-sw {\n bottom: 0;\n left: 0;\n cursor: sw-resize;\n transform: rotate(90deg);\n}\n.react-resizable-handle-se {\n bottom: 0;\n right: 0;\n cursor: se-resize;\n}\n.react-resizable-handle-nw {\n top: 0;\n left: 0;\n cursor: nw-resize;\n transform: rotate(180deg);\n}\n.react-resizable-handle-ne {\n top: 0;\n right: 0;\n cursor: ne-resize;\n transform: rotate(270deg);\n}\n.react-resizable-handle-w,\n.react-resizable-handle-e {\n top: 50%;\n margin-top: -10px;\n cursor: ew-resize;\n}\n.react-resizable-handle-w {\n left: 0;\n transform: rotate(135deg);\n}\n.react-resizable-handle-e {\n right: 0;\n transform: rotate(315deg);\n}\n.react-resizable-handle-n,\n.react-resizable-handle-s {\n left: 50%;\n margin-left: -10px;\n cursor: ns-resize;\n}\n.react-resizable-handle-n {\n top: 0;\n transform: rotate(225deg);\n}\n.react-resizable-handle-s {\n bottom: 0;\n transform: rotate(45deg);\n}"]} \ No newline at end of file diff --git a/portal-ui/build/static/css/2.f324abd6.chunk.css b/portal-ui/build/static/css/2.f324abd6.chunk.css deleted file mode 100644 index 17e53f0351..0000000000 --- a/portal-ui/build/static/css/2.f324abd6.chunk.css +++ /dev/null @@ -1,2 +0,0 @@ -.ReactVirtualized__Table__headerRow{font-weight:700;text-transform:uppercase}.ReactVirtualized__Table__headerRow,.ReactVirtualized__Table__row{display:flex;flex-direction:row;align-items:center}.ReactVirtualized__Table__headerTruncatedText{display:inline-block;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ReactVirtualized__Table__headerColumn,.ReactVirtualized__Table__rowColumn{margin-right:10px;min-width:0}.ReactVirtualized__Table__rowColumn{text-overflow:ellipsis;white-space:nowrap}.ReactVirtualized__Table__headerColumn:first-of-type,.ReactVirtualized__Table__rowColumn:first-of-type{margin-left:10px}.ReactVirtualized__Table__sortableHeaderColumn{cursor:pointer}.ReactVirtualized__Table__sortableHeaderIconContainer{display:flex;align-items:center}.ReactVirtualized__Table__sortableHeaderIcon{flex:0 0 24px;height:1em;width:1em;fill:currentColor}.react-grid-layout{position:relative;transition:height .2s ease}.react-grid-item{transition:all .2s ease;transition-property:left,top}.react-grid-item img{pointer-events:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.react-grid-item.cssTransforms{transition-property:transform}.react-grid-item.resizing{z-index:1;will-change:width,height}.react-grid-item.react-draggable-dragging{transition:none;z-index:3;will-change:transform}.react-grid-item.dropping{visibility:hidden}.react-grid-item.react-grid-placeholder{background:red;opacity:.2;transition-duration:.1s;z-index:2;-webkit-user-select:none;-ms-user-select:none;-o-user-select:none;user-select:none}.react-grid-item>.react-resizable-handle{position:absolute;width:20px;height:20px}.react-grid-item>.react-resizable-handle:after{content:"";position:absolute;right:3px;bottom:3px;width:5px;height:5px;border-right:2px solid rgba(0,0,0,.4);border-bottom:2px solid rgba(0,0,0,.4)}.react-resizable-hide>.react-resizable-handle{display:none}.react-grid-item>.react-resizable-handle.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-e,.react-grid-item>.react-resizable-handle.react-resizable-handle-w{top:50%;margin-top:-10px;cursor:ew-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-n,.react-grid-item>.react-resizable-handle.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-grid-item>.react-resizable-handle.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-grid-item>.react-resizable-handle.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.react-resizable{position:relative}.react-resizable-handle{position:absolute;width:20px;height:20px;background-repeat:no-repeat;background-origin:content-box;box-sizing:border-box;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgd2lkdGg9IjYiIGhlaWdodD0iNiI+PHBhdGggZD0iTTYgNkgwVjQuMmg0LjJWMEg2djZ6IiBvcGFjaXR5PSIuMzAyIi8+PC9zdmc+");background-position:100% 100%;padding:0 3px 3px 0}.react-resizable-handle-sw{bottom:0;left:0;cursor:sw-resize;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;right:0;cursor:se-resize}.react-resizable-handle-nw{top:0;left:0;cursor:nw-resize;transform:rotate(180deg)}.react-resizable-handle-ne{top:0;right:0;cursor:ne-resize;transform:rotate(270deg)}.react-resizable-handle-e,.react-resizable-handle-w{top:50%;margin-top:-10px;cursor:ew-resize}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{left:50%;margin-left:-10px;cursor:ns-resize}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)} -/*# sourceMappingURL=2.f324abd6.chunk.css.map */ \ No newline at end of file diff --git a/portal-ui/build/static/css/2.f324abd6.chunk.css.map b/portal-ui/build/static/css/2.f324abd6.chunk.css.map deleted file mode 100644 index c1627bc8b2..0000000000 --- a/portal-ui/build/static/css/2.f324abd6.chunk.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack://node_modules/react-virtualized/source/styles.css","webpack://node_modules/react-grid-layout/css/styles.css","webpack://node_modules/react-resizable/css/styles.css"],"names":[],"mappings":"AAwBA,oCACE,eAAgB,CAChB,wBAIF,CACA,kEAJE,YAAa,CACb,kBAAmB,CACnB,kBAMF,CAEA,8CACE,oBAAqB,CACrB,cAAe,CACf,kBAAmB,CACnB,sBAAuB,CACvB,eACF,CAEA,2EAEE,iBAAkB,CAClB,WACF,CACA,oCACE,sBAAuB,CACvB,kBACF,CAEA,uGAEE,gBACF,CACA,+CACE,cACF,CAEA,sDACE,YAAa,CACb,kBACF,CACA,6CACE,aAAc,CACd,UAAW,CACX,SAAU,CACV,iBACF,CCxEA,mBACE,iBAAkB,CAClB,0BACF,CACA,iBACE,uBAA0B,CAC1B,4BACF,CACA,qBACE,mBAAoB,CACpB,wBAAiB,CAAjB,oBAAiB,CAAjB,gBACF,CACA,+BACE,6BACF,CACA,0BACE,SAAU,CACV,wBACF,CAEA,0CACE,eAAgB,CAChB,SAAU,CACV,qBACF,CAEA,0BACE,iBACF,CAEA,wCACE,cAAe,CACf,UAAY,CACZ,uBAA0B,CAC1B,SAAU,CACV,wBAAyB,CAEzB,oBAAqB,CACrB,mBAAoB,CACpB,gBACF,CAEA,yCACE,iBAAkB,CAClB,UAAW,CACX,WACF,CAEA,+CACE,UAAW,CACX,iBAAkB,CAClB,SAAU,CACV,UAAW,CACX,SAAU,CACV,UAAW,CACX,qCAA0C,CAC1C,sCACF,CAEA,8CACE,YACF,CAEA,mEACE,QAAS,CACT,MAAO,CACP,gBAAiB,CACjB,uBACF,CACA,mEACE,QAAS,CACT,OAAQ,CACR,gBACF,CACA,mEACE,KAAM,CACN,MAAO,CACP,gBAAiB,CACjB,wBACF,CACA,mEACE,KAAM,CACN,OAAQ,CACR,gBAAiB,CACjB,wBACF,CACA,oIAEE,OAAQ,CACR,gBAAiB,CACjB,gBACF,CACA,kEACE,MAAO,CACP,wBACF,CACA,kEACE,OAAQ,CACR,wBACF,CACA,oIAEE,QAAS,CACT,iBAAkB,CAClB,gBACF,CACA,kEACE,KAAM,CACN,wBACF,CACA,kEACE,QAAS,CACT,uBACF,CCjHA,iBACE,iBACF,CACA,wBACE,iBAAkB,CAClB,UAAW,CACX,WAAY,CACZ,2BAA4B,CAC5B,6BAA8B,CAC9B,qBAAsB,CACtB,0PAAuY,CACvY,6BAAiC,CACjC,mBACF,CACA,2BACE,QAAS,CACT,MAAO,CACP,gBAAiB,CACjB,uBACF,CACA,2BACE,QAAS,CACT,OAAQ,CACR,gBACF,CACA,2BACE,KAAM,CACN,MAAO,CACP,gBAAiB,CACjB,wBACF,CACA,2BACE,KAAM,CACN,OAAQ,CACR,gBAAiB,CACjB,wBACF,CACA,oDAEE,OAAQ,CACR,gBAAiB,CACjB,gBACF,CACA,0BACE,MAAO,CACP,wBACF,CACA,0BACE,OAAQ,CACR,wBACF,CACA,oDAEE,QAAS,CACT,iBAAkB,CAClB,gBACF,CACA,0BACE,KAAM,CACN,wBACF,CACA,0BACE,QAAS,CACT,uBACF","file":"2.f324abd6.chunk.css","sourcesContent":["/* Collection default theme */\n\n.ReactVirtualized__Collection {\n}\n\n.ReactVirtualized__Collection__innerScrollContainer {\n}\n\n/* Grid default theme */\n\n.ReactVirtualized__Grid {\n}\n\n.ReactVirtualized__Grid__innerScrollContainer {\n}\n\n/* Table default theme */\n\n.ReactVirtualized__Table {\n}\n\n.ReactVirtualized__Table__Grid {\n}\n\n.ReactVirtualized__Table__headerRow {\n font-weight: 700;\n text-transform: uppercase;\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n.ReactVirtualized__Table__row {\n display: flex;\n flex-direction: row;\n align-items: center;\n}\n\n.ReactVirtualized__Table__headerTruncatedText {\n display: inline-block;\n max-width: 100%;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.ReactVirtualized__Table__headerColumn,\n.ReactVirtualized__Table__rowColumn {\n margin-right: 10px;\n min-width: 0px;\n}\n.ReactVirtualized__Table__rowColumn {\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.ReactVirtualized__Table__headerColumn:first-of-type,\n.ReactVirtualized__Table__rowColumn:first-of-type {\n margin-left: 10px;\n}\n.ReactVirtualized__Table__sortableHeaderColumn {\n cursor: pointer;\n}\n\n.ReactVirtualized__Table__sortableHeaderIconContainer {\n display: flex;\n align-items: center;\n}\n.ReactVirtualized__Table__sortableHeaderIcon {\n flex: 0 0 24px;\n height: 1em;\n width: 1em;\n fill: currentColor;\n}\n\n/* List default theme */\n\n.ReactVirtualized__List {\n}\n",".react-grid-layout {\n position: relative;\n transition: height 200ms ease;\n}\n.react-grid-item {\n transition: all 200ms ease;\n transition-property: left, top;\n}\n.react-grid-item img {\n pointer-events: none;\n user-select: none; \n}\n.react-grid-item.cssTransforms {\n transition-property: transform;\n}\n.react-grid-item.resizing {\n z-index: 1;\n will-change: width, height;\n}\n\n.react-grid-item.react-draggable-dragging {\n transition: none;\n z-index: 3;\n will-change: transform;\n}\n\n.react-grid-item.dropping {\n visibility: hidden;\n}\n\n.react-grid-item.react-grid-placeholder {\n background: red;\n opacity: 0.2;\n transition-duration: 100ms;\n z-index: 2;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n -o-user-select: none;\n user-select: none;\n}\n\n.react-grid-item > .react-resizable-handle {\n position: absolute;\n width: 20px;\n height: 20px;\n}\n\n.react-grid-item > .react-resizable-handle::after {\n content: \"\";\n position: absolute;\n right: 3px;\n bottom: 3px;\n width: 5px;\n height: 5px;\n border-right: 2px solid rgba(0, 0, 0, 0.4);\n border-bottom: 2px solid rgba(0, 0, 0, 0.4);\n}\n\n.react-resizable-hide > .react-resizable-handle {\n display: none;\n}\n\n.react-grid-item > .react-resizable-handle.react-resizable-handle-sw {\n bottom: 0;\n left: 0;\n cursor: sw-resize;\n transform: rotate(90deg);\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-se {\n bottom: 0;\n right: 0;\n cursor: se-resize;\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-nw {\n top: 0;\n left: 0;\n cursor: nw-resize;\n transform: rotate(180deg);\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-ne {\n top: 0;\n right: 0;\n cursor: ne-resize;\n transform: rotate(270deg);\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-w,\n.react-grid-item > .react-resizable-handle.react-resizable-handle-e {\n top: 50%;\n margin-top: -10px;\n cursor: ew-resize;\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-w {\n left: 0;\n transform: rotate(135deg);\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-e {\n right: 0;\n transform: rotate(315deg);\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-n,\n.react-grid-item > .react-resizable-handle.react-resizable-handle-s {\n left: 50%;\n margin-left: -10px;\n cursor: ns-resize;\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-n {\n top: 0;\n transform: rotate(225deg);\n}\n.react-grid-item > .react-resizable-handle.react-resizable-handle-s {\n bottom: 0;\n transform: rotate(45deg);\n}\n",".react-resizable {\n position: relative;\n}\n.react-resizable-handle {\n position: absolute;\n width: 20px;\n height: 20px;\n background-repeat: no-repeat;\n background-origin: content-box;\n box-sizing: border-box;\n background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2IDYiIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSI2cHgiIGhlaWdodD0iNnB4Ij48ZyBvcGFjaXR5PSIwLjMwMiI+PHBhdGggZD0iTSA2IDYgTCAwIDYgTCAwIDQuMiBMIDQgNC4yIEwgNC4yIDQuMiBMIDQuMiAwIEwgNiAwIEwgNiA2IEwgNiA2IFoiIGZpbGw9IiMwMDAwMDAiLz48L2c+PC9zdmc+');\n background-position: bottom right;\n padding: 0 3px 3px 0;\n}\n.react-resizable-handle-sw {\n bottom: 0;\n left: 0;\n cursor: sw-resize;\n transform: rotate(90deg);\n}\n.react-resizable-handle-se {\n bottom: 0;\n right: 0;\n cursor: se-resize;\n}\n.react-resizable-handle-nw {\n top: 0;\n left: 0;\n cursor: nw-resize;\n transform: rotate(180deg);\n}\n.react-resizable-handle-ne {\n top: 0;\n right: 0;\n cursor: ne-resize;\n transform: rotate(270deg);\n}\n.react-resizable-handle-w,\n.react-resizable-handle-e {\n top: 50%;\n margin-top: -10px;\n cursor: ew-resize;\n}\n.react-resizable-handle-w {\n left: 0;\n transform: rotate(135deg);\n}\n.react-resizable-handle-e {\n right: 0;\n transform: rotate(315deg);\n}\n.react-resizable-handle-n,\n.react-resizable-handle-s {\n left: 50%;\n margin-left: -10px;\n cursor: ns-resize;\n}\n.react-resizable-handle-n {\n top: 0;\n transform: rotate(225deg);\n}\n.react-resizable-handle-s {\n bottom: 0;\n transform: rotate(45deg);\n}"]} \ No newline at end of file diff --git a/portal-ui/build/static/css/main.e33a67ba.chunk.css b/portal-ui/build/static/css/main.e33a67ba.chunk.css deleted file mode 100644 index 51d142fae8..0000000000 --- a/portal-ui/build/static/css/main.e33a67ba.chunk.css +++ /dev/null @@ -1,2 +0,0 @@ -.CodeMirror{font-family:monospace;height:300px;color:#fff;background:#081c42;direction:ltr;font-size:13px}.CodeMirror-lines{padding:4px 0}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{padding:0 4px}.CodeMirror-gutter-filler,.CodeMirror-scrollbar-filler{background-color:hsla(0,0%,100%,.8)}.CodeMirror-gutters{border-right:1px solid #ddd;background-color:hsla(0,0%,100%,.5019607843137255);white-space:nowrap}.CodeMirror-linenumber{padding:0 3px 0 5px;min-width:20px;white-space:nowrap;color:#000;font-size:10px;height:18px;line-height:18px;text-align:center}.CodeMirror-guttermarker{color:#000}.CodeMirror-guttermarker-subtle{color:#999}.CodeMirror-cursor{border-left:1px solid #fff;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}.cm-fat-cursor .CodeMirror-cursor{width:auto;border:0!important;background:#7e7}.cm-fat-cursor div.CodeMirror-cursors{z-index:1}.cm-fat-cursor-mark{background-color:rgba(20,255,20,.5)}.cm-animate-fat-cursor,.cm-fat-cursor-mark{-webkit-animation:blink 1.06s steps(1) infinite;animation:blink 1.06s steps(1) infinite}.cm-animate-fat-cursor{width:auto;border:0;background-color:#7e7}@-webkit-keyframes blink{50%{background-color:transparent}}@keyframes blink{50%{background-color:transparent}}.cm-tab{display:inline-block;text-decoration:inherit}.CodeMirror-rulers{position:absolute;left:0;right:0;top:-50px;bottom:0;overflow:hidden}.CodeMirror-ruler{border-left:1px solid #ccc;top:0;bottom:0;position:absolute}.cm-negative,.cm-positive,.cm-s-default .cm-header,.cm-s-default .cm-quote{color:#fff}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link{text-decoration:underline}.cm-strikethrough{text-decoration:line-through}.cm-s-default .cm-atom,.cm-s-default .cm-def,.cm-s-default .cm-keyword,.cm-s-default .cm-number{color:#fff}.cm-invalidchar,.cm-s-default .cm-attribute,.cm-s-default .cm-bracket,.cm-s-default .cm-builtin,.cm-s-default .cm-comment,.cm-s-default .cm-error,.cm-s-default .cm-hr,.cm-s-default .cm-link,.cm-s-default .cm-meta,.cm-s-default .cm-qualifier,.cm-s-default .cm-string,.cm-s-default .cm-string-2,.cm-s-default .cm-tag,.cm-s-default .cm-type,.cm-s-default .cm-variable-2,.cm-s-default .cm-variable-3{color:#fff}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket,div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#fff}.CodeMirror-matchingtag{background:rgba(255,150,0,.3)}.CodeMirror-activeline-background{background:#e8f2ff}.CodeMirror{position:relative;overflow:hidden}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-50px;margin-right:-50px;padding-bottom:50px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:50px solid transparent}.CodeMirror-gutter-filler,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-vscrollbar{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-50px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper ::selection{background-color:transparent}.CodeMirror-gutter-wrapper ::-moz-selection{background-color:transparent}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror pre.CodeMirror-line,.CodeMirror pre.CodeMirror-line-like{border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;-webkit-font-variant-ligatures:contextual;-webkit-font-feature-settings:"calt";font-feature-settings:"calt";font-variant-ligatures:contextual}.CodeMirror-wrap pre.CodeMirror-line,.CodeMirror-wrap pre.CodeMirror-line-like{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;padding:.1px}.CodeMirror-rtl pre{direction:rtl}.CodeMirror-code{outline:none}.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber,.CodeMirror-scroll,.CodeMirror-sizer{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}.CodeMirror-focused div.CodeMirror-cursors,div.CodeMirror-dragcursors{visibility:visible}.CodeMirror-selected{background:#d9d9d9}.CodeMirror-focused .CodeMirror-selected{background:#d7d4f0}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#d7d4f0}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#d7d4f0}.cm-searching{background-color:#ffa;background-color:rgba(255,255,0,.4)}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}body{margin:0;font-family:"Lato",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace}input.removeArrows::-webkit-inner-spin-button,input.removeArrows::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input.removeArrows[type=number]{-moz-appearance:textfield} -/*# sourceMappingURL=main.e33a67ba.chunk.css.map */ \ No newline at end of file diff --git a/portal-ui/build/static/css/main.e33a67ba.chunk.css.map b/portal-ui/build/static/css/main.e33a67ba.chunk.css.map deleted file mode 100644 index 3b0ad4459d..0000000000 --- a/portal-ui/build/static/css/main.e33a67ba.chunk.css.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["webpack://src/screens/Console/Common/FormComponents/CodeMirrorWrapper/ConsoleCodeMirror.css","webpack://src/index.css"],"names":[],"mappings":"AAEA,YAEE,qBAAsB,CACtB,YAAa,CACb,UAAW,CACX,kBAAmB,CACnB,aAAc,CACd,cACF,CAIA,kBACE,aACF,CACA,qEAEE,aACF,CAEA,uDAEE,mCAMF,CAIA,oBACE,2BAA4B,CAC5B,kDAA2B,CAC3B,kBACF,CAGA,uBACE,mBAAoB,CACpB,cAAe,CACf,kBAAmB,CACnB,UAAW,CACX,cAAe,CACf,WAAY,CACZ,gBAAiB,CACjB,iBACF,CAEA,yBACE,UACF,CACA,gCACE,UACF,CAIA,mBACE,0BAA4B,CAC5B,iBAAkB,CAClB,OACF,CAEA,2CACE,4BACF,CACA,kCACE,UAAW,CACX,kBAAoB,CACpB,eACF,CACA,sCACE,SACF,CACA,oBACE,mCAIF,CACA,2CAJE,+CAAgD,CAEhD,uCASF,CAPA,uBACE,UAAW,CACX,QAAS,CAIT,qBACF,CAUA,yBAGE,IACE,4BACF,CAGF,CACA,iBAGE,IACE,4BACF,CAGF,CAMA,QACE,oBAAqB,CACrB,uBACF,CAEA,mBACE,iBAAkB,CAClB,MAAO,CACP,OAAQ,CACR,SAAU,CACV,QAAS,CACT,eACF,CACA,kBACE,0BAA2B,CAC3B,KAAM,CACN,QAAS,CACT,iBACF,CAaA,2EACE,UACF,CACA,sBAEE,eACF,CACA,OACE,iBACF,CACA,SACE,yBACF,CACA,kBACE,4BACF,CAWA,gGACE,UACF,CAkDA,4YACE,UACF,CAEA,sBACE,uBACF,CAOA,iGACE,UACF,CACA,wBACE,6BACF,CACA,kCACE,kBACF,CAOA,YACE,iBAAkB,CAClB,eACF,CAEA,mBACE,yBAA2B,CAG3B,mBAAoB,CACpB,kBAAmB,CACnB,mBAAoB,CACpB,WAAY,CACZ,YAAa,CACb,iBACF,CACA,kBACE,iBAAkB,CAClB,mCACF,CAKA,qGAIE,iBAAkB,CAClB,SAAU,CACV,YACF,CACA,uBACE,OAAQ,CACR,KAAM,CACN,iBAAkB,CAClB,iBACF,CACA,uBACE,QAAS,CACT,MAAO,CACP,iBAAkB,CAClB,iBACF,CACA,6BACE,OAAQ,CACR,QACF,CACA,0BACE,MAAO,CACP,QACF,CAEA,oBACE,iBAAkB,CAClB,MAAO,CACP,KAAM,CACN,eAAgB,CAChB,SACF,CACA,mBACE,kBAAmB,CACnB,WAAY,CACZ,oBAAqB,CACrB,kBAAmB,CACnB,mBACF,CACA,2BACE,iBAAkB,CAClB,SAAU,CACV,yBAA2B,CAC3B,qBACF,CACA,8BACE,iBAAkB,CAClB,KAAM,CACN,QAAS,CACT,SACF,CACA,uBACE,iBAAkB,CAClB,cAAe,CACf,SACF,CACA,uCACE,4BACF,CACA,4CACE,4BACF,CAEA,kBACE,WAAY,CACZ,cACF,CACA,qEAKE,eAAgB,CAChB,cAAe,CACf,sBAAuB,CACvB,mBAAoB,CACpB,iBAAkB,CAClB,QAAS,CACT,eAAgB,CAChB,gBAAiB,CACjB,mBAAoB,CACpB,aAAc,CACd,SAAU,CACV,iBAAkB,CAClB,gBAAiB,CACjB,uCAAwC,CACxC,yCAA0C,CAC1C,oCAAkC,CAAlC,4BAAkC,CAAlC,iCACF,CACA,+EAEE,oBAAqB,CACrB,oBAAqB,CACrB,iBACF,CAEA,2BACE,iBAAkB,CAClB,MAAO,CACP,OAAQ,CACR,KAAM,CACN,QAAS,CACT,SACF,CAEA,uBACE,iBAAkB,CAClB,SAAU,CACV,YACF,CAKA,oBACE,aACF,CAEA,iBACE,YACF,CAGA,mGAME,sBACF,CAEA,oBACE,iBAAkB,CAClB,UAAW,CACX,QAAS,CACT,eAAgB,CAChB,iBACF,CAEA,mBACE,iBAAkB,CAClB,mBACF,CACA,wBACE,eACF,CAEA,uBACE,iBAAkB,CAClB,iBAAkB,CAClB,SACF,CAKA,sEACE,kBACF,CAEA,qBACE,kBACF,CACA,yCACE,kBACF,CACA,sBACE,gBACF,CACA,mGAGE,kBACF,CACA,kHAGE,kBACF,CAEA,cACE,qBAAsB,CACtB,mCACF,CAGA,iBACE,kBACF,CAEA,aAEE,mCACE,iBACF,CACF,CAGA,wBACE,UACF,CAGA,6BACE,eACF,CC/eA,KACE,QAAS,CACT,6BAA+B,CAC/B,kCAAmC,CACnC,iCACF,CAEA,KACE,yEAEF,CAGA,4FAEE,uBAAwB,CACxB,QACF,CAGA,gCACE,yBACF","file":"main.e33a67ba.chunk.css","sourcesContent":["/* BASICS */\n\n.CodeMirror {\n /* Set height, width, borders, and global font properties here */\n font-family: monospace;\n height: 300px;\n color: #fff;\n background: #081c42;\n direction: ltr;\n font-size: 13px;\n}\n\n/* PADDING */\n\n.CodeMirror-lines {\n padding: 4px 0; /* Vertical padding around content */\n}\n.CodeMirror pre.CodeMirror-line,\n.CodeMirror pre.CodeMirror-line-like {\n padding: 0 4px; /* Horizontal padding of content */\n}\n\n.CodeMirror-scrollbar-filler,\n.CodeMirror-gutter-filler {\n background-color: rgba(\n 255,\n 255,\n 255,\n 0.8\n ); /* The little square between H and V scrollbars */\n}\n\n/* GUTTER */\n\n.CodeMirror-gutters {\n border-right: 1px solid #ddd;\n background-color: #ffffff80;\n white-space: nowrap;\n}\n.CodeMirror-linenumbers {\n}\n.CodeMirror-linenumber {\n padding: 0 3px 0 5px;\n min-width: 20px;\n white-space: nowrap;\n color: #000;\n font-size: 10px;\n height: 18px;\n line-height: 18px;\n text-align: center;\n}\n\n.CodeMirror-guttermarker {\n color: black;\n}\n.CodeMirror-guttermarker-subtle {\n color: #999;\n}\n\n/* CURSOR */\n\n.CodeMirror-cursor {\n border-left: 1px solid white;\n border-right: none;\n width: 0;\n}\n/* Shown when moving in bi-directional text */\n.CodeMirror div.CodeMirror-secondarycursor {\n border-left: 1px solid silver;\n}\n.cm-fat-cursor .CodeMirror-cursor {\n width: auto;\n border: 0 !important;\n background: #7e7;\n}\n.cm-fat-cursor div.CodeMirror-cursors {\n z-index: 1;\n}\n.cm-fat-cursor-mark {\n background-color: rgba(20, 255, 20, 0.5);\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n}\n.cm-animate-fat-cursor {\n width: auto;\n border: 0;\n -webkit-animation: blink 1.06s steps(1) infinite;\n -moz-animation: blink 1.06s steps(1) infinite;\n animation: blink 1.06s steps(1) infinite;\n background-color: #7e7;\n}\n@-moz-keyframes blink {\n 0% {\n }\n 50% {\n background-color: transparent;\n }\n 100% {\n }\n}\n@-webkit-keyframes blink {\n 0% {\n }\n 50% {\n background-color: transparent;\n }\n 100% {\n }\n}\n@keyframes blink {\n 0% {\n }\n 50% {\n background-color: transparent;\n }\n 100% {\n }\n}\n\n/* Can style cursor different in overwrite (non-insert) mode */\n.CodeMirror-overwrite .CodeMirror-cursor {\n}\n\n.cm-tab {\n display: inline-block;\n text-decoration: inherit;\n}\n\n.CodeMirror-rulers {\n position: absolute;\n left: 0;\n right: 0;\n top: -50px;\n bottom: 0;\n overflow: hidden;\n}\n.CodeMirror-ruler {\n border-left: 1px solid #ccc;\n top: 0;\n bottom: 0;\n position: absolute;\n}\n\n/* DEFAULT THEME */\n\n.cm-s-default .cm-header {\n color: #fff;\n}\n.cm-s-default .cm-quote {\n color: #fff;\n}\n.cm-negative {\n color: #fff;\n}\n.cm-positive {\n color: #fff;\n}\n.cm-header,\n.cm-strong {\n font-weight: bold;\n}\n.cm-em {\n font-style: italic;\n}\n.cm-link {\n text-decoration: underline;\n}\n.cm-strikethrough {\n text-decoration: line-through;\n}\n\n.cm-s-default .cm-keyword {\n color: #fff;\n}\n.cm-s-default .cm-atom {\n color: #fff;\n}\n.cm-s-default .cm-number {\n color: #fff;\n}\n.cm-s-default .cm-def {\n color: #fff;\n}\n.cm-s-default .cm-variable,\n.cm-s-default .cm-punctuation,\n.cm-s-default .cm-property,\n.cm-s-default .cm-operator {\n}\n.cm-s-default .cm-variable-2 {\n color: #fff;\n}\n.cm-s-default .cm-variable-3,\n.cm-s-default .cm-type {\n color: #fff;\n}\n.cm-s-default .cm-comment {\n color: #fff;\n}\n.cm-s-default .cm-string {\n color: #fff;\n}\n.cm-s-default .cm-string-2 {\n color: #fff;\n}\n.cm-s-default .cm-meta {\n color: #fff;\n}\n.cm-s-default .cm-qualifier {\n color: #fff;\n}\n.cm-s-default .cm-builtin {\n color: #fff;\n}\n.cm-s-default .cm-bracket {\n color: #fff;\n}\n.cm-s-default .cm-tag {\n color: #fff;\n}\n.cm-s-default .cm-attribute {\n color: #fff;\n}\n.cm-s-default .cm-hr {\n color: #fff;\n}\n.cm-s-default .cm-link {\n color: #fff;\n}\n\n.cm-s-default .cm-error {\n color: #fff;\n}\n.cm-invalidchar {\n color: #fff;\n}\n\n.CodeMirror-composing {\n border-bottom: 2px solid;\n}\n\n/* Default styles for common addons */\n\ndiv.CodeMirror span.CodeMirror-matchingbracket {\n color: #fff;\n}\ndiv.CodeMirror span.CodeMirror-nonmatchingbracket {\n color: #fff;\n}\n.CodeMirror-matchingtag {\n background: rgba(255, 150, 0, 0.3);\n}\n.CodeMirror-activeline-background {\n background: #e8f2ff;\n}\n\n/* STOP */\n\n/* The rest of this file contains styles related to the mechanics of\n the editor. You probably shouldn't touch them. */\n\n.CodeMirror {\n position: relative;\n overflow: hidden;\n}\n\n.CodeMirror-scroll {\n overflow: scroll !important; /* Things will break if this is overridden */\n /* 50px is the magic margin used to hide the element's real scrollbars */\n /* See overflow: hidden in .CodeMirror */\n margin-bottom: -50px;\n margin-right: -50px;\n padding-bottom: 50px;\n height: 100%;\n outline: none; /* Prevent dragging from highlighting the element */\n position: relative;\n}\n.CodeMirror-sizer {\n position: relative;\n border-right: 50px solid transparent;\n}\n\n/* The fake, visible scrollbars. Used to force redraw during scrolling\n before actual scrolling happens, thus preventing shaking and\n flickering artifacts. */\n.CodeMirror-vscrollbar,\n.CodeMirror-hscrollbar,\n.CodeMirror-scrollbar-filler,\n.CodeMirror-gutter-filler {\n position: absolute;\n z-index: 6;\n display: none;\n}\n.CodeMirror-vscrollbar {\n right: 0;\n top: 0;\n overflow-x: hidden;\n overflow-y: scroll;\n}\n.CodeMirror-hscrollbar {\n bottom: 0;\n left: 0;\n overflow-y: hidden;\n overflow-x: scroll;\n}\n.CodeMirror-scrollbar-filler {\n right: 0;\n bottom: 0;\n}\n.CodeMirror-gutter-filler {\n left: 0;\n bottom: 0;\n}\n\n.CodeMirror-gutters {\n position: absolute;\n left: 0;\n top: 0;\n min-height: 100%;\n z-index: 3;\n}\n.CodeMirror-gutter {\n white-space: normal;\n height: 100%;\n display: inline-block;\n vertical-align: top;\n margin-bottom: -50px;\n}\n.CodeMirror-gutter-wrapper {\n position: absolute;\n z-index: 4;\n background: none !important;\n border: none !important;\n}\n.CodeMirror-gutter-background {\n position: absolute;\n top: 0;\n bottom: 0;\n z-index: 4;\n}\n.CodeMirror-gutter-elt {\n position: absolute;\n cursor: default;\n z-index: 4;\n}\n.CodeMirror-gutter-wrapper ::selection {\n background-color: transparent;\n}\n.CodeMirror-gutter-wrapper ::-moz-selection {\n background-color: transparent;\n}\n\n.CodeMirror-lines {\n cursor: text;\n min-height: 1px; /* prevents collapsing before first draw */\n}\n.CodeMirror pre.CodeMirror-line,\n.CodeMirror pre.CodeMirror-line-like {\n /* Reset some styles that the rest of the page might have set */\n -moz-border-radius: 0;\n -webkit-border-radius: 0;\n border-radius: 0;\n border-width: 0;\n background: transparent;\n font-family: inherit;\n font-size: inherit;\n margin: 0;\n white-space: pre;\n word-wrap: normal;\n line-height: inherit;\n color: inherit;\n z-index: 2;\n position: relative;\n overflow: visible;\n -webkit-tap-highlight-color: transparent;\n -webkit-font-variant-ligatures: contextual;\n font-variant-ligatures: contextual;\n}\n.CodeMirror-wrap pre.CodeMirror-line,\n.CodeMirror-wrap pre.CodeMirror-line-like {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: normal;\n}\n\n.CodeMirror-linebackground {\n position: absolute;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n z-index: 0;\n}\n\n.CodeMirror-linewidget {\n position: relative;\n z-index: 2;\n padding: 0.1px; /* Force widget margins to stay inside of the container */\n}\n\n.CodeMirror-widget {\n}\n\n.CodeMirror-rtl pre {\n direction: rtl;\n}\n\n.CodeMirror-code {\n outline: none;\n}\n\n/* Force content-box sizing for the elements where we expect it */\n.CodeMirror-scroll,\n.CodeMirror-sizer,\n.CodeMirror-gutter,\n.CodeMirror-gutters,\n.CodeMirror-linenumber {\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n}\n\n.CodeMirror-measure {\n position: absolute;\n width: 100%;\n height: 0;\n overflow: hidden;\n visibility: hidden;\n}\n\n.CodeMirror-cursor {\n position: absolute;\n pointer-events: none;\n}\n.CodeMirror-measure pre {\n position: static;\n}\n\ndiv.CodeMirror-cursors {\n visibility: hidden;\n position: relative;\n z-index: 3;\n}\ndiv.CodeMirror-dragcursors {\n visibility: visible;\n}\n\n.CodeMirror-focused div.CodeMirror-cursors {\n visibility: visible;\n}\n\n.CodeMirror-selected {\n background: #d9d9d9;\n}\n.CodeMirror-focused .CodeMirror-selected {\n background: #d7d4f0;\n}\n.CodeMirror-crosshair {\n cursor: crosshair;\n}\n.CodeMirror-line::selection,\n.CodeMirror-line > span::selection,\n.CodeMirror-line > span > span::selection {\n background: #d7d4f0;\n}\n.CodeMirror-line::-moz-selection,\n.CodeMirror-line > span::-moz-selection,\n.CodeMirror-line > span > span::-moz-selection {\n background: #d7d4f0;\n}\n\n.cm-searching {\n background-color: #ffa;\n background-color: rgba(255, 255, 0, 0.4);\n}\n\n/* Used to force a border model for a node */\n.cm-force-border {\n padding-right: 0.1px;\n}\n\n@media print {\n /* Hide the cursor when printing */\n .CodeMirror div.CodeMirror-cursors {\n visibility: hidden;\n }\n}\n\n/* See issue #2901 */\n.cm-tab-wrap-hack:after {\n content: \"\";\n}\n\n/* Help users use markselection to safely style text background */\nspan.CodeMirror-selectedtext {\n background: none;\n}\n","body {\n margin: 0;\n font-family: \"Lato\", sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, \"Courier New\",\n monospace;\n}\n\n/* Chrome, Safari, Edge, Opera */\ninput.removeArrows::-webkit-outer-spin-button,\ninput.removeArrows::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n/* Firefox */\ninput.removeArrows[type=\"number\"] {\n -moz-appearance: textfield;\n}\n"]} \ No newline at end of file diff --git a/portal-ui/build/static/css/main.ed78990a.chunk.css b/portal-ui/build/static/css/main.ed78990a.chunk.css new file mode 100644 index 0000000000..fb8c41887e --- /dev/null +++ b/portal-ui/build/static/css/main.ed78990a.chunk.css @@ -0,0 +1,2 @@ +body{margin:0;font-family:"Lato",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace}input.removeArrows::-webkit-inner-spin-button,input.removeArrows::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input.removeArrows[type=number]{-moz-appearance:textfield} +/*# sourceMappingURL=main.ed78990a.chunk.css.map */ \ No newline at end of file diff --git a/portal-ui/build/static/css/main.ed78990a.chunk.css.map b/portal-ui/build/static/css/main.ed78990a.chunk.css.map new file mode 100644 index 0000000000..f176b832eb --- /dev/null +++ b/portal-ui/build/static/css/main.ed78990a.chunk.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack://src/index.css"],"names":[],"mappings":"AAAA,KACE,QAAS,CACT,6BAA+B,CAC/B,kCAAmC,CACnC,iCACF,CAEA,KACE,yEAEF,CAGA,4FAEE,uBAAwB,CACxB,QACF,CAGA,gCACE,yBACF","file":"main.ed78990a.chunk.css","sourcesContent":["body {\n margin: 0;\n font-family: \"Lato\", sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, \"Courier New\",\n monospace;\n}\n\n/* Chrome, Safari, Edge, Opera */\ninput.removeArrows::-webkit-outer-spin-button,\ninput.removeArrows::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n}\n\n/* Firefox */\ninput.removeArrows[type=\"number\"] {\n -moz-appearance: textfield;\n}\n"]} \ No newline at end of file diff --git a/portal-ui/build/static/js/2.050c5ce8.chunk.js b/portal-ui/build/static/js/2.050c5ce8.chunk.js new file mode 100644 index 0000000000..c311299912 --- /dev/null +++ b/portal-ui/build/static/js/2.050c5ce8.chunk.js @@ -0,0 +1,3 @@ +/*! For license information please see 2.050c5ce8.chunk.js.LICENSE.txt */ +(this["webpackJsonpportal-ui"]=this["webpackJsonpportal-ui"]||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(467)},function(e,t,n){"use strict";e.exports=n(412)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function H(e,t){return e===t}function V(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?_:n,o=t.mapStateToPropsFactories,i=void 0===o?R:o,a=t.mapDispatchToPropsFactories,l=void 0===a?A:a,s=t.mergePropsFactories,c=void 0===s?D:s,u=t.selectorFactory,d=void 0===u?F:u;return function(e,t,n,o){void 0===o&&(o={});var a=o,s=a.pure,u=void 0===s||s,h=a.areStatesEqual,v=void 0===h?H:h,m=a.areOwnPropsEqual,g=void 0===m?M:m,b=a.areStatePropsEqual,y=void 0===b?M:b,x=a.areMergedPropsEqual,O=void 0===x?M:x,w=Object(p.a)(a,W),j=B(e,i,"mapStateToProps"),S=B(t,l,"mapDispatchToProps"),k=B(n,c,"mergeProps");return r(d,Object(f.a)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:j,initMapDispatchToProps:S,initMergeProps:k,pure:u,areStatesEqual:v,areOwnPropsEqual:g,areStatePropsEqual:y,areMergedPropsEqual:O},w))}}var U=V();var G,Y=n(55);G=Y.unstable_batchedUpdates,a=G},function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){var t,n,o="";if("string"===typeof e||"number"===typeof e)o+=e;else if("object"===typeof e)if(Array.isArray(e))for(t=0;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=void 0===t?O:t,l=e.rootShouldForwardProp,c=void 0===l?x:l,u=e.slotShouldForwardProp,d=void 0===u?x:u;return function(e){var t,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=l.name,f=l.slot,O=l.skipVariantsResolver,w=l.skipSx,j=l.overridesResolver,S=Object(i.a)(l,p),k=void 0!==O?O:f&&"Root"!==f||!1,_=w||!1;var C=x;"Root"===f?C=c:f&&(C=d);var M=Object(a.a)(e,Object(o.a)({shouldForwardProp:C,label:t},S)),T=function(e){for(var t=arguments.length,a=new Array(t>1?t-1:0),l=1;l0){var p=new Array(f).fill("");(d=[].concat(Object(r.a)(e),Object(r.a)(p))).raw=[].concat(Object(r.a)(e.raw),Object(r.a)(p))}else"function"===typeof e&&(d=function(t){var r=t.theme,a=Object(i.a)(t,v);return e(Object(o.a)({theme:m(r)?n:r},a))});var x=M.apply(void 0,[d].concat(Object(r.a)(c)));return x};return T}}({defaultTheme:w.a,rootShouldForwardProp:j});t.a=k},function(e,t,n){var r=n(239);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},function(e,t,n){"use strict";n.d(t,"i",(function(){return p})),n.d(t,"h",(function(){return h})),n.d(t,"g",(function(){return v})),n.d(t,"f",(function(){return m})),n.d(t,"j",(function(){return b})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return x})),n.d(t,"d",(function(){return O})),n.d(t,"e",(function(){return w})),n.d(t,"a",(function(){return j}));var r=n(11),o=n.n(r),i=n(32),a=n.n(i),l=n(123),s=n.n(l),c=n(255),u=n.n(c),d=n(69),f=n.n(d),p=function(e){return 0===e?0:e>0?1:-1},h=function(e){return f()(e)&&e.indexOf("%")===e.length-1},v=function(e){return u()(e)&&!s()(e)},m=function(e){return v(e)||f()(e)},g=0,b=function(e){var t=++g;return"".concat(e||"").concat(t)},y=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!v(e)&&!f()(e))return r;if(h(e)){var i=e.indexOf("%");n=t*parseFloat(e.slice(0,i))/100}else n=+e;return s()(n)&&(n=r),o&&n>t&&(n=t),n},x=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},O=function(e){if(!a()(e))return!1;for(var t=e.length,n={},r=0;r3&&void 0!==arguments[3]?arguments[3]:n;return r="function"===typeof e?e(n):Array.isArray(e)?e[n]||o:a(e,n)||o,t&&(r=t(r)),r}t.a=function(e){var t=e.prop,n=e.cssProperty,s=void 0===n?e.prop:n,c=e.themeKey,u=e.transform,d=function(e){if(null==e[t])return null;var n=e[t],d=a(e.theme,c)||{};return Object(i.b)(e,n,(function(e){var n=l(d,u,e);return e===n&&"string"===typeof e&&(n=l(d,u,"".concat(t).concat("default"===e?"":Object(o.a)(e)),e)),!1===s?n:Object(r.a)({},s,n)}))};return d.propTypes={},d.filterProps=[t],d}},function(e,t,n){var r=n(106),o=n(66);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},function(e,t,n){"use strict";n.d(t,"w",(function(){return be})),n.d(t,"m",(function(){return ye})),n.d(t,"b",(function(){return xe})),n.d(t,"q",(function(){return Oe})),n.d(t,"p",(function(){return we})),n.d(t,"h",(function(){return je})),n.d(t,"g",(function(){return Se})),n.d(t,"a",(function(){return ke})),n.d(t,"z",(function(){return Ce})),n.d(t,"n",(function(){return Me})),n.d(t,"x",(function(){return Te})),n.d(t,"l",(function(){return Pe})),n.d(t,"t",(function(){return Ee})),n.d(t,"d",(function(){return Ae})),n.d(t,"A",(function(){return Re})),n.d(t,"c",(function(){return De})),n.d(t,"e",(function(){return Le})),n.d(t,"C",(function(){return Ne})),n.d(t,"r",(function(){return We})),n.d(t,"u",(function(){return Be})),n.d(t,"k",(function(){return He})),n.d(t,"j",(function(){return Ve})),n.d(t,"i",(function(){return Ue})),n.d(t,"s",(function(){return Ge})),n.d(t,"o",(function(){return Ye})),n.d(t,"B",(function(){return Ke})),n.d(t,"f",(function(){return Xe})),n.d(t,"y",(function(){return Ze})),n.d(t,"v",(function(){return Qe}));var r=n(99),o=n.n(r),i=n(148),a=n.n(i),l=n(123),s=n.n(l),c=n(131),u=n.n(c),d=n(69),f=n.n(d),p=n(32),h=n.n(p),v=n(103),m=n.n(v),g=n(181),b=n.n(g),y=n(340),x=n.n(y),O=n(27),w=n.n(O),j=n(11),S=n.n(j),k=n(25),_=n.n(k),C=n(41),M=n.n(C);function T(e){return function(e){if(Array.isArray(e))return P(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=t?n.apply(void 0,o):e(t-a,I((function(){for(var e=arguments.length,t=new Array(e),r=0;re.length)&&(t=e.length);for(var n=0,r=new Array(t);nr&&(o=r,i=n),[o,i]}function $(e,t,n){if(e.lte(0))return new M.a(0);var r=H.getDigitCount(e.toNumber()),o=new M.a(10).pow(r),i=e.div(o),a=1!==r?.05:.1,l=new M.a(Math.ceil(i.div(a).toNumber())).add(n).mul(a).mul(o);return t?l:new M.a(Math.ceil(l))}function K(e,t,n){var r=1,o=new M.a(e);if(!o.isint()&&n){var i=Math.abs(e);i<1?(r=new M.a(10).pow(H.getDigitCount(e)-1),o=new M.a(Math.floor(o.div(r).toNumber())).mul(r)):i>1&&(o=new M.a(Math.floor(e)))}else 0===e?o=new M.a(Math.floor((t-1)/2)):n||(o=new M.a(Math.floor(e)));var a=Math.floor((t-1)/2);return F(z((function(e){return o.add(new M.a(e-a).mul(r)).toNumber()})),N)(0,t)}function X(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new M.a(0),tickMin:new M.a(0),tickMax:new M.a(0)};var i,a=$(new M.a(t).sub(e).div(n-1),r,o);i=e<=0&&t>=0?new M.a(0):(i=new M.a(e).add(t).div(2)).sub(new M.a(i).mod(a));var l=Math.ceil(i.sub(e).div(a).toNumber()),s=Math.ceil(new M.a(t).sub(i).div(a).toNumber()),c=l+s+1;return c>n?X(e,t,n,r,o+1):(c0?s+(n-c):s,l=t>0?l:l+(n-c)),{step:a,tickMin:i.sub(new M.a(l).mul(a)),tickMax:i.add(new M.a(s).mul(a))})}var Z=B((function(e){var t=U(e,2),n=t[0],r=t[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),l=q([n,r]),s=U(l,2),c=s[0],u=s[1];if(c===-1/0||u===1/0){var d=u===1/0?[c].concat(V(N(0,o-1).map((function(){return 1/0})))):[].concat(V(N(0,o-1).map((function(){return-1/0}))),[u]);return n>r?W(d):d}if(c===u)return K(c,o,i);var f=X(c,u,a,i),p=f.step,h=f.tickMin,v=f.tickMax,m=H.rangeStep(h,v.add(new M.a(.1).mul(p)),p);return n>r?W(m):m})),Q=(B((function(e){var t=U(e,2),n=t[0],r=t[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),l=q([n,r]),s=U(l,2),c=s[0],u=s[1];if(c===-1/0||u===1/0)return[n,r];if(c===u)return K(c,o,i);var d=$(new M.a(u).sub(c).div(a-1),i,0),f=F(z((function(e){return new M.a(c).add(new M.a(e).mul(d)).toNumber()})),N),p=f(0,a).filter((function(e){return e>=c&&e<=u}));return n>r?W(p):p})),B((function(e,t){var n=U(e,2),r=n[0],o=n[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=q([r,o]),l=U(a,2),s=l[0],c=l[1];if(s===-1/0||c===1/0)return[r,o];if(s===c)return[s];var u=Math.max(t,2),d=$(new M.a(c).sub(s).div(u-1),i,0),f=[].concat(V(H.rangeStep(new M.a(s),new M.a(c).sub(new M.a(.99).mul(d)),d)),[c]);return r>o?W(f):f}))),J=n(253),ee=n(67),te=n(216),ne=function(e,t){if((o=e.length)>1)for(var n,r,o,i=1,a=e[t[0]],l=a.length;i=0;)n[t]=t;return n};function le(e,t){return e[t]}function se(e){var t=[];return t.key=e,t}var ce=n(12),ue=n(175),de=n(36),fe=n(23);function pe(e){return function(e){if(Array.isArray(e))return he(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return he(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return he(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function he(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!==(t=null===n||void 0===n?void 0:n.length)&&void 0!==t?t:0;if(a>1){if(o&&"angleAxis"===o.axisType&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var l=o.range,s=0;s0?r[s-1].coordinate:r[a-1].coordinate,u=r[s].coordinate,d=s>=a-1?r[0].coordinate:r[s+1].coordinate,f=void 0;if(Object(ce.i)(u-c)!==Object(ce.i)(d-u)){var p=[];if(Object(ce.i)(d-u)===Object(ce.i)(l[1]-l[0])){f=d;var h=u+l[1]-l[0];p[0]=Math.min(h,(h+c)/2),p[1]=Math.max(h,(h+c)/2)}else{f=c;var v=d+l[1]-l[0];p[0]=Math.min(u,(v+u)/2),p[1]=Math.max(u,(v+u)/2)}var m=[Math.min(u,(f+u)/2),Math.max(u,(f+u)/2)];if(e>m[0]&&e<=m[1]||e>=p[0]&&e<=p[1]){i=r[s].index;break}}else{var g=Math.min(c,d),b=Math.max(c,d);if(e>(g+u)/2&&e<=(b+u)/2){i=r[s].index;break}}}else for(var y=0;y0&&y(n[y].coordinate+n[y-1].coordinate)/2&&e<=(n[y].coordinate+n[y+1].coordinate)/2||y===a-1&&e>(n[y].coordinate+n[y-1].coordinate)/2){i=n[y].index;break}}else i=0;return i},Oe=function(e){var t,n=e.type.displayName,r=e.props,o=r.stroke,i=r.fill;switch(n){case"Line":t=o;break;case"Area":case"Radar":t=o&&"none"!==o?o:i;break;default:t=i}return t},we=function(e){var t,n=e.children,r=e.formattedGraphicalItems,o=e.legendWidth,i=e.legendContent,a=Object(de.b)(n,ue.a.displayName);return a?(t=a.props&&a.props.payload?a.props&&a.props.payload:"children"===i?(r||[]).reduce((function(e,t){var n=t.item,r=t.props,o=r.sectors||r.data||[];return e.concat(o.map((function(e){return{type:a.props.iconType||n.props.legendType,value:e.name,color:e.fill,payload:e}})))}),[]):(r||[]).map((function(e){var t=e.item,n=t.props,r=n.dataKey,o=n.name,i=n.legendType;return{inactive:n.hide,dataKey:r,type:a.props.iconType||i||"square",color:Oe(t),value:o||r,payload:t.props}})),me(me(me({},a.props),ue.a.getWithHeight(a,o)),{},{payload:t,item:a})):null},je=function(e){var t=e.barSize,n=e.stackGroups,r=void 0===n?{}:n;if(!r)return{};for(var o={},i=Object.keys(r),a=0,l=i.length;a=0}));if(v&&v.length){var m=v[0].props.barSize,g=v[0].props[h];o[g]||(o[g]=[]),o[g].push({item:v[0],stackList:v.slice(1),barSize:_()(m)?t:m})}}return o},Se=function(e){var t=e.barGap,n=e.barCategoryGap,r=e.bandSize,o=e.sizeList,i=void 0===o?[]:o,a=e.maxBarSize,l=i.length;if(l<1)return null;var s,c=Object(ce.c)(t,r,0,!0);if(i[0].barSize===+i[0].barSize){var u=!1,d=r/l,f=i.reduce((function(e,t){return e+t.barSize||0}),0);(f+=(l-1)*c)>=r&&(f-=(l-1)*c,c=0),f>=r&&d>0&&(u=!0,f=l*(d*=.9));var p={offset:((r-f)/2>>0)-c,size:0};s=i.reduce((function(e,t){var n=[].concat(pe(e),[{item:t.item,position:{offset:p.offset+p.size+c,size:u?d:t.barSize}}]);return p=n[n.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){n.push({item:e,position:p})})),n}),[])}else{var h=Object(ce.c)(n,r,0,!0);r-2*h-(l-1)*c<=0&&(c=0);var v=(r-2*h-(l-1)*c)/l;v>1&&(v>>=0);var m=a===+a?Math.min(v,a):v;s=i.reduce((function(e,t,n){var r=[].concat(pe(e),[{item:t.item,position:{offset:h+(v+c)*n+(v-m)/2,size:m}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:r[r.length-1].position})})),r}),[])}return s},ke=function(e,t,n,r){var o=n.children,i=n.width,a=n.margin,l=i-(a.left||0)-(a.right||0),s=we({children:o,legendWidth:l}),c=e;if(s){var u=r||{},d=s.align,f=s.verticalAlign,p=s.layout;("vertical"===p||"horizontal"===p&&"center"===f)&&Object(ce.g)(e[d])&&(c=me(me({},e),{},ge({},d,c[d]+(u.width||0)))),("horizontal"===p||"vertical"===p&&"center"===d)&&Object(ce.g)(e[f])&&(c=me(me({},e),{},ge({},f,c[f]+(u.height||0))))}return c},_e=function(e,t,n,r){var o=t.props.children,i=Object(de.a)(o,"ErrorBar").filter((function(e){var t=e.props.direction;return!(!_()(t)&&!_()(r))||r.indexOf(t)>=0}));if(i&&i.length){var a=i.map((function(e){return e.props.dataKey}));return e.reduce((function(e,t){var r=be(t,n,0),o=h()(r)?[b()(r),m()(r)]:[r,r],i=a.reduce((function(e,n){var r=be(t,n,0),i=o[0]-Math.abs(h()(r)?r[0]:r),a=o[1]+Math.abs(h()(r)?r[1]:r);return[Math.min(i,e[0]),Math.max(a,e[1])]}),[1/0,-1/0]);return[Math.min(i[0],e[0]),Math.max(i[1],e[1])]}),[1/0,-1/0])}return null},Ce=function(e,t,n,r){var o=t.map((function(t){return _e(e,t,n,r)})).filter((function(e){return!_()(e)}));return o&&o.length?o.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]):null},Me=function(e,t,n,r){var o=t.map((function(t){var o=t.props.dataKey;return"number"===n&&o&&_e(e,t,o)||ye(e,o,n,r)}));if("number"===n)return o.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]);var i={};return o.reduce((function(e,t){for(var n=0,r=t.length;n=0||t.indexOf("AreaChart")>=0||t.indexOf("ComposedChart")>=0&&!n)?{scale:J.b(),realScaleType:"point"}:"category"===o?{scale:J.a(),realScaleType:"band"}:{scale:ee.a(),realScaleType:"linear"};if(f()(r)){var l="scale".concat(u()(r));return{scale:(te[l]||J.b)(),realScaleType:te[l]?l:"point"}}return w()(r)?{scale:r}:{scale:J.b(),realScaleType:"point"}},Ie=1e-4,De=function(e){var t=e.domain();if(t&&!(t.length<=2)){var n=t.length,r=e.range(),o=Math.min(r[0],r[1])-Ie,i=Math.max(r[0],r[1])+Ie,a=e(t[0]),l=e(t[n-1]);(ai||li)&&e.domain([t[0],t[n-1]])}},Le=function(e,t){if(!e)return null;for(var n=0,r=e.length;nr)&&(o[1]=r),o[0]>r&&(o[0]=r),o[1]=0?(e[a][n][0]=o,e[a][n][1]=o+l,o=e[a][n][1]):(e[a][n][0]=i,e[a][n][1]=i+l,i=e[a][n][1])}},expand:function(e,t){if((r=e.length)>0){for(var n,r,o,i=0,a=e[0].length;i0){for(var n,r=0,o=e[t[0]],i=o.length;r0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,i=0,a=1;a=0?(e[i][n][0]=o,e[i][n][1]=o+a,o=e[i][n][1]):(e[i][n][0]=0,e[i][n][1]=0)}}},Fe=function(e,t,n){var r=t.map((function(e){return e.props.dataKey})),o=function(){var e=Object(ie.a)([]),t=ae,n=ne,r=le;function o(o){var i,a,l,s=Array.from(e.apply(this,arguments),se),c=s.length,u=-1,d=Object(re.a)(o);try{for(d.s();!(l=d.n()).done;){var f=l.value;for(i=0,++u;i=0?0:o<0?o:r}return n[0]},Ge=function(e,t){var n=e.props.stackId;if(Object(ce.f)(n)){var r=t[n];if(r&&r.items.length){for(var o=-1,i=0,a=r.items.length;i=0?r.stackedData[o]:null}}return null},Ye=function(e,t,n){return Object.keys(e).reduce((function(r,o){var i=e[o].stackedData.reduce((function(e,r){var o=r.slice(t,n+1).reduce((function(e,t){return[b()(t.concat([e[0]]).filter(ce.g)),m()(t.concat([e[1]]).filter(ce.g))]}),[1/0,-1/0]);return[Math.min(e[0],o[0]),Math.max(e[1],o[1])]}),[1/0,-1/0]);return[Math.min(i[0],r[0]),Math.max(i[1],r[1])]}),[1/0,-1/0]).map((function(e){return e===1/0||e===-1/0?0:e}))},qe=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,$e=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,Ke=function(e,t,n){if(!h()(e))return t;var r=[];if(Object(ce.g)(e[0]))r[0]=n?e[0]:Math.min(e[0],t[0]);else if(qe.test(e[0])){var o=+qe.exec(e[0])[1];r[0]=t[0]-o}else w()(e[0])?r[0]=e[0](t[0]):r[0]=t[0];if(Object(ce.g)(e[1]))r[1]=n?e[1]:Math.max(e[1],t[1]);else if($e.test(e[1])){var i=+$e.exec(e[1])[1];r[1]=t[1]+i}else w()(e[1])?r[1]=e[1](t[1]):r[1]=t[1];return r},Xe=function(e,t,n){if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var o=a()(t,(function(e){return e.coordinate})),i=1/0,l=1,s=o.length;l=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function u(e){var t=e.children,n=e.className,r=c(e,["children","className"]),i=a()("recharts-layer",n);return o.a.createElement("g",s({className:i},Object(l.c)(r,!0)),t)}},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var m={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},g=function(e){return"string"===typeof e?e:e?e.displayName||e.name||"Component":""},b=null,y=null,x=function e(t){if(t===b&&u()(y))return y;var n=[];return d.Children.forEach(t,(function(t){s()(t)||(Object(f.isFragment)(t)?n=n.concat(e(t.props.children)):n.push(t))})),y=n,b=t,n},O=function(e,t){var n=[],r=[];return r=u()(t)?t.map((function(e){return g(e)})):[g(t)],x(e).forEach((function(e){var t=a()(e,"type.displayName")||a()(e,"type.name");-1!==r.indexOf(t)&&n.push(e)})),n},w=function(e,t){var n=O(e,t);return n&&n[0]},j=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,r=t.height;return!(!Object(p.g)(n)||n<=0||!Object(p.g)(r)||r<=0)},S=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],k=function(e){return e&&e.type&&o()(e.type)&&S.indexOf(e.type)>=0},_=function e(t,n){if(t===n)return!0;var r=d.Children.count(t);if(r!==d.Children.count(n))return!1;if(0===r)return!0;if(1===r)return C(u()(t)?t[0]:t,u()(n)?n[0]:n);for(var o=0;oe.length)&&(t=e.length);for(var n=0,r=new Array(t);n2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},m=function(e,t,n,r,l){var d=e.width,f=e.height,p=e.startAngle,h=e.endAngle,m=Object(i.c)(e.cx,d,d/2),g=Object(i.c)(e.cy,f,f/2),b=v(d,f,n),y=Object(i.c)(e.innerRadius,b,0),x=Object(i.c)(e.outerRadius,b,.8*b);return Object.keys(t).reduce((function(e,n){var i,d=t[n],f=d.domain,v=d.reversed;if(o()(d.range))"angleAxis"===r?i=[p,h]:"radiusAxis"===r&&(i=[y,x]),v&&(i=[i[1],i[0]]);else{var b=u(i=d.range,2);p=b[0],h=b[1]}var O=Object(a.A)(d,l),w=O.realScaleType,j=O.scale;j.domain(f).range(i),Object(a.c)(j);var S=Object(a.u)(j,s(s({},d),{},{realScaleType:w})),k=s(s(s({},d),S),{},{range:i,radius:x,realScaleType:w,scale:j,cx:m,cy:g,innerRadius:y,outerRadius:x,startAngle:p,endAngle:h});return s(s({},e),{},c({},n,k))}),{})},g=function(e,t){var n=e.x,r=e.y,o=t.cx,i=t.cy,a=function(e,t){var n=e.x,r=e.y,o=t.x,i=t.y;return Math.sqrt(Math.pow(n-o,2)+Math.pow(r-i,2))}({x:n,y:r},{x:o,y:i});if(a<=0)return{radius:a};var l=(n-o)/a,s=Math.acos(l);return r>i&&(s=2*Math.PI-s),{radius:a,angle:p(s),angleInRadian:s}},b=function(e,t){var n=t.startAngle,r=t.endAngle,o=Math.floor(n/360),i=Math.floor(r/360);return e+360*Math.min(o,i)},y=function(e,t){var n=e.x,r=e.y,o=g({x:n,y:r},t),i=o.radius,a=o.angle,l=t.innerRadius,c=t.outerRadius;if(ic)return!1;if(0===i)return!0;var u,d=function(e){var t=e.startAngle,n=e.endAngle,r=Math.floor(t/360),o=Math.floor(n/360),i=Math.min(r,o);return{startAngle:t-360*i,endAngle:n-360*i}}(t),f=d.startAngle,p=d.endAngle,h=a;if(f<=p){for(;h>p;)h-=360;for(;h=f&&h<=p}else{for(;h>f;)h-=360;for(;h=p&&h<=f}return u?s(s({},t),{},{radius:i,angle:b(h,t)}):null}},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=n(65)},function(e,t,n){"use strict";function r(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function o(e,t){switch(arguments.length){case 0:break;case 1:"function"===typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"===typeof t?this.interpolator(t):this.range(t)}return this}n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}))},function(e,t,n){var r;!function(o){"use strict";var i,a=1e9,l={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},s=!0,c="[DecimalError] ",u=c+"Invalid argument: ",d=c+"Exponent out of range: ",f=Math.floor,p=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,v=1e7,m=9007199254740991,g=f(1286742750677284.5),b={};function y(e,t){var n,r,o,i,a,l,c,u,d=e.constructor,f=d.precision;if(!e.s||!t.s)return t.s||(t=new d(e)),s?T(t,f):t;if(c=e.d,u=t.d,a=e.e,o=t.e,c=c.slice(),i=a-o){for(i<0?(r=c,i=-i,l=u.length):(r=u,o=a,l=c.length),i>(l=(a=Math.ceil(f/7))>l?a+1:l+1)&&(i=l,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((l=c.length)-(i=u.length)<0&&(i=l,r=u,u=c,c=r),n=0;i;)n=(c[--i]=c[i]+u[i]+n)/v|0,c[i]%=v;for(n&&(c.unshift(n),++o),l=c.length;0==c[--l];)c.pop();return t.d=c,t.e=o,s?T(t,f):t}function x(e,t,n){if(e!==~~e||en)throw Error(u+e)}function O(e){var t,n,r,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;te.e^i.s<0?1:-1;for(t=0,n=(r=i.d.length)<(o=e.d.length)?r:o;te.d[t]^i.s<0?1:-1;return r===o?0:r>o^i.s<0?1:-1},b.decimalPlaces=b.dp=function(){var e=this,t=e.d.length-1,n=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},b.dividedBy=b.div=function(e){return w(this,new this.constructor(e))},b.dividedToIntegerBy=b.idiv=function(e){var t=this.constructor;return T(w(this,new t(e),0,1),t.precision)},b.equals=b.eq=function(e){return!this.cmp(e)},b.exponent=function(){return S(this)},b.greaterThan=b.gt=function(e){return this.cmp(e)>0},b.greaterThanOrEqualTo=b.gte=function(e){return this.cmp(e)>=0},b.isInteger=b.isint=function(){return this.e>this.d.length-2},b.isNegative=b.isneg=function(){return this.s<0},b.isPositive=b.ispos=function(){return this.s>0},b.isZero=function(){return 0===this.s},b.lessThan=b.lt=function(e){return this.cmp(e)<0},b.lessThanOrEqualTo=b.lte=function(e){return this.cmp(e)<1},b.logarithm=b.log=function(e){var t,n=this,r=n.constructor,o=r.precision,a=o+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(i))throw Error(c+"NaN");if(n.s<1)throw Error(c+(n.s?"NaN":"-Infinity"));return n.eq(i)?new r(0):(s=!1,t=w(C(n,a),C(e,a),a),s=!0,T(t,o))},b.minus=b.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?P(t,e):y(t,(e.s=-e.s,e))},b.modulo=b.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(!(e=new r(e)).s)throw Error(c+"NaN");return n.s?(s=!1,t=w(n,e,0,1).times(e),s=!0,n.minus(t)):T(new r(n),o)},b.naturalExponential=b.exp=function(){return j(this)},b.naturalLogarithm=b.ln=function(){return C(this)},b.negated=b.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},b.plus=b.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?y(t,e):P(t,(e.s=-e.s,e))},b.precision=b.sd=function(e){var t,n,r,o=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(u+e);if(t=S(o)+1,n=7*(r=o.d.length-1)+1,r=o.d[r]){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},b.squareRoot=b.sqrt=function(){var e,t,n,r,o,i,a,l=this,u=l.constructor;if(l.s<1){if(!l.s)return new u(0);throw Error(c+"NaN")}for(e=S(l),s=!1,0==(o=Math.sqrt(+l))||o==1/0?(((t=O(l.d)).length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=f((e+1)/2)-(e<0||e%2),r=new u(t=o==1/0?"5e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new u(o.toString()),o=a=(n=u.precision)+3;;)if(r=(i=r).plus(w(l,i,a+2)).times(.5),O(i.d).slice(0,a)===(t=O(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&"4999"==t){if(T(i,n+1,0),i.times(i).eq(l)){r=i;break}}else if("9999"!=t)break;a+=4}return s=!0,T(r,n)},b.times=b.mul=function(e){var t,n,r,o,i,a,l,c,u,d=this,f=d.constructor,p=d.d,h=(e=new f(e)).d;if(!d.s||!e.s)return new f(0);for(e.s*=d.s,n=d.e+e.e,(c=p.length)<(u=h.length)&&(i=p,p=h,h=i,a=c,c=u,u=a),i=[],r=a=c+u;r--;)i.push(0);for(r=u;--r>=0;){for(t=0,o=c+r;o>r;)l=i[o]+h[r]*p[o-r-1]+t,i[o--]=l%v|0,t=l/v|0;i[o]=(i[o]+t)%v|0}for(;!i[--a];)i.pop();return t?++n:i.shift(),e.d=i,e.e=n,s?T(e,f.precision):e},b.toDecimalPlaces=b.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(x(e,0,a),void 0===t?t=r.rounding:x(t,0,8),T(n,e+S(n)+1,t))},b.toExponential=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=E(r,!0):(x(e,0,a),void 0===t?t=o.rounding:x(t,0,8),n=E(r=T(new o(r),e+1,t),!0,e+1)),n},b.toFixed=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?E(o):(x(e,0,a),void 0===t?t=i.rounding:x(t,0,8),n=E((r=T(new i(o),e+S(o)+1,t)).abs(),!1,e+S(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)},b.toInteger=b.toint=function(){var e=this,t=e.constructor;return T(new t(e),S(e)+1,t.rounding)},b.toNumber=function(){return+this},b.toPower=b.pow=function(e){var t,n,r,o,a,l,u=this,d=u.constructor,p=+(e=new d(e));if(!e.s)return new d(i);if(!(u=new d(u)).s){if(e.s<1)throw Error(c+"Infinity");return u}if(u.eq(i))return u;if(r=d.precision,e.eq(i))return T(u,r);if(l=(t=e.e)>=(n=e.d.length-1),a=u.s,l){if((n=p<0?-p:p)<=m){for(o=new d(i),t=Math.ceil(r/7+4),s=!1;n%2&&A((o=o.times(u)).d,t),0!==(n=f(n/2));)A((u=u.times(u)).d,t);return s=!0,e.s<0?new d(i).div(o):T(o,r)}}else if(a<0)throw Error(c+"NaN");return a=a<0&&1&e.d[Math.max(t,n)]?-1:1,u.s=1,s=!1,o=e.times(C(u,r+12)),s=!0,(o=j(o)).s=a,o},b.toPrecision=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?r=E(o,(n=S(o))<=i.toExpNeg||n>=i.toExpPos):(x(e,1,a),void 0===t?t=i.rounding:x(t,0,8),r=E(o=T(new i(o),e,t),e<=(n=S(o))||n<=i.toExpNeg,e)),r},b.toSignificantDigits=b.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(x(e,1,a),void 0===t?t=n.rounding:x(t,0,8)),T(new n(this),e,t)},b.toString=b.valueOf=b.val=b.toJSON=function(){var e=this,t=S(e),n=e.constructor;return E(e,t<=n.toExpNeg||t>=n.toExpPos)};var w=function(){function e(e,t){var n,r=0,o=e.length;for(e=e.slice();o--;)n=e[o]*t+r,e[o]=n%v|0,r=n/v|0;return r&&e.unshift(r),e}function t(e,t,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;ot[o]?1:-1;break}return i}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]1;)e.shift()}return function(r,o,i,a){var l,s,u,d,f,p,h,m,g,b,y,x,O,w,j,k,_,C,M=r.constructor,P=r.s==o.s?1:-1,E=r.d,A=o.d;if(!r.s)return new M(r);if(!o.s)throw Error(c+"Division by zero");for(s=r.e-o.e,_=A.length,j=E.length,m=(h=new M(P)).d=[],u=0;A[u]==(E[u]||0);)++u;if(A[u]>(E[u]||0)&&--s,(x=null==i?i=M.precision:a?i+(S(r)-S(o))+1:i)<0)return new M(0);if(x=x/7+2|0,u=0,1==_)for(d=0,A=A[0],x++;(u1&&(A=e(A,d),E=e(E,d),_=A.length,j=E.length),w=_,b=(g=E.slice(0,_)).length;b<_;)g[b++]=0;(C=A.slice()).unshift(0),k=A[0],A[1]>=v/2&&++k;do{d=0,(l=t(A,g,_,b))<0?(y=g[0],_!=b&&(y=y*v+(g[1]||0)),(d=y/k|0)>1?(d>=v&&(d=v-1),1==(l=t(f=e(A,d),g,p=f.length,b=g.length))&&(d--,n(f,_16)throw Error(d+S(e));if(!e.s)return new f(i);for(null==t?(s=!1,l=h):l=t,a=new f(.03125);e.abs().gte(.1);)e=e.times(a),u+=5;for(l+=Math.log(p(2,u))/Math.LN10*2+5|0,n=r=o=new f(i),f.precision=l;;){if(r=T(r.times(e),l),n=n.times(++c),O((a=o.plus(w(r,n,l))).d).slice(0,l)===O(o.d).slice(0,l)){for(;u--;)o=T(o.times(o),l);return f.precision=h,null==t?(s=!0,T(o,h)):o}o=a}}function S(e){for(var t=7*e.e,n=e.d[0];n>=10;n/=10)t++;return t}function k(e,t,n){if(t>e.LN10.sd())throw s=!0,n&&(e.precision=n),Error(c+"LN10 precision limit exceeded");return T(new e(e.LN10),t)}function _(e){for(var t="";e--;)t+="0";return t}function C(e,t){var n,r,o,a,l,u,d,f,p,h=1,v=e,m=v.d,g=v.constructor,b=g.precision;if(v.s<1)throw Error(c+(v.s?"NaN":"-Infinity"));if(v.eq(i))return new g(0);if(null==t?(s=!1,f=b):f=t,v.eq(10))return null==t&&(s=!0),k(g,f);if(f+=10,g.precision=f,r=(n=O(m)).charAt(0),a=S(v),!(Math.abs(a)<15e14))return d=k(g,f+2,b).times(a+""),v=C(new g(r+"."+n.slice(1)),f-10).plus(d),g.precision=b,null==t?(s=!0,T(v,b)):v;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=O((v=v.times(e)).d)).charAt(0),h++;for(a=S(v),r>1?(v=new g("0."+n),a++):v=new g(r+"."+n.slice(1)),u=l=v=w(v.minus(i),v.plus(i),f),p=T(v.times(v),f),o=3;;){if(l=T(l.times(p),f),O((d=u.plus(w(l,new g(o),f))).d).slice(0,f)===O(u.d).slice(0,f))return u=u.times(2),0!==a&&(u=u.plus(k(g,f+2,b).times(a+""))),u=w(u,new g(h),f),g.precision=b,null==t?(s=!0,T(u,b)):u;u=d,o+=2}}function M(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(r,o)){if(o-=r,n=n-r-1,e.e=f(n/7),e.d=[],r=(n+1)%7,n<0&&(r+=7),rg||e.e<-g))throw Error(d+n)}else e.s=0,e.e=0,e.d=[0];return e}function T(e,t,n){var r,o,i,a,l,c,u,h,m=e.d;for(a=1,i=m[0];i>=10;i/=10)a++;if((r=t-a)<0)r+=7,o=t,u=m[h=0];else{if((h=Math.ceil((r+1)/7))>=(i=m.length))return e;for(u=i=m[h],a=1;i>=10;i/=10)a++;o=(r%=7)-7+a}if(void 0!==n&&(l=u/(i=p(10,a-o-1))%10|0,c=t<0||void 0!==m[h+1]||u%i,c=n<4?(l||c)&&(0==n||n==(e.s<0?3:2)):l>5||5==l&&(4==n||c||6==n&&(r>0?o>0?u/p(10,a-o):0:m[h-1])%10&1||n==(e.s<0?8:7))),t<1||!m[0])return c?(i=S(e),m.length=1,t=t-i-1,m[0]=p(10,(7-t%7)%7),e.e=f(-t/7)||0):(m.length=1,m[0]=e.e=e.s=0),e;if(0==r?(m.length=h,i=1,h--):(m.length=h+1,i=p(10,7-r),m[h]=o>0?(u/p(10,a-o)%p(10,o)|0)*i:0),c)for(;;){if(0==h){(m[0]+=i)==v&&(m[0]=1,++e.e);break}if(m[h]+=i,m[h]!=v)break;m[h--]=0,i=1}for(r=m.length;0===m[--r];)m.pop();if(s&&(e.e>g||e.e<-g))throw Error(d+S(e));return e}function P(e,t){var n,r,o,i,a,l,c,u,d,f,p=e.constructor,h=p.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new p(e),s?T(t,h):t;if(c=e.d,f=t.d,r=t.e,u=e.e,c=c.slice(),a=u-r){for((d=a<0)?(n=c,a=-a,l=f.length):(n=f,r=u,l=c.length),a>(o=Math.max(Math.ceil(h/7),l)+2)&&(a=o,n.length=1),n.reverse(),o=a;o--;)n.push(0);n.reverse()}else{for((d=(o=c.length)<(l=f.length))&&(l=o),o=0;o0;--o)c[l++]=0;for(o=f.length;o>a;){if(c[--o]0?i=i.charAt(0)+"."+i.slice(1)+_(r):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+_(-o-1)+i,n&&(r=n-a)>0&&(i+=_(r))):o>=a?(i+=_(o+1-a),n&&(r=n-o-1)>0&&(i=i+"."+_(r))):((r=o+1)0&&(o+1===a&&(i+="."),i+=_(r))),e.s<0?"-"+i:i}function A(e,t){if(e.length>t)return e.length=t,!0}function R(e){if(!e||"object"!==typeof e)throw Error(c+"Object expected");var t,n,r,o=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t=o[t+1]&&r<=o[t+2]))throw Error(u+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(u+n+": "+r);this[n]=new this(r)}return this}l=function e(t){var n,r,o;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"===typeof e){if(0*e!==0)throw Error(u+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):M(t,e.toString())}if("string"!==typeof e)throw Error(u+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!h.test(e))throw Error(u+e);M(t,e)}if(i.prototype=b,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=e,i.config=i.set=R,void 0===t&&(t={}),t)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return l=e.done,e},e:function(e){s=!0,a=e},f:function(){try{l||null==n.return||n.return()}finally{if(s)throw a}}}}},,function(e,t,n){var r=n(470).default,o=n(20);e.exports=function(e,t){if(t&&("object"===r(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,n(t)}e.exports=n,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(471);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";t.a=function(e){return function(){return e}}},function(e,t,n){"use strict";n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return p})),n.d(t,"d",(function(){return h})),n.d(t,"b",(function(){return v}));var r=n(691),o=n(378),i=n(173),a=n(692);var l=n(132),s=[0,1];function c(e){return e}function u(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:(n=isNaN(t)?NaN:.5,function(){return n});var n}function d(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return ot&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(h[0],h[e-1])),r=e>2?f:d,u=p=null,y}function y(t){return null==t||isNaN(t=+t)?n:(u||(u=r(h.map(e),v,m)))(e(g(t)))}return y.invert=function(n){return g(t((p||(p=r(v,h.map(e),i.a)))(n)))},y.domain=function(e){return arguments.length?(h=Array.from(e,l.a),b()):h.slice()},y.range=function(e){return arguments.length?(v=Array.from(e),b()):v.slice()},y.rangeRound=function(e){return v=Array.from(e),m=a.a,b()},y.clamp=function(e){return arguments.length?(g=!!e||c,b()):g!==c},y.interpolate=function(e){return arguments.length?(m=e,b()):m},y.unknown=function(e){return arguments.length?(n=e,y):n},function(n,r){return e=n,t=r,b()}}function v(){return h()(c,c)}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n(1);var r=n(129),o=n(118);function i(){return Object(r.a)(o.a)}},,function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,"a",(function(){return o}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return j})),n.d(t,"b",(function(){return C})),n.d(t,"c",(function(){return b})),n.d(t,"d",(function(){return R})),n.d(t,"e",(function(){return g})),n.d(t,"f",(function(){return _})),n.d(t,"g",(function(){return L})),n.d(t,"h",(function(){return I}));var r=n(53),o=n(1),i=n.n(o),a=(n(13),n(70)),l=n(323),s=n(83),c=n(4),u=n(256),d=n.n(u),f=(n(140),n(7)),p=n(96),h=n.n(p),v=function(e){var t=Object(l.a)();return t.displayName=e,t},m=v("Router-History"),g=v("Router"),b=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._isMounted?n.setState({location:e}):n._pendingLocation=e}))),n}Object(r.a)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return i.a.createElement(g.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i.a.createElement(m.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i.a.Component);i.a.Component;var y=function(e){function t(){return e.apply(this,arguments)||this}Object(r.a)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(i.a.Component);var x={},O=0;function w(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(x[e])return x[e];var t=d.a.compile(e);return O<1e4&&(x[e]=t,O++),t}(e)(t,{pretty:!0})}function j(e){var t=e.computedMatch,n=e.to,r=e.push,o=void 0!==r&&r;return i.a.createElement(g.Consumer,null,(function(e){e||Object(s.a)(!1);var r=e.history,l=e.staticContext,u=o?r.push:r.replace,d=Object(a.c)(t?"string"===typeof n?w(n,t.params):Object(c.a)({},n,{pathname:w(n.pathname,t.params)}):n);return l?(u(d),null):i.a.createElement(y,{onMount:function(){u(d)},onUpdate:function(e,t){var n=Object(a.c)(t.to);Object(a.f)(n,Object(c.a)({},d,{key:n.key}))||u(d)},to:n})}))}var S={},k=0;function _(e,t){void 0===t&&(t={}),("string"===typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,l=void 0!==a&&a,s=n.sensitive,c=void 0!==s&&s;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=S[n]||(S[n]={});if(r[e])return r[e];var o=[],i={regexp:d()(e,o,t),keys:o};return k<1e4&&(r[e]=i,k++),i}(n,{end:i,strict:l,sensitive:c}),o=r.regexp,a=r.keys,s=o.exec(e);if(!s)return null;var u=s[0],f=s.slice(1),p=e===u;return i&&!p?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:p,params:a.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var C=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(g.Consumer,null,(function(t){t||Object(s.a)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?_(n.pathname,e.props):t.match,o=Object(c.a)({},t,{location:n,match:r}),a=e.props,l=a.children,u=a.component,d=a.render;return Array.isArray(l)&&function(e){return 0===i.a.Children.count(e)}(l)&&(l=null),i.a.createElement(g.Provider,{value:o},o.match?l?"function"===typeof l?l(o):l:u?i.a.createElement(u,o):d?d(o):null:"function"===typeof l?l(o):null)}))},t}(i.a.Component);function M(e){return"/"===e.charAt(0)?e:"/"+e}function T(e,t){if(!e)return t;var n=M(e);return 0!==t.pathname.indexOf(n)?t:Object(c.a)({},t,{pathname:t.pathname.substr(n.length)})}function P(e){return"string"===typeof e?e:Object(a.e)(e)}function E(e){return function(){Object(s.a)(!1)}}function A(){}i.a.Component;var R=function(e){function t(){return e.apply(this,arguments)||this}return Object(r.a)(t,e),t.prototype.render=function(){var e=this;return i.a.createElement(g.Consumer,null,(function(t){t||Object(s.a)(!1);var n,r,o=e.props.location||t.location;return i.a.Children.forEach(e.props.children,(function(e){if(null==r&&i.a.isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?_(o.pathname,Object(c.a)({},e.props,{path:a})):t.match}})),r?i.a.cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i.a.Component);function I(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=Object(f.a)(t,["wrappedComponentRef"]);return i.a.createElement(g.Consumer,null,(function(t){return t||Object(s.a)(!1),i.a.createElement(e,Object(c.a)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,h()(n,e)}var D=i.a.useContext;function L(){return D(g).location}},function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(413)},function(e,t,n){"use strict";n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return u}));var r=n(7),o=n(4),i=["duration","easing","delay"],a={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},l={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function s(e){return"".concat(Math.round(e),"ms")}function c(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}function u(e){var t=Object(o.a)({},a,e.easing),n=Object(o.a)({},l,e.duration);return Object(o.a)({getAutoHeightDuration:c,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=o.duration,l=void 0===a?n.standard:a,c=o.easing,u=void 0===c?t.easeInOut:c,d=o.delay,f=void 0===d?0:d;Object(r.a)(o,i);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"===typeof l?l:s(l)," ").concat(u," ").concat("string"===typeof f?f:s(f))})).join(",")}},e,{easing:t,duration:n})}},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},n=null==t||null==(e=t.keys)?void 0:e.reduce((function(e,n){return e[t.up(n)]={},e}),{});return n||{}}function l(e,t){return e.reduce((function(e,t){var n=e[t];return 0===Object.keys(n).length&&delete e[t],e}),t)}function s(e){var t,n=e.values,r=e.base,o=Object.keys(r);return 0===o.length?n:o.reduce((function(e,r){return e[r]="object"===typeof n?null!=n[r]?n[r]:n[t]:n,t=r,e}),{})}},function(e,t,n){"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"capitalize",(function(){return r.a})),n.d(t,"createChainedFunction",(function(){return o.a})),n.d(t,"createSvgIcon",(function(){return i.a})),n.d(t,"debounce",(function(){return a.a})),n.d(t,"deprecatedPropType",(function(){return l})),n.d(t,"isMuiElement",(function(){return s.a})),n.d(t,"ownerDocument",(function(){return c.a})),n.d(t,"ownerWindow",(function(){return u.a})),n.d(t,"requirePropFactory",(function(){return d.a})),n.d(t,"setRef",(function(){return f})),n.d(t,"unstable_useEnhancedEffect",(function(){return p.a})),n.d(t,"unstable_useId",(function(){return h.a})),n.d(t,"unsupportedProp",(function(){return v.a})),n.d(t,"useControlled",(function(){return m.a})),n.d(t,"useEventCallback",(function(){return g.a})),n.d(t,"useForkRef",(function(){return b.a})),n.d(t,"useIsFocusVisible",(function(){return y.a}));var r=n(17),o=n(196),i=n(42),a=n(80);var l=function(e,t){return function(){return null}},s=n(122),c=n(58),u=n(97),d=n(252),f=n(177).a,p=n(62),h=n(141),v=n(195),m=n(95),g=n(59),b=n(31),y=n(117)},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return s}));var r=n(383),o=n(49),i=n(40),a=n(197);function l(e){var t=e.domain;return e.ticks=function(e){var n=t();return Object(r.a)(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return Object(a.a)(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var o,i,a=t(),l=0,s=a.length-1,c=a[l],u=a[s],d=10;for(u0;){if((i=Object(r.b)(c,u,n))===o)return a[l]=c,a[s]=u,t(a);if(i>0)c=Math.floor(c/i)*i,u=Math.ceil(u/i)*i;else{if(!(i<0))break;c=Math.ceil(c*i)/i,u=Math.floor(u*i)/i}o=i}return e},e}function s(){var e=Object(o.b)();return e.copy=function(){return Object(o.a)(e,s())},i.b.apply(e,arguments),l(e)}},function(e,t,n){var r,o;e.exports=(r=n(90),o=n(1),function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=6)}([function(e,t,n){e.exports=n(3)()},function(e,t){e.exports=r},function(e,t){e.exports=o},function(e,t,n){"use strict";var r=n(4);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var r,o,i,a,l;a=this,l=function(e){var t=!1,n=!1,r=!1,o=!1,i="escape years months weeks days hours minutes seconds milliseconds general".split(" "),a=[{type:"seconds",targets:[{type:"minutes",value:60},{type:"hours",value:3600},{type:"days",value:86400},{type:"weeks",value:604800},{type:"months",value:2678400},{type:"years",value:31536e3}]},{type:"minutes",targets:[{type:"hours",value:60},{type:"days",value:1440},{type:"weeks",value:10080},{type:"months",value:44640},{type:"years",value:525600}]},{type:"hours",targets:[{type:"days",value:24},{type:"weeks",value:168},{type:"months",value:744},{type:"years",value:8760}]},{type:"days",targets:[{type:"weeks",value:7},{type:"months",value:31},{type:"years",value:365}]},{type:"months",targets:[{type:"years",value:12}]}];function l(e,t){return!(t.length>e.length)&&-1!==e.indexOf(t)}function s(e){for(var t="";e;)t+="0",e-=1;return t}function c(e,t){var n=e+"+"+b(_(t).sort(),(function(e){return e+":"+t[e]})).join(",");return c.cache[n]||(c.cache[n]=Intl.NumberFormat(e,t)),c.cache[n]}function u(e,t,i){var a,l,d,f=t.useToLocaleString,p=t.useGrouping,h=p&&t.grouping.slice(),v=t.maximumSignificantDigits,m=t.minimumIntegerDigits||1,g=t.fractionDigits||0,b=t.groupingSeparator,y=t.decimalSeparator;if(f&&i){var x,O={minimumIntegerDigits:m,useGrouping:p};return g&&(O.maximumFractionDigits=g,O.minimumFractionDigits=g),v&&e>0&&(O.maximumSignificantDigits=v),r?(o||((x=k({},t)).useGrouping=!1,x.decimalSeparator=".",e=parseFloat(u(e,x),10)),c(i,O).format(e)):(n||((x=k({},t)).useGrouping=!1,x.decimalSeparator=".",e=parseFloat(u(e,x),10)),e.toLocaleString(i,O))}var w=(v?e.toPrecision(v+1):e.toFixed(g+1)).split("e");d=w[1]||"",l=(w=w[0].split("."))[1]||"";var j=(a=w[0]||"").length,S=l.length,_=j+S,C=a+l;(v&&_===v+1||!v&&S===g+1)&&((C=function(e){for(var t=e.split("").reverse(),n=0,r=!0;r&&n0?l.length<=M?(a+=l+=s(M-l.length),l=""):(a+=l.slice(0,M),l=l.slice(M)):M<0&&(l=s(Math.abs(M)-a.length)+a+l,a="0"),v||((l=l.slice(0,g)).lengtht.label.length?-1:e.label.length0,K=$?o.precision:0,X=K,Z=o.minValue,Q=!1,J=o.maxValue,ee=!1,te=o.useToLocaleString,ne=o.groupingSeparator,re=o.decimalSeparator,oe=o.grouping;te=te&&(t||r);var ie=o.trim;h(ie)&&(ie=ie.join(" ")),null===ie&&(z||J||$)&&(ie="all"),null!==ie&&!0!==ie&&"left"!==ie&&"right"!==ie||(ie="large"),!1===ie&&(ie="");var ae=function(e){return e.test(ie)},le=/small/,se=/both/,ce=/mid/,ue=/^all|[^sm]all/,de=/final/,fe=z>0||C([/large/,se,ue],ae),pe=C([le,se,ue],ae),he=C([ce,ue],ae),ve=C([de,ue],ae),me=b(D.match(I),(function(e,t){var n=R(e);return"*"===e.slice(0,1)&&(e=e.slice(1),"escape"!==n&&"general"!==n&&F.push(n)),{index:t,length:e.length,text:"",token:"escape"===n?e.replace(A.escape,"$1"):e,type:"escape"===n||"general"===n?null:n}})),ge={index:0,length:0,token:"",text:"",type:null},be=[];H&&me.reverse(),g(me,(function(e){if(e.type)return(ge.type||ge.text)&&be.push(ge),void(ge=e);H?ge.text=e.token+ge.text:ge.text+=e.token})),(ge.type||ge.text)&&be.push(ge),H&&be.reverse();var ye=w(i,O(x(y(be,"type"))));if(!ye.length)return y(be,"text").join("");ye=b(ye,(function(e,t){var n,r=t+1===ye.length,i=!t;n="years"===e||"months"===e?P.as(e):T.as(e);var a=Math.floor(n),l=n-a,s=m(be,(function(t){return e===t.type}));return i&&J&&n>J&&(ee=!0),r&&Z&&Math.abs(o.duration.as(e))1&&(G=!0),T.subtract(a,e),P.subtract(a,e),{rawValue:n,wholeValue:a,decimalValue:r?l:0,isSmallest:r,isLargest:i,type:e,tokenLength:s.length}}));var xe=q?Math.floor:Math.round,Oe=function(e,t){var n=Math.pow(10,t);return xe(e*n)/n},we=!1,je=!1,Se=function(e,t){var n={useGrouping:Y,groupingSeparator:ne,decimalSeparator:re,grouping:oe,useToLocaleString:te};return $&&(K<=0?(e.rawValue=0,e.wholeValue=0,e.decimalValue=0):(n.maximumSignificantDigits=K,e.significantDigits=K)),ee&&!je&&(e.isLargest?(e.wholeValue=J,e.decimalValue=0):(e.wholeValue=0,e.decimalValue=0)),Q&&!je&&(e.isSmallest?(e.wholeValue=Z,e.decimalValue=0):(e.wholeValue=0,e.decimalValue=0)),e.isSmallest||e.significantDigits&&e.significantDigits-e.wholeValue.toString().length<=0?U<0?e.value=Oe(e.wholeValue,U):0===U?e.value=xe(e.wholeValue+e.decimalValue):$?(e.value=q?Oe(e.rawValue,K-e.wholeValue.toString().length):e.rawValue,e.wholeValue&&(K-=e.wholeValue.toString().length)):(n.fractionDigits=U,e.value=q?e.wholeValue+Oe(e.decimalValue,U):e.wholeValue+e.decimalValue):$&&e.wholeValue?(e.value=Math.round(Oe(e.wholeValue,e.significantDigits-e.wholeValue.toString().length)),K-=e.wholeValue.toString().length):e.value=e.wholeValue,e.tokenLength>1&&(G||we)&&(n.minimumIntegerDigits=e.tokenLength,je&&n.maximumSignificantDigits0||""===ie||m(F,e.type)||m(L,e.type))&&(we=!0),e.formattedValue=u(e.value,n,B),n.useGrouping=!1,n.decimalSeparator=".",e.formattedValueEn=u(e.value,n,"en"),2===e.tokenLength&&"milliseconds"===e.type&&(e.formattedValueMS=u(e.value,{minimumIntegerDigits:3,useGrouping:!1},"en").slice(0,2)),e};if((ye=x(ye=b(ye,Se))).length>1){var ke=function(e){return m(ye,(function(t){return t.type===e}))},_e=function(e){var t=ke(e.type);t&&g(e.targets,(function(e){var n=ke(e.type);n&&parseInt(t.formattedValueEn,10)===e.value&&(t.rawValue=0,t.wholeValue=0,t.decimalValue=0,n.rawValue+=1,n.wholeValue+=1,n.decimalValue=0,n.formattedValueEn=n.wholeValue.toString(),je=!0)}))};g(a,_e)}return je&&(we=!1,K=X,ye=x(ye=b(ye,Se))),!L||ee&&!o.trim?(fe&&(ye=j(ye,(function(e){return!e.isSmallest&&!e.wholeValue&&!m(F,e.type)}))),z&&ye.length&&(ye=ye.slice(0,z)),pe&&ye.length>1&&(ye=S(ye,(function(e){return!e.wholeValue&&!m(F,e.type)&&!e.isLargest}))),he&&(ye=x(ye=b(ye,(function(e,t){return t>0&&t ",ee=!1,Q=!1),M&&(t.value>0||""===ie||m(F,t.type)||m(L,t.type))&&(n+="-",M=!1),"milliseconds"===e.type&&t.formattedValueMS?n+=t.formattedValueMS:n+=t.formattedValue,H||(n+=e.text),n}))).join("").replace(/(,| |:|\.)*$/,"").replace(/^(,| |:|\.)*/,""))}function R(){var e=this.duration,t=function(t){return e._data[t]},n=m(this.types,t),r=function(e,t){for(var n=e.length;n-=1;)if(t(e[n]))return e[n]}(this.types,t);switch(n){case"milliseconds":return"S __";case"seconds":case"minutes":return"*_MS_";case"hours":return"_HMS_";case"days":if(n===r)return"d __";case"weeks":return n===r?"w __":(null===this.trim&&(this.trim="both"),"w __, d __, h __");case"months":if(n===r)return"M __";case"years":return n===r?"y __":(null===this.trim&&(this.trim="both"),"y __, M __, d __");default:return null===this.trim&&(this.trim="both"),"y __, d __, h __, m __, s __"}}function I(e){if(!e)throw"Moment Duration Format init cannot find moment instance.";e.duration.format=E,e.duration.fn.format=A,e.duration.fn.format.defaults={trim:null,stopTrim:null,largest:null,maxValue:null,minValue:null,precision:0,trunc:!1,forceLength:null,userLocale:null,usePlural:!0,useLeftUnits:!1,useGrouping:!0,useSignificantDigits:!1,template:R,useToLocaleString:!0,groupingSeparator:",",decimalSeparator:".",grouping:[3]},e.updateLocale("en",p)}var D=function(e,t,n){return e.toLocaleString(t,n)};t=function(){try{(0).toLocaleString("i")}catch(e){return"RangeError"===e.name}return!1}()&&P(D),n=t&&T(D);var L=function(e,t,n){if("undefined"!=typeof window&&window&&window.Intl&&window.Intl.NumberFormat)return window.Intl.NumberFormat(t,n).format(e)};return r=P(L),o=r&&T(L),I(e),I},o=[n(1)],void 0===(i="function"==typeof(r=l)?r.apply(t,o):r)||(e.exports=i),a&&(a.momentDurationFormatSetup=a.moment?l(a.moment):l)},function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return S}));var r=n(2),o=n.n(r),i=n(0),a=n.n(i),l=n(1),s=n.n(l);function c(e){return(c="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)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:6e4;n.clearPooledTimer(),n.pooledTimer=setInterval((function(){n.pooledElements.forEach((function(e){0!==e.props.interval&&e.update()}))}),e)}},{key:"clearPooledTimer",value:function(){n.pooledTimer&&(clearInterval(n.pooledTimer),n.pooledTimer=null,n.pooledElements=[])}},{key:"pushPooledElement",value:function(e){e instanceof n?-1===n.pooledElements.indexOf(e)&&n.pooledElements.push(e):console.error("Element not an instance of Moment.")}},{key:"removePooledElement",value:function(e){var t=n.pooledElements.indexOf(e);-1!==t&&n.pooledElements.splice(t,1)}},{key:"getDatetime",value:function(e){var t=e.utc,r=e.unix,o=e.date,i=e.locale,a=e.parse,l=e.tz,s=e.local;o=o||e.children,a=a||n.globalParse,s=s||n.globalLocal,l=l||n.globalTimezone,i=n.globalLocale?n.globalLocale:i||n.globalMoment.locale();var c=null;return c=t?n.globalMoment.utc(o,a,i):r?n.globalMoment(1e3*o,a,i):n.globalMoment(o,a,i),l?c=c.tz(l):s&&(c=c.local()),c}},{key:"getContent",value:function(e){var t=e.fromNow,r=e.fromNowDuring,o=e.from,i=e.add,a=e.subtract,l=e.toNow,c=e.to,u=e.ago,d=e.calendar,f=e.diff,p=e.duration,h=e.durationFromNow,v=e.unit,m=e.decimal,g=e.trim,b=e.format;b=b||n.globalFormat;var y=n.getDatetime(e);i&&y.add(i),a&&y.subtract(a);var x=Boolean(r)&&-y.diff(s()())=0;f--){var p=a[f];"."===p?i(a,f):".."===p?(i(a,f),d++):d&&(i(a,f),d--)}if(!c)for(;d--;d)a.unshift("..");!c||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function l(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var s=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"===typeof t||"object"===typeof n){var r=l(t),o=l(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},c=n(83);function u(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function f(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function v(e,t,n,o){var i;"string"===typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),i.state=t):(void 0===(i=Object(r.a)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(l){throw l instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):l}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function m(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&s(e.state,t.state)}function g(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"===typeof e?e(t,n):e;"string"===typeof i?"function"===typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=v(e,t,f(),x.location);u.confirmTransitionTo(o,r,n,(function(e){e&&(x.entries[x.index]=o,d({action:r,location:o}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=x.index+e;return t>=0&&t0&&Math.abs((e.outerHeightStyle||0)-f)>1||e.overflow!==p)?(g.current+=1,{overflow:p,outerHeightStyle:f}):e}))}}),[o,c,e.placeholder]);s.useEffect((function(){var e,t=Object(O.a)((function(){g.current=0,P()})),n=Object(w.a)(h.current);return n.addEventListener("resize",t),"undefined"!==typeof ResizeObserver&&(e=new ResizeObserver(t)).observe(h.current),function(){t.clear(),n.removeEventListener("resize",t),e&&e.disconnect()}}),[P]),Object(x.a)((function(){P()})),s.useEffect((function(){g.current=0}),[d]);return Object(j.jsxs)(s.Fragment,{children:[Object(j.jsx)("textarea",Object(a.a)({value:d,onChange:function(e){g.current=0,p||P(),n&&n(e)},ref:v,rows:c,style:Object(a.a)({height:M.outerHeightStyle,overflow:M.overflow?"hidden":null},u)},f)),Object(j.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:m,tabIndex:-1,style:Object(a.a)({},_,u,{padding:0})})]})})),M=n(607),T=n(130),P=n(158),E=n(184);function A(e){return Object(P.a)("MuiInputBase",e)}var R=Object(E.a)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),I=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","startAdornment","type","value"],D=function(e,t){var n=e.ownerState;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t["color".concat(Object(b.a)(n.color))],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},L=function(e,t){var n=e.ownerState;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},N=Object(v.a)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:D})((function(e){var t=e.theme,n=e.ownerState;return Object(a.a)({},t.typography.body1,Object(o.a)({color:t.palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center"},"&.".concat(R.disabled),{color:t.palette.text.disabled,cursor:"default"}),n.multiline&&Object(a.a)({padding:"4px 0 5px"},"small"===n.size&&{paddingTop:1}),n.fullWidth&&{width:"100%"})})),z=Object(v.a)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:L})((function(e){var t,n=e.theme,r=e.ownerState,i="light"===n.palette.mode,l={color:"currentColor",opacity:i?.42:.5,transition:n.transitions.create("opacity",{duration:n.transitions.duration.shorter})},s={opacity:"0 !important"},c={opacity:i?.42:.5};return Object(a.a)((t={font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":l,"&::-moz-placeholder":l,"&:-ms-input-placeholder":l,"&::-ms-input-placeholder":l,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"}},Object(o.a)(t,"label[data-shrink=false] + .".concat(R.formControl," &"),{"&::-webkit-input-placeholder":s,"&::-moz-placeholder":s,"&:-ms-input-placeholder":s,"&::-ms-input-placeholder":s,"&:focus::-webkit-input-placeholder":c,"&:focus::-moz-placeholder":c,"&:focus:-ms-input-placeholder":c,"&:focus::-ms-input-placeholder":c}),Object(o.a)(t,"&.".concat(R.disabled),{opacity:1,WebkitTextFillColor:n.palette.text.disabled}),Object(o.a)(t,"&:-webkit-autofill",{animationDuration:"5000s",animationName:"mui-auto-fill"}),t),"small"===r.size&&{paddingTop:1},r.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===r.type&&{MozAppearance:"textfield",WebkitAppearance:"textfield"})})),F=Object(j.jsx)(M.a,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),W=s.forwardRef((function(e,t){var n=Object(m.a)({props:e,name:"MuiInputBase"}),o=n["aria-describedby"],v=n.autoComplete,O=n.autoFocus,w=n.className,S=n.components,k=void 0===S?{}:S,_=n.componentsProps,M=void 0===_?{}:_,P=n.defaultValue,E=n.disabled,R=n.endAdornment,D=n.fullWidth,L=void 0!==D&&D,W=n.id,B=n.inputComponent,H=void 0===B?"input":B,V=n.inputProps,U=void 0===V?{}:V,G=n.inputRef,Y=n.maxRows,q=n.minRows,$=n.multiline,K=void 0!==$&&$,X=n.name,Z=n.onBlur,Q=n.onChange,J=n.onClick,ee=n.onFocus,te=n.onKeyDown,ne=n.onKeyUp,re=n.placeholder,oe=n.readOnly,ie=n.renderSuffix,ae=n.rows,le=n.startAdornment,se=n.type,ce=void 0===se?"text":se,ue=n.value,de=Object(i.a)(n,I),fe=Object(g.a)(),pe=null!=U.value?U.value:ue,he=s.useRef(null!=pe).current,ve=s.useRef(),me=s.useCallback((function(e){0}),[]),ge=Object(y.a)(U.ref,me),be=Object(y.a)(G,ge),ye=Object(y.a)(ve,be),xe=s.useState(!1),Oe=Object(r.a)(xe,2),we=Oe[0],je=Oe[1],Se=Object(h.a)();var ke=Object(f.a)({props:n,muiFormControl:Se,states:["color","disabled","error","hiddenLabel","size","required","filled"]});ke.focused=Se?Se.focused:we,s.useEffect((function(){!Se&&E&&we&&(je(!1),Z&&Z())}),[Se,E,we,Z]);var _e=Se&&Se.onFilled,Ce=Se&&Se.onEmpty,Me=s.useCallback((function(e){Object(T.b)(e)?_e&&_e():Ce&&Ce()}),[_e,Ce]);Object(x.a)((function(){he&&Me({value:pe})}),[pe,Me,he]);s.useEffect((function(){Me(ve.current)}),[]);var Te=H,Pe=U;K&&"input"===Te&&(Pe=ae?Object(a.a)({type:void 0,minRows:ae,maxRows:ae},Pe):Object(a.a)({type:void 0,maxRows:Y,minRows:q},Pe),Te=C);s.useEffect((function(){Se&&Se.setAdornedStart(Boolean(le))}),[Se,le]);var Ee=Object(a.a)({},n,{color:ke.color||"primary",disabled:ke.disabled,endAdornment:R,error:ke.error,focused:ke.focused,formControl:Se,fullWidth:L,hiddenLabel:ke.hiddenLabel,multiline:K,size:ke.size,startAdornment:le,type:ce}),Ae=function(e){var t=e.classes,n=e.color,r=e.disabled,o=e.error,i=e.endAdornment,a=e.focused,l=e.formControl,s=e.fullWidth,c=e.hiddenLabel,d=e.multiline,f=e.size,p=e.startAdornment,h=e.type,v={root:["root","color".concat(Object(b.a)(n)),r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl","small"===f&&"sizeSmall",d&&"multiline",p&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",d&&"inputMultiline","small"===f&&"inputSizeSmall",c&&"inputHiddenLabel",p&&"inputAdornedStart",i&&"inputAdornedEnd"]};return Object(u.a)(v,A,t)}(Ee),Re=k.Root||N,Ie=M.root||{},De=k.Input||z;return Pe=Object(a.a)({},Pe,M.input),Object(j.jsxs)(s.Fragment,{children:[F,Object(j.jsxs)(Re,Object(a.a)({},Ie,!Object(d.a)(Re)&&{ownerState:Object(a.a)({},Ee,Ie.ownerState),theme:fe},{ref:t,onClick:function(e){ve.current&&e.currentTarget===e.target&&ve.current.focus(),J&&J(e)}},de,{className:Object(c.a)(Ae.root,Ie.className,w),children:[le,Object(j.jsx)(p.a.Provider,{value:null,children:Object(j.jsx)(De,Object(a.a)({ownerState:Ee,"aria-invalid":ke.error,"aria-describedby":o,autoComplete:v,autoFocus:O,defaultValue:P,disabled:ke.disabled,id:W,onAnimationStart:function(e){Me("mui-auto-fill-cancel"===e.animationName?ve.current:{value:"x"})},name:X,placeholder:re,readOnly:oe,required:ke.required,rows:ae,value:pe,onKeyDown:te,onKeyUp:ne,type:ce},Pe,!Object(d.a)(De)&&{as:Te,ownerState:Object(a.a)({},Ee,Pe.ownerState),theme:fe},{ref:ye,className:Object(c.a)(Ae.input,Pe.className,U.className),onBlur:function(e){Z&&Z(e),U.onBlur&&U.onBlur(e),Se&&Se.onBlur?Se.onBlur(e):je(!1)},onChange:function(e){if(!he){var t=e.target||ve.current;if(null==t)throw new Error(Object(l.a)(1));Me({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;oe.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0?1:-1;"insideStart"===i?(r=y+k*l,o=O):"insideEnd"===i?(r=x-k*l,o=!O):"end"===i&&(r=x+k*l,o=O),o=S<=0?o:!o;var _=Object(m.e)(p,h,w,r),C=Object(m.e)(p,h,w,r+359*(o?1:-1)),M="M".concat(_.x,",").concat(_.y,"\n A").concat(w,",").concat(w,",0,1,").concat(o?0:1,",\n ").concat(C.x,",").concat(C.y),T=s()(e.id)?Object(v.j)("recharts-radial-line-"):e.id;return u.a.createElement("text",j({},n,{dominantBaseline:"central",className:f()("recharts-radial-bar-label",c)}),u.a.createElement("defs",null,u.a.createElement("path",{id:T,d:M})),u.a.createElement("textPath",{xlinkHref:"#".concat(T)},t))};function k(e){var t,n=e.viewBox,r=e.position,i=e.value,l=e.children,d=e.content,h=e.className,b=void 0===h?"":h,y=e.textBreakAll;if(!n||s()(i)&&s()(l)&&!Object(c.isValidElement)(d)&&!a()(d))return null;if(Object(c.isValidElement)(d))return Object(c.cloneElement)(d,e);if(a()(d)){if(t=Object(c.createElement)(d,e),Object(c.isValidElement)(t))return t}else t=function(e){var t=e.value,n=e.formatter,r=s()(e.children)?t:e.children;return a()(n)?n(r):r}(e);var x=function(e){return Object(v.g)(e.cx)}(n),w=Object(g.c)(e,!0);if(x&&("insideStart"===r||"insideEnd"===r||"end"===r))return S(e,t,w);var k=x?function(e){var t=e.viewBox,n=e.offset,r=e.position,o=t,i=o.cx,a=o.cy,l=o.innerRadius,s=o.outerRadius,c=(o.startAngle+o.endAngle)/2;if("outside"===r){var u=Object(m.e)(i,a,s+n,c),d=u.x;return{x:d,y:u.y,textAnchor:d>=i?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"end"};var f=(l+s)/2,p=Object(m.e)(i,a,f,c);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}}(e):function(e){var t=e.viewBox,n=e.parentViewBox,r=e.offset,i=e.position,a=t,l=a.x,s=a.y,c=a.width,u=a.height,d=u>=0?1:-1,f=d*r,p=d>0?"end":"start",h=d>0?"start":"end",m=c>=0?1:-1,g=m*r,b=m>0?"end":"start",y=m>0?"start":"end";if("top"===i)return O(O({},{x:l+c/2,y:s-d*r,textAnchor:"middle",verticalAnchor:p}),n?{height:Math.max(s-n.y,0),width:c}:{});if("bottom"===i)return O(O({},{x:l+c/2,y:s+u+f,textAnchor:"middle",verticalAnchor:h}),n?{height:Math.max(n.y+n.height-(s+u),0),width:c}:{});if("left"===i){var x={x:l-g,y:s+u/2,textAnchor:b,verticalAnchor:"middle"};return O(O({},x),n?{width:Math.max(x.x-n.x,0),height:u}:{})}if("right"===i){var w={x:l+c+g,y:s+u/2,textAnchor:y,verticalAnchor:"middle"};return O(O({},w),n?{width:Math.max(n.x+n.width-w.x,0),height:u}:{})}var j=n?{width:c,height:u}:{};return"insideLeft"===i?O({x:l+g,y:s+u/2,textAnchor:y,verticalAnchor:"middle"},j):"insideRight"===i?O({x:l+c-g,y:s+u/2,textAnchor:b,verticalAnchor:"middle"},j):"insideTop"===i?O({x:l+c/2,y:s+f,textAnchor:"middle",verticalAnchor:h},j):"insideBottom"===i?O({x:l+c/2,y:s+u-f,textAnchor:"middle",verticalAnchor:p},j):"insideTopLeft"===i?O({x:l+g,y:s+f,textAnchor:y,verticalAnchor:h},j):"insideTopRight"===i?O({x:l+c-g,y:s+f,textAnchor:b,verticalAnchor:h},j):"insideBottomLeft"===i?O({x:l+g,y:s+u-f,textAnchor:y,verticalAnchor:p},j):"insideBottomRight"===i?O({x:l+c-g,y:s+u-f,textAnchor:b,verticalAnchor:p},j):o()(i)&&(Object(v.g)(i.x)||Object(v.h)(i.x))&&(Object(v.g)(i.y)||Object(v.h)(i.y))?O({x:l+Object(v.c)(i.x,c),y:s+Object(v.c)(i.y,u),textAnchor:"end",verticalAnchor:"end"},j):O({x:l+c/2,y:s+u/2,textAnchor:"middle",verticalAnchor:"middle"},j)}(e);return u.a.createElement(p.a,j({className:f()("recharts-label",b)},w,k,{breakAll:y}),t)}k.displayName="Label",k.defaultProps={offset:5};var _=function(e){var t=e.cx,n=e.cy,r=e.angle,o=e.startAngle,i=e.endAngle,a=e.r,l=e.radius,s=e.innerRadius,c=e.outerRadius,u=e.x,d=e.y,f=e.top,p=e.left,h=e.width,m=e.height,g=e.clockWise,b=e.labelViewBox;if(b)return b;if(Object(v.g)(h)&&Object(v.g)(m)){if(Object(v.g)(u)&&Object(v.g)(d))return{x:u,y:d,width:h,height:m};if(Object(v.g)(f)&&Object(v.g)(p))return{x:f,y:p,width:h,height:m}}return Object(v.g)(u)&&Object(v.g)(d)?{x:u,y:d,width:0,height:0}:Object(v.g)(t)&&Object(v.g)(n)?{cx:t,cy:n,startAngle:o||r||0,endAngle:i||r||0,innerRadius:s||0,outerRadius:c||l||a||0,clockWise:g}:e.viewBox?e.viewBox:{}},C=function(e,t){return e?!0===e?u.a.createElement(k,{key:"label-implicit",viewBox:t}):Object(v.f)(e)?u.a.createElement(k,{key:"label-implicit",viewBox:t,value:e}):Object(c.isValidElement)(e)?e.type===k?Object(c.cloneElement)(e,{key:"label-implicit",viewBox:t}):u.a.createElement(k,{key:"label-implicit",content:e,viewBox:t}):a()(e)?u.a.createElement(k,{key:"label-implicit",content:e,viewBox:t}):o()(e)?u.a.createElement(k,j({viewBox:t},e,{key:"label-implicit"})):null:null};k.parseViewBox=_,k.renderCallByParent=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var r=e.children,o=_(e),i=Object(h.a)(r,k.displayName).map((function(e,n){return Object(c.cloneElement)(e,{viewBox:t||o,key:"label-".concat(n)})}));if(!n)return i;var a=C(e.label,t||o);return[a].concat(b(i))}},function(e,t,n){"use strict";var r=n(1),o=r.createContext({});t.a=o},function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return v})),n.d(t,"d",(function(){return m}));var r=n(3),o=n(63),i=n(26),a=n(101);var l={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},u=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!c[e])return[e];e=c[e]}var t=e.split(""),n=Object(r.a)(t,2),o=n[0],i=n[1],a=l[o],u=s[i]||"";return Array.isArray(u)?u.map((function(e){return a+e})):[a+u]})),d=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[].concat(d,f);function h(e,t,n,r){var o=Object(i.b)(e,t)||n;return"number"===typeof o?function(e){return"string"===typeof e?e:o*e}:Array.isArray(o)?function(e){return"string"===typeof e?e:o[e]}:"function"===typeof o?o:function(){}}function v(e){return h(e,"spacing",8)}function m(e,t){if("string"===typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"===typeof n?-n:"-".concat(n)}function g(e,t,n,r){if(-1===t.indexOf(n))return null;var i=function(e,t){return function(n){return e.reduce((function(e,r){return e[r]=m(t,n),e}),{})}}(u(n),r),a=e[n];return Object(o.b)(e,a,i)}function b(e,t){var n=v(e.theme);return Object.keys(e).map((function(r){return g(e,t,r,n)})).reduce(a.a,{})}function y(e){return b(e,d)}function x(e){return b(e,f)}function O(e){return b(e,p)}y.propTypes={},y.filterProps=d,x.propTypes={},x.filterProps=f,O.propTypes={},O.filterProps=p;t.c=O},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i}));var r=n(345),o=new(n.n(r).a);o.setMaxListeners&&o.setMaxListeners(10);var i="recharts.syncMouseEvents"},,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1),o=n(119);function i(){return r.useContext(o.a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={isSsr:!("undefined"!==typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return r[e]},set:function(e,t){if("string"===typeof e)r[e]=t;else{var n=Object.keys(e);n&&n.length&&n.forEach((function(t){r[t]=e[t]}))}}}},,function(e,t,n){"use strict";t.a=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=this,o=arguments.length,i=new Array(o),a=0;a=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,t){var i=t.word,a=t.width,l=e[e.length-1];if(l&&(null==r||o||l.width+a+ne.maxLines||function(e){return e.reduce((function(e,t){return e.width>t.width?e:t}))}(i).width>r;return[s,i]},f=0,p=a.length-1,h=0;f<=p&&h<=a.length-1;){var v=Math.floor((f+p)/2),m=S(u(v-1),2),g=m[0],b=m[1],y=S(u(v),1)[0];if(g||y||(f=v+1),g&&y&&(p=v-1),!g&&y){c=b;break}h++}return c||s}(e,n.wordsWithComputedWidth,n.spaceWidth,e.width,e.scaleToFit):E(e.children)}return E(e.children)},R=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}(i,e);var t,n,r,o=O(i);function i(){var e;b(this,i);for(var t=arguments.length,n=new Array(t),r=0;r2?n-2:0),o=2;o0&&(M=Math.min((e||0)-(T[t-1]||0),M))}));var P=M/C,E="vertical"===y.layout?n.height:n.width;if("gap"===y.padding&&(s=P*E/2),"no-gap"===y.padding){var A=Object(c.c)(e.barCategoryGap,P*E),R=P*E/2;s=R-A-(R-A)/E*A}}d="xAxis"===r?[n.left+(j.left||0)+(s||0),n.left+n.width-(j.right||0)-(s||0)]:"yAxis"===r?"horizontal"===u?[n.top+n.height-(j.bottom||0),n.top+(j.top||0)]:[n.top+(j.top||0)+(s||0),n.top+n.height-(j.bottom||0)-(s||0)]:y.range,k&&(d=[d[1],d[0]]);var I=Object(l.A)(y,o,m),D=I.scale,L=I.realScaleType;D.domain(O).range(d),Object(l.c)(D);var N=Object(l.u)(D,f(f({},y),{},{realScaleType:L}));"xAxis"===r?(b="top"===x&&!S||"bottom"===x&&S,h=n.left,g=v[_]-b*y.height):"yAxis"===r&&(b="left"===x&&!S||"right"===x&&S,h=v[_]-b*y.width,g=n.top);var z=f(f(f({},y),N),{},{realScaleType:L,x:h,y:g,scale:D,width:"xAxis"===r?n.width:y.width,height:"yAxis"===r?n.height:y.height});return z.bandSize=Object(l.f)(z,N),y.hide||"xAxis"!==r?y.hide||(v[_]+=(b?-1:1)*z.width):v[_]+=(b?-1:1)*z.height,f(f({},i),{},p({},a,z))}),{})},v=function(e,t){var n=e.x,r=e.y,o=t.x,i=t.y;return{x:Math.min(n,o),y:Math.min(r,i),width:Math.abs(o-n),height:Math.abs(i-r)}},m=function(e){var t=e.x1,n=e.y1,r=e.x2,o=e.y2;return v({x:t,y:n},{x:r,y:o})},g=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scale=void 0,this.scale=t}var t,n,r;return t=e,n=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.bandAware,r=t.position;if(void 0!==e){if(r)switch(r){default:return this.scale(e);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(e)+i}if(n){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),n=t[0],r=t[t.length-1];return n<=r?e>=n&&e<=r:e>=r&&e<=n}}],r=[{key:"create",value:function(t){return new e(t)}}],n&&u(t.prototype,n),r&&u(t,r),e}();g.EPS=1e-4;var b=function(e){var t=Object.keys(e).reduce((function(t,n){return f(f({},t),{},p({},n,g.create(e[n])))}),{});return f(f({},t),{},{apply:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.bandAware,o=n.position;return a()(e,(function(e,n){return t[n].apply(e,{bandAware:r,position:o})}))},isInRange:function(e){return o()(e,(function(e,n){return t[n].isInRange(e)}))}})}},function(e,t,n){"use strict";n.d(t,"b",(function(){return j}));var r=n(1),o=n.n(r),i=n(13),a=n.n(i),l=n(343),s=n(125),c=n.n(s);function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1,r=function r(o){n<0&&(n=o),o-n>t?(e(o),n=-1):c()(r)};c()(r)}function d(e){return d="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function f(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return p(e,t)}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0&&e<=1}));var u=A(r,i),d=A(o,a),f=R(r,i),p=function(e){return e>1?1:e<0?0:e},h=function(e){for(var t=e>1?1:e,n=t,r=0;r<8;++r){var o=u(n)-t,i=f(n);if(Math.abs(o-t)0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,n=void 0===t?100:t,r=e.damping,o=void 0===r?8:r,i=e.dt,a=void 0===i?17:i,l=function(e,t,r){var i=r+(-(e-t)*n-r*o)*a/1e3,l=r*a/1e3+e;return Math.abs(l-t)e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function K(e){return function(e){if(Array.isArray(e))return X(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return X(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return X(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?n[o-1]:r,f=c||Object.keys(s);if("function"===typeof l||"spring"===l)return[].concat(K(e),[t.runJSAnimation.bind(t,{from:d.style,to:s,duration:i,easing:l}),i]);var p=S(f,i,l),h=Q(Q(Q({},d.style),s),{},{transition:p});return[].concat(K(e),[h,i,u]).filter(O)}),[a,Math.max(s,r)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=h());var t=e.begin,n=e.duration,r=e.attributeName,o=e.to,i=e.easing,a=e.onAnimationStart,l=e.onAnimationEnd,s=e.steps,c=e.children,u=this.manager;if(this.unSubscribe=u.subscribe(this.handleStyleChange),"function"!==typeof i&&"function"!==typeof c&&"spring"!==i)if(s.length>1)this.runStepAnimation(e);else{var d=r?J({},r,o):o,f=S(Object.keys(d),n,i);u.start([a,t,Q(Q({},d),{},{transition:f}),n,l])}else this.runJSAnimation(e)}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"render",value:function(){var e=this.props,t=e.children,n=(e.begin,e.duration,e.attributeName,e.easing,e.isActive),i=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,$(e,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),a=r.Children.count(t),l=j(this.state.style);if("function"===typeof t)return t(l);if(!n||0===a)return t;var s=function(e){var t=e.props,n=t.style,o=void 0===n?{}:n,a=t.className;return Object(r.cloneElement)(e,Q(Q({},i),{},{style:Q(Q({},o),l),className:a}))};return 1===a?s(r.Children.only(t)):o.a.createElement("div",null,r.Children.map(t,(function(e){return s(e)})))}}],n&&ee(t.prototype,n),i&&ee(t,i),s}(r.PureComponent);ae.displayName="Animate",ae.propTypes={from:a.a.oneOfType([a.a.object,a.a.string]),to:a.a.oneOfType([a.a.object,a.a.string]),attributeName:a.a.string,duration:a.a.number,begin:a.a.number,easing:a.a.oneOfType([a.a.string,a.a.func]),steps:a.a.arrayOf(a.a.shape({duration:a.a.number.isRequired,style:a.a.object.isRequired,easing:a.a.oneOfType([a.a.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),a.a.func]),properties:a.a.arrayOf("string"),onAnimationEnd:a.a.func})),children:a.a.oneOfType([a.a.node,a.a.func]),isActive:a.a.bool,canBegin:a.a.bool,onAnimationEnd:a.a.func,shouldReAnimate:a.a.bool,onAnimationStart:a.a.func,onAnimationReStart:a.a.func},ae.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};var le=ae,se=n(211);function ce(e){return ce="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},ce(e)}function ue(){return ue=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pe(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.steps,n=e.duration;return t&&t.length?t.reduce((function(e,t){return e+(Number.isFinite(t.duration)&&t.duration>0?t.duration:0)}),0):Number.isFinite(n)?n:0},we=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ge(e,t)}(l,e);var t,n,i,a=be(l);function l(){var e;ve(this,l);for(var t=arguments.length,n=new Array(t),r=0;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0&&o===+o?"".concat(o,"px"):o),";");var r,o,i}),"")},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e||null===e||r.a.isSsr)return{width:0,height:0};var n="".concat(e),o=p(t),a="".concat(n,"-").concat(o);if(c.widthCache[a])return c.widthCache[a];try{var l=document.getElementById(f);l||((l=document.createElement("span")).setAttribute("id",f),l.setAttribute("aria-hidden","true"),document.body.appendChild(l));var s=i(i({},u),t);Object.keys(s).map((function(e){return l.style[e]=s[e],e})),l.textContent=n;var d=l.getBoundingClientRect(),h={width:d.width,height:d.height};return c.widthCache[a]=h,++c.cacheCount>2e3&&(c.cacheCount=0,c.widthCache={}),h}catch(v){return{width:0,height:0}}},v=function(e){var t=e.ownerDocument.documentElement,n={top:0,left:0};return"undefined"!==typeof e.getBoundingClientRect&&(n=e.getBoundingClientRect()),{top:n.top+window.pageYOffset-t.clientTop,left:n.left+window.pageXOffset-t.clientLeft}},m=function(e,t){return{chartX:Math.round(e.pageX-t.left),chartY:Math.round(e.pageY-t.top)}}},function(e,t,n){var r=n(506),o=n(530),i=n(139),a=n(32),l=n(533);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):r(e):l(e)}},function(e,t,n){(function(e){e.exports=function(){"use strict";var t,n;function r(){return t.apply(null,arguments)}function o(e){t=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function a(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function s(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(l(e,t))return!1;return!0}function c(e){return void 0===e}function u(e){return"number"===typeof e||"[object Number]"===Object.prototype.toString.call(e)}function d(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function f(e,t){var n,r=[];for(n=0;n>>0;for(t=0;t0)for(n=0;n=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var L=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,N=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,z={},F={};function W(e,t,n,r){var o=r;"string"===typeof r&&(o=function(){return this[r]()}),e&&(F[e]=o),t&&(F[t[0]]=function(){return D(o.apply(this,arguments),t[1],t[2])}),n&&(F[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function H(e){var t,n,r=e.match(L);for(t=0,n=r.length;t=0&&N.test(e);)e=e.replace(N,r),N.lastIndex=0,n-=1;return e}var G={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Y(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(L).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var q="Invalid date";function $(){return this._invalidDate}var K="%d",X=/\d{1,2}/;function Z(e){return this._ordinal.replace("%d",e)}var Q={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function J(e,t,n,r){var o=this._relativeTime[n];return T(o)?o(e,t,n,r):o.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)}var te={};function ne(e,t){var n=e.toLowerCase();te[n]=te[n+"s"]=te[t]=e}function re(e){return"string"===typeof e?te[e]||te[e.toLowerCase()]:void 0}function oe(e){var t,n,r={};for(n in e)l(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var ie={};function ae(e,t){ie[e]=t}function le(e){var t,n=[];for(t in e)l(e,t)&&n.push({unit:t,priority:ie[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function se(e){return e%4===0&&e%100!==0||e%400===0}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ue(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}function de(e,t){return function(n){return null!=n?(pe(this,e,n),r.updateOffset(this,t),this):fe(this,e)}}function fe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&se(e.year())&&1===e.month()&&29===e.date()?(n=ue(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Je(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function he(e){return T(this[e=re(e)])?this[e]():this}function ve(e,t){if("object"===typeof e){var n,r=le(e=oe(e));for(n=0;n68?1900:2e3)};var mt=de("FullYear",!0);function gt(){return se(this.year())}function bt(e,t,n,r,o,i,a){var l;return e<100&&e>=0?(l=new Date(e+400,t,n,r,o,i,a),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,n,r,o,i,a),l}function yt(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function xt(e,t,n){var r=7+t-n;return-(7+yt(e,0,r).getUTCDay()-t)%7+r-1}function Ot(e,t,n,r,o){var i,a,l=1+7*(t-1)+(7+n-r)%7+xt(e,r,o);return l<=0?a=vt(i=e-1)+l:l>vt(e)?(i=e+1,a=l-vt(e)):(i=e,a=l),{year:i,dayOfYear:a}}function wt(e,t,n){var r,o,i=xt(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+jt(o=e.year()-1,t,n):a>jt(e.year(),t,n)?(r=a-jt(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function jt(e,t,n){var r=xt(e,t,n),o=xt(e+1,t,n);return(vt(e)-r+o)/7}function St(e){return wt(e,this._week.dow,this._week.doy).week}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),ne("week","w"),ne("isoWeek","W"),ae("week",5),ae("isoWeek",5),Ie("w",we),Ie("ww",we,be),Ie("W",we),Ie("WW",we,be),We(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ue(e)}));var kt={dow:0,doy:6};function _t(){return this._week.dow}function Ct(){return this._week.doy}function Mt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Tt(e){var t=wt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Pt(e,t){return"string"!==typeof e?e:isNaN(e)?"number"===typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Et(e,t){return"string"===typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function At(e,t){return e.slice(t,7).concat(e.slice(0,t))}W("d",0,"do","day"),W("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),W("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),W("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),ae("day",11),ae("weekday",11),ae("isoWeekday",11),Ie("d",we),Ie("e",we),Ie("E",we),Ie("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ie("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ie("dddd",(function(e,t){return t.weekdaysRegex(e)})),We(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:m(n).invalidWeekday=e})),We(["d","e","E"],(function(e,t,n,r){t[r]=ue(e)}));var Rt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),It="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Dt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Lt=Re,Nt=Re,zt=Re;function Ft(e,t){var n=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?At(n,this._week.dow):e?n[e.day()]:n}function Wt(e){return!0===e?At(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Bt(e){return!0===e?At(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ht(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=h([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=He.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=He.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=He.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=He.call(this._weekdaysParse,a))||-1!==(o=He.call(this._shortWeekdaysParse,a))||-1!==(o=He.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=He.call(this._shortWeekdaysParse,a))||-1!==(o=He.call(this._weekdaysParse,a))||-1!==(o=He.call(this._minWeekdaysParse,a))?o:null:-1!==(o=He.call(this._minWeekdaysParse,a))||-1!==(o=He.call(this._weekdaysParse,a))||-1!==(o=He.call(this._shortWeekdaysParse,a))?o:null}function Vt(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Ht.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=h([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Ut(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Pt(e,this.localeData()),this.add(e-t,"d")):t}function Gt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Yt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Et(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function qt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Lt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function $t(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Nt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=zt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xt(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],l=[],s=[],c=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),r=Ne(this.weekdaysMin(n,"")),o=Ne(this.weekdaysShort(n,"")),i=Ne(this.weekdays(n,"")),a.push(r),l.push(o),s.push(i),c.push(r),c.push(o),c.push(i);a.sort(e),l.sort(e),s.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Zt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function Jt(e,t){W(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function en(e,t){return t._meridiemParse}function tn(e){return"p"===(e+"").toLowerCase().charAt(0)}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Zt),W("k",["kk",2],0,Qt),W("hmm",0,0,(function(){return""+Zt.apply(this)+D(this.minutes(),2)})),W("hmmss",0,0,(function(){return""+Zt.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)})),W("Hmm",0,0,(function(){return""+this.hours()+D(this.minutes(),2)})),W("Hmmss",0,0,(function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)})),Jt("a",!0),Jt("A",!1),ne("hour","h"),ae("hour",13),Ie("a",en),Ie("A",en),Ie("H",we),Ie("h",we),Ie("k",we),Ie("HH",we,be),Ie("hh",we,be),Ie("kk",we,be),Ie("hmm",je),Ie("hmmss",Se),Ie("Hmm",je),Ie("Hmmss",Se),Fe(["H","HH"],Ye),Fe(["k","kk"],(function(e,t,n){var r=ue(e);t[Ye]=24===r?0:r})),Fe(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Fe(["h","hh"],(function(e,t,n){t[Ye]=ue(e),m(n).bigHour=!0})),Fe("hmm",(function(e,t,n){var r=e.length-2;t[Ye]=ue(e.substr(0,r)),t[qe]=ue(e.substr(r)),m(n).bigHour=!0})),Fe("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[Ye]=ue(e.substr(0,r)),t[qe]=ue(e.substr(r,2)),t[$e]=ue(e.substr(o)),m(n).bigHour=!0})),Fe("Hmm",(function(e,t,n){var r=e.length-2;t[Ye]=ue(e.substr(0,r)),t[qe]=ue(e.substr(r))})),Fe("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[Ye]=ue(e.substr(0,r)),t[qe]=ue(e.substr(r,2)),t[$e]=ue(e.substr(o))}));var nn=/[ap]\.?m?\.?/i,rn=de("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,ln={calendar:R,longDateFormat:G,invalidDate:q,ordinal:K,dayOfMonthOrdinalParse:X,relativeTime:Q,months:et,monthsShort:tt,week:kt,weekdays:Rt,weekdaysMin:Dt,weekdaysShort:It,meridiemParse:nn},sn={},cn={};function un(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(r=pn(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&un(o,n)>=t-1)break;t--}i++}return an}function pn(t){var n=null;if(void 0===sn[t]&&"undefined"!==typeof e&&e&&e.exports)try{n=an._abbr,function(){var e=new Error("Cannot find module 'undefined'");throw e.code="MODULE_NOT_FOUND",e}(),hn(n)}catch(r){sn[t]=null}return sn[t]}function hn(e,t){var n;return e&&((n=c(t)?gn(e):vn(e,t))?an=n:"undefined"!==typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function vn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=sn[e])M("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=sn[e]._config;else if(null!=t.parentLocale)if(null!=sn[t.parentLocale])r=sn[t.parentLocale]._config;else{if(null==(n=pn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return sn[e]=new A(E(r,t)),cn[e]&&cn[e].forEach((function(e){vn(e.name,e.config)})),hn(e),sn[e]}return delete sn[e],null}function mn(e,t){if(null!=t){var n,r,o=ln;null!=sn[e]&&null!=sn[e].parentLocale?sn[e].set(E(sn[e]._config,t)):(null!=(r=pn(e))&&(o=r._config),t=E(o,t),null==r&&(t.abbr=e),(n=new A(t)).parentLocale=sn[e],sn[e]=n),hn(e)}else null!=sn[e]&&(null!=sn[e].parentLocale?(sn[e]=sn[e].parentLocale,e===hn()&&hn(e)):null!=sn[e]&&delete sn[e]);return sn[e]}function gn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!i(e)){if(t=pn(e))return t;e=[e]}return fn(e)}function bn(){return _(sn)}function yn(e){var t,n=e._a;return n&&-2===m(e).overflow&&(t=n[Ue]<0||n[Ue]>11?Ue:n[Ge]<1||n[Ge]>Je(n[Ve],n[Ue])?Ge:n[Ye]<0||n[Ye]>24||24===n[Ye]&&(0!==n[qe]||0!==n[$e]||0!==n[Ke])?Ye:n[qe]<0||n[qe]>59?qe:n[$e]<0||n[$e]>59?$e:n[Ke]<0||n[Ke]>999?Ke:-1,m(e)._overflowDayOfYear&&(tGe)&&(t=Ge),m(e)._overflowWeeks&&-1===t&&(t=Xe),m(e)._overflowWeekday&&-1===t&&(t=Ze),m(e).overflow=t),e}var xn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,On=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wn=/Z|[+-]\d\d(?::?\d\d)?/,jn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Sn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],kn=/^\/?Date\((-?\d+)/i,_n=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,Cn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(e){var t,n,r,o,i,a,l=e._i,s=xn.exec(l)||On.exec(l);if(s){for(m(e).iso=!0,t=0,n=jn.length;tvt(i)||0===e._dayOfYear)&&(m(e)._overflowDayOfYear=!0),n=yt(i,0,e._dayOfYear),e._a[Ue]=n.getUTCMonth(),e._a[Ge]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ye]&&0===e._a[qe]&&0===e._a[$e]&&0===e._a[Ke]&&(e._nextDay=!0,e._a[Ye]=0),e._d=(e._useUTC?yt:bt).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ye]=24),e._w&&"undefined"!==typeof e._w.d&&e._w.d!==o&&(m(e).weekdayMismatch=!0)}}function Fn(e){var t,n,r,o,i,a,l,s,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,a=4,n=Ln(t.GG,e._a[Ve],wt($n(),1,4).year),r=Ln(t.W,1),((o=Ln(t.E,1))<1||o>7)&&(s=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,c=wt($n(),i,a),n=Ln(t.gg,e._a[Ve],c.year),r=Ln(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(s=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(s=!0)):o=i),r<1||r>jt(n,i,a)?m(e)._overflowWeeks=!0:null!=s?m(e)._overflowWeekday=!0:(l=Ot(n,r,o,i,a),e._a[Ve]=l.year,e._dayOfYear=l.dayOfYear)}function Wn(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],m(e).empty=!0;var t,n,o,i,a,l,s=""+e._i,c=s.length,u=0;for(o=U(e._f,e._locale).match(L)||[],t=0;t0&&m(e).unusedInput.push(a),s=s.slice(s.indexOf(n)+n.length),u+=n.length),F[i]?(n?m(e).empty=!1:m(e).unusedTokens.push(i),Be(i,n,e)):e._strict&&!n&&m(e).unusedTokens.push(i);m(e).charsLeftOver=c-u,s.length>0&&m(e).unusedInput.push(s),e._a[Ye]<=12&&!0===m(e).bigHour&&e._a[Ye]>0&&(m(e).bigHour=void 0),m(e).parsedDateParts=e._a.slice(0),m(e).meridiem=e._meridiem,e._a[Ye]=Bn(e._locale,e._a[Ye],e._meridiem),null!==(l=m(e).era)&&(e._a[Ve]=e._locale.erasConvertYear(l,e._a[Ve])),zn(e),yn(e)}else In(e);else Mn(e)}function Bn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Hn(e){var t,n,r,o,i,a,l=!1;if(0===e._f.length)return m(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;othis?this:e:b()}));function Zn(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return $n();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Or(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return O(t,this),(t=Gn(t))._a?(e=t._isUTC?h(t._a):$n(t._a),this._isDSTShifted=this.isValid()&&sr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function wr(){return!!this.isValid()&&!this._isUTC}function jr(){return!!this.isValid()&&this._isUTC}function Sr(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var kr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,_r=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Cr(e,t){var n,r,o,i=e,a=null;return ar(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=kr.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:ue(a[Ge])*n,h:ue(a[Ye])*n,m:ue(a[qe])*n,s:ue(a[$e])*n,ms:ue(lr(1e3*a[Ke]))*n}):(a=_r.exec(e))?(n="-"===a[1]?-1:1,i={y:Mr(a[2],n),M:Mr(a[3],n),w:Mr(a[4],n),d:Mr(a[5],n),h:Mr(a[6],n),m:Mr(a[7],n),s:Mr(a[8],n)}):null==i?i={}:"object"===typeof i&&("from"in i||"to"in i)&&(o=Pr($n(i.from),$n(i.to)),(i={}).ms=o.milliseconds,i.M=o.months),r=new ir(i),ar(e)&&l(e,"_locale")&&(r._locale=e._locale),ar(e)&&l(e,"_isValid")&&(r._isValid=e._isValid),r}function Mr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Tr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Pr(e,t){var n;return e.isValid()&&t.isValid()?(t=fr(t,e),e.isBefore(t)?n=Tr(e,t):((n=Tr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Er(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(M(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Ar(this,Cr(n,r),e),this}}function Ar(e,t,n,o){var i=t._milliseconds,a=lr(t._days),l=lr(t._months);e.isValid()&&(o=null==o||o,l&&ct(e,fe(e,"Month")+l*n),a&&pe(e,"Date",fe(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),o&&r.updateOffset(e,a||l))}Cr.fn=ir.prototype,Cr.invalid=or;var Rr=Er(1,"add"),Ir=Er(-1,"subtract");function Dr(e){return"string"===typeof e||e instanceof String}function Lr(e){return j(e)||d(e)||Dr(e)||u(e)||zr(e)||Nr(e)||null===e||void 0===e}function Nr(e){var t,n,r=a(e)&&!s(e),o=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;tn.valueOf():n.valueOf()9999?V(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):T(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",V(n,"Z")):V(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Jr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,o="moment",i="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=i+'[")]',this.format(e+t+n+r)}function eo(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=V(this,e);return this.localeData().postformat(t)}function to(e,t){return this.isValid()&&(j(e)&&e.isValid()||$n(e).isValid())?Cr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function no(e){return this.from($n(),e)}function ro(e,t){return this.isValid()&&(j(e)&&e.isValid()||$n(e).isValid())?Cr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oo(e){return this.to($n(),e)}function io(e){var t;return void 0===e?this._locale._abbr:(null!=(t=gn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var ao=k("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function lo(){return this._locale}var so=1e3,co=60*so,uo=60*co,fo=3506328*uo;function po(e,t){return(e%t+t)%t}function ho(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-fo:new Date(e,t,n).valueOf()}function vo(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-fo:Date.UTC(e,t,n)}function mo(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vo:ho,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=po(t+(this._isUTC?0:this.utcOffset()*co),uo);break;case"minute":t=this._d.valueOf(),t-=po(t,co);break;case"second":t=this._d.valueOf(),t-=po(t,so)}return this._d.setTime(t),r.updateOffset(this,!0),this}function go(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vo:ho,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=uo-po(t+(this._isUTC?0:this.utcOffset()*co),uo)-1;break;case"minute":t=this._d.valueOf(),t+=co-po(t,co)-1;break;case"second":t=this._d.valueOf(),t+=so-po(t,so)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function bo(){return this._d.valueOf()-6e4*(this._offset||0)}function yo(){return Math.floor(this.valueOf()/1e3)}function xo(){return new Date(this.valueOf())}function Oo(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function wo(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function jo(){return this.isValid()?this.toISOString():null}function So(){return g(this)}function ko(){return p({},m(this))}function _o(){return m(this).overflow}function Co(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Mo(e,t){var n,o,i,a=this._eras||gn("en")._eras;for(n=0,o=a.length;n=0)return s[r]}function Po(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Eo(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e(i=jt(e,r,o))&&(t=i),Zo.call(this,e,t,n,r,o))}function Zo(e,t,n,r,o){var i=Ot(e,t,n,r,o),a=yt(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Qo(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}W("N",0,0,"eraAbbr"),W("NN",0,0,"eraAbbr"),W("NNN",0,0,"eraAbbr"),W("NNNN",0,0,"eraName"),W("NNNNN",0,0,"eraNarrow"),W("y",["y",1],"yo","eraYear"),W("y",["yy",2],0,"eraYear"),W("y",["yyy",3],0,"eraYear"),W("y",["yyyy",4],0,"eraYear"),Ie("N",zo),Ie("NN",zo),Ie("NNN",zo),Ie("NNNN",Fo),Ie("NNNNN",Wo),Fe(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?m(n).era=o:m(n).invalidEra=e})),Ie("y",Me),Ie("yy",Me),Ie("yyy",Me),Ie("yyyy",Me),Ie("yo",Bo),Fe(["y","yy","yyy","yyyy"],Ve),Fe(["yo"],(function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[Ve]=n._locale.eraYearOrdinalParse(e,o):t[Ve]=parseInt(e,10)})),W(0,["gg",2],0,(function(){return this.weekYear()%100})),W(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Vo("gggg","weekYear"),Vo("ggggg","weekYear"),Vo("GGGG","isoWeekYear"),Vo("GGGGG","isoWeekYear"),ne("weekYear","gg"),ne("isoWeekYear","GG"),ae("weekYear",1),ae("isoWeekYear",1),Ie("G",Te),Ie("g",Te),Ie("GG",we,be),Ie("gg",we,be),Ie("GGGG",_e,xe),Ie("gggg",_e,xe),Ie("GGGGG",Ce,Oe),Ie("ggggg",Ce,Oe),We(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ue(e)})),We(["gg","GG"],(function(e,t,n,o){t[o]=r.parseTwoDigitYear(e)})),W("Q",0,"Qo","quarter"),ne("quarter","Q"),ae("quarter",7),Ie("Q",ge),Fe("Q",(function(e,t){t[Ue]=3*(ue(e)-1)})),W("D",["DD",2],"Do","date"),ne("date","D"),ae("date",9),Ie("D",we),Ie("DD",we,be),Ie("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Fe(["D","DD"],Ge),Fe("Do",(function(e,t){t[Ge]=ue(e.match(we)[0])}));var Jo=de("Date",!0);function ei(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}W("DDD",["DDDD",3],"DDDo","dayOfYear"),ne("dayOfYear","DDD"),ae("dayOfYear",4),Ie("DDD",ke),Ie("DDDD",ye),Fe(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ue(e)})),W("m",["mm",2],0,"minute"),ne("minute","m"),ae("minute",14),Ie("m",we),Ie("mm",we,be),Fe(["m","mm"],qe);var ti=de("Minutes",!1);W("s",["ss",2],0,"second"),ne("second","s"),ae("second",15),Ie("s",we),Ie("ss",we,be),Fe(["s","ss"],$e);var ni,ri,oi=de("Seconds",!1);for(W("S",0,0,(function(){return~~(this.millisecond()/100)})),W(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),W(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),W(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),W(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),W(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),W(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),ne("millisecond","ms"),ae("millisecond",16),Ie("S",ke,ge),Ie("SS",ke,be),Ie("SSS",ke,ye),ni="SSSS";ni.length<=9;ni+="S")Ie(ni,Me);function ii(e,t){t[Ke]=ue(1e3*("0."+e))}for(ni="S";ni.length<=9;ni+="S")Fe(ni,ii);function ai(){return this._isUTC?"UTC":""}function li(){return this._isUTC?"Coordinated Universal Time":""}ri=de("Milliseconds",!1),W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var si=w.prototype;function ci(e){return $n(1e3*e)}function ui(){return $n.apply(null,arguments).parseZone()}function di(e){return e}si.add=Rr,si.calendar=Br,si.clone=Hr,si.diff=Kr,si.endOf=go,si.format=eo,si.from=to,si.fromNow=no,si.to=ro,si.toNow=oo,si.get=he,si.invalidAt=_o,si.isAfter=Vr,si.isBefore=Ur,si.isBetween=Gr,si.isSame=Yr,si.isSameOrAfter=qr,si.isSameOrBefore=$r,si.isValid=So,si.lang=ao,si.locale=io,si.localeData=lo,si.max=Xn,si.min=Kn,si.parsingFlags=ko,si.set=ve,si.startOf=mo,si.subtract=Ir,si.toArray=Oo,si.toObject=wo,si.toDate=xo,si.toISOString=Qr,si.inspect=Jr,"undefined"!==typeof Symbol&&null!=Symbol.for&&(si[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),si.toJSON=jo,si.toString=Zr,si.unix=yo,si.valueOf=bo,si.creationData=Co,si.eraName=Eo,si.eraNarrow=Ao,si.eraAbbr=Ro,si.eraYear=Io,si.year=mt,si.isLeapYear=gt,si.weekYear=Uo,si.isoWeekYear=Go,si.quarter=si.quarters=Qo,si.month=ut,si.daysInMonth=dt,si.week=si.weeks=Mt,si.isoWeek=si.isoWeeks=Tt,si.weeksInYear=$o,si.weeksInWeekYear=Ko,si.isoWeeksInYear=Yo,si.isoWeeksInISOWeekYear=qo,si.date=Jo,si.day=si.days=Ut,si.weekday=Gt,si.isoWeekday=Yt,si.dayOfYear=ei,si.hour=si.hours=rn,si.minute=si.minutes=ti,si.second=si.seconds=oi,si.millisecond=si.milliseconds=ri,si.utcOffset=hr,si.utc=mr,si.local=gr,si.parseZone=br,si.hasAlignedHourOffset=yr,si.isDST=xr,si.isLocal=wr,si.isUtcOffset=jr,si.isUtc=Sr,si.isUTC=Sr,si.zoneAbbr=ai,si.zoneName=li,si.dates=k("dates accessor is deprecated. Use date instead.",Jo),si.months=k("months accessor is deprecated. Use month instead",ut),si.years=k("years accessor is deprecated. Use year instead",mt),si.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vr),si.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Or);var fi=A.prototype;function pi(e,t,n,r){var o=gn(),i=h().set(r,t);return o[n](i,e)}function hi(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return pi(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=pi(e,r,n,"month");return o}function vi(e,t,n,r){"boolean"===typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var o,i=gn(),a=e?i._week.dow:0,l=[];if(null!=n)return pi(t,(n+a)%7,r,"day");for(o=0;o<7;o++)l[o]=pi(t,(o+a)%7,r,"day");return l}function mi(e,t){return hi(e,t,"months")}function gi(e,t){return hi(e,t,"monthsShort")}function bi(e,t,n){return vi(e,t,n,"weekdays")}function yi(e,t,n){return vi(e,t,n,"weekdaysShort")}function xi(e,t,n){return vi(e,t,n,"weekdaysMin")}fi.calendar=I,fi.longDateFormat=Y,fi.invalidDate=$,fi.ordinal=Z,fi.preparse=di,fi.postformat=di,fi.relativeTime=J,fi.pastFuture=ee,fi.set=P,fi.eras=Mo,fi.erasParse=To,fi.erasConvertYear=Po,fi.erasAbbrRegex=Lo,fi.erasNameRegex=Do,fi.erasNarrowRegex=No,fi.months=it,fi.monthsShort=at,fi.monthsParse=st,fi.monthsRegex=pt,fi.monthsShortRegex=ft,fi.week=St,fi.firstDayOfYear=Ct,fi.firstDayOfWeek=_t,fi.weekdays=Ft,fi.weekdaysMin=Bt,fi.weekdaysShort=Wt,fi.weekdaysParse=Vt,fi.weekdaysRegex=qt,fi.weekdaysShortRegex=$t,fi.weekdaysMinRegex=Kt,fi.isPM=tn,fi.meridiem=on,hn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=k("moment.lang is deprecated. Use moment.locale instead.",hn),r.langData=k("moment.langData is deprecated. Use moment.localeData instead.",gn);var Oi=Math.abs;function wi(){var e=this._data;return this._milliseconds=Oi(this._milliseconds),this._days=Oi(this._days),this._months=Oi(this._months),e.milliseconds=Oi(e.milliseconds),e.seconds=Oi(e.seconds),e.minutes=Oi(e.minutes),e.hours=Oi(e.hours),e.months=Oi(e.months),e.years=Oi(e.years),this}function ji(e,t,n,r){var o=Cr(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function Si(e,t){return ji(this,e,t,1)}function ki(e,t){return ji(this,e,t,-1)}function _i(e){return e<0?Math.floor(e):Math.ceil(e)}function Ci(){var e,t,n,r,o,i=this._milliseconds,a=this._days,l=this._months,s=this._data;return i>=0&&a>=0&&l>=0||i<=0&&a<=0&&l<=0||(i+=864e5*_i(Ti(l)+a),a=0,l=0),s.milliseconds=i%1e3,e=ce(i/1e3),s.seconds=e%60,t=ce(e/60),s.minutes=t%60,n=ce(t/60),s.hours=n%24,a+=ce(n/24),l+=o=ce(Mi(a)),a-=_i(Ti(o)),r=ce(l/12),l%=12,s.days=a,s.months=l,s.years=r,this}function Mi(e){return 4800*e/146097}function Ti(e){return 146097*e/4800}function Pi(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=re(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Mi(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ti(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Ei(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Ai(e){return function(){return this.as(e)}}var Ri=Ai("ms"),Ii=Ai("s"),Di=Ai("m"),Li=Ai("h"),Ni=Ai("d"),zi=Ai("w"),Fi=Ai("M"),Wi=Ai("Q"),Bi=Ai("y");function Hi(){return Cr(this)}function Vi(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Ui(e){return function(){return this.isValid()?this._data[e]:NaN}}var Gi=Ui("milliseconds"),Yi=Ui("seconds"),qi=Ui("minutes"),$i=Ui("hours"),Ki=Ui("days"),Xi=Ui("months"),Zi=Ui("years");function Qi(){return ce(this.days()/7)}var Ji=Math.round,ea={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ta(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function na(e,t,n,r){var o=Cr(e).abs(),i=Ji(o.as("s")),a=Ji(o.as("m")),l=Ji(o.as("h")),s=Ji(o.as("d")),c=Ji(o.as("M")),u=Ji(o.as("w")),d=Ji(o.as("y")),f=i<=n.ss&&["s",i]||i0,f[4]=r,ta.apply(null,f)}function ra(e){return void 0===e?Ji:"function"===typeof e&&(Ji=e,!0)}function oa(e,t){return void 0!==ea[e]&&(void 0===t?ea[e]:(ea[e]=t,"s"===e&&(ea.ss=t-1),!0))}function ia(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o=!1,i=ea;return"object"===typeof e&&(t=e,e=!1),"boolean"===typeof e&&(o=e),"object"===typeof t&&(i=Object.assign({},ea,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),r=na(this,!o,i,n=this.localeData()),o&&(r=n.pastFuture(+this,r)),n.postformat(r)}var aa=Math.abs;function la(e){return(e>0)-(e<0)||+e}function sa(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,l,s=aa(this._milliseconds)/1e3,c=aa(this._days),u=aa(this._months),d=this.asSeconds();return d?(e=ce(s/60),t=ce(e/60),s%=60,e%=60,n=ce(u/12),u%=12,r=s?s.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",i=la(this._months)!==la(d)?"-":"",a=la(this._days)!==la(d)?"-":"",l=la(this._milliseconds)!==la(d)?"-":"",o+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(c?a+c+"D":"")+(t||e||s?"T":"")+(t?l+t+"H":"")+(e?l+e+"M":"")+(s?l+r+"S":"")):"P0D"}var ca=ir.prototype;return ca.isValid=rr,ca.abs=wi,ca.add=Si,ca.subtract=ki,ca.as=Pi,ca.asMilliseconds=Ri,ca.asSeconds=Ii,ca.asMinutes=Di,ca.asHours=Li,ca.asDays=Ni,ca.asWeeks=zi,ca.asMonths=Fi,ca.asQuarters=Wi,ca.asYears=Bi,ca.valueOf=Ei,ca._bubble=Ci,ca.clone=Hi,ca.get=Vi,ca.milliseconds=Gi,ca.seconds=Yi,ca.minutes=qi,ca.hours=$i,ca.days=Ki,ca.weeks=Qi,ca.months=Xi,ca.years=Zi,ca.humanize=ia,ca.toISOString=sa,ca.toString=sa,ca.toJSON=sa,ca.locale=io,ca.localeData=lo,ca.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",sa),ca.lang=ao,W("X",0,0,"unix"),W("x",0,0,"valueOf"),Ie("x",Te),Ie("X",Ae),Fe("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Fe("x",(function(e,t,n){n._d=new Date(ue(e))})),r.version="2.29.1",o($n),r.fn=si,r.min=Qn,r.max=Jn,r.now=er,r.utc=h,r.unix=ci,r.months=mi,r.isDate=d,r.locale=hn,r.invalid=b,r.duration=Cr,r.isMoment=j,r.weekdays=bi,r.parseZone=ui,r.localeData=gn,r.isDuration=ar,r.monthsShort=gi,r.weekdaysMin=xi,r.defineLocale=vn,r.updateLocale=mn,r.locales=bn,r.weekdaysShort=yi,r.normalizeUnits=re,r.relativeTimeRounding=ra,r.relativeTimeThreshold=oa,r.calendarFormat=Wr,r.prototype=si,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n(245)(e))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0);o=o.next}while(void 0!==o)}}},,function(e,t,n){var r=n(277),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r=n(605);t.a=r.a},function(e,t,n){"use strict";var r=n(140),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function s(e){return r.isMemo(e)?a:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var l=s(t),v=s(n),m=0;m=t||n<0||m&&e-h>=u}function O(){var e=o();if(x(e))return w(e);f=setTimeout(O,function(e){var n=t-(e-p);return m?l(n,u-(e-h)):n}(e))}function w(e){return f=void 0,g&&s?b(e):(s=c=void 0,d)}function j(){var e=o(),n=x(e);if(s=arguments,c=this,p=e,n){if(void 0===f)return y(p);if(m)return clearTimeout(f),f=setTimeout(O,t),b(p)}return void 0===f&&(f=setTimeout(O,t)),d}return t=i(t)||0,r(n)&&(v=!!n.leading,u=(m="maxWait"in n)?a(i(n.maxWait)||0,t):u,g="trailing"in n?!!n.trailing:g),j.cancel=function(){void 0!==f&&clearTimeout(f),h=0,s=p=c=f=void 0},j.flush=function(){return void 0===f?d:w(o())},j}},function(e,t,n){"use strict";t.a=function(e){return"string"===typeof e}},function(e,t,n){"use strict";function r(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}n.d(t,"b",(function(){return r})),t.a=function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},o={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i=n(163),a=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!==typeof e},u=Object(i.a)((function(e){return s(e)?e:e.replace(a,"-$&").toLowerCase()})),d=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(l,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===o[e]||s(e)||"number"!==typeof t||0===t?t:t+"px"};function f(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)p={name:r.name,styles:r.styles,next:p},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[r-1]=(e[r]+o[r-1])/2,t=0;t=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var T=n(690),P=n(150),E=n(48);function A(e){return e[0]}function R(e){return e[1]}var I=function(e,t){var n=Object(E.a)(!0),r=null,o=b,i=null;function a(a){var l,s,c,u=(a=Object(P.a)(a)).length,d=!1;for(null==r&&(i=o(c=Object(T.a)())),l=0;l<=u;++l)!(l=u;--d)l.point(m[d],g[d]);l.lineEnd(),l.areaEnd()}v&&(m[c]=+e(f,c,s),g[c]=+t(f,c,s),l.point(r?+r(f,c,s):m[c],n?+n(f,c,s):g[c]))}if(p)return l=null,p+""||null}function c(){return I().defined(o).curve(a).context(i)}return e="function"===typeof e?e:void 0===e?A:Object(E.a)(+e),t="function"===typeof t?t:void 0===t?Object(E.a)(0):Object(E.a)(+t),n="function"===typeof n?n:void 0===n?R:Object(E.a)(+n),s.x=function(t){return arguments.length?(e="function"===typeof t?t:Object(E.a)(+t),r=null,s):e},s.x0=function(t){return arguments.length?(e="function"===typeof t?t:Object(E.a)(+t),s):e},s.x1=function(e){return arguments.length?(r=null==e?null:"function"===typeof e?e:Object(E.a)(+e),s):r},s.y=function(e){return arguments.length?(t="function"===typeof e?e:Object(E.a)(+e),n=null,s):t},s.y0=function(e){return arguments.length?(t="function"===typeof e?e:Object(E.a)(+e),s):t},s.y1=function(e){return arguments.length?(n=null==e?null:"function"===typeof e?e:Object(E.a)(+e),s):n},s.lineX0=s.lineY0=function(){return c().x(e).y(t)},s.lineY1=function(){return c().x(e).y(n)},s.lineX1=function(){return c().x(r).y(t)},s.defined=function(e){return arguments.length?(o="function"===typeof e?e:Object(E.a)(!!e),s):o},s.curve=function(e){return arguments.length?(a=e,null!=i&&(l=a(i)),s):a},s.context=function(e){return arguments.length?(null==e?i=l=null:l=a(i=e),s):i},s},L=n(30),N=n.n(L),z=n(23),F=n(12);function W(e){return W="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},W(e)}function B(){return B=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:i;return Object(o.a)(e)}},function(e,t,n){"use strict";function r(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(r(e.value)&&""!==e.value||t&&r(e.defaultValue)&&""!==e.defaultValue)}function i(e){return e.startAdornment}n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i}))},function(e,t,n){var r=n(553)("toUpperCase");e.exports=r},function(e,t,n){"use strict";function r(e){return+e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return b})),n.d(t,"a",(function(){return y}));var r=n(1),o=n.n(r),i=n(30),a=n.n(i),l=n(86),s=n(23);function c(e){return c="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(e)}function u(){return u=Object.assign||function(e){for(var t=1;t=0?1:-1,s=n>=0?1:-1,c=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&o instanceof Array){for(var u=[0,0,0,0],d=0;d<4;d++)u[d]=o[d]>a?a:o[d];i="M".concat(e,",").concat(t+l*u[0]),u[0]>0&&(i+="A ".concat(u[0],",").concat(u[0],",0,0,").concat(c,",").concat(e+s*u[0],",").concat(t)),i+="L ".concat(e+n-s*u[1],",").concat(t),u[1]>0&&(i+="A ".concat(u[1],",").concat(u[1],",0,0,").concat(c,",\n ").concat(e+n,",").concat(t+l*u[1])),i+="L ".concat(e+n,",").concat(t+r-l*u[2]),u[2]>0&&(i+="A ".concat(u[2],",").concat(u[2],",0,0,").concat(c,",\n ").concat(e+n-s*u[2],",").concat(t+r)),i+="L ".concat(e+s*u[3],",").concat(t+r),u[3]>0&&(i+="A ".concat(u[3],",").concat(u[3],",0,0,").concat(c,",\n ").concat(e,",").concat(t+r-l*u[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var f=Math.min(a,o);i="M ".concat(e,",").concat(t+l*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+s*f,",").concat(t,"\n L ").concat(e+n-s*f,",").concat(t,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+n,",").concat(t+l*f,"\n L ").concat(e+n,",").concat(t+r-l*f,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+n-s*f,",").concat(t+r,"\n L ").concat(e+s*f,",").concat(t+r,"\n A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e,",").concat(t+r-l*f," Z")}else i="M ".concat(e,",").concat(t," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return i},b=function(e,t){if(!e||!t)return!1;var n=e.x,r=e.y,o=t.x,i=t.y,a=t.width,l=t.height;if(Math.abs(a)>0&&Math.abs(l)>0){var s=Math.min(o,o+a),c=Math.max(o,o+a),u=Math.min(i,i+l),d=Math.max(i,i+l);return n>=s&&n<=c&&r>=u&&r<=d}return!1},y=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(c,e);var t,n,r,i=h(c);function c(){var e;d(this,c);for(var t=arguments.length,n=new Array(t),r=0;r0,from:{width:i,height:c,x:n,y:r},to:{width:i,height:c,x:n,y:r},duration:m,animationEasing:v,isActive:x},(function(t){var n=t.width,r=t.height,i=t.x,a=t.y;return o.a.createElement(l.a,{canBegin:p>0,from:"0px ".concat(-1===p?1:p,"px"),to:"".concat(p,"px 0px"),attributeName:"strokeDasharray",begin:b,duration:m,isActive:y,easing:v},o.a.createElement("path",u({},Object(s.c)(e.props,!0),{className:O,d:g(i,a,n,r,d),ref:function(t){e.node=t}})))})):o.a.createElement("path",u({},Object(s.c)(this.props,!0),{className:O,d:g(n,r,i,c,d)}))}}])&&f(t.prototype,n),r&&f(t,r),c}(r.PureComponent);y.defaultProps={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"}},function(e,t,n){var r=n(472);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";t.a={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return oe})),n.d(t,"c",(function(){return we})),n.d(t,"d",(function(){return ut})),n.d(t,"b",(function(){return lt}));var r=n(34),o=n.n(r),i=n(35),a=n.n(i),l=n(45),s=n.n(l),c=n(46),u=n.n(c),d=n(20),f=n.n(d),p=n(47),h=n.n(p),v=n(14),m=n.n(v),g=n(1),b=n(84),y=n(57),x=n.n(y),O=n(8);function w(e){var t=e.cellCount,n=e.cellSize,r=e.computeMetadataCallback,o=e.computeMetadataCallbackProps,i=e.nextCellsCount,a=e.nextCellSize,l=e.nextScrollToIndex,s=e.scrollToIndex,c=e.updateScrollOffsetForScrollToIndex;t===i&&("number"!==typeof n&&"number"!==typeof a||n===a)||(r(o),s>=0&&s===l&&c())}var j=n(134),S=n.n(j),k=(n(13),function(){function e(t){var n=t.cellCount,r=t.cellSizeGetter,i=t.estimatedCellSize;o()(this,e),m()(this,"_cellSizeAndPositionData",{}),m()(this,"_lastMeasuredIndex",-1),m()(this,"_lastBatchedIndex",-1),m()(this,"_cellCount",void 0),m()(this,"_cellSizeGetter",void 0),m()(this,"_estimatedCellSize",void 0),this._cellSizeGetter=r,this._cellCount=n,this._estimatedCellSize=i}return a()(e,[{key:"areOffsetsAdjusted",value:function(){return!1}},{key:"configure",value:function(e){var t=e.cellCount,n=e.estimatedCellSize,r=e.cellSizeGetter;this._cellCount=t,this._estimatedCellSize=n,this._cellSizeGetter=r}},{key:"getCellCount",value:function(){return this._cellCount}},{key:"getEstimatedCellSize",value:function(){return this._estimatedCellSize}},{key:"getLastMeasuredIndex",value:function(){return this._lastMeasuredIndex}},{key:"getOffsetAdjustment",value:function(){return 0}},{key:"getSizeAndPositionOfCell",value:function(e){if(e<0||e>=this._cellCount)throw Error("Requested index ".concat(e," is outside of range 0..").concat(this._cellCount));if(e>this._lastMeasuredIndex)for(var t=this.getSizeAndPositionOfLastMeasuredCell(),n=t.offset+t.size,r=this._lastMeasuredIndex+1;r<=e;r++){var o=this._cellSizeGetter({index:r});if(void 0===o||isNaN(o))throw Error("Invalid size returned for cell ".concat(r," of value ").concat(o));null===o?(this._cellSizeAndPositionData[r]={offset:n,size:0},this._lastBatchedIndex=e):(this._cellSizeAndPositionData[r]={offset:n,size:o},n+=o,this._lastMeasuredIndex=e)}return this._cellSizeAndPositionData[e]}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._lastMeasuredIndex>=0?this._cellSizeAndPositionData[this._lastMeasuredIndex]:{offset:0,size:0}}},{key:"getTotalSize",value:function(){var e=this.getSizeAndPositionOfLastMeasuredCell();return e.offset+e.size+(this._cellCount-this._lastMeasuredIndex-1)*this._estimatedCellSize}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;if(r<=0)return 0;var a,l=this.getSizeAndPositionOfCell(i),s=l.offset,c=s-r+l.size;switch(n){case"start":a=s;break;case"end":a=c;break;case"center":a=s-(r-l.size)/2;break;default:a=Math.max(c,Math.min(s,o))}var u=this.getTotalSize();return Math.max(0,Math.min(u-r,a))}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset;if(0===this.getTotalSize())return{};var r=n+t,o=this._findNearestCell(n),i=this.getSizeAndPositionOfCell(o);n=i.offset+i.size;for(var a=o;nn&&(e=r-1)}return t>0?t-1:0}},{key:"_exponentialSearch",value:function(e,t){for(var n=1;e=e?this._binarySearch(n,0,e):this._exponentialSearch(n,e)}}]),e}()),_=function(){return"undefined"!==typeof window&&window.chrome?16777100:15e5},C=function(){function e(t){var n=t.maxScrollSize,r=void 0===n?_():n,i=S()(t,["maxScrollSize"]);o()(this,e),m()(this,"_cellSizeAndPositionManager",void 0),m()(this,"_maxScrollSize",void 0),this._cellSizeAndPositionManager=new k(i),this._maxScrollSize=r}return a()(e,[{key:"areOffsetsAdjusted",value:function(){return this._cellSizeAndPositionManager.getTotalSize()>this._maxScrollSize}},{key:"configure",value:function(e){this._cellSizeAndPositionManager.configure(e)}},{key:"getCellCount",value:function(){return this._cellSizeAndPositionManager.getCellCount()}},{key:"getEstimatedCellSize",value:function(){return this._cellSizeAndPositionManager.getEstimatedCellSize()}},{key:"getLastMeasuredIndex",value:function(){return this._cellSizeAndPositionManager.getLastMeasuredIndex()}},{key:"getOffsetAdjustment",value:function(e){var t=e.containerSize,n=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize(),i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:o});return Math.round(i*(o-r))}},{key:"getSizeAndPositionOfCell",value:function(e){return this._cellSizeAndPositionManager.getSizeAndPositionOfCell(e)}},{key:"getSizeAndPositionOfLastMeasuredCell",value:function(){return this._cellSizeAndPositionManager.getSizeAndPositionOfLastMeasuredCell()}},{key:"getTotalSize",value:function(){return Math.min(this._maxScrollSize,this._cellSizeAndPositionManager.getTotalSize())}},{key:"getUpdatedOffsetForIndex",value:function(e){var t=e.align,n=void 0===t?"auto":t,r=e.containerSize,o=e.currentOffset,i=e.targetIndex;o=this._safeOffsetToOffset({containerSize:r,offset:o});var a=this._cellSizeAndPositionManager.getUpdatedOffsetForIndex({align:n,containerSize:r,currentOffset:o,targetIndex:i});return this._offsetToSafeOffset({containerSize:r,offset:a})}},{key:"getVisibleCellRange",value:function(e){var t=e.containerSize,n=e.offset;return n=this._safeOffsetToOffset({containerSize:t,offset:n}),this._cellSizeAndPositionManager.getVisibleCellRange({containerSize:t,offset:n})}},{key:"resetCell",value:function(e){this._cellSizeAndPositionManager.resetCell(e)}},{key:"_getOffsetPercentage",value:function(e){var t=e.containerSize,n=e.offset,r=e.totalSize;return r<=t?0:n/(r-t)}},{key:"_offsetToSafeOffset",value:function(e){var t=e.containerSize,n=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return n;var i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:r});return Math.round(i*(o-t))}},{key:"_safeOffsetToOffset",value:function(e){var t=e.containerSize,n=e.offset,r=this._cellSizeAndPositionManager.getTotalSize(),o=this.getTotalSize();if(r===o)return n;var i=this._getOffsetPercentage({containerSize:t,offset:n,totalSize:o});return Math.round(i*(r-t))}}]),e}();function M(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t={};return function(n){var r=n.callback,o=n.indices,i=Object.keys(o),a=!e||i.every((function(e){var t=o[e];return Array.isArray(t)?t.length>0:t>=0})),l=i.length!==Object.keys(t).length||i.some((function(e){var n=t[e],r=o[e];return Array.isArray(r)?n.join(",")!==r.join(","):n!==r}));t=o,a&&l&&r(o)}}function T(e){var t=e.cellSize,n=e.cellSizeAndPositionManager,r=e.previousCellsCount,o=e.previousCellSize,i=e.previousScrollToAlignment,a=e.previousScrollToIndex,l=e.previousSize,s=e.scrollOffset,c=e.scrollToAlignment,u=e.scrollToIndex,d=e.size,f=e.sizeJustIncreasedFromZero,p=e.updateScrollIndexCallback,h=n.getCellCount(),v=u>=0&&u0&&(dn.getTotalSize()-d&&p(h-1)}var P,E,A=!("undefined"===typeof window||!window.document||!window.document.createElement);function R(e){if((!P&&0!==P||e)&&A){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),P=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return P}var I,D,L=(E="undefined"!==typeof window?window:"undefined"!==typeof self?self:{}).requestAnimationFrame||E.webkitRequestAnimationFrame||E.mozRequestAnimationFrame||E.oRequestAnimationFrame||E.msRequestAnimationFrame||function(e){return E.setTimeout(e,1e3/60)},N=E.cancelAnimationFrame||E.webkitCancelAnimationFrame||E.mozCancelAnimationFrame||E.oCancelAnimationFrame||E.msCancelAnimationFrame||function(e){E.clearTimeout(e)},z=L,F=N,W=function(e){return F(e.id)},B=function(e,t){var n;Promise.resolve().then((function(){n=Date.now()}));var r={id:z((function o(){Date.now()-n>=t?e.call():r.id=z(o)}))};return r};function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function V(e){for(var t=1;t0&&(n._initialScrollTop=n._getCalculatedScrollTop(e,n.state)),e.scrollToColumn>0&&(n._initialScrollLeft=n._getCalculatedScrollLeft(e,n.state)),n}return h()(t,e),a()(t,[{key:"getOffsetForCell",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,n=void 0===t?this.props.scrollToAlignment:t,r=e.columnIndex,o=void 0===r?this.props.scrollToColumn:r,i=e.rowIndex,a=void 0===i?this.props.scrollToRow:i,l=V({},this.props,{scrollToAlignment:n,scrollToColumn:o,scrollToRow:a});return{scrollLeft:this._getCalculatedScrollLeft(l),scrollTop:this._getCalculatedScrollTop(l)}}},{key:"getTotalRowsHeight",value:function(){return this.state.instanceProps.rowSizeAndPositionManager.getTotalSize()}},{key:"getTotalColumnsWidth",value:function(){return this.state.instanceProps.columnSizeAndPositionManager.getTotalSize()}},{key:"handleScrollEvent",value:function(e){var t=e.scrollLeft,n=void 0===t?0:t,r=e.scrollTop,o=void 0===r?0:r;if(!(o<0)){this._debounceScrollEnded();var i=this.props,a=i.autoHeight,l=i.autoWidth,s=i.height,c=i.width,u=this.state.instanceProps,d=u.scrollbarSize,f=u.rowSizeAndPositionManager.getTotalSize(),p=u.columnSizeAndPositionManager.getTotalSize(),h=Math.min(Math.max(0,p-c+d),n),v=Math.min(Math.max(0,f-s+d),o);if(this.state.scrollLeft!==h||this.state.scrollTop!==v){var m={isScrolling:!0,scrollDirectionHorizontal:h!==this.state.scrollLeft?h>this.state.scrollLeft?1:-1:this.state.scrollDirectionHorizontal,scrollDirectionVertical:v!==this.state.scrollTop?v>this.state.scrollTop?1:-1:this.state.scrollDirectionVertical,scrollPositionChangeReason:U};a||(m.scrollTop=v),l||(m.scrollLeft=h),m.needToResetStyleCache=!1,this.setState(m)}this._invokeOnScrollMemoizer({scrollLeft:h,scrollTop:v,totalColumnsWidth:p,totalRowsHeight:f})}}},{key:"invalidateCellSizeAfterRender",value:function(e){var t=e.columnIndex,n=e.rowIndex;this._deferredInvalidateColumnIndex="number"===typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,t):t,this._deferredInvalidateRowIndex="number"===typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,n):n}},{key:"measureAllCells",value:function(){var e=this.props,t=e.columnCount,n=e.rowCount,r=this.state.instanceProps;r.columnSizeAndPositionManager.getSizeAndPositionOfCell(t-1),r.rowSizeAndPositionManager.getSizeAndPositionOfCell(n-1)}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.scrollToColumn,l=i.scrollToRow,s=this.state.instanceProps;s.columnSizeAndPositionManager.resetCell(n),s.rowSizeAndPositionManager.resetCell(o),this._recomputeScrollLeftFlag=a>=0&&(1===this.state.scrollDirectionHorizontal?n<=a:n>=a),this._recomputeScrollTopFlag=l>=0&&(1===this.state.scrollDirectionVertical?o<=l:o>=l),this._styleCache={},this._cellCache={},this.forceUpdate()}},{key:"scrollToCell",value:function(e){var t=e.columnIndex,n=e.rowIndex,r=this.props.columnCount,o=this.props;r>1&&void 0!==t&&this._updateScrollLeftForScrollToColumn(V({},o,{scrollToColumn:t})),void 0!==n&&this._updateScrollTopForScrollToRow(V({},o,{scrollToRow:n}))}},{key:"componentDidMount",value:function(){var e=this.props,n=e.getScrollbarSize,r=e.height,o=e.scrollLeft,i=e.scrollToColumn,a=e.scrollTop,l=e.scrollToRow,s=e.width,c=this.state.instanceProps;if(this._initialScrollTop=0,this._initialScrollLeft=0,this._handleInvalidatedGridSize(),c.scrollbarSizeMeasured||this.setState((function(e){var t=V({},e,{needToResetStyleCache:!1});return t.instanceProps.scrollbarSize=n(),t.instanceProps.scrollbarSizeMeasured=!0,t})),"number"===typeof o&&o>=0||"number"===typeof a&&a>=0){var u=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:o,scrollTop:a});u&&(u.needToResetStyleCache=!1,this.setState(u))}this._scrollingContainer&&(this._scrollingContainer.scrollLeft!==this.state.scrollLeft&&(this._scrollingContainer.scrollLeft=this.state.scrollLeft),this._scrollingContainer.scrollTop!==this.state.scrollTop&&(this._scrollingContainer.scrollTop=this.state.scrollTop));var d=r>0&&s>0;i>=0&&d&&this._updateScrollLeftForScrollToColumn(),l>=0&&d&&this._updateScrollTopForScrollToRow(),this._invokeOnGridRenderedHelper(),this._invokeOnScrollMemoizer({scrollLeft:o||0,scrollTop:a||0,totalColumnsWidth:c.columnSizeAndPositionManager.getTotalSize(),totalRowsHeight:c.rowSizeAndPositionManager.getTotalSize()}),this._maybeCallOnScrollbarPresenceChange()}},{key:"componentDidUpdate",value:function(e,t){var n=this,r=this.props,o=r.autoHeight,i=r.autoWidth,a=r.columnCount,l=r.height,s=r.rowCount,c=r.scrollToAlignment,u=r.scrollToColumn,d=r.scrollToRow,f=r.width,p=this.state,h=p.scrollLeft,v=p.scrollPositionChangeReason,m=p.scrollTop,g=p.instanceProps;this._handleInvalidatedGridSize();var b=a>0&&0===e.columnCount||s>0&&0===e.rowCount;v===G&&(!i&&h>=0&&(h!==this._scrollingContainer.scrollLeft||b)&&(this._scrollingContainer.scrollLeft=h),!o&&m>=0&&(m!==this._scrollingContainer.scrollTop||b)&&(this._scrollingContainer.scrollTop=m));var y=(0===e.width||0===e.height)&&l>0&&f>0;if(this._recomputeScrollLeftFlag?(this._recomputeScrollLeftFlag=!1,this._updateScrollLeftForScrollToColumn(this.props)):T({cellSizeAndPositionManager:g.columnSizeAndPositionManager,previousCellsCount:e.columnCount,previousCellSize:e.columnWidth,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToColumn,previousSize:e.width,scrollOffset:h,scrollToAlignment:c,scrollToIndex:u,size:f,sizeJustIncreasedFromZero:y,updateScrollIndexCallback:function(){return n._updateScrollLeftForScrollToColumn(n.props)}}),this._recomputeScrollTopFlag?(this._recomputeScrollTopFlag=!1,this._updateScrollTopForScrollToRow(this.props)):T({cellSizeAndPositionManager:g.rowSizeAndPositionManager,previousCellsCount:e.rowCount,previousCellSize:e.rowHeight,previousScrollToAlignment:e.scrollToAlignment,previousScrollToIndex:e.scrollToRow,previousSize:e.height,scrollOffset:m,scrollToAlignment:c,scrollToIndex:d,size:l,sizeJustIncreasedFromZero:y,updateScrollIndexCallback:function(){return n._updateScrollTopForScrollToRow(n.props)}}),this._invokeOnGridRenderedHelper(),h!==t.scrollLeft||m!==t.scrollTop){var x=g.rowSizeAndPositionManager.getTotalSize(),O=g.columnSizeAndPositionManager.getTotalSize();this._invokeOnScrollMemoizer({scrollLeft:h,scrollTop:m,totalColumnsWidth:O,totalRowsHeight:x})}this._maybeCallOnScrollbarPresenceChange()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&W(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoContainerWidth,n=e.autoHeight,r=e.autoWidth,o=e.className,i=e.containerProps,a=e.containerRole,l=e.containerStyle,s=e.height,c=e.id,u=e.noContentRenderer,d=e.role,f=e.style,p=e.tabIndex,h=e.width,v=this.state,m=v.instanceProps,b=v.needToResetStyleCache,y=this._isScrolling(),w={boxSizing:"border-box",direction:"ltr",height:n?"auto":s,position:"relative",width:r?"auto":h,WebkitOverflowScrolling:"touch",willChange:"transform"};b&&(this._styleCache={}),this.state.isScrolling||this._resetStyleCache(),this._calculateChildrenToRender(this.props,this.state);var j=m.columnSizeAndPositionManager.getTotalSize(),S=m.rowSizeAndPositionManager.getTotalSize(),k=S>s?m.scrollbarSize:0,_=j>h?m.scrollbarSize:0;_===this._horizontalScrollBarSize&&k===this._verticalScrollBarSize||(this._horizontalScrollBarSize=_,this._verticalScrollBarSize=k,this._scrollbarPresenceChanged=!0),w.overflowX=j+k<=h?"hidden":"auto",w.overflowY=S+_<=s?"hidden":"auto";var C=this._childrenToDisplay,M=0===C.length&&s>0&&h>0;return g.createElement("div",x()({ref:this._setScrollingContainerRef},i,{"aria-label":this.props["aria-label"],"aria-readonly":this.props["aria-readonly"],className:Object(O.a)("ReactVirtualized__Grid",o),id:c,onScroll:this._onScroll,role:d,style:V({},w,{},f),tabIndex:p}),C.length>0&&g.createElement("div",{className:"ReactVirtualized__Grid__innerScrollContainer",role:a,style:V({width:t?"auto":j,height:S,maxWidth:j,maxHeight:S,overflow:"hidden",pointerEvents:y?"none":"",position:"relative"},l)},C),M&&u())}},{key:"_calculateChildrenToRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,n=e.cellRenderer,r=e.cellRangeRenderer,o=e.columnCount,i=e.deferredMeasurementCache,a=e.height,l=e.overscanColumnCount,s=e.overscanIndicesGetter,c=e.overscanRowCount,u=e.rowCount,d=e.width,f=e.isScrollingOptOut,p=t.scrollDirectionHorizontal,h=t.scrollDirectionVertical,v=t.instanceProps,m=this._initialScrollTop>0?this._initialScrollTop:t.scrollTop,g=this._initialScrollLeft>0?this._initialScrollLeft:t.scrollLeft,b=this._isScrolling(e,t);if(this._childrenToDisplay=[],a>0&&d>0){var y=v.columnSizeAndPositionManager.getVisibleCellRange({containerSize:d,offset:g}),x=v.rowSizeAndPositionManager.getVisibleCellRange({containerSize:a,offset:m}),O=v.columnSizeAndPositionManager.getOffsetAdjustment({containerSize:d,offset:g}),w=v.rowSizeAndPositionManager.getOffsetAdjustment({containerSize:a,offset:m});this._renderedColumnStartIndex=y.start,this._renderedColumnStopIndex=y.stop,this._renderedRowStartIndex=x.start,this._renderedRowStopIndex=x.stop;var j=s({direction:"horizontal",cellCount:o,overscanCellsCount:l,scrollDirection:p,startIndex:"number"===typeof y.start?y.start:0,stopIndex:"number"===typeof y.stop?y.stop:-1}),S=s({direction:"vertical",cellCount:u,overscanCellsCount:c,scrollDirection:h,startIndex:"number"===typeof x.start?x.start:0,stopIndex:"number"===typeof x.stop?x.stop:-1}),k=j.overscanStartIndex,_=j.overscanStopIndex,C=S.overscanStartIndex,M=S.overscanStopIndex;if(i){if(!i.hasFixedHeight())for(var T=C;T<=M;T++)if(!i.has(T,0)){k=0,_=o-1;break}if(!i.hasFixedWidth())for(var P=k;P<=_;P++)if(!i.has(0,P)){C=0,M=u-1;break}}this._childrenToDisplay=r({cellCache:this._cellCache,cellRenderer:n,columnSizeAndPositionManager:v.columnSizeAndPositionManager,columnStartIndex:k,columnStopIndex:_,deferredMeasurementCache:i,horizontalOffsetAdjustment:O,isScrolling:b,isScrollingOptOut:f,parent:this,rowSizeAndPositionManager:v.rowSizeAndPositionManager,rowStartIndex:C,rowStopIndex:M,scrollLeft:g,scrollTop:m,styleCache:this._styleCache,verticalOffsetAdjustment:w,visibleColumnIndices:y,visibleRowIndices:x}),this._columnStartIndex=k,this._columnStopIndex=_,this._rowStartIndex=C,this._rowStopIndex=M}}},{key:"_debounceScrollEnded",value:function(){var e=this.props.scrollingResetTimeInterval;this._disablePointerEventsTimeoutId&&W(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=B(this._debounceScrollEndedCallback,e)}},{key:"_handleInvalidatedGridSize",value:function(){if("number"===typeof this._deferredInvalidateColumnIndex&&"number"===typeof this._deferredInvalidateRowIndex){var e=this._deferredInvalidateColumnIndex,t=this._deferredInvalidateRowIndex;this._deferredInvalidateColumnIndex=null,this._deferredInvalidateRowIndex=null,this.recomputeGridSize({columnIndex:e,rowIndex:t})}}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,n=e.scrollLeft,r=e.scrollTop,o=e.totalColumnsWidth,i=e.totalRowsHeight;this._onScrollMemoizer({callback:function(e){var n=e.scrollLeft,r=e.scrollTop,a=t.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:i,scrollLeft:n,scrollTop:r,scrollWidth:o})},indices:{scrollLeft:n,scrollTop:r}})}},{key:"_isScrolling",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return Object.hasOwnProperty.call(e,"isScrolling")?Boolean(e.isScrolling):Boolean(t.isScrolling)}},{key:"_maybeCallOnScrollbarPresenceChange",value:function(){if(this._scrollbarPresenceChanged){var e=this.props.onScrollbarPresenceChange;this._scrollbarPresenceChanged=!1,e({horizontal:this._horizontalScrollBarSize>0,size:this.state.instanceProps.scrollbarSize,vertical:this._verticalScrollBarSize>0})}}},{key:"scrollToPosition",value:function(e){var n=e.scrollLeft,r=e.scrollTop,o=t._getScrollToPositionStateUpdate({prevState:this.state,scrollLeft:n,scrollTop:r});o&&(o.needToResetStyleCache=!1,this.setState(o))}},{key:"_getCalculatedScrollLeft",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollLeft(e,n)}},{key:"_updateScrollLeftForScrollToColumn",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollLeftForScrollToColumnStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}},{key:"_getCalculatedScrollTop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state;return t._getCalculatedScrollTop(e,n)}},{key:"_resetStyleCache",value:function(){var e=this._styleCache,t=this._cellCache,n=this.props.isScrollingOptOut;this._cellCache={},this._styleCache={};for(var r=this._rowStartIndex;r<=this._rowStopIndex;r++)for(var o=this._columnStartIndex;o<=this._columnStopIndex;o++){var i="".concat(r,"-").concat(o);this._styleCache[i]=e[i],n&&(this._cellCache[i]=t[i])}}},{key:"_updateScrollTopForScrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.state,r=t._getScrollTopForScrollToRowStateUpdate(e,n);r&&(r.needToResetStyleCache=!1,this.setState(r))}}],[{key:"getDerivedStateFromProps",value:function(e,n){var r={};0===e.columnCount&&0!==n.scrollLeft||0===e.rowCount&&0!==n.scrollTop?(r.scrollLeft=0,r.scrollTop=0):(e.scrollLeft!==n.scrollLeft&&e.scrollToColumn<0||e.scrollTop!==n.scrollTop&&e.scrollToRow<0)&&Object.assign(r,t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}));var o,i,a=n.instanceProps;return r.needToResetStyleCache=!1,e.columnWidth===a.prevColumnWidth&&e.rowHeight===a.prevRowHeight||(r.needToResetStyleCache=!0),a.columnSizeAndPositionManager.configure({cellCount:e.columnCount,estimatedCellSize:t._getEstimatedColumnSize(e),cellSizeGetter:t._wrapSizeGetter(e.columnWidth)}),a.rowSizeAndPositionManager.configure({cellCount:e.rowCount,estimatedCellSize:t._getEstimatedRowSize(e),cellSizeGetter:t._wrapSizeGetter(e.rowHeight)}),0!==a.prevColumnCount&&0!==a.prevRowCount||(a.prevColumnCount=0,a.prevRowCount=0),e.autoHeight&&!1===e.isScrolling&&!0===a.prevIsScrolling&&Object.assign(r,{isScrolling:!1}),w({cellCount:a.prevColumnCount,cellSize:"number"===typeof a.prevColumnWidth?a.prevColumnWidth:null,computeMetadataCallback:function(){return a.columnSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.columnCount,nextCellSize:"number"===typeof e.columnWidth?e.columnWidth:null,nextScrollToIndex:e.scrollToColumn,scrollToIndex:a.prevScrollToColumn,updateScrollOffsetForScrollToIndex:function(){o=t._getScrollLeftForScrollToColumnStateUpdate(e,n)}}),w({cellCount:a.prevRowCount,cellSize:"number"===typeof a.prevRowHeight?a.prevRowHeight:null,computeMetadataCallback:function(){return a.rowSizeAndPositionManager.resetCell(0)},computeMetadataCallbackProps:e,nextCellsCount:e.rowCount,nextCellSize:"number"===typeof e.rowHeight?e.rowHeight:null,nextScrollToIndex:e.scrollToRow,scrollToIndex:a.prevScrollToRow,updateScrollOffsetForScrollToIndex:function(){i=t._getScrollTopForScrollToRowStateUpdate(e,n)}}),a.prevColumnCount=e.columnCount,a.prevColumnWidth=e.columnWidth,a.prevIsScrolling=!0===e.isScrolling,a.prevRowCount=e.rowCount,a.prevRowHeight=e.rowHeight,a.prevScrollToColumn=e.scrollToColumn,a.prevScrollToRow=e.scrollToRow,a.scrollbarSize=e.getScrollbarSize(),void 0===a.scrollbarSize?(a.scrollbarSizeMeasured=!1,a.scrollbarSize=0):a.scrollbarSizeMeasured=!0,r.instanceProps=a,V({},r,{},o,{},i)}},{key:"_getEstimatedColumnSize",value:function(e){return"number"===typeof e.columnWidth?e.columnWidth:e.estimatedColumnSize}},{key:"_getEstimatedRowSize",value:function(e){return"number"===typeof e.rowHeight?e.rowHeight:e.estimatedRowSize}},{key:"_getScrollToPositionStateUpdate",value:function(e){var t=e.prevState,n=e.scrollLeft,r=e.scrollTop,o={scrollPositionChangeReason:G};return"number"===typeof n&&n>=0&&(o.scrollDirectionHorizontal=n>t.scrollLeft?1:-1,o.scrollLeft=n),"number"===typeof r&&r>=0&&(o.scrollDirectionVertical=r>t.scrollTop?1:-1,o.scrollTop=r),"number"===typeof n&&n>=0&&n!==t.scrollLeft||"number"===typeof r&&r>=0&&r!==t.scrollTop?o:{}}},{key:"_wrapSizeGetter",value:function(e){return"function"===typeof e?e:function(){return e}}},{key:"_getCalculatedScrollLeft",value:function(e,t){var n=e.columnCount,r=e.height,o=e.scrollToAlignment,i=e.scrollToColumn,a=e.width,l=t.scrollLeft,s=t.instanceProps;if(n>0){var c=n-1,u=i<0?c:Math.min(c,i),d=s.rowSizeAndPositionManager.getTotalSize(),f=s.scrollbarSizeMeasured&&d>r?s.scrollbarSize:0;return s.columnSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:a-f,currentOffset:l,targetIndex:u})}return 0}},{key:"_getScrollLeftForScrollToColumnStateUpdate",value:function(e,n){var r=n.scrollLeft,o=t._getCalculatedScrollLeft(e,n);return"number"===typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:o,scrollTop:-1}):{}}},{key:"_getCalculatedScrollTop",value:function(e,t){var n=e.height,r=e.rowCount,o=e.scrollToAlignment,i=e.scrollToRow,a=e.width,l=t.scrollTop,s=t.instanceProps;if(r>0){var c=r-1,u=i<0?c:Math.min(c,i),d=s.columnSizeAndPositionManager.getTotalSize(),f=s.scrollbarSizeMeasured&&d>a?s.scrollbarSize:0;return s.rowSizeAndPositionManager.getUpdatedOffsetForIndex({align:o,containerSize:n-f,currentOffset:l,targetIndex:u})}return 0}},{key:"_getScrollTopForScrollToRowStateUpdate",value:function(e,n){var r=n.scrollTop,o=t._getCalculatedScrollTop(e,n);return"number"===typeof o&&o>=0&&r!==o?t._getScrollToPositionStateUpdate({prevState:n,scrollLeft:-1,scrollTop:o}):{}}}]),t}(g.PureComponent),m()(I,"propTypes",null),D);m()(Y,"defaultProps",{"aria-label":"grid","aria-readonly":!0,autoContainerWidth:!1,autoHeight:!1,autoWidth:!1,cellRangeRenderer:function(e){for(var t=e.cellCache,n=e.cellRenderer,r=e.columnSizeAndPositionManager,o=e.columnStartIndex,i=e.columnStopIndex,a=e.deferredMeasurementCache,l=e.horizontalOffsetAdjustment,s=e.isScrolling,c=e.isScrollingOptOut,u=e.parent,d=e.rowSizeAndPositionManager,f=e.rowStartIndex,p=e.rowStopIndex,h=e.styleCache,v=e.verticalOffsetAdjustment,m=e.visibleColumnIndices,g=e.visibleRowIndices,b=[],y=r.areOffsetsAdjusted()||d.areOffsetsAdjusted(),x=!s&&!y,O=f;O<=p;O++)for(var w=d.getSizeAndPositionOfCell(O),j=o;j<=i;j++){var S=r.getSizeAndPositionOfCell(j),k=j>=m.start&&j<=m.stop&&O>=g.start&&O<=g.stop,_="".concat(O,"-").concat(j),C=void 0;x&&h[_]?C=h[_]:a&&!a.has(O,j)?C={height:"auto",left:0,position:"absolute",top:0,width:"auto"}:(C={height:w.size,left:S.offset+l,position:"absolute",top:w.offset+v,width:S.size},h[_]=C);var M={columnIndex:j,isScrolling:s,isVisible:k,key:_,parent:u,rowIndex:O,style:C},T=void 0;!c&&!s||l||v?T=n(M):(t[_]||(t[_]=n(M)),T=t[_]),null!=T&&!1!==T&&b.push(T)}return b},containerRole:"rowgroup",containerStyle:{},estimatedColumnSize:100,estimatedRowSize:30,getScrollbarSize:R,noContentRenderer:function(){return null},onScroll:function(){},onScrollbarPresenceChange:function(){},onSectionRendered:function(){},overscanColumnCount:0,overscanIndicesGetter:function(e){var t=e.cellCount,n=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return 1===r?{overscanStartIndex:Math.max(0,o),overscanStopIndex:Math.min(t-1,i+n)}:{overscanStartIndex:Math.max(0,o-n),overscanStopIndex:Math.min(t-1,i)}},overscanRowCount:10,role:"grid",scrollingResetTimeInterval:150,scrollToAlignment:"auto",scrollToColumn:-1,scrollToRow:-1,style:{},tabIndex:0,isScrollingOptOut:!1}),Object(b.polyfill)(Y);var q=Y;function $(e){var t=e.cellCount,n=e.overscanCellsCount,r=e.scrollDirection,o=e.startIndex,i=e.stopIndex;return n=Math.max(1,n),1===r?{overscanStartIndex:Math.max(0,o-1),overscanStopIndex:Math.min(t-1,i+n)}:{overscanStartIndex:Math.max(0,o-n),overscanStopIndex:Math.min(t-1,i+1)}}var K,X;function Z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Q=(X=K=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a=0){var u=t.getScrollPositionForCell({align:o,cellIndex:i,height:r,scrollLeft:s,scrollTop:c,width:a});u.scrollLeft===s&&u.scrollTop===c||n._setScrollPosition(u)}})),m()(f()(n),"_onScroll",(function(e){if(e.target===n._scrollingContainer){n._enablePointerEventsAfterDelay();var t=n.props,r=t.cellLayoutManager,o=t.height,i=t.isScrollingChange,a=t.width,l=n._scrollbarSize,s=r.getTotalSize(),c=s.height,u=s.width,d=Math.max(0,Math.min(u-a+l,e.target.scrollLeft)),f=Math.max(0,Math.min(c-o+l,e.target.scrollTop));if(n.state.scrollLeft!==d||n.state.scrollTop!==f){var p=e.cancelable?de:fe;n.state.isScrolling||i(!0),n.setState({isScrolling:!0,scrollLeft:d,scrollPositionChangeReason:p,scrollTop:f})}n._invokeOnScrollMemoizer({scrollLeft:d,scrollTop:f,totalWidth:u,totalHeight:c})}})),n._scrollbarSize=R(),void 0===n._scrollbarSize?(n._scrollbarSizeMeasured=!1,n._scrollbarSize=0):n._scrollbarSizeMeasured=!0,n}return h()(t,e),a()(t,[{key:"recomputeCellSizesAndPositions",value:function(){this._calculateSizeAndPositionDataOnNextUpdate=!0,this.forceUpdate()}},{key:"componentDidMount",value:function(){var e=this.props,t=e.cellLayoutManager,n=e.scrollLeft,r=e.scrollToCell,o=e.scrollTop;this._scrollbarSizeMeasured||(this._scrollbarSize=R(),this._scrollbarSizeMeasured=!0,this.setState({})),r>=0?this._updateScrollPositionForScrollToCell():(n>=0||o>=0)&&this._setScrollPosition({scrollLeft:n,scrollTop:o}),this._invokeOnSectionRenderedHelper();var i=t.getTotalSize(),a=i.height,l=i.width;this._invokeOnScrollMemoizer({scrollLeft:n||0,scrollTop:o||0,totalHeight:a,totalWidth:l})}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,r=n.height,o=n.scrollToAlignment,i=n.scrollToCell,a=n.width,l=this.state,s=l.scrollLeft,c=l.scrollPositionChangeReason,u=l.scrollTop;c===fe&&(s>=0&&s!==t.scrollLeft&&s!==this._scrollingContainer.scrollLeft&&(this._scrollingContainer.scrollLeft=s),u>=0&&u!==t.scrollTop&&u!==this._scrollingContainer.scrollTop&&(this._scrollingContainer.scrollTop=u)),r===e.height&&o===e.scrollToAlignment&&i===e.scrollToCell&&a===e.width||this._updateScrollPositionForScrollToCell(),this._invokeOnSectionRenderedHelper()}},{key:"componentWillUnmount",value:function(){this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId)}},{key:"render",value:function(){var e=this.props,t=e.autoHeight,n=e.cellCount,r=e.cellLayoutManager,o=e.className,i=e.height,a=e.horizontalOverscanSize,l=e.id,s=e.noContentRenderer,c=e.style,u=e.verticalOverscanSize,d=e.width,f=this.state,p=f.isScrolling,h=f.scrollLeft,v=f.scrollTop;(this._lastRenderedCellCount!==n||this._lastRenderedCellLayoutManager!==r||this._calculateSizeAndPositionDataOnNextUpdate)&&(this._lastRenderedCellCount=n,this._lastRenderedCellLayoutManager=r,this._calculateSizeAndPositionDataOnNextUpdate=!1,r.calculateSizeAndPositionData());var m=r.getTotalSize(),b=m.height,y=m.width,x=Math.max(0,h-a),w=Math.max(0,v-u),j=Math.min(y,h+d+a),S=Math.min(b,v+i+u),k=i>0&&d>0?r.cellRenderers({height:S-w,isScrolling:p,width:j-x,x:x,y:w}):[],_={boxSizing:"border-box",direction:"ltr",height:t?"auto":i,position:"relative",WebkitOverflowScrolling:"touch",width:d,willChange:"transform"},C=b>i?this._scrollbarSize:0,M=y>d?this._scrollbarSize:0;return _.overflowX=y+C<=d?"hidden":"auto",_.overflowY=b+M<=i?"hidden":"auto",g.createElement("div",{ref:this._setScrollingContainerRef,"aria-label":this.props["aria-label"],className:Object(O.a)("ReactVirtualized__Collection",o),id:l,onScroll:this._onScroll,role:"grid",style:ue({},_,{},c),tabIndex:0},n>0&&g.createElement("div",{className:"ReactVirtualized__Collection__innerScrollContainer",style:{height:b,maxHeight:b,maxWidth:y,overflow:"hidden",pointerEvents:p?"none":"",width:y}},k),0===n&&s())}},{key:"_enablePointerEventsAfterDelay",value:function(){var e=this;this._disablePointerEventsTimeoutId&&clearTimeout(this._disablePointerEventsTimeoutId),this._disablePointerEventsTimeoutId=setTimeout((function(){(0,e.props.isScrollingChange)(!1),e._disablePointerEventsTimeoutId=null,e.setState({isScrolling:!1})}),150)}},{key:"_invokeOnScrollMemoizer",value:function(e){var t=this,n=e.scrollLeft,r=e.scrollTop,o=e.totalHeight,i=e.totalWidth;this._onScrollMemoizer({callback:function(e){var n=e.scrollLeft,r=e.scrollTop,a=t.props,l=a.height;(0,a.onScroll)({clientHeight:l,clientWidth:a.width,scrollHeight:o,scrollLeft:n,scrollTop:r,scrollWidth:i})},indices:{scrollLeft:n,scrollTop:r}})}},{key:"_setScrollPosition",value:function(e){var t=e.scrollLeft,n=e.scrollTop,r={scrollPositionChangeReason:fe};t>=0&&(r.scrollLeft=t),n>=0&&(r.scrollTop=n),(t>=0&&t!==this.state.scrollLeft||n>=0&&n!==this.state.scrollTop)&&this.setState(r)}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 0!==e.cellCount||0===t.scrollLeft&&0===t.scrollTop?e.scrollLeft!==t.scrollLeft||e.scrollTop!==t.scrollTop?{scrollLeft:null!=e.scrollLeft?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop?e.scrollTop:t.scrollTop,scrollPositionChangeReason:fe}:null:{scrollLeft:0,scrollTop:0,scrollPositionChangeReason:fe}}}]),t}(g.PureComponent);m()(pe,"defaultProps",{"aria-label":"grid",horizontalOverscanSize:0,noContentRenderer:function(){return null},onScroll:function(){return null},onSectionRendered:function(){return null},scrollToAlignment:"auto",scrollToCell:-1,style:{},verticalOverscanSize:0}),pe.propTypes={},Object(b.polyfill)(pe);var he=pe,ve=function(){function e(t){var n=t.height,r=t.width,i=t.x,a=t.y;o()(this,e),this.height=n,this.width=r,this.x=i,this.y=a,this._indexMap={},this._indices=[]}return a()(e,[{key:"addCellIndex",value:function(e){var t=e.index;this._indexMap[t]||(this._indexMap[t]=!0,this._indices.push(t))}},{key:"getCellIndices",value:function(){return this._indices}},{key:"toString",value:function(){return"".concat(this.x,",").concat(this.y," ").concat(this.width,"x").concat(this.height)}}]),e}(),me=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100;o()(this,e),this._sectionSize=t,this._cellMetadata=[],this._sections={}}return a()(e,[{key:"getCellIndices",value:function(e){var t=e.height,n=e.width,r=e.x,o=e.y,i={};return this.getSections({height:t,width:n,x:r,y:o}).forEach((function(e){return e.getCellIndices().forEach((function(e){i[e]=e}))})),Object.keys(i).map((function(e){return i[e]}))}},{key:"getCellMetadata",value:function(e){var t=e.index;return this._cellMetadata[t]}},{key:"getSections",value:function(e){for(var t=e.height,n=e.width,r=e.x,o=e.y,i=Math.floor(r/this._sectionSize),a=Math.floor((r+n-1)/this._sectionSize),l=Math.floor(o/this._sectionSize),s=Math.floor((o+t-1)/this._sectionSize),c=[],u=i;u<=a;u++)for(var d=l;d<=s;d++){var f="".concat(u,".").concat(d);this._sections[f]||(this._sections[f]=new ve({height:this._sectionSize,width:this._sectionSize,x:u*this._sectionSize,y:d*this._sectionSize})),c.push(this._sections[f])}return c}},{key:"getTotalSectionCount",value:function(){return Object.keys(this._sections).length}},{key:"toString",value:function(){var e=this;return Object.keys(this._sections).map((function(t){return e._sections[t].toString()}))}},{key:"registerCell",value:function(e){var t=e.cellMetadatum,n=e.index;this._cellMetadata[n]=t,this.getSections(t).forEach((function(e){return e.addCellIndex({index:n})}))}}]),e}();function ge(e){var t=e.align,n=void 0===t?"auto":t,r=e.cellOffset,o=e.cellSize,i=e.containerSize,a=e.currentOffset,l=r,s=l-i+o;switch(n){case"start":return l;case"end":return s;case"center":return l-(i-o)/2;default:return Math.max(s,Math.min(l,a))}}var be=function(e){function t(e,n){var r;return o()(this,t),(r=s()(this,u()(t).call(this,e,n)))._cellMetadata=[],r._lastRenderedCellIndices=[],r._cellCache=[],r._isScrollingChange=r._isScrollingChange.bind(f()(r)),r._setCollectionViewRef=r._setCollectionViewRef.bind(f()(r)),r}return h()(t,e),a()(t,[{key:"forceUpdate",value:function(){void 0!==this._collectionView&&this._collectionView.forceUpdate()}},{key:"recomputeCellSizesAndPositions",value:function(){this._cellCache=[],this._collectionView.recomputeCellSizesAndPositions()}},{key:"render",value:function(){var e=x()({},this.props);return g.createElement(he,x()({cellLayoutManager:this,isScrollingChange:this._isScrollingChange,ref:this._setCollectionViewRef},e))}},{key:"calculateSizeAndPositionData",value:function(){var e=this.props,t=function(e){for(var t=e.cellCount,n=e.cellSizeAndPositionGetter,r=e.sectionSize,o=[],i=new me(r),a=0,l=0,s=0;s=0&&nn||o1&&void 0!==arguments[1]?arguments[1]:0,n="function"===typeof e.recomputeGridSize?e.recomputeGridSize:e.recomputeRowHeights;n?n.call(e,t):e.forceUpdate()}(t._registeredChild,t._lastRenderedStartIndex)}))}))}},{key:"_onRowsRendered",value:function(e){var t=e.startIndex,n=e.stopIndex;this._lastRenderedStartIndex=t,this._lastRenderedStopIndex=n,this._doStuff(t,n)}},{key:"_doStuff",value:function(e,t){var n,r=this,o=this.props,i=o.isRowLoaded,a=o.minimumBatchSize,l=o.rowCount,s=o.threshold,c=function(e){for(var t=e.isRowLoaded,n=e.minimumBatchSize,r=e.rowCount,o=e.startIndex,i=e.stopIndex,a=[],l=null,s=null,c=o;c<=i;c++){t({index:c})?null!==s&&(a.push({startIndex:l,stopIndex:s}),l=s=null):(s=c,null===l&&(l=c))}if(null!==s){for(var u=Math.min(Math.max(s,l+n-1),r-1),d=s+1;d<=u&&!t({index:d});d++)s=d;a.push({startIndex:l,stopIndex:s})}if(a.length)for(var f=a[0];f.stopIndex-f.startIndex+10;){var p=f.startIndex-1;if(t({index:p}))break;f.startIndex=p}return a}({isRowLoaded:i,minimumBatchSize:a,rowCount:l,startIndex:Math.max(0,e-s),stopIndex:Math.min(l-1,t+s)}),u=(n=[]).concat.apply(n,Oe()(c.map((function(e){return[e.startIndex,e.stopIndex]}))));this._loadMoreRowsMemoizer({callback:function(){r._loadUnloadedRanges(c)},indices:{squashedUnloadedRanges:u}})}},{key:"_registerChild",value:function(e){this._registeredChild=e}}]),t}(g.PureComponent);m()(we,"defaultProps",{minimumBatchSize:10,rowCount:0,threshold:15}),we.propTypes={};var je,Se,ke=(Se=je=function(e){function t(){var e,n;o()(this,t);for(var r=arguments.length,i=new Array(r),a=0;a0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e,columnIndex:0})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.noRowsRenderer,r=e.scrollToIndex,o=e.width,i=Object(O.a)("ReactVirtualized__List",t);return g.createElement(q,x()({},this.props,{autoContainerWidth:!0,cellRenderer:this._cellRenderer,className:i,columnWidth:o,columnCount:1,noContentRenderer:n,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,scrollToRow:r}))}}]),t}(g.PureComponent),m()(je,"propTypes",null),Se);m()(ke,"defaultProps",{autoHeight:!1,estimatedRowSize:30,onScroll:function(){},noRowsRenderer:function(){return null},onRowsRendered:function(){},overscanIndicesGetter:$,overscanRowCount:10,scrollToAlignment:"auto",scrollToIndex:-1,style:{}});var _e=n(327),Ce=n.n(_e);var Me={ge:function(e,t,n,r,o){return"function"===typeof n?function(e,t,n,r,o){for(var i=n+1;t<=n;){var a=t+n>>>1;o(e[a],r)>=0?(i=a,n=a-1):t=a+1}return i}(e,void 0===r?0:0|r,void 0===o?e.length-1:0|o,t,n):function(e,t,n,r){for(var o=n+1;t<=n;){var i=t+n>>>1;e[i]>=r?(o=i,n=i-1):t=i+1}return o}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t)},gt:function(e,t,n,r,o){return"function"===typeof n?function(e,t,n,r,o){for(var i=n+1;t<=n;){var a=t+n>>>1;o(e[a],r)>0?(i=a,n=a-1):t=a+1}return i}(e,void 0===r?0:0|r,void 0===o?e.length-1:0|o,t,n):function(e,t,n,r){for(var o=n+1;t<=n;){var i=t+n>>>1;e[i]>r?(o=i,n=i-1):t=i+1}return o}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t)},lt:function(e,t,n,r,o){return"function"===typeof n?function(e,t,n,r,o){for(var i=t-1;t<=n;){var a=t+n>>>1;o(e[a],r)<0?(i=a,t=a+1):n=a-1}return i}(e,void 0===r?0:0|r,void 0===o?e.length-1:0|o,t,n):function(e,t,n,r){for(var o=t-1;t<=n;){var i=t+n>>>1;e[i]>>1;o(e[a],r)<=0?(i=a,t=a+1):n=a-1}return i}(e,void 0===r?0:0|r,void 0===o?e.length-1:0|o,t,n):function(e,t,n,r){for(var o=t-1;t<=n;){var i=t+n>>>1;e[i]<=r?(o=i,t=i+1):n=i-1}return o}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t)},eq:function(e,t,n,r,o){return"function"===typeof n?function(e,t,n,r,o){for(;t<=n;){var i=t+n>>>1,a=o(e[i],r);if(0===a)return i;a<=0?t=i+1:n=i-1}return-1}(e,void 0===r?0:0|r,void 0===o?e.length-1:0|o,t,n):function(e,t,n,r){for(;t<=n;){var o=t+n>>>1,i=e[o];if(i===r)return o;i<=r?t=o+1:n=o-1}return-1}(e,void 0===n?0:0|n,void 0===r?e.length-1:0|r,t)}};function Te(e,t,n,r,o){this.mid=e,this.left=t,this.right=n,this.leftPoints=r,this.rightPoints=o,this.count=(t?t.count:0)+(n?n.count:0)+r.length}var Pe=Te.prototype;function Ee(e,t){e.mid=t.mid,e.left=t.left,e.right=t.right,e.leftPoints=t.leftPoints,e.rightPoints=t.rightPoints,e.count=t.count}function Ae(e,t){var n=Be(t);e.mid=n.mid,e.left=n.left,e.right=n.right,e.leftPoints=n.leftPoints,e.rightPoints=n.rightPoints,e.count=n.count}function Re(e,t){var n=e.intervals([]);n.push(t),Ae(e,n)}function Ie(e,t){var n=e.intervals([]),r=n.indexOf(t);return r<0?0:(n.splice(r,1),Ae(e,n),1)}function De(e,t,n){for(var r=0;r=0&&e[r][1]>=t;--r){var o=n(e[r]);if(o)return o}}function Ne(e,t){for(var n=0;n>1],o=[],i=[],a=[];for(n=0;n3*(t+1)?Re(this,e):this.left.insert(e):this.left=Be([e]);else if(e[0]>this.mid)this.right?4*(this.right.count+1)>3*(t+1)?Re(this,e):this.right.insert(e):this.right=Be([e]);else{var n=Me.ge(this.leftPoints,e,Fe),r=Me.ge(this.rightPoints,e,We);this.leftPoints.splice(n,0,e),this.rightPoints.splice(r,0,e)}},Pe.remove=function(e){var t=this.count-this.leftPoints;if(e[1]3*(t-1)?Ie(this,e):2===(i=this.left.remove(e))?(this.left=null,this.count-=1,1):(1===i&&(this.count-=1),i):0;if(e[0]>this.mid)return this.right?4*(this.left?this.left.count:0)>3*(t-1)?Ie(this,e):2===(i=this.right.remove(e))?(this.right=null,this.count-=1,1):(1===i&&(this.count-=1),i):0;if(1===this.count)return this.leftPoints[0]===e?2:0;if(1===this.leftPoints.length&&this.leftPoints[0]===e){if(this.left&&this.right){for(var n=this,r=this.left;r.right;)n=r,r=r.right;if(n===this)r.right=this.right;else{var o=this.left,i=this.right;n.count-=r.count,n.right=r.left,r.left=o,r.right=i}Ee(this,r),this.count=(this.left?this.left.count:0)+(this.right?this.right.count:0)+this.leftPoints.length}else this.left?Ee(this,this.left):Ee(this,this.right);return 1}for(o=Me.ge(this.leftPoints,e,Fe);othis.mid){var n;if(this.right)if(n=this.right.queryPoint(e,t))return n;return Le(this.rightPoints,e,t)}return Ne(this.leftPoints,t)},Pe.queryInterval=function(e,t,n){var r;if(ethis.mid&&this.right&&(r=this.right.queryInterval(e,t,n)))return r;return tthis.mid?Le(this.rightPoints,e,n):Ne(this.leftPoints,n)};var Ve=He.prototype;Ve.insert=function(e){this.root?this.root.insert(e):this.root=new Te(e[0],null,null,[e],[e])},Ve.remove=function(e){if(this.root){var t=this.root.remove(e);return 2===t&&(this.root=null),0!==t}return!1},Ve.queryPoint=function(e,t){if(this.root)return this.root.queryPoint(e,t)},Ve.queryInterval=function(e,t,n){if(e<=t&&this.root)return this.root.queryInterval(e,t,n)},Object.defineProperty(Ve,"count",{get:function(){return this.root?this.root.count:0}}),Object.defineProperty(Ve,"intervals",{get:function(){return this.root?this.root.intervals([]):[]}});var Ue,Ge,Ye=function(){function e(){var t;o()(this,e),m()(this,"_columnSizeMap",{}),m()(this,"_intervalTree",t&&0!==t.length?new He(Be(t)):new He(null)),m()(this,"_leftMap",{})}return a()(e,[{key:"estimateTotalHeight",value:function(e,t,n){var r=e-this.count;return this.tallestColumnSize+Math.ceil(r/t)*n}},{key:"range",value:function(e,t,n){var r=this;this._intervalTree.queryInterval(e,e+t,(function(e){var t=Ce()(e,3),o=t[0],i=(t[1],t[2]);return n(i,r._leftMap[i],o)}))}},{key:"setPosition",value:function(e,t,n,r){this._intervalTree.insert([n,n+r,e]),this._leftMap[e]=t;var o=this._columnSizeMap,i=o[t];o[t]=void 0===i?n+r:Math.max(i,n+r)}},{key:"count",get:function(){return this._intervalTree.count}},{key:"shortestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var n in e){var r=e[n];t=0===t?r:Math.min(t,r)}return t}},{key:"tallestColumnSize",get:function(){var e=this._columnSizeMap,t=0;for(var n in e){var r=e[n];t=Math.max(t,r)}return t}}]),e}();function qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $e(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};o()(this,e),m()(this,"_cellMeasurerCache",void 0),m()(this,"_columnIndexOffset",void 0),m()(this,"_rowIndexOffset",void 0),m()(this,"columnWidth",(function(e){var n=e.index;t._cellMeasurerCache.columnWidth({index:n+t._columnIndexOffset})})),m()(this,"rowHeight",(function(e){var n=e.index;t._cellMeasurerCache.rowHeight({index:n+t._rowIndexOffset})}));var r=n.cellMeasurerCache,i=n.columnIndexOffset,a=void 0===i?0:i,l=n.rowIndexOffset,s=void 0===l?0:l;this._cellMeasurerCache=r,this._columnIndexOffset=a,this._rowIndexOffset=s}return a()(e,[{key:"clear",value:function(e,t){this._cellMeasurerCache.clear(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"clearAll",value:function(){this._cellMeasurerCache.clearAll()}},{key:"hasFixedHeight",value:function(){return this._cellMeasurerCache.hasFixedHeight()}},{key:"hasFixedWidth",value:function(){return this._cellMeasurerCache.hasFixedWidth()}},{key:"getHeight",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getHeight(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"getWidth",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.getWidth(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"has",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return this._cellMeasurerCache.has(e+this._rowIndexOffset,t+this._columnIndexOffset)}},{key:"set",value:function(e,t,n,r){this._cellMeasurerCache.set(e+this._rowIndexOffset,t+this._columnIndexOffset,n,r)}},{key:"defaultHeight",get:function(){return this._cellMeasurerCache.defaultHeight}},{key:"defaultWidth",get:function(){return this._cellMeasurerCache.defaultWidth}}]),e}();function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Je(e){for(var t=1;t0?new Ze({cellMeasurerCache:i,columnIndexOffset:0,rowIndexOffset:l}):i,r._deferredMeasurementCacheBottomRightGrid=a>0||l>0?new Ze({cellMeasurerCache:i,columnIndexOffset:a,rowIndexOffset:l}):i,r._deferredMeasurementCacheTopRightGrid=a>0?new Ze({cellMeasurerCache:i,columnIndexOffset:a,rowIndexOffset:0}):i),r}return h()(t,e),a()(t,[{key:"forceUpdateGrids",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.forceUpdate(),this._bottomRightGrid&&this._bottomRightGrid.forceUpdate(),this._topLeftGrid&&this._topLeftGrid.forceUpdate(),this._topRightGrid&&this._topRightGrid.forceUpdate()}},{key:"invalidateCellSizeAfterRender",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r;this._deferredInvalidateColumnIndex="number"===typeof this._deferredInvalidateColumnIndex?Math.min(this._deferredInvalidateColumnIndex,n):n,this._deferredInvalidateRowIndex="number"===typeof this._deferredInvalidateRowIndex?Math.min(this._deferredInvalidateRowIndex,o):o}},{key:"measureAllCells",value:function(){this._bottomLeftGrid&&this._bottomLeftGrid.measureAllCells(),this._bottomRightGrid&&this._bottomRightGrid.measureAllCells(),this._topLeftGrid&&this._topLeftGrid.measureAllCells(),this._topRightGrid&&this._topRightGrid.measureAllCells()}},{key:"recomputeGridSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r,i=this.props,a=i.fixedColumnCount,l=i.fixedRowCount,s=Math.max(0,n-a),c=Math.max(0,o-l);this._bottomLeftGrid&&this._bottomLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:c}),this._bottomRightGrid&&this._bottomRightGrid.recomputeGridSize({columnIndex:s,rowIndex:c}),this._topLeftGrid&&this._topLeftGrid.recomputeGridSize({columnIndex:n,rowIndex:o}),this._topRightGrid&&this._topRightGrid.recomputeGridSize({columnIndex:s,rowIndex:o}),this._leftGridWidth=null,this._topGridHeight=null,this._maybeCalculateCachedStyles(!0)}},{key:"componentDidMount",value:function(){var e=this.props,t=e.scrollLeft,n=e.scrollTop;if(t>0||n>0){var r={};t>0&&(r.scrollLeft=t),n>0&&(r.scrollTop=n),this.setState(r)}this._handleInvalidatedGridSize()}},{key:"componentDidUpdate",value:function(){this._handleInvalidatedGridSize()}},{key:"render",value:function(){var e=this.props,t=e.onScroll,n=e.onSectionRendered,r=(e.onScrollbarPresenceChange,e.scrollLeft,e.scrollToColumn),o=(e.scrollTop,e.scrollToRow),i=S()(e,["onScroll","onSectionRendered","onScrollbarPresenceChange","scrollLeft","scrollToColumn","scrollTop","scrollToRow"]);if(this._prepareForRender(),0===this.props.width||0===this.props.height)return null;var a=this.state,l=a.scrollLeft,s=a.scrollTop;return g.createElement("div",{style:this._containerOuterStyle},g.createElement("div",{style:this._containerTopStyle},this._renderTopLeftGrid(i),this._renderTopRightGrid(Je({},i,{onScroll:t,scrollLeft:l}))),g.createElement("div",{style:this._containerBottomStyle},this._renderBottomLeftGrid(Je({},i,{onScroll:t,scrollTop:s})),this._renderBottomRightGrid(Je({},i,{onScroll:t,onSectionRendered:n,scrollLeft:l,scrollToColumn:r,scrollToRow:o,scrollTop:s}))))}},{key:"_getBottomGridHeight",value:function(e){return e.height-this._getTopGridHeight(e)}},{key:"_getLeftGridWidth",value:function(e){var t=e.fixedColumnCount,n=e.columnWidth;if(null==this._leftGridWidth)if("function"===typeof n){for(var r=0,o=0;o=0?e.scrollLeft:t.scrollLeft,scrollTop:null!=e.scrollTop&&e.scrollTop>=0?e.scrollTop:t.scrollTop}:null}}]),t}(g.PureComponent);m()(et,"defaultProps",{classNameBottomLeftGrid:"",classNameBottomRightGrid:"",classNameTopLeftGrid:"",classNameTopRightGrid:"",enableFixedColumnScroll:!1,enableFixedRowScroll:!1,fixedColumnCount:0,fixedRowCount:0,scrollToColumn:-1,scrollToRow:-1,style:{},styleBottomLeftGrid:{},styleBottomRightGrid:{},styleTopLeftGrid:{},styleTopRightGrid:{},hideTopRightGridScrollbar:!1,hideBottomLeftGridScrollbar:!1}),et.propTypes={},Object(b.polyfill)(et);var tt=function(e){function t(e,n){var r;return o()(this,t),(r=s()(this,u()(t).call(this,e,n))).state={clientHeight:0,clientWidth:0,scrollHeight:0,scrollLeft:0,scrollTop:0,scrollWidth:0},r._onScroll=r._onScroll.bind(f()(r)),r}return h()(t,e),a()(t,[{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.clientHeight,r=t.clientWidth,o=t.scrollHeight,i=t.scrollLeft,a=t.scrollTop,l=t.scrollWidth;return e({clientHeight:n,clientWidth:r,onScroll:this._onScroll,scrollHeight:o,scrollLeft:i,scrollTop:a,scrollWidth:l})}},{key:"_onScroll",value:function(e){var t=e.clientHeight,n=e.clientWidth,r=e.scrollHeight,o=e.scrollLeft,i=e.scrollTop,a=e.scrollWidth;this.setState({clientHeight:t,clientWidth:n,scrollHeight:r,scrollLeft:o,scrollTop:i,scrollWidth:a})}}]),t}(g.PureComponent);tt.propTypes={};function nt(e){var t=e.className,n=e.columns,r=e.style;return g.createElement("div",{className:t,role:"row",style:r},n)}nt.propTypes=null;var rt={ASC:"ASC",DESC:"DESC"};function ot(e){var t=e.sortDirection,n=Object(O.a)("ReactVirtualized__Table__sortableHeaderIcon",{"ReactVirtualized__Table__sortableHeaderIcon--ASC":t===rt.ASC,"ReactVirtualized__Table__sortableHeaderIcon--DESC":t===rt.DESC});return g.createElement("svg",{className:n,width:18,height:18,viewBox:"0 0 24 24"},t===rt.ASC?g.createElement("path",{d:"M7 14l5-5 5 5z"}):g.createElement("path",{d:"M7 10l5 5 5-5z"}),g.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}))}function it(e){var t=e.dataKey,n=e.label,r=e.sortBy,o=e.sortDirection,i=r===t,a=[g.createElement("span",{className:"ReactVirtualized__Table__headerTruncatedText",key:"label",title:"string"===typeof n?n:null},n)];return i&&a.push(g.createElement(ot,{key:"SortIndicator",sortDirection:o})),a}function at(e){var t=e.className,n=e.columns,r=e.index,o=e.key,i=e.onRowClick,a=e.onRowDoubleClick,l=e.onRowMouseOut,s=e.onRowMouseOver,c=e.onRowRightClick,u=e.rowData,d=e.style,f={"aria-rowindex":r+1};return(i||a||l||s||c)&&(f["aria-label"]="row",f.tabIndex=0,i&&(f.onClick=function(e){return i({event:e,index:r,rowData:u})}),a&&(f.onDoubleClick=function(e){return a({event:e,index:r,rowData:u})}),l&&(f.onMouseOut=function(e){return l({event:e,index:r,rowData:u})}),s&&(f.onMouseOver=function(e){return s({event:e,index:r,rowData:u})}),c&&(f.onContextMenu=function(e){return c({event:e,index:r,rowData:u})})),g.createElement("div",x()({},f,{className:t,key:o,role:"row",style:d}),n)}ot.propTypes={},it.propTypes=null,at.propTypes=null;var lt=function(e){function t(){return o()(this,t),s()(this,u()(t).apply(this,arguments))}return h()(t,e),t}(g.Component);function st(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ct(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.columnIndex,n=void 0===t?0:t,r=e.rowIndex,o=void 0===r?0:r;this.Grid&&this.Grid.recomputeGridSize({rowIndex:o,columnIndex:n})}},{key:"recomputeRowHeights",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.recomputeGridSize({rowIndex:e})}},{key:"scrollToPosition",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToPosition({scrollTop:e})}},{key:"scrollToRow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.Grid&&this.Grid.scrollToCell({columnIndex:0,rowIndex:e})}},{key:"getScrollbarWidth",value:function(){if(this.Grid){var e=Object(le.findDOMNode)(this.Grid),t=e.clientWidth||0;return(e.offsetWidth||0)-t}return 0}},{key:"componentDidMount",value:function(){this._setScrollbarWidth()}},{key:"componentDidUpdate",value:function(){this._setScrollbarWidth()}},{key:"render",value:function(){var e=this,t=this.props,n=t.children,r=t.className,o=t.disableHeader,i=t.gridClassName,a=t.gridStyle,l=t.headerHeight,s=t.headerRowRenderer,c=t.height,u=t.id,d=t.noRowsRenderer,f=t.rowClassName,p=t.rowStyle,h=t.scrollToIndex,v=t.style,m=t.width,b=this.state.scrollbarWidth,y=o?c:c-l,w="function"===typeof f?f({index:-1}):f,j="function"===typeof p?p({index:-1}):p;return this._cachedColumnStyles=[],g.Children.toArray(n).forEach((function(t,n){var r=e._getFlexStyleForColumn(t,t.props.style);e._cachedColumnStyles[n]=ct({overflow:"hidden"},r)})),g.createElement("div",{"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-colcount":g.Children.toArray(n).length,"aria-rowcount":this.props.rowCount,className:Object(O.a)("ReactVirtualized__Table",r),id:u,role:"grid",style:v},!o&&s({className:Object(O.a)("ReactVirtualized__Table__headerRow",w),columns:this._getHeaderColumns(),style:ct({height:l,overflow:"hidden",paddingRight:b,width:m},j)}),g.createElement(q,x()({},this.props,{"aria-readonly":null,autoContainerWidth:!0,className:Object(O.a)("ReactVirtualized__Table__Grid",i),cellRenderer:this._createRow,columnWidth:m,columnCount:1,height:y,id:void 0,noContentRenderer:d,onScroll:this._onScroll,onSectionRendered:this._onSectionRendered,ref:this._setRef,role:"rowgroup",scrollbarWidth:b,scrollToRow:h,style:ct({},a,{overflowX:"hidden"})})))}},{key:"_createColumn",value:function(e){var t=e.column,n=e.columnIndex,r=e.isScrolling,o=e.parent,i=e.rowData,a=e.rowIndex,l=this.props.onColumnClick,s=t.props,c=s.cellDataGetter,u=s.cellRenderer,d=s.className,f=s.columnData,p=s.dataKey,h=s.id,v=u({cellData:c({columnData:f,dataKey:p,rowData:i}),columnData:f,columnIndex:n,dataKey:p,isScrolling:r,parent:o,rowData:i,rowIndex:a}),m=this._cachedColumnStyles[n],b="string"===typeof v?v:null;return g.createElement("div",{"aria-colindex":n+1,"aria-describedby":h,className:Object(O.a)("ReactVirtualized__Table__rowColumn",d),key:"Row"+a+"-Col"+n,onClick:function(e){l&&l({columnData:f,dataKey:p,event:e})},role:"gridcell",style:m,title:b},v)}},{key:"_createHeader",value:function(e){var t,n,r,o,i,a=e.column,l=e.index,s=this.props,c=s.headerClassName,u=s.headerStyle,d=s.onHeaderClick,f=s.sort,p=s.sortBy,h=s.sortDirection,v=a.props,m=v.columnData,b=v.dataKey,y=v.defaultSortDirection,x=v.disableSort,w=v.headerRenderer,j=v.id,S=v.label,k=!x&&f,_=Object(O.a)("ReactVirtualized__Table__headerColumn",c,a.props.headerClassName,{ReactVirtualized__Table__sortableHeaderColumn:k}),C=this._getFlexStyleForColumn(a,ct({},u,{},a.props.headerStyle)),M=w({columnData:m,dataKey:b,disableSort:x,label:S,sortBy:p,sortDirection:h});if(k||d){var T=p!==b?y:h===rt.DESC?rt.ASC:rt.DESC,P=function(e){k&&f({defaultSortDirection:y,event:e,sortBy:b,sortDirection:T}),d&&d({columnData:m,dataKey:b,event:e})};i=a.props["aria-label"]||S||b,o="none",r=0,t=P,n=function(e){"Enter"!==e.key&&" "!==e.key||P(e)}}return p===b&&(o=h===rt.ASC?"ascending":"descending"),g.createElement("div",{"aria-label":i,"aria-sort":o,className:_,id:j,key:"Header-Col"+l,onClick:t,onKeyDown:n,role:"columnheader",style:C,tabIndex:r},M)}},{key:"_createRow",value:function(e){var t=this,n=e.rowIndex,r=e.isScrolling,o=e.key,i=e.parent,a=e.style,l=this.props,s=l.children,c=l.onRowClick,u=l.onRowDoubleClick,d=l.onRowRightClick,f=l.onRowMouseOver,p=l.onRowMouseOut,h=l.rowClassName,v=l.rowGetter,m=l.rowRenderer,b=l.rowStyle,y=this.state.scrollbarWidth,x="function"===typeof h?h({index:n}):h,w="function"===typeof b?b({index:n}):b,j=v({index:n}),S=g.Children.toArray(s).map((function(e,o){return t._createColumn({column:e,columnIndex:o,isScrolling:r,parent:i,rowData:j,rowIndex:n,scrollbarWidth:y})})),k=Object(O.a)("ReactVirtualized__Table__row",x),_=ct({},a,{height:this._getRowHeight(n),overflow:"hidden",paddingRight:y},w);return m({className:k,columns:S,index:n,isScrolling:r,key:o,onRowClick:c,onRowDoubleClick:u,onRowRightClick:d,onRowMouseOver:f,onRowMouseOut:p,rowData:j,style:_})}},{key:"_getFlexStyleForColumn",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="".concat(e.props.flexGrow," ").concat(e.props.flexShrink," ").concat(e.props.width,"px"),r=ct({},t,{flex:n,msFlex:n,WebkitFlex:n});return e.props.maxWidth&&(r.maxWidth=e.props.maxWidth),e.props.minWidth&&(r.minWidth=e.props.minWidth),r}},{key:"_getHeaderColumns",value:function(){var e=this,t=this.props,n=t.children;return(t.disableHeader?[]:g.Children.toArray(n)).map((function(t,n){return e._createHeader({column:t,index:n})}))}},{key:"_getRowHeight",value:function(e){var t=this.props.rowHeight;return"function"===typeof t?t({index:e}):t}},{key:"_onScroll",value:function(e){var t=e.clientHeight,n=e.scrollHeight,r=e.scrollTop;(0,this.props.onScroll)({clientHeight:t,scrollHeight:n,scrollTop:r})}},{key:"_onSectionRendered",value:function(e){var t=e.rowOverscanStartIndex,n=e.rowOverscanStopIndex,r=e.rowStartIndex,o=e.rowStopIndex;(0,this.props.onRowsRendered)({overscanStartIndex:t,overscanStopIndex:n,startIndex:r,stopIndex:o})}},{key:"_setRef",value:function(e){this.Grid=e}},{key:"_setScrollbarWidth",value:function(){var e=this.getScrollbarWidth();this.setState({scrollbarWidth:e})}}]),t}(g.PureComponent);m()(ut,"defaultProps",{disableHeader:!1,estimatedRowSize:30,headerHeight:0,headerStyle:{},noRowsRenderer:function(){return null},onRowsRendered:function(){return null},onScroll:function(){return null},overscanIndicesGetter:$,overscanRowCount:10,rowRenderer:at,headerRowRenderer:nt,rowStyle:{},scrollToAlignment:"auto",scrollToIndex:-1,style:{}}),ut.propTypes={};var dt=[],ft=null,pt=null;function ht(){pt&&(pt=null,document.body&&null!=ft&&(document.body.style.pointerEvents=ft),ft=null)}function vt(){ht(),dt.forEach((function(e){return e.__resetIsScrolling()}))}function mt(e){e.currentTarget===window&&null==ft&&document.body&&(ft=document.body.style.pointerEvents,document.body.style.pointerEvents="none"),function(){pt&&W(pt);var e=0;dt.forEach((function(t){e=Math.max(e,t.props.scrollingResetTimeInterval)})),pt=B(vt,e)}(),dt.forEach((function(t){t.props.scrollElement===e.currentTarget&&t.__handleWindowScrollEvent()}))}function gt(e,t){dt.some((function(e){return e.props.scrollElement===t}))||t.addEventListener("scroll",mt),dt.push(e)}function bt(e,t){(dt=dt.filter((function(t){return t!==e}))).length||(t.removeEventListener("scroll",mt),pt&&(W(pt),ht()))}var yt,xt,Ot=function(e){return e===window},wt=function(e){return e.getBoundingClientRect()};function jt(e,t){if(e){if(Ot(e)){var n=window,r=n.innerHeight,o=n.innerWidth;return{height:"number"===typeof r?r:0,width:"number"===typeof o?o:0}}return wt(e)}return{height:t.serverHeight,width:t.serverWidth}}function St(e,t){if(Ot(t)&&document.documentElement){var n=document.documentElement,r=wt(e),o=wt(n);return{top:r.top-o.top,left:r.left-o.left}}var i=kt(t),a=wt(e),l=wt(t);return{top:a.top+i.top-l.top,left:a.left+i.left-l.left}}function kt(e){return Ot(e)&&document.documentElement?{top:"scrollY"in window?window.scrollY:document.documentElement.scrollTop,left:"scrollX"in window?window.scrollX:document.documentElement.scrollLeft}:{top:e.scrollTop,left:e.scrollLeft}}function _t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ct(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:this.props.scrollElement,t=this.props.onResize,n=this.state,r=n.height,o=n.width,i=this._child||le.findDOMNode(this);if(i instanceof Element&&e){var a=St(i,e);this._positionFromTop=a.top,this._positionFromLeft=a.left}var l=jt(e,this.props);r===l.height&&o===l.width||(this.setState({height:l.height,width:l.width}),t({height:l.height,width:l.width}))}},{key:"componentDidMount",value:function(){var e=this.props.scrollElement;this._detectElementResize=Object(te.a)(),this.updatePosition(e),e&&(gt(this,e),this._registerResizeListener(e)),this._isMounted=!0}},{key:"componentDidUpdate",value:function(e,t){var n=this.props.scrollElement,r=e.scrollElement;r!==n&&null!=r&&null!=n&&(this.updatePosition(n),bt(this,r),gt(this,n),this._unregisterResizeListener(r),this._registerResizeListener(n))}},{key:"componentWillUnmount",value:function(){var e=this.props.scrollElement;e&&(bt(this,e),this._unregisterResizeListener(e)),this._isMounted=!1}},{key:"render",value:function(){var e=this.props.children,t=this.state,n=t.isScrolling,r=t.scrollTop,o=t.scrollLeft,i=t.height,a=t.width;return e({onChildScroll:this._onChildScroll,registerChild:this._registerChild,height:i,isScrolling:n,scrollLeft:o,scrollTop:r,width:a})}}]),t}(g.PureComponent),m()(yt,"propTypes",null),xt);m()(Tt,"defaultProps",{onResize:function(){},onScroll:function(){},scrollingResetTimeInterval:150,scrollElement:Mt(),serverHeight:0,serverWidth:0})},,function(e,t,n){var r=n(106),o=n(107);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},function(e,t){e.exports=function(e){return e}},function(e,t,n){"use strict";e.exports=n(418)},function(e,t,n){"use strict";var r=n(382);t.a=r.a},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(167);function o(e,t){if(e){if("string"===typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Q(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?a:n&&n.props&&n.props.data&&n.props.data.length>0?n.props.data:e&&e.length&&Object(B.g)(o)&&Object(B.g)(i)?e.slice(o,i+1):[]},me=function(e,t,n,r){var o=e.graphicalItems,i=e.tooltipAxis,a=ve(t,e);return n<0||!o||!o.length||n>=a.length?null:o.reduce((function(e,t){if(t.props.hide)return e;var o,l=t.props.data;if(i.dataKey&&!i.allowDuplicatedCategory){var s=void 0===l?a:l;o=Object(B.a)(s,i.dataKey,r)}else o=l&&l[n]||a[n];return o?[].concat(oe(e),[Object(H.v)(t,o)]):e}),[])},ge=function(e,t,n,r){var o=r||{x:e.chartX,y:e.chartY},i=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}(o,n),a=e.orderedTooltipTicks,l=e.tooltipAxis,s=e.tooltipTicks,c=Object(H.b)(i,a,s,l);if(c>=0&&s){var u=s[c]&&s[c].value,d=me(e,t,c,u),f=function(e,t,n,r){var o=t.find((function(e){return e&&e.index===n}));if(o){if("horizontal"===e)return{x:o.coordinate,y:r.y};if("vertical"===e)return{x:r.x,y:o.coordinate};if("centric"===e){var i=o.coordinate,a=r.radius;return se(se(se({},r),Object(U.e)(r.cx,r.cy,a,i)),{},{angle:i,radius:a})}var l=o.coordinate,s=r.angle;return se(se(se({},r),Object(U.e)(r.cx,r.cy,l,s)),{},{angle:s,radius:l})}return de}(n,a,c,o);return{activeTooltipIndex:c,activeLabel:u,activePayload:d,activeCoordinate:f}}return null},be=function(e,t){var n=t.axisType,r=void 0===n?"xAxis":n,o=t.AxisComp,i=t.graphicalItems,a=t.stackGroups,l=t.dataStartIndex,s=t.dataEndIndex,c=e.children,u="".concat(r,"Id"),d=Object(N.a)(c,o),f={};return d&&d.length?f=function(e,t){var n=t.axes,r=t.graphicalItems,o=t.axisType,i=t.axisIdKey,a=t.stackGroups,l=t.dataStartIndex,s=t.dataEndIndex,c=e.layout,u=e.children,d=e.stackOffset,f=Object(H.x)(c,o);return n.reduce((function(t,n){var p=n.props,h=p.type,v=p.dataKey,m=p.allowDataOverflow,b=p.allowDuplicatedCategory,x=p.scale,O=p.ticks,w=n.props[i],j=ve(e.data,{graphicalItems:r.filter((function(e){return e.props[i]===w})),dataStartIndex:l,dataEndIndex:s}),S=j.length;if(!t[w]){var k,_,C;if(v){if(k=Object(H.m)(j,v,h),"category"===h&&f){var M=Object(B.d)(k);b&&M?(_=k,k=g()(0,S)):b||(k=Object(H.y)(n.props.domain,k,n).reduce((function(e,t){return e.indexOf(t)>=0?e:[].concat(oe(e),[t])}),[]))}else if("category"===h)k=b?k.filter((function(e){return""!==e&&!y()(e)})):Object(H.y)(n.props.domain,k,n).reduce((function(e,t){return e.indexOf(t)>=0||""===t||y()(t)?e:[].concat(oe(e),[t])}),[]);else if("number"===h){var T=Object(H.z)(j,r.filter((function(e){return e.props[i]===w&&!e.props.hide})),v,o);T&&(k=T)}!f||"number"!==h&&"auto"===x||(C=Object(H.m)(j,v,"category"))}else k=f?g()(0,S):a&&a[w]&&a[w].hasStack&&"number"===h?"expand"===d?[0,1]:Object(H.o)(a[w].stackGroups,l,s):Object(H.n)(j,r.filter((function(e){return e.props[i]===w&&!e.props.hide})),h,!0);if("number"===h)k=Object(V.a)(u,k,w,o,O),n.props.domain&&(k=Object(H.B)(n.props.domain,k,m));else if("category"===h&&n.props.domain){var P=n.props.domain;k.every((function(e){return P.indexOf(e)>=0}))&&(k=P)}return se(se({},t),{},ce({},w,se(se({},n.props),{},{axisType:o,domain:k,categoricalDomain:C,duplicateDomain:_,originalDomain:n.props.domain,isCategorical:f,layout:c})))}return t}),{})}(e,{axes:d,graphicalItems:i,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:l,dataEndIndex:s}):i&&i.length&&(f=function(e,t){var n=t.graphicalItems,r=t.Axis,o=t.axisType,i=t.axisIdKey,a=t.stackGroups,l=t.dataStartIndex,s=t.dataEndIndex,c=e.layout,u=e.children,d=ve(e.data,{graphicalItems:n,dataStartIndex:l,dataEndIndex:s}),f=d.length,p=Object(H.x)(c,o),h=-1;return n.reduce((function(e,t){var m,b=t.props[i];return e[b]?e:(h++,p?m=g()(0,f):a&&a[b]&&a[b].hasStack?(m=Object(H.o)(a[b].stackGroups,l,s),m=Object(V.a)(u,m,b,o)):(m=Object(H.B)(r.defaultProps.domain,Object(H.n)(d,n.filter((function(e){return e.props[i]===b&&!e.props.hide})),"number"),r.defaultProps.allowDataOverflow),m=Object(V.a)(u,m,b,o)),se(se({},e),{},ce({},b,se(se({axisType:o},r.defaultProps),{},{hide:!0,orientation:v()(ue,"".concat(o,".").concat(h%2),null),domain:m,originalDomain:r.defaultProps.domain,isCategorical:p,layout:c}))))}),{})}(e,{Axis:o,graphicalItems:i,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:l,dataEndIndex:s})),f},ye=function(e){var t=e.children,n=e.defaultShowTooltip,r=Object(N.b)(t,F.a.displayName);return{chartX:0,chartY:0,dataStartIndex:r&&r.props&&r.props.startIndex||0,dataEndIndex:r&&r.props&&r.props.endIndex||e.data&&e.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:!y()(n)&&n}},xe=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},Oe=function(e){var t,n,r=e.chartName,o=e.GraphicalChild,a=e.defaultTooltipEventType,s=void 0===a?"axis":a,u=e.validateTooltipEventTypes,f=void 0===u?["axis"]:u,h=e.axisComponents,m=e.legendContent,g=e.formatAxisMap,b=e.defaultProps,x=function(e,t){var n=t.graphicalItems,r=t.stackGroups,o=t.offset,i=t.updateId,a=t.dataStartIndex,l=t.dataEndIndex,s=e.barSize,c=e.layout,u=e.barGap,d=e.barCategoryGap,f=e.maxBarSize,p=xe(c),v=p.numericAxisName,m=p.cateAxisName,g=function(e){return!(!e||!e.length)&&e.some((function(e){var t=Object(N.c)(e&&e.type);return t&&t.indexOf("Bar")>=0}))}(n),b=g&&Object(H.h)({barSize:s,stackGroups:r}),x=[];return n.forEach((function(n,s){var p=ve(e.data,{dataStartIndex:a,dataEndIndex:l},n),g=n.props,O=g.dataKey,w=g.maxBarSize,j=n.props["".concat(v,"Id")],S=n.props["".concat(m,"Id")],k=h.reduce((function(e,r){var o,i=t["".concat(r.axisType,"Map")],a=n.props["".concat(r.axisType,"Id")],l=i&&i[a];return se(se({},e),{},(ce(o={},r.axisType,l),ce(o,"".concat(r.axisType,"Ticks"),Object(H.t)(l)),o))}),{}),_=k[m],C=k["".concat(m,"Ticks")],M=r&&r[j]&&r[j].hasStack&&Object(H.s)(n,r[j].stackGroups),T=Object(N.c)(n.type).indexOf("Bar")>=0,P=Object(H.f)(_,C),E=[];if(T){var A,R,I=y()(w)?f:w,D=null!==(A=null!==(R=Object(H.f)(_,C,!0))&&void 0!==R?R:I)&&void 0!==A?A:0;E=Object(H.g)({barGap:u,barCategoryGap:d,bandSize:D!==P?D:P,sizeList:b[S],maxBarSize:I}),D!==P&&(E=E.map((function(e){return se(se({},e),{},{position:se(se({},e.position),{},{offset:e.position.offset-D/2})})})))}var L,z=n&&n.type&&n.type.getComposedData;z&&x.push({props:se(se({},z(se(se({},k),{},{displayedData:p,props:e,dataKey:O,item:n,bandSize:P,barPosition:E,offset:o,stackedData:M,layout:c,dataStartIndex:a,dataEndIndex:l}))),{},(L={key:n.key||"item-".concat(s)},ce(L,v,k[v]),ce(L,m,k[m]),ce(L,"animationId",i),L)),childIndex:Object(N.f)(n,e.children),item:n})})),x},w=function(e,t){var n=e.props,i=e.dataStartIndex,a=e.dataEndIndex,l=e.updateId;if(!Object(N.h)({props:n}))return null;var s=n.children,c=n.layout,u=n.stackOffset,d=n.data,f=n.reverseStackOrder,m=xe(c),b=m.numericAxisName,y=m.cateAxisName,O=Object(N.a)(s,o),w=Object(H.r)(d,O,"".concat(b,"Id"),"".concat(y,"Id"),u,f),j=h.reduce((function(e,t){var r="".concat(t.axisType,"Map");return se(se({},e),{},ce({},r,be(n,se(se({},t),{},{graphicalItems:O,stackGroups:t.axisType===b&&w,dataStartIndex:i,dataEndIndex:a}))))}),{}),S=function(e,t){var n=e.props,r=e.graphicalItems,o=e.xAxisMap,i=void 0===o?{}:o,a=e.yAxisMap,l=void 0===a?{}:a,s=n.width,c=n.height,u=n.children,d=n.margin||{},f=Object(N.b)(u,F.a.displayName),p=Object(N.b)(u,E.a.displayName),h=Object.keys(l).reduce((function(e,t){var n=l[t],r=n.orientation;return n.mirror||n.hide?e:se(se({},e),{},ce({},r,e[r]+n.width))}),{left:d.left||0,right:d.right||0}),m=Object.keys(i).reduce((function(e,t){var n=i[t],r=n.orientation;return n.mirror||n.hide?e:se(se({},e),{},ce({},r,v()(e,"".concat(r))+n.height))}),{top:d.top||0,bottom:d.bottom||0}),g=se(se({},m),h),b=g.bottom;return f&&(g.bottom+=f.props.height||F.a.defaultProps.height),p&&t&&(g=Object(H.a)(g,r,n,t)),se(se({brushBottom:b},g),{},{width:s-g.left-g.right,height:c-g.top-g.bottom})}(se(se({},j),{},{props:n,graphicalItems:O}),null===t||void 0===t?void 0:t.legendBBox);Object.keys(j).forEach((function(e){j[e]=g(n,j[e],S,e.replace("Map",""),r)}));var k=function(e){var t=Object(B.b)(e),n=Object(H.t)(t,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:p()(n,(function(e){return e.coordinate})),tooltipAxis:t,tooltipAxisBandSize:Object(H.f)(t,n)}}(j["".concat(y,"Map")]),_=x(n,se(se({},j),{},{dataStartIndex:i,dataEndIndex:a,updateId:l,graphicalItems:O,stackGroups:w,offset:S}));return se(se({formattedGraphicalItems:_,graphicalItems:O,offset:S,stackGroups:w},k),j)};return n=t=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J(e,t)}(u,e);var t,n,o,a=ee(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=a.call(this,e)).uniqueChartId=void 0,t.clipPathId=void 0,t.legendInstance=void 0,t.deferId=void 0,t.container=void 0,t.clearDeferId=function(){!y()(t.deferId)&&he&&he(t.deferId),t.deferId=null},t.handleLegendBBoxUpdate=function(e){if(e&&t.legendInstance){var n=t.state,r=n.dataStartIndex,o=n.dataEndIndex,i=n.updateId;t.setState(se({legendBBox:e},w({props:t.props,dataStartIndex:r,dataEndIndex:o,updateId:i},se(se({},t.state),{},{legendBBox:e}))))}},t.handleReceiveSyncEvent=function(e,n,r){t.props.syncId===e&&n!==t.uniqueChartId&&(t.clearDeferId(),t.deferId=pe&&pe(t.applySyncEvent.bind(ne(t),r)))},t.handleBrushChange=function(e){var n=e.startIndex,r=e.endIndex;if(n!==t.state.dataStartIndex||r!==t.state.dataEndIndex){var o=t.state.updateId;t.setState((function(){return se({dataStartIndex:n,dataEndIndex:r},w({props:t.props,dataStartIndex:n,dataEndIndex:r,updateId:o},t.state))})),t.triggerSyncEvent({dataStartIndex:n,dataEndIndex:r})}},t.handleMouseEnter=function(e){var n=t.props.onMouseEnter,r=t.getMouseInfo(e);if(r){var o=se(se({},r),{},{isTooltipActive:!0});t.setState(o),t.triggerSyncEvent(o),c()(n)&&n(o,e)}},t.triggeredAfterMouseMove=function(e){var n=t.props.onMouseMove,r=t.getMouseInfo(e),o=r?se(se({},r),{},{isTooltipActive:!0}):{isTooltipActive:!1};t.setState(o),t.triggerSyncEvent(o),c()(n)&&n(o,e)},t.handleItemMouseEnter=function(e){t.setState((function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}}))},t.handleItemMouseLeave=function(){t.setState((function(){return{isTooltipActive:!1}}))},t.handleMouseMove=function(e){e&&c()(e.persist)&&e.persist(),t.triggeredAfterMouseMove(e)},t.handleMouseLeave=function(e){var n=t.props.onMouseLeave,r={isTooltipActive:!1};t.setState(r),t.triggerSyncEvent(r),c()(n)&&n(r,e),t.cancelThrottledTriggerAfterMouseMove()},t.handleOuterEvent=function(e){var n=Object(N.d)(e),r=v()(t.props,"".concat(n));n&&c()(r)&&r(/.*touch.*/i.test(n)?t.getMouseInfo(e.changedTouches[0]):t.getMouseInfo(e),e)},t.handleClick=function(e){var n=t.props.onClick,r=t.getMouseInfo(e);if(r){var o=se(se({},r),{},{isTooltipActive:!0});t.setState(o),t.triggerSyncEvent(o),c()(n)&&n(o,e)}},t.handleMouseDown=function(e){var n=t.props.onMouseDown;c()(n)&&n(t.getMouseInfo(e),e)},t.handleMouseUp=function(e){var n=t.props.onMouseUp;c()(n)&&n(t.getMouseInfo(e),e)},t.handleTouchMove=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleMouseMove(e.changedTouches[0])},t.handleTouchStart=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleMouseDown(e.changedTouches[0])},t.handleTouchEnd=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleMouseUp(e.changedTouches[0])},t.verticalCoordinatesGenerator=function(e){var t=e.xAxis,n=e.width,r=e.height,o=e.offset;return Object(H.l)(z.a.getTicks(se(se(se({},z.a.defaultProps),t),{},{ticks:Object(H.t)(t,!0),viewBox:{x:0,y:0,width:n,height:r}})),o.left,o.left+o.width)},t.horizontalCoordinatesGenerator=function(e){var t=e.yAxis,n=e.width,r=e.height,o=e.offset;return Object(H.l)(z.a.getTicks(se(se(se({},z.a.defaultProps),t),{},{ticks:Object(H.t)(t,!0),viewBox:{x:0,y:0,width:n,height:r}})),o.top,o.top+o.height)},t.axesTicksGenerator=function(e){return Object(H.t)(e,!0)},t.renderCursor=function(e){var n=t.state,o=n.isTooltipActive,i=n.activeCoordinate,a=n.activePayload,l=n.offset,s=n.activeTooltipIndex,c=t.getTooltipEventType();if(!e||!e.props.cursor||!o||!i||"ScatterChart"!==r&&"axis"!==c)return null;var u,d=t.props.layout,f=A.a;if("ScatterChart"===r)u=i,f=R.a;else if("BarChart"===r)u=t.getCursorRectangle(),f=L.a;else if("radial"===d){var p=t.getCursorPoints(),h=p.cx,v=p.cy,m=p.radius;u={cx:h,cy:v,startAngle:p.startAngle,endAngle:p.endAngle,innerRadius:m,outerRadius:m},f=I.a}else u={points:t.getCursorPoints()},f=A.a;var g=e.key||"_recharts-cursor",b=se(se(se(se({stroke:"#ccc",pointerEvents:"none"},l),u),Object(q.c)(e.props.cursor)),{},{payload:a,payloadIndex:s,key:g,className:"recharts-tooltip-cursor"});return Object(S.isValidElement)(e.props.cursor)?Object(S.cloneElement)(e.props.cursor,b):Object(S.createElement)(f,b)},t.renderPolarAxis=function(e,n,r){var o=v()(e,"type.axisType"),i=v()(t.state,"".concat(o,"Map"))[e.props["".concat(o,"Id")]];return Object(S.cloneElement)(e,se(se({},i),{},{className:o,key:e.key||"".concat(n,"-").concat(r),ticks:Object(H.t)(i,!0)}))},t.renderXAxis=function(e,n,r){var o=t.state.xAxisMap[e.props.xAxisId];return t.renderAxis(o,e,n,r)},t.renderYAxis=function(e,n,r){var o=t.state.yAxisMap[e.props.yAxisId];return t.renderAxis(o,e,n,r)},t.renderGrid=function(e){var n=t.state,r=n.xAxisMap,o=n.yAxisMap,a=n.offset,s=t.props,c=s.width,u=s.height,d=Object(B.b)(r),f=l()(o,(function(e){return i()(e.domain,fe)}))||Object(B.b)(o),p=e.props||{};return Object(S.cloneElement)(e,{key:e.key||"grid",x:Object(B.g)(p.x)?p.x:a.left,y:Object(B.g)(p.y)?p.y:a.top,width:Object(B.g)(p.width)?p.width:a.width,height:Object(B.g)(p.height)?p.height:a.height,xAxis:d,yAxis:f,offset:a,chartWidth:c,chartHeight:u,verticalCoordinatesGenerator:p.verticalCoordinatesGenerator||t.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:p.horizontalCoordinatesGenerator||t.horizontalCoordinatesGenerator})},t.renderPolarGrid=function(e){var n=e.props,r=n.radialLines,o=n.polarAngles,i=n.polarRadius,a=t.state,l=a.radiusAxisMap,s=a.angleAxisMap,c=Object(B.b)(l),u=Object(B.b)(s),d=u.cx,f=u.cy,p=u.innerRadius,h=u.outerRadius;e.props;return Object(S.cloneElement)(e,{polarAngles:j()(o)?o:Object(H.t)(u,!0).map((function(e){return e.coordinate})),polarRadius:j()(i)?i:Object(H.t)(c,!0).map((function(e){return e.coordinate})),cx:d,cy:f,innerRadius:p,outerRadius:h,key:e.key||"polar-grid",radialLines:r})},t.renderLegend=function(){var e=t.state.formattedGraphicalItems,n=t.props,r=n.children,o=n.width,i=n.height,a=t.props.margin||{},l=o-(a.left||0)-(a.right||0),s=Object(H.p)({children:r,formattedGraphicalItems:e,legendWidth:l,legendContent:m});if(!s)return null;var c=s.item,u=Z(s,["item"]);return Object(S.cloneElement)(c,se(se({},u),{},{chartWidth:o,chartHeight:i,margin:a,ref:function(e){t.legendInstance=e},onBBoxUpdate:t.handleLegendBBoxUpdate}))},t.renderTooltip=function(){var e=t.props.children,n=Object(N.b)(e,P.a.displayName);if(!n)return null;var r=t.state,o=r.isTooltipActive,i=r.activeCoordinate,a=r.activePayload,l=r.activeLabel,s=r.offset;return Object(S.cloneElement)(n,{viewBox:se(se({},s),{},{x:s.left,y:s.top}),active:o,label:l,payload:o?a:[],coordinate:i})},t.renderBrush=function(e){var n=t.props,r=n.margin,o=n.data,i=t.state,a=i.offset,l=i.dataStartIndex,s=i.dataEndIndex,c=i.updateId;return Object(S.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:Object(H.d)(t.handleBrushChange,null,e.props.onChange),data:o,x:Object(B.g)(e.props.x)?e.props.x:a.left,y:Object(B.g)(e.props.y)?e.props.y:a.top+a.height+a.brushBottom-(r.bottom||0),width:Object(B.g)(e.props.width)?e.props.width:a.width,startIndex:l,endIndex:s,updateId:"brush-".concat(c)})},t.renderReferenceElement=function(e,n,r){if(!e)return null;var o=ne(t).clipPathId,i=t.state,a=i.xAxisMap,l=i.yAxisMap,s=i.offset,c=e.props,u=c.xAxisId,d=c.yAxisId;return Object(S.cloneElement)(e,{key:e.key||"".concat(n,"-").concat(r),xAxis:a[u],yAxis:l[d],viewBox:{x:s.left,y:s.top,width:s.width,height:s.height},clipPathId:o})},t.renderActivePoints=function(e){var t=e.item,n=e.activePoint,r=e.basePoint,o=e.childIndex,i=e.isRange,a=[],l=t.props.key,s=t.item.props,c=s.activeDot,d=se(se({index:o,dataKey:s.dataKey,cx:n.x,cy:n.y,r:4,fill:Object(H.q)(t.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(l,"-activePoint-").concat(o)},Object(q.c)(c)),Object(q.a)(c));return a.push(u.renderActiveDot(c,d)),r?a.push(u.renderActiveDot(c,se(se({},d),{},{cx:r.x,cy:r.y,key:"".concat(l,"-basePoint-").concat(o)}))):i&&a.push(null),a},t.renderGraphicChild=function(e,n,r){var o=t.filterFormatItem(e,n,r);if(!o)return null;var i=t.getTooltipEventType(),a=t.state,l=a.isTooltipActive,s=a.tooltipAxis,c=a.activeTooltipIndex,u=a.activeLabel,d=t.props.children,f=Object(N.b)(d,P.a.displayName),p=o.props,h=p.points,v=p.isRange,m=p.baseLine,g=o.item.props,b=g.activeDot,x=!g.hide&&l&&f&&b&&c>=0,O={};"axis"!==i&&f&&"click"===f.props.trigger?O={onClick:Object(H.d)(t.handleItemMouseEnter,null,e.props.onCLick)}:"axis"!==i&&(O={onMouseLeave:Object(H.d)(t.handleItemMouseLeave,null,e.props.onMouseLeave),onMouseEnter:Object(H.d)(t.handleItemMouseEnter,null,e.props.onMouseEnter)});var w=Object(S.cloneElement)(e,se(se({},o.props),O));if(x){var j,k;if(s.dataKey&&!s.allowDuplicatedCategory){var _="function"===typeof s.dataKey?function(e){return"function"===typeof s.dataKey?s.dataKey(e.payload):null}:"payload.".concat(s.dataKey.toString());j=Object(B.a)(h,_,u),k=v&&m&&Object(B.a)(m,_,u)}else j=h[c],k=v&&m&&m[c];if(!y()(j))return[w].concat(oe(t.renderActivePoints({item:o,activePoint:j,basePoint:k,childIndex:c,isRange:v})))}return v?[w,null,null]:[w,null]},t.renderCustomized=function(e,n,r){return Object(S.cloneElement)(e,se(se({key:"recharts-customized-".concat(r)},t.props),t.state))},t.uniqueChartId=y()(e.id)?Object(B.j)("recharts"):e.id,t.clipPathId="".concat(t.uniqueChartId,"-clip"),e.throttleDelay&&(t.triggeredAfterMouseMove=d()(t.triggeredAfterMouseMove,e.throttleDelay)),t.state={},t}return t=u,(n=[{key:"componentDidMount",value:function(){y()(this.props.syncId)||this.addListener()}},{key:"componentDidUpdate",value:function(e){y()(e.syncId)&&!y()(this.props.syncId)&&this.addListener(),!y()(e.syncId)&&y()(this.props.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){this.clearDeferId(),y()(this.props.syncId)||this.removeListener(),this.cancelThrottledTriggerAfterMouseMove()}},{key:"cancelThrottledTriggerAfterMouseMove",value:function(){"function"===typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=Object(N.b)(this.props.children,P.a.displayName);if(e&&O()(e.props.shared)){var t=e.props.shared?"axis":"item";return f.indexOf(t)>=0?t:s}return s}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t=Object(W.b)(this.container),n=Object(W.a)(e,t),r=this.inRange(n.chartX,n.chartY);if(!r)return null;var o=this.state,i=o.xAxisMap,a=o.yAxisMap;if("axis"!==this.getTooltipEventType()&&i&&a){var l=Object(B.b)(i).scale,s=Object(B.b)(a).scale,c=l&&l.invert?l.invert(n.chartX):null,u=s&&s.invert?s.invert(n.chartY):null;return se(se({},n),{},{xValue:c,yValue:u})}var d=ge(this.state,this.props.data,this.props.layout,r);return d?se(se({},n),d):null}},{key:"getCursorRectangle",value:function(){var e=this.props.layout,t=this.state,n=t.activeCoordinate,r=t.offset,o=t.tooltipAxisBandSize,i=o/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?n.x-i:r.left+.5,y:"horizontal"===e?r.top+.5:n.y-i,width:"horizontal"===e?o:r.width-1,height:"horizontal"===e?r.height-1:o}}},{key:"getCursorPoints",value:function(){var e,t,n,r,o=this.props.layout,i=this.state,a=i.activeCoordinate,l=i.offset;if("horizontal"===o)n=e=a.x,t=l.top,r=l.top+l.height;else if("vertical"===o)r=t=a.y,e=l.left,n=l.left+l.width;else if(!y()(a.cx)||!y()(a.cy)){if("centric"!==o){var s=a.cx,c=a.cy,u=a.radius,d=a.startAngle,f=a.endAngle;return{points:[Object(U.e)(s,c,u,d),Object(U.e)(s,c,u,f)],cx:s,cy:c,radius:u,startAngle:d,endAngle:f}}var p=a.cx,h=a.cy,v=a.innerRadius,m=a.outerRadius,g=a.angle,b=Object(U.e)(p,h,v,g),x=Object(U.e)(p,h,m,g);e=b.x,t=b.y,n=x.x,r=x.y}return[{x:e,y:t},{x:n,y:r}]}},{key:"inRange",value:function(e,t){var n=this.props.layout;if("horizontal"===n||"vertical"===n){var r=this.state.offset;return e>=r.left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height?{x:e,y:t}:null}var o=this.state,i=o.angleAxisMap,a=o.radiusAxisMap;if(i&&a){var l=Object(B.b)(i);return Object(U.d)({x:e,y:t},l)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),n=Object(N.b)(e,P.a.displayName),r={};return n&&"axis"===t&&(r="click"===n.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),se(se({},Object(q.a)(this.props,this.handleOuterEvent)),r)}},{key:"addListener",value:function(){Y.b.on(Y.a,this.handleReceiveSyncEvent),Y.b.setMaxListeners&&Y.b._maxListeners&&Y.b.setMaxListeners(Y.b._maxListeners+1)}},{key:"removeListener",value:function(){Y.b.removeListener(Y.a,this.handleReceiveSyncEvent),Y.b.setMaxListeners&&Y.b._maxListeners&&Y.b.setMaxListeners(Y.b._maxListeners-1)}},{key:"triggerSyncEvent",value:function(e){var t=this.props.syncId;y()(t)||Y.b.emit(Y.a,t,this.uniqueChartId,e)}},{key:"applySyncEvent",value:function(e){var t=this.props,n=t.layout,r=t.syncMethod,o=this.state.updateId,i=e.dataStartIndex,a=e.dataEndIndex;if(y()(e.dataStartIndex)&&y()(e.dataEndIndex))if(y()(e.activeTooltipIndex))this.setState(e);else{var l=e.chartX,s=e.chartY,c=e.activeTooltipIndex,u=this.state,d=u.offset,f=u.tooltipTicks;if(!d)return;if("function"===typeof r)c=r(f,e);else if("value"===r){c=-1;for(var p=0;p1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),o(e,r(t,1),[])}));e.exports=l},function(e,t,n){"use strict";t.a=function(e,t){return et?1:e>=t?0:NaN}},function(e,t,n){"use strict";Array.prototype.slice;t.a=function(e){return"object"===typeof e&&"length"in e?e:Array.from(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return M}));var r=n(66),o=n.n(r),i=n(27),a=n.n(i),l=n(25),s=n.n(l),c=n(346),u=n.n(c),d=n(32),f=n.n(d),p=n(1),h=n.n(p),v=n(72),m=n(33),g=n(36),b=n(28),y=n(23);function x(e){return function(e){if(Array.isArray(e))return O(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"===typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var C={valueAccessor:function(e){return f()(e.value)?u()(e.value):e.value}};function M(e){var t=e.data,n=e.valueAccessor,r=e.dataKey,o=e.clockWise,i=e.id,a=e.textBreakAll,l=_(e,["data","valueAccessor","dataKey","clockWise","id","textBreakAll"]);return t&&t.length?h.a.createElement(m.a,{className:"recharts-label-list"},t.map((function(e,t){var c=s()(r)?n(e,t):Object(b.w)(e&&e.payload,r),u=s()(i)?{}:{id:"".concat(i,"-").concat(t)};return h.a.createElement(v.a,w({},Object(y.c)(e,!0),l,u,{parentViewBox:e.parentViewBox,index:t,value:c,textBreakAll:a,viewBox:v.a.parseViewBox(s()(o)?e:S(S({},e),{},{clockWise:o})),key:"label-".concat(t)}))}))):null}function T(e,t){return e?!0===e?h.a.createElement(M,{key:"labelList-implicit",data:t}):h.a.isValidElement(e)||a()(e)?h.a.createElement(M,{key:"labelList-implicit",data:t,content:e}):o()(e)?h.a.createElement(M,w({data:t},e,{key:"labelList-implicit"})):null:null}M.displayName="LabelList",M.renderCallByParent=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&n&&!e.label)return null;var r=e.children,o=Object(g.a)(r,M.displayName).map((function(e,n){return Object(p.cloneElement)(e,{data:t,key:"labelList-".concat(n)})}));if(!n)return o;var i=T(e.label,t);return[i].concat(x(o))},M.defaultProps=C},function(e,t,n){"use strict";var r=n(3),o=n(7),i=n(4),a=n(1),l=(n(13),n(8)),s=n(225),c=n(17),u=n(10),d=n(95),f=n(77),p=n(709),h=n(158),v=n(184);function m(e){return Object(h.a)("PrivateSwitchBase",e)}Object(v.a)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var g=n(0),b=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],y=Object(u.a)(p.a,{skipSx:!0})((function(e){var t=e.ownerState;return Object(i.a)({padding:9,borderRadius:"50%"},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})})),x=Object(u.a)("input",{skipSx:!0})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),O=a.forwardRef((function(e,t){var n=e.autoFocus,a=e.checked,u=e.checkedIcon,p=e.className,h=e.defaultChecked,v=e.disabled,O=e.disableFocusRipple,w=void 0!==O&&O,j=e.edge,S=void 0!==j&&j,k=e.icon,_=e.id,C=e.inputProps,M=e.inputRef,T=e.name,P=e.onBlur,E=e.onChange,A=e.onFocus,R=e.readOnly,I=e.required,D=e.tabIndex,L=e.type,N=e.value,z=Object(o.a)(e,b),F=Object(d.a)({controlled:a,default:Boolean(h),name:"SwitchBase",state:"checked"}),W=Object(r.a)(F,2),B=W[0],H=W[1],V=Object(f.a)(),U=v;V&&"undefined"===typeof U&&(U=V.disabled);var G="checkbox"===L||"radio"===L,Y=Object(i.a)({},e,{checked:B,disabled:U,disableFocusRipple:w,edge:S}),q=function(e){var t=e.classes,n=e.checked,r=e.disabled,o=e.edge,i={root:["root",n&&"checked",r&&"disabled",o&&"edge".concat(Object(c.a)(o))],input:["input"]};return Object(s.a)(i,m,t)}(Y);return Object(g.jsxs)(y,Object(i.a)({component:"span",className:Object(l.a)(q.root,p),centerRipple:!0,focusRipple:!w,disabled:U,tabIndex:null,role:void 0,onFocus:function(e){A&&A(e),V&&V.onFocus&&V.onFocus(e)},onBlur:function(e){P&&P(e),V&&V.onBlur&&V.onBlur(e)},ownerState:Y,ref:t},z,{children:[Object(g.jsx)(x,Object(i.a)({autoFocus:n,checked:a,defaultChecked:h,className:q.input,disabled:U,id:G&&_,name:T,onChange:function(e){if(!e.nativeEvent.defaultPrevented){var t=e.target.checked;H(t),E&&E(e,t)}},readOnly:R,ref:M,required:I,ownerState:Y,tabIndex:D,type:L},"checkbox"===L&&void 0===N?{}:{value:N},C)),B?u:k]}))}));t.a=O},function(e,t,n){"use strict";var r=n(1),o=n.n(r);t.a=o.a.createContext(null)},function(e,t,n){var r=n(551)();e.exports=r},function(e,t,n){var r=n(89),o=n(560);e.exports=function(e,t){return e&&e.length?o(e,r(t,2)):[]}},function(e,t,n){"use strict";n.d(t,"b",(function(){return K}));var r=n(5),o=n(26),i=n(101);var a=function(){for(var e=arguments.length,t=new Array(e),n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){for(var n=0;n=2?Object(g.i)(b[1].coordinate-b[0].coordinate):1;if(1===O?(n="width"===m?d:p,r="width"===m?d+h:p+v):(n="width"===m?d+h:p+v,r="width"===m?d:p),t){var j=o[x-1],S=a()(i)?i(j.value,x-1):j.value,k=Object(f.c)(S)[m]+y,_=O*(j.coordinate+O*k/2-r);b[x-1]=j=w(w({},j),{},{tickCoord:_>0?j.coordinate-_*O:j.coordinate}),O*(j.tickCoord-O*k/2-n)>=0&&O*(j.tickCoord+O*k/2-r)<=0&&(r=j.tickCoord-O*(k/2+c),b[x-1]=w(w({},j),{},{isShow:!0}))}for(var C=t?x-1:x,M=0;M=0&&O*(T.tickCoord+O*E/2-r)<=0&&(n=T.tickCoord+O*(E/2+c),b[M]=w(w({},T),{},{isShow:!0}))}return b.filter((function(e){return e.isShow}))}},{key:"getTicksEnd",value:function(e){var t,n,r=e.ticks,o=e.tickFormatter,i=e.viewBox,l=e.orientation,s=e.minTickGap,c=e.unit,u=i.x,d=i.y,p=i.width,h=i.height,v="top"===l||"bottom"===l?"width":"height",m=c&&"width"===v?Object(f.c)(c)[v]:0,b=(r||[]).slice(),y=b.length,x=y>=2?Object(g.i)(b[1].coordinate-b[0].coordinate):1;1===x?(t="width"===v?u:d,n="width"===v?u+p:d+h):(t="width"===v?u+p:d+h,n="width"===v?u:d);for(var O=y-1;O>=0;O--){var j=b[O],S=a()(o)?o(j.value,y-O-1):j.value,k=Object(f.c)(S)[v]+m;if(O===y-1){var _=x*(j.coordinate+x*k/2-n);b[O]=j=w(w({},j),{},{tickCoord:_>0?j.coordinate-_*x:j.coordinate})}else b[O]=j=w(w({},j),{},{tickCoord:j.coordinate});x*(j.tickCoord-x*k/2-t)>=0&&x*(j.tickCoord+x*k/2-n)<=0&&(n=j.tickCoord-x*(k/2+s),b[O]=w(w({},j),{},{isShow:!0}))}return b.filter((function(e){return e.isShow}))}},{key:"renderTickItem",value:function(e,t,n){return s.a.isValidElement(e)?s.a.cloneElement(e,t):a()(e)?e(t):s.a.createElement(h.a,x({},t,{className:"recharts-cartesian-axis-tick-value"}),n)}}],(n=[{key:"shouldComponentUpdate",value:function(e){var t=e.viewBox,n=S(e,["viewBox"]),r=this.props,o=r.viewBox,i=S(r,["viewBox"]);return!Object(d.a)(t,o)||!Object(d.a)(n,i)}},{key:"getTickLineCoord",value:function(e){var t,n,r,o,i,a,l=this.props,s=l.x,c=l.y,u=l.width,d=l.height,f=l.orientation,p=l.tickSize,h=l.mirror,v=l.tickMargin,m=h?-1:1,b=e.tickSize||p,y=Object(g.g)(e.tickCoord)?e.tickCoord:e.coordinate;switch(f){case"top":t=n=e.coordinate,a=(r=(o=c+ +!h*d)-m*b)-m*v,i=y;break;case"left":r=o=e.coordinate,i=(t=(n=s+ +!h*u)-m*b)-m*v,a=y;break;case"right":r=o=e.coordinate,i=(t=(n=s+ +h*u)+m*b)+m*v,a=y;break;default:t=n=e.coordinate,a=(r=(o=c+ +h*d)+m*b)+m*v,i=y}return{line:{x1:t,y1:r,x2:n,y2:o},tick:{x:i,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,n=t.orientation,r=t.mirror;switch(n){case"left":e=r?"start":"end";break;case"right":e=r?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,n=e.mirror,r="end";switch(t){case"left":case"right":r="middle";break;case"top":r=n?"start":"end";break;default:r=n?"end":"start"}return r}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,i=e.height,a=e.orientation,l=e.mirror,c=e.axisLine,d=w(w(w({},Object(b.c)(this.props)),Object(b.c)(c)),{},{fill:"none"});if("top"===a||"bottom"===a){var f=+("top"===a&&!l||"bottom"===a&&l);d=w(w({},d),{},{x1:t,y1:n+f*i,x2:t+r,y2:n+f*i})}else{var p=+("left"===a&&!l||"right"===a&&l);d=w(w({},d),{},{x1:t+p*r,y1:n,x2:t+p*r,y2:n+i})}return s.a.createElement("line",x({},d,{className:u()("recharts-cartesian-axis-line",o()(c,"className"))}))}},{key:"renderTicks",value:function(e){var t=this,n=this.props,r=n.tickLine,i=n.stroke,c=n.tick,d=n.tickFormatter,f=n.unit,h=l.getTicks(w(w({},this.props),{},{ticks:e})),v=this.getTickTextAnchor(),m=this.getTickVerticalAnchor(),g=Object(b.c)(this.props),y=Object(b.c)(c),O=w(w({},g),{},{fill:"none"},Object(b.c)(r)),j=h.map((function(e,n){var j=t.getTickLineCoord(e),S=j.line,k=j.tick,_=w(w(w(w({textAnchor:v,verticalAnchor:m},g),{},{stroke:"none",fill:i},y),k),{},{index:n,payload:e,visibleTicksCount:h.length,tickFormatter:d});return s.a.createElement(p.a,x({className:"recharts-cartesian-axis-tick",key:"tick-".concat(n)},Object(b.b)(t.props,e,n)),r&&s.a.createElement("line",x({},O,S,{className:u()("recharts-cartesian-axis-tick-line",o()(r,"className"))})),c&&l.renderTickItem(c,_,"".concat(a()(d)?d(e.value,n):e.value).concat(f||"")))}));return s.a.createElement("g",{className:"recharts-cartesian-axis-ticks"},j)}},{key:"render",value:function(){var e=this.props,t=e.axisLine,n=e.width,r=e.height,o=e.ticksGenerator,i=e.className;if(e.hide)return null;var l=this.props,c=l.ticks,d=S(l,["ticks"]),f=c;return a()(o)&&(f=c&&c.length>0?o(this.props):o(d)),n<=0||r<=0||!f||!f.length?null:s.a.createElement(p.a,{className:u()("recharts-cartesian-axis",i)},t&&this.renderAxisLine(),this.renderTicks(f),v.a.renderCallByParent(this.props))}}])&&_(t.prototype,n),r&&_(t,r),l}(l.Component);E.displayName="CartesianAxis",E.defaultProps={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r={active:"Mui-active",checked:"Mui-checked",completed:"Mui-completed",disabled:"Mui-disabled",error:"Mui-error",expanded:"Mui-expanded",focused:"Mui-focused",focusVisible:"Mui-focusVisible",required:"Mui-required",selected:"Mui-selected"};function o(e,t){return r[t]||"".concat(e,"-").concat(t)}},,function(e,t,n){var r=n(93).Symbol;e.exports=r},function(e,t,n){var r=n(27),o=n(249);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));var r=n(43),o=n(40),i=Symbol("implicit");function a(){var e=new Map,t=[],n=[],l=i;function s(r){var o=r+"",a=e.get(o);if(!a){if(l!==i)return l;e.set(o,a=t.push(r))}return n[(a-1)%n.length]}return s.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new Map;var o,i=Object(r.a)(n);try{for(i.s();!(o=i.n()).done;){var a=o.value,l=a+"";e.has(l)||e.set(l,t.push(a))}}catch(c){i.e(c)}finally{i.f()}return s},s.range=function(e){return arguments.length?(n=Array.from(e),s):n.slice()},s.unknown=function(e){return arguments.length?(l=e,s):l},s.copy=function(){return a(t,n).unknown(l)},o.b.apply(s,arguments),s}},function(e,t,n){"use strict";t.a=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}},function(e,t,n){"use strict";t.a=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));n(57);var r=n(1),o=n(163),i=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,a=Object(o.a)((function(e){return i.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),l=n(4),s=n(61),c=n(91),u=n(112),d=a,f=function(e){return"theme"!==e},p=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?d:f},h=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},v=function e(t,n){var o,i,a=t.__emotion_real===t,d=a&&t.__emotion_base||t;void 0!==n&&(o=n.label,i=n.target);var f=h(t,n,a),v=f||p(d),m=!v("as");return function(){var g=arguments,b=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&b.push("label:"+o+";"),null==g[0]||void 0===g[0].raw)b.push.apply(b,g);else{0,b.push(g[0][0]);for(var y=g.length,x=1;x0?v(_,--S):0,w--,10===k&&(w=1,O--),k}function P(){return k=S2||I(k)>3?"":" "}function F(e,t){for(;--t&&P()&&!(k<48||k>102||k>57&&k<65||k>70&&k<97););return R(e,A()+(t<6&&32==E()&&32==P()))}function W(e){for(;P();)switch(k){case e:return S;case 34:case 39:return W(34===e||39===e?e:k);case 40:41===e&&W(e);break;case 92:P()}return S}function B(e,t){for(;P()&&e+k!==57&&(e+k!==84||47!==E()););return"/*"+R(t,S-1)+"*"+d(47===e?e:P())}function H(e){for(;!I(E());)P();return R(e,S)}function V(e){return L(U("",null,null,null,[""],e=D(e),0,[0],e))}function U(e,t,n,r,o,i,a,l,s){for(var c=0,u=0,f=a,h=0,v=0,m=0,b=1,x=1,O=1,w=0,j="",S=o,k=i,_=r,C=j;x;)switch(m=w,w=P()){case 34:case 39:case 91:case 40:C+=N(w);break;case 9:case 10:case 13:case 32:C+=z(m);break;case 92:C+=F(A()-1,7);continue;case 47:switch(E()){case 42:case 47:y(Y(B(P(),A()),t,n),s);break;default:C+="/"}break;case 123*b:l[c++]=g(C)*O;case 125*b:case 59:case 0:switch(w){case 0:case 125:x=0;case 59+u:v>0&&g(C)-f&&y(v>32?q(C+";",r,n,f-1):q(p(C," ","")+";",r,n,f-2),s);break;case 59:C+=";";default:if(y(_=G(C,t,n,c,u,o,l,j,S=[],k=[],f),i),123===w)if(0===u)U(C,t,_,_,S,i,f,l,k);else switch(h){case 100:case 109:case 115:U(e,_,_,r&&y(G(e,_,_,0,0,o,l,j,o,S=[],f),k),o,k,f,l,r?S:k);break;default:U(C,_,_,_,[""],k,f,l,k)}}c=u=v=0,b=O=1,j=C="",f=a;break;case 58:f=1+g(C),v=m;default:if(b<1)if(123==w)--b;else if(125==w&&0==b++&&125==T())continue;switch(C+=d(w),w*b){case 38:O=u>0?1:(C+="\f",-1);break;case 44:l[c++]=(g(C)-1)*O,O=1;break;case 64:45===E()&&(C+=N(P())),h=E(),u=g(j=C+=H(A())),w++;break;case 45:45===m&&2==g(C)&&(b=0)}}return i}function G(e,t,n,r,o,i,a,l,c,d,h){for(var v=o-1,g=0===o?i:[""],y=b(g),x=0,O=0,w=0;x0?g[j]+" "+S:p(S,/&\f/g,g[j])))&&(c[w++]=k);return C(e,t,n,0===o?s:l,c,d,h)}function Y(e,t,n){return C(e,t,n,l,d(k),m(e,2,-2),0)}function q(e,t,n,r){return C(e,t,n,c,m(e,0,r),m(e,r+1,-1),r)}function $(e,t){switch(function(e,t){return(((t<<2^v(e,0))<<2^v(e,1))<<2^v(e,2))<<2^v(e,3)}(e,t)){case 5103:return a+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return a+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return a+e+i+e+o+e+e;case 6828:case 4268:return a+e+o+e+e;case 6165:return a+e+o+"flex-"+e+e;case 5187:return a+e+p(e,/(\w+).+(:[^]+)/,a+"box-$1$2"+o+"flex-$1$2")+e;case 5443:return a+e+o+"flex-item-"+p(e,/flex-|-self/,"")+e;case 4675:return a+e+o+"flex-line-pack"+p(e,/align-content|flex-|-self/,"")+e;case 5548:return a+e+o+p(e,"shrink","negative")+e;case 5292:return a+e+o+p(e,"basis","preferred-size")+e;case 6060:return a+"box-"+p(e,"-grow","")+a+e+o+p(e,"grow","positive")+e;case 4554:return a+p(e,/([^-])(transform)/g,"$1"+a+"$2")+e;case 6187:return p(p(p(e,/(zoom-|grab)/,a+"$1"),/(image-set)/,a+"$1"),e,"")+e;case 5495:case 3959:return p(e,/(image-set\([^]*)/,a+"$1$`$1");case 4968:return p(p(e,/(.+:)(flex-)?(.*)/,a+"box-pack:$3"+o+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+a+e+e;case 4095:case 3583:case 4068:case 2532:return p(e,/(.+)-inline(.+)/,a+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(g(e)-1-t>6)switch(v(e,t+1)){case 109:if(45!==v(e,t+4))break;case 102:return p(e,/(.+:)(.+)-([^]+)/,"$1"+a+"$2-$3$1"+i+(108==v(e,t+3)?"$3":"$2-$3"))+e;case 115:return~h(e,"stretch")?$(p(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==v(e,t+1))break;case 6444:switch(v(e,g(e)-3-(~h(e,"!important")&&10))){case 107:return p(e,":",":"+a)+e;case 101:return p(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+a+(45===v(e,14)?"inline-":"")+"box$3$1"+a+"$2$3$1"+o+"$2box$3")+e}break;case 5936:switch(v(e,t+11)){case 114:return a+e+o+p(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return a+e+o+p(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return a+e+o+p(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return a+e+o+e+e}return e}function K(e,t){for(var n="",r=b(e),o=0;oe.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function u(e){var t=e.children,n=e.width,r=e.height,i=e.viewBox,u=e.className,d=e.style,f=c(e,["children","width","height","viewBox","className","style"]),p=i||{width:n,height:r,x:0,y:0},h=a()("recharts-surface",u);return o.a.createElement("svg",s({},Object(l.c)(f,!0,!0),{className:h,width:n,height:r,style:d,viewBox:"".concat(p.x," ").concat(p.y," ").concat(p.width," ").concat(p.height),version:"1.1"}),t)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return l}));var r=n(260),o=n.n(r),i=n(43),a=o.a.mark(l);function l(e,t){var n,r,l,s,c,u,d;return o.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(void 0!==t){o.next=21;break}n=Object(i.a)(e),o.prev=2,n.s();case 4:if((r=n.n()).done){o.next=11;break}if(!(null!=(l=r.value)&&(l=+l)>=l)){o.next=9;break}return o.next=9,l;case 9:o.next=4;break;case 11:o.next=16;break;case 13:o.prev=13,o.t0=o.catch(2),n.e(o.t0);case 16:return o.prev=16,n.f(),o.finish(16);case 19:o.next=40;break;case 21:s=-1,c=Object(i.a)(e),o.prev=23,c.s();case 25:if((u=c.n()).done){o.next=32;break}if(d=u.value,!(null!=(d=t(d,++s,e))&&(d=+d)>=d)){o.next=30;break}return o.next=30,d;case 30:o.next=25;break;case 32:o.next=37;break;case 34:o.prev=34,o.t1=o.catch(23),c.e(o.t1);case 37:return o.prev=37,c.f(),o.finish(37);case 40:case"end":return o.stop()}}),a,null,[[2,13,16,19],[23,34,37,40]])}t.a=function(e){return null===e?NaN:+e}},function(e,t,n){"use strict";t.a=function(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n(1),o=n.n(r),i=n(30),a=n.n(i),l=n(23),s=n(37),c=n(12);function u(e){return u="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(e)}function d(){return d=Object.assign||function(e){for(var t=1;t180),",").concat(+(i>l),",\n ").concat(d.x,",").concat(d.y,"\n ");if(r>0){var p=Object(s.e)(t,n,r,i),h=Object(s.e)(t,n,r,l);f+="L ".concat(h.x,",").concat(h.y,"\n A ").concat(r,",").concat(r,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(i<=l),",\n ").concat(p.x,",").concat(p.y," Z")}else f+="L ".concat(t,",").concat(n," Z");return f},x=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(s,e);var t,n,r,i=v(s);function s(){return f(this,s),i.apply(this,arguments)}return t=s,(n=[{key:"render",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.innerRadius,i=e.outerRadius,s=e.cornerRadius,u=e.forceCornerRadius,f=e.cornerIsExternal,p=e.startAngle,h=e.endAngle,v=e.className;if(i0&&Math.abs(p-h)<360?function(e){var t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,i=e.cornerRadius,a=e.forceCornerRadius,l=e.cornerIsExternal,s=e.startAngle,u=e.endAngle,d=Object(c.i)(u-s),f=b({cx:t,cy:n,radius:o,angle:s,sign:d,cornerRadius:i,cornerIsExternal:l}),p=f.circleTangency,h=f.lineTangency,v=f.theta,m=b({cx:t,cy:n,radius:o,angle:u,sign:-d,cornerRadius:i,cornerIsExternal:l}),g=m.circleTangency,x=m.lineTangency,O=m.theta,w=l?Math.abs(s-u):Math.abs(s-u)-v-O;if(w<0)return a?"M ".concat(h.x,",").concat(h.y,"\n a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n a").concat(i,",").concat(i,",0,0,1,").concat(2*-i,",0\n "):y({cx:t,cy:n,innerRadius:r,outerRadius:o,startAngle:s,endAngle:u});var j="M ".concat(h.x,",").concat(h.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(d<0),",").concat(p.x,",").concat(p.y,"\n A").concat(o,",").concat(o,",0,").concat(+(w>180),",").concat(+(d<0),",").concat(g.x,",").concat(g.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(d<0),",").concat(x.x,",").concat(x.y,"\n ");if(r>0){var S=b({cx:t,cy:n,radius:r,angle:s,sign:d,isExternal:!0,cornerRadius:i,cornerIsExternal:l}),k=S.circleTangency,_=S.lineTangency,C=S.theta,M=b({cx:t,cy:n,radius:r,angle:u,sign:-d,isExternal:!0,cornerRadius:i,cornerIsExternal:l}),T=M.circleTangency,P=M.lineTangency,E=M.theta,A=l?Math.abs(s-u):Math.abs(s-u)-C-E;if(A<0&&0===i)return"".concat(j,"L").concat(t,",").concat(n,"Z");j+="L".concat(P.x,",").concat(P.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(d<0),",").concat(T.x,",").concat(T.y,"\n A").concat(r,",").concat(r,",0,").concat(+(A>180),",").concat(+(d>0),",").concat(k.x,",").concat(k.y,"\n A").concat(i,",").concat(i,",0,0,").concat(+(d<0),",").concat(_.x,",").concat(_.y,"Z")}else j+="L".concat(t,",").concat(n,"Z");return j}({cx:t,cy:n,innerRadius:r,outerRadius:i,cornerRadius:Math.min(O,x/2),forceCornerRadius:u,cornerIsExternal:f,startAngle:p,endAngle:h}):y({cx:t,cy:n,innerRadius:r,outerRadius:i,startAngle:p,endAngle:h}),o.a.createElement("path",d({},Object(l.c)(this.props,!0),{className:g,d:m}))}}])&&p(t.prototype,n),r&&p(t,r),s}(r.PureComponent);x.defaultProps={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1}},function(e,t,n){"use strict";n.d(t,"a",(function(){return ye}));var r=n(27),o=n.n(r),i=n(155),a=n.n(i),l=n(1),s=n.n(l),c=n(30),u=n.n(c),d=n(171),f=n(131),p=n.n(f),h=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,Math.PI),v=2*h;var m={draw:function(e,t){var n=Math.sqrt(t/h);e.moveTo(n,0),e.arc(0,0,n,0,v)}},g={draw:function(e,t){var n=Math.sqrt(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},b=Math.sqrt(1/3),y=2*b,x={draw:function(e,t){var n=Math.sqrt(t/y),r=n*b;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},O={draw:function(e,t){var n=Math.sqrt(t),r=-n/2;e.rect(r,r,n,n)}},w=Math.sin(h/10)/Math.sin(7*h/10),j=Math.sin(v/10)*w,S=-Math.cos(v/10)*w,k={draw:function(e,t){var n=Math.sqrt(.8908130915292852*t),r=j*n,o=S*n;e.moveTo(0,-n),e.lineTo(r,o);for(var i=1;i<5;++i){var a=v*i/5,l=Math.cos(a),s=Math.sin(a);e.lineTo(s*n,-l*n),e.lineTo(l*r-s*o,s*r+l*o)}e.closePath()}},_=Math.sqrt(3),C={draw:function(e,t){var n=-Math.sqrt(t/(3*_));e.moveTo(0,2*n),e.lineTo(-_*n,-n),e.lineTo(_*n,-n),e.closePath()}},M=-.5,T=Math.sqrt(3)/2,P=1/Math.sqrt(12),E=3*(P/2+1),A={draw:function(e,t){var n=Math.sqrt(t/E),r=n/2,o=n*P,i=r,a=n*P+n,l=-i,s=a;e.moveTo(r,o),e.lineTo(i,a),e.lineTo(l,s),e.lineTo(M*r-T*o,T*r+M*o),e.lineTo(M*i-T*a,T*i+M*a),e.lineTo(M*l-T*s,T*l+M*s),e.lineTo(M*r+T*o,M*o-T*r),e.lineTo(M*i+T*a,M*a-T*i),e.lineTo(M*l+T*s,M*s-T*l),e.closePath()}},R=n(690),I=n(48),D=n(23);function L(e){return L="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L(e)}function N(){return N=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function ge(e){return e.value}function be(e,t){return!0===e?a()(t,ge):o()(e)?a()(t,e):t}var ye=function(e){!function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fe(e,t)}(a,e);var t,n,r,i=pe(a);function a(){var e;ue(this,a);for(var t=arguments.length,n=new Array(t),r=0;r=0&&n>=0?{width:t,height:n}:null}},{key:"getDefaultPosition",value:function(e){var t,n,r=this.props,o=r.layout,i=r.align,a=r.verticalAlign,l=r.margin,s=r.chartWidth,c=r.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===i&&"vertical"===o?{left:((s||0)-(this.getBBoxSnapshot()||{width:0}).width)/2}:"right"===i?{right:l&&l.right||0}:{left:l&&l.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(n="middle"===a?{top:((c||0)-(this.getBBoxSnapshot()||{height:0}).height)/2}:"bottom"===a?{bottom:l&&l.bottom||0}:{top:l&&l.top||0}),se(se({},t),n)}},{key:"updateBBox",value:function(){var e=this.state,t=e.boxWidth,n=e.boxHeight,r=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var o=this.wrapperNode.getBoundingClientRect();(Math.abs(o.width-t)>1||Math.abs(o.height-n)>1)&&this.setState({boxWidth:o.width,boxHeight:o.height},(function(){r&&r(o)}))}else-1===t&&-1===n||this.setState({boxWidth:-1,boxHeight:-1},(function(){r&&r(null)}))}},{key:"render",value:function(){var e=this,t=this.props,n=t.content,r=t.width,i=t.height,a=t.wrapperStyle,l=t.payloadUniqBy,c=t.payload,u=se(se({position:"absolute",width:r||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return s.a.createElement("div",{className:"recharts-legend-wrapper",style:u,ref:function(t){e.wrapperNode=t}},function(e,t){if(s.a.isValidElement(e))return s.a.cloneElement(e,t);if(o()(e))return s.a.createElement(e,t);t.ref;var n=me(t,["ref"]);return s.a.createElement(oe,n)}(n,se(se({},this.props),{},{payload:be(l,c)})))}}])&&de(t.prototype,n),r&&de(t,r),a}(l.PureComponent);ye.displayName="Legend",ye.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"}},function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){"function"===typeof e?e(t):e&&(e.current=t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(1),o="undefined"!==typeof window?r.useLayoutEffect:r.useEffect;t.a=o},function(e,t,n){"use strict";n.d(t,"b",(function(){return i}));var r=n(158),o=n(184);function i(e){return Object(r.a)("MuiDialog",e)}var a=Object(o.a)("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]);t.a=a},function(e,t,n){"use strict";n.d(t,"b",(function(){return i}));var r=n(158),o=n(184);function i(e){return Object(r.a)("MuiTabs",e)}var a=Object(o.a)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);t.a=a},function(e,t,n){var r=n(194),o=n(308),i=n(139);e.exports=function(e){return e&&e.length?r(e,i,o):void 0}},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);nu[n]+o?Math.max(d,u[n]):Math.max(f,u[n])},e}return t=l,(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var e=this.state,t=e.boxWidth,n=e.boxHeight;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();(Math.abs(r.width-t)>1||Math.abs(r.height-n)>1)&&this.setState({boxWidth:r.width,boxHeight:r.height})}else-1===t&&-1===n||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var e,t,n,r=this,i=this.props,l=i.payload,c=i.isAnimationActive,f=i.animationDuration,h=i.animationEasing,v=i.filterNull,m=function(e,t){return!0===e?s()(t,G):a()(e)?s()(t,e):t}(i.payloadUniqBy,v&&l&&l.length?l.filter((function(e){return!o()(e.value)})):l),g=m&&m.length,y=this.props,x=y.content,O=y.viewBox,w=y.coordinate,j=y.position,S=y.active,k=L({pointerEvents:"none",visibility:S&&g?"visible":"hidden",position:"absolute",top:0,left:0},y.wrapperStyle);if(j&&Object(b.g)(j.x)&&Object(b.g)(j.y))t=j.x,n=j.y;else{var _=this.state,C=_.boxWidth,M=_.boxHeight;C>0&&M>0&&w?(t=this.getTranslate({key:"x",tooltipDimension:C,viewBoxDimension:O.width}),n=this.getTranslate({key:"y",tooltipDimension:M,viewBoxDimension:O.height})):k.visibility="hidden"}k=L(L({},Object(d.b)({transform:this.props.useTranslate3d?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")})),k),c&&S&&(k=L(L({},Object(d.b)({transition:"transform ".concat(f,"ms ").concat(h)})),k));var T=p()(U,(N(e={},"".concat(U,"-right"),Object(b.g)(t)&&w&&Object(b.g)(w.x)&&t>=w.x),N(e,"".concat(U,"-left"),Object(b.g)(t)&&w&&Object(b.g)(w.x)&&t=w.y),N(e,"".concat(U,"-top"),Object(b.g)(n)&&w&&Object(b.g)(w.y)&&n div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=e.head||e.getElementsByTagName("head")[0],o=e.createElement("style");o.id="detectElementResize",o.type="text/css",null!=t&&o.setAttribute("nonce",t),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(e.createTextNode(n)),r.appendChild(o)}}(i),e.__resizeLast__={},e.__resizeListeners__=[],(e.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var c='
';if(window.trustedTypes){var u=trustedTypes.createPolicy("react-virtualized-auto-sizer",{createHTML:function(){return c}});e.__resizeTriggers__.innerHTML=u.createHTML("")}else e.__resizeTriggers__.innerHTML=c;e.appendChild(e.__resizeTriggers__),l(e),e.addEventListener("scroll",s,!0),d&&(e.__resizeTriggers__.__animationListener__=function(t){t.animationName==m&&l(e)},e.__resizeTriggers__.addEventListener(d,e.__resizeTriggers__.__animationListener__))}e.__resizeListeners__.push(n)}},removeResizeListener:function(e,t){if(o)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",s,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(d,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(n){}}}}}n.d(t,"a",(function(){return r}))}).call(this,n(94))},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"m7 10 5 5 5-5z"}),"ArrowDropDown");t.default=a},function(e,t,n){"use strict";var r=n(1),o=r.createContext();t.a=o},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)([(0,i.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"},"0"),(0,i.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"Schedule");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"m15 3 2.3 2.3-2.89 2.87 1.42 1.42L18.7 6.7 21 9V3h-6zM3 9l2.3-2.3 2.87 2.89 1.42-1.42L6.7 5.3 9 3H3v6zm6 12-2.3-2.3 2.89-2.87-1.42-1.42L5.3 17.3 3 15v6h6zm12-6-2.3 2.3-2.87-2.89-1.42 1.42 2.89 2.87L15 21h6v-6z"}),"ZoomOutMap");t.default=a},function(e,t,n){var r=n(492),o=n(493),i=n(89),a=n(32),l=n(193);e.exports=function(e,t,n){var s=a(e)?r:o;return n&&l(e,t,n)&&(t=void 0),s(e,i(t,3))}},function(e,t,n){"use strict";var r=l(n(580)),o=l(n(584)),i=l(n(313)),a=l(n(311));function l(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:a.default,TransitionGroup:i.default,ReplaceTransition:o.default,CSSTransition:r.default}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return null};r.displayName="Cell"},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return null};r.displayName="XAxis",r.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",domain:[0,"auto"],padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){return null};r.displayName="YAxis",r.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",domain:[0,"auto"],padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1}},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"}),"Group");t.default=a},function(e,t,n){"use strict";n.r(t),n.d(t,"scaleBand",(function(){return r.a})),n.d(t,"scalePoint",(function(){return r.b})),n.d(t,"scaleIdentity",(function(){return a})),n.d(t,"scaleLinear",(function(){return o.a})),n.d(t,"scaleLog",(function(){return y})),n.d(t,"scaleSymlog",(function(){return j})),n.d(t,"scaleOrdinal",(function(){return S.a})),n.d(t,"scaleImplicit",(function(){return S.b})),n.d(t,"scalePow",(function(){return T})),n.d(t,"scaleSqrt",(function(){return P})),n.d(t,"scaleRadial",(function(){return R})),n.d(t,"scaleQuantile",(function(){return U})),n.d(t,"scaleQuantize",(function(){return Y})),n.d(t,"scaleThreshold",(function(){return q})),n.d(t,"scaleTime",(function(){return Cn})),n.d(t,"scaleUtc",(function(){return Mn})),n.d(t,"scaleSequential",(function(){return Rn})),n.d(t,"scaleSequentialLog",(function(){return In})),n.d(t,"scaleSequentialPow",(function(){return Ln})),n.d(t,"scaleSequentialSqrt",(function(){return Nn})),n.d(t,"scaleSequentialSymlog",(function(){return Dn})),n.d(t,"scaleSequentialQuantile",(function(){return zn})),n.d(t,"scaleDiverging",(function(){return Bn})),n.d(t,"scaleDivergingLog",(function(){return Hn})),n.d(t,"scaleDivergingPow",(function(){return Un})),n.d(t,"scaleDivergingSqrt",(function(){return Gn})),n.d(t,"scaleDivergingSymlog",(function(){return Vn})),n.d(t,"tickFormat",(function(){return Yn.a}));var r=n(253),o=n(67),i=n(132);function a(e){var t;function n(e){return null==e||isNaN(e=+e)?t:e}return n.invert=n,n.domain=n.range=function(t){return arguments.length?(e=Array.from(t,i.a),n):e.slice()},n.unknown=function(e){return arguments.length?(t=e,n):t},n.copy=function(){return a(e).unknown(t)},e=arguments.length?Array.from(e,i.a):[0,1],Object(o.b)(n)}var l=n(383),s=n(705);function c(e,t){var n,r=0,o=(e=e.slice()).length-1,i=e[r],a=e[o];return a0){for(;p<=h;++p)for(d=1,u=n(p);dc)break;m.push(f)}}else for(;p<=h;++p)for(d=i-1,u=n(p);d>=1;--d)if(!((f=u*d)c)break;m.push(f)}2*m.length=i)&&(n=i)}}catch(u){o.e(u)}finally{o.f()}}else{var a,l=-1,s=Object(I.a)(e);try{for(s.s();!(a=s.n()).done;){var c=a.value;null!=(c=t(c,++l,e))&&(n=c)&&(n=c)}}catch(u){s.e(u)}finally{s.f()}}return n}function L(e,t){var n;if(void 0===t){var r,o=Object(I.a)(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;null!=i&&(n>i||void 0===n&&i>=i)&&(n=i)}}catch(u){o.e(u)}finally{o.f()}}else{var a,l=-1,s=Object(I.a)(e);try{for(s.s();!(a=s.n()).done;){var c=a.value;null!=(c=t(c,++l,e))&&(n>c||void 0===n&&c>=c)&&(n=c)}}catch(u){s.e(u)}finally{s.f()}}return n}var N=n(149);function z(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.length-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:N.a;r>n;){if(r-n>600){var i=r-n+1,a=t-n+1,l=Math.log(i),s=.5*Math.exp(2*l/3),c=.5*Math.sqrt(l*s*(i-s)/i)*(a-i/2<0?-1:1),u=Math.max(n,Math.floor(t-a*s/i+c)),d=Math.min(r,Math.floor(t+(i-a)*s/i+c));z(e,t,u,d,o)}var f=e[t],p=n,h=r;for(F(e,n,t),o(e[r],f)>0&&F(e,n,r);p0;)--h}0===o(e[n],f)?F(e,n,h):F(e,++h,r),h<=t&&(n=h+1),t<=h&&(r=h-1)}return e}function F(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}var W=n(172);function B(e,t,n){if(r=(e=Float64Array.from(Object(W.b)(e,n))).length){if((t=+t)<=0||r<2)return L(e);if(t>=1)return D(e);var r,o=(r-1)*t,i=Math.floor(o),a=D(z(e,i).subarray(0,i+1));return a+(L(e.subarray(i+1))-a)*(o-i)}}function H(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:W.a;if(r=e.length){if((t=+t)<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),a=+n(e[i],i,e),l=+n(e[i+1],i+1,e);return a+(l-a)*(o-i)}}var V=n(691);function U(){var e,t=[],n=[],r=[];function o(){var e=0,o=Math.max(1,n.length);for(r=new Array(o-1);++e0?r[o-1]:t[0],o=r?[i[r-1],n]:[i[o-1],i[o]]},l.unknown=function(t){return arguments.length?(e=t,l):l},l.thresholds=function(){return i.slice()},l.copy=function(){return Y().domain([t,n]).range(a).unknown(e)},d.b.apply(Object(o.b)(l),arguments)}function q(){var e,t=[.5],n=[0,1],r=1;function o(o){return null!=o&&o<=o?n[Object(V.a)(t,o,0,r)]:e}return o.domain=function(e){return arguments.length?(t=Array.from(e),r=Math.min(t.length,n.length-1),o):t.slice()},o.range=function(e){return arguments.length?(n=Array.from(e),r=Math.min(t.length,n.length-1),o):n.slice()},o.invertExtent=function(e){var r=n.indexOf(e);return[t[r-1],t[r]]},o.unknown=function(t){return arguments.length?(e=t,o):e},o.copy=function(){return q().domain(t).range(n).unknown(e)},d.b.apply(o,arguments)}var $=n(259),K=1e3,X=6e4,Z=36e5,Q=864e5,J=6048e5,ee=2592e6,te=31536e6,ne=new Date,re=new Date;function oe(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=function(t){return e(t=new Date(+t)),t},o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t0))return l;do{l.push(a=new Date(+n)),t(n,i),e(n)}while(a=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(o.count=function(t,r){return ne.setTime(+t),re.setTime(+r),e(ne),e(re),Math.floor(n(ne,re))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e===0}:function(t){return o.count(0,t)%e===0}):o:null}),o}var ie=oe((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));ie.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?oe((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):ie:null};var ae=ie,le=(ie.range,oe((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*K)}),(function(e,t){return(t-e)/K}),(function(e){return e.getUTCSeconds()}))),se=le,ce=(le.range,oe((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*K)}),(function(e,t){e.setTime(+e+t*X)}),(function(e,t){return(t-e)/X}),(function(e){return e.getMinutes()}))),ue=ce,de=(ce.range,oe((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*K-e.getMinutes()*X)}),(function(e,t){e.setTime(+e+t*Z)}),(function(e,t){return(t-e)/Z}),(function(e){return e.getHours()}))),fe=de,pe=(de.range,oe((function(e){return e.setHours(0,0,0,0)}),(function(e,t){return e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*X)/Q}),(function(e){return e.getDate()-1}))),he=pe;pe.range;function ve(e){return oe((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*X)/J}))}var me=ve(0),ge=ve(1),be=ve(2),ye=ve(3),xe=ve(4),Oe=ve(5),we=ve(6),je=(me.range,ge.range,be.range,ye.range,xe.range,Oe.range,we.range,oe((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))),Se=je,ke=(je.range,oe((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()})));ke.every=function(e){return isFinite(e=Math.floor(e))&&e>0?oe((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};var _e=ke,Ce=(ke.range,oe((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*X)}),(function(e,t){return(t-e)/X}),(function(e){return e.getUTCMinutes()}))),Me=Ce,Te=(Ce.range,oe((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*Z)}),(function(e,t){return(t-e)/Z}),(function(e){return e.getUTCHours()}))),Pe=Te,Ee=(Te.range,oe((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/Q}),(function(e){return e.getUTCDate()-1}))),Ae=Ee;Ee.range;function Re(e){return oe((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/J}))}var Ie=Re(0),De=Re(1),Le=Re(2),Ne=Re(3),ze=Re(4),Fe=Re(5),We=Re(6),Be=(Ie.range,De.range,Le.range,Ne.range,ze.range,Fe.range,We.range,oe((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}))),He=Be,Ve=(Be.range,oe((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));Ve.every=function(e){return isFinite(e=Math.floor(e))&&e>0?oe((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};var Ue=Ve;Ve.range;function Ge(e,t,n,r,o,i){var a=[[se,1,K],[se,5,5e3],[se,15,15e3],[se,30,3e4],[i,1,X],[i,5,3e5],[i,15,9e5],[i,30,18e5],[o,1,Z],[o,3,108e5],[o,6,216e5],[o,12,432e5],[r,1,Q],[r,2,1728e5],[n,1,J],[t,1,ee],[t,3,7776e6],[e,1,te]];function s(t,n,r){var o=Math.abs(n-t)/r,i=Object($.a)((function(e){return Object(G.a)(e,3)[2]})).right(a,o);if(i===a.length)return e.every(Object(l.c)(t/te,n/te,r));if(0===i)return ae.every(Math.max(Object(l.c)(t,n,r),1));var s=Object(G.a)(a[o/a[i-1][2]68?1900:2e3),n+r[0].length):-1}function Ot(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function wt(e,t,n){var r=lt.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function jt(e,t,n){var r=lt.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function St(e,t,n){var r=lt.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function kt(e,t,n){var r=lt.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function _t(e,t,n){var r=lt.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Ct(e,t,n){var r=lt.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Mt(e,t,n){var r=lt.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Tt(e,t,n){var r=lt.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Pt(e,t,n){var r=lt.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Et(e,t,n){var r=st.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function At(e,t,n){var r=lt.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Rt(e,t,n){var r=lt.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function It(e,t){return ut(e.getDate(),t,2)}function Dt(e,t){return ut(e.getHours(),t,2)}function Lt(e,t){return ut(e.getHours()%12||12,t,2)}function Nt(e,t){return ut(1+he.count(_e(e),e),t,3)}function zt(e,t){return ut(e.getMilliseconds(),t,3)}function Ft(e,t){return zt(e,t)+"000"}function Wt(e,t){return ut(e.getMonth()+1,t,2)}function Bt(e,t){return ut(e.getMinutes(),t,2)}function Ht(e,t){return ut(e.getSeconds(),t,2)}function Vt(e){var t=e.getDay();return 0===t?7:t}function Ut(e,t){return ut(me.count(_e(e)-1,e),t,2)}function Gt(e){var t=e.getDay();return t>=4||0===t?xe(e):xe.ceil(e)}function Yt(e,t){return e=Gt(e),ut(xe.count(_e(e),e)+(4===_e(e).getDay()),t,2)}function qt(e){return e.getDay()}function $t(e,t){return ut(ge.count(_e(e)-1,e),t,2)}function Kt(e,t){return ut(e.getFullYear()%100,t,2)}function Xt(e,t){return ut((e=Gt(e)).getFullYear()%100,t,2)}function Zt(e,t){return ut(e.getFullYear()%1e4,t,4)}function Qt(e,t){var n=e.getDay();return ut((e=n>=4||0===n?xe(e):xe.ceil(e)).getFullYear()%1e4,t,4)}function Jt(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+ut(t/60|0,"0",2)+ut(t%60,"0",2)}function en(e,t){return ut(e.getUTCDate(),t,2)}function tn(e,t){return ut(e.getUTCHours(),t,2)}function nn(e,t){return ut(e.getUTCHours()%12||12,t,2)}function rn(e,t){return ut(1+Ae.count(Ue(e),e),t,3)}function on(e,t){return ut(e.getUTCMilliseconds(),t,3)}function an(e,t){return on(e,t)+"000"}function ln(e,t){return ut(e.getUTCMonth()+1,t,2)}function sn(e,t){return ut(e.getUTCMinutes(),t,2)}function cn(e,t){return ut(e.getUTCSeconds(),t,2)}function un(e){var t=e.getUTCDay();return 0===t?7:t}function dn(e,t){return ut(Ie.count(Ue(e)-1,e),t,2)}function fn(e){var t=e.getUTCDay();return t>=4||0===t?ze(e):ze.ceil(e)}function pn(e,t){return e=fn(e),ut(ze.count(Ue(e),e)+(4===Ue(e).getUTCDay()),t,2)}function hn(e){return e.getUTCDay()}function vn(e,t){return ut(De.count(Ue(e)-1,e),t,2)}function mn(e,t){return ut(e.getUTCFullYear()%100,t,2)}function gn(e,t){return ut((e=fn(e)).getUTCFullYear()%100,t,2)}function bn(e,t){return ut(e.getUTCFullYear()%1e4,t,4)}function yn(e,t){var n=e.getUTCDay();return ut((e=n>=4||0===n?ze(e):ze.ceil(e)).getUTCFullYear()%1e4,t,4)}function xn(){return"+0000"}function On(){return"%"}function wn(e){return+e}function jn(e){return Math.floor(+e/1e3)}function Sn(e){return new Date(e)}function kn(e){return e instanceof Date?+e:+new Date(+e)}function _n(e,t,n,r,o,i,a,l,s,d){var f=Object(u.b)(),p=f.invert,h=f.domain,v=d(".%L"),m=d(":%S"),g=d("%I:%M"),b=d("%I %p"),y=d("%a %d"),x=d("%b %d"),O=d("%B"),w=d("%Y");function j(e){return(s(e)=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:wn,s:jn,S:Ht,u:Vt,U:Ut,V:Yt,w:qt,W:$t,x:null,X:null,y:Kt,Y:Zt,Z:Jt,"%":On},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return s[e.getUTCMonth()]},B:function(e){return l[e.getUTCMonth()]},c:null,d:en,e:en,f:an,g:gn,G:yn,H:tn,I:nn,j:rn,L:on,m:ln,M:sn,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:wn,s:jn,S:cn,u:un,U:dn,V:pn,w:hn,W:vn,x:null,X:null,y:mn,Y:bn,Z:xn,"%":On},O={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=m.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return S(e,t,n,r)},d:St,e:St,f:Pt,g:xt,G:yt,H:_t,I:_t,j:kt,L:Tt,m:jt,M:Ct,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:wt,Q:At,s:Rt,S:Mt,u:vt,U:mt,V:gt,w:ht,W:bt,x:function(e,t,r){return S(e,n,t,r)},X:function(e,t,n){return S(e,r,t,n)},y:xt,Y:yt,Z:Ot,"%":Et};function w(e,t){return function(n){var r,o,i,a=[],l=-1,s=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++l53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=tt(nt(i.y,0,1))).getUTCDay(),r=o>4||0===o?De.ceil(r):De(r),r=Ae.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=et(nt(i.y,0,1))).getDay(),r=o>4||0===o?ge.ceil(r):ge(r),r=he.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?tt(nt(i.y,0,1)).getUTCDay():et(nt(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,tt(i)):et(i)}}function S(e,t,n,r){for(var o,i,a=0,l=t.length,s=n.length;a=s)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=O[o in at?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return y.x=w(n,y),y.X=w(r,y),y.c=w(t,y),x.x=w(n,x),x.X=w(r,x),x.c=w(t,x),{format:function(e){var t=w(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=j(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=w(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=j(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),ot=rt.format,rt.parse,it=rt.utcFormat,rt.utcParse;var Tn=n(378),Pn=n(692);function En(){var e,t,n,r,o,i=0,a=1,l=u.c,s=!1;function c(t){return null==t||isNaN(t=+t)?o:l(0===n?.5:(t=(r(t)-e)*n,s?Math.max(0,Math.min(1,t)):t))}function d(e){return function(t){var n,r,o,i;return arguments.length?(n=t,o=(r=Object(G.a)(n,2))[0],i=r[1],l=e(o,i),c):[l(0),l(1)]}}return c.domain=function(o){var l,s;return arguments.length?(l=o,s=Object(G.a)(l,2),i=s[0],a=s[1],e=r(i=+i),t=r(a=+a),n=e===t?0:1/(t-e),c):[i,a]},c.clamp=function(e){return arguments.length?(s=!!e,c):s},c.interpolator=function(e){return arguments.length?(l=e,c):l},c.range=d(Tn.a),c.rangeRound=d(Pn.a),c.unknown=function(e){return arguments.length?(o=e,c):o},function(o){return r=o,e=o(i),t=o(a),n=e===t?0:1/(t-e),c}}function An(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Rn(){var e=Object(o.b)(En()(u.c));return e.copy=function(){return An(e,Rn())},d.a.apply(e,arguments)}function In(){var e=b(En()).domain([1,10]);return e.copy=function(){return An(e,In()).base(e.base())},d.a.apply(e,arguments)}function Dn(){var e=w(En());return e.copy=function(){return An(e,Dn()).constant(e.constant())},d.a.apply(e,arguments)}function Ln(){var e=M(En());return e.copy=function(){return An(e,Ln()).exponent(e.exponent())},d.a.apply(e,arguments)}function Nn(){return Ln.apply(null,arguments).exponent(.5)}function zn(){var e=[],t=u.c;function n(n){if(null!=n&&!isNaN(n=+n))return t((Object(V.a)(e,n,1)-1)/(e.length-1))}return n.domain=function(t){if(!arguments.length)return e.slice();e=[];var r,o=Object(I.a)(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;null==i||isNaN(i=+i)||e.push(i)}}catch(a){o.e(a)}finally{o.f()}return e.sort(N.a),n},n.interpolator=function(e){return arguments.length?(t=e,n):t},n.range=function(){return e.map((function(n,r){return t(r/(e.length-1))}))},n.quantiles=function(t){return Array.from({length:t+1},(function(n,r){return B(e,r/t)}))},n.copy=function(){return zn(t).domain(e)},d.a.apply(n,arguments)}function Fn(e,t){void 0===t&&(t=e,e=Tn.a);for(var n=0,r=t.length-1,o=t[0],i=new Array(r<0?0:r);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n1&&void 0!==arguments[1]?arguments[1]:5;return(0,r.default)(e).walk((function(e){if("function"===e.type&&s.test(e.value)){var n=r.default.stringify(e.nodes);if(!(n.indexOf("constant")>=0||n.indexOf("env")>=0)){var l=o.parser.parse(n),c=(0,i.default)(l,t);e.type="word",e.value=(0,a.default)(e.value,c,t)}}}),!0).toString()},e.exports=t.default},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckCircle");t.default=a},function(e,t,n){"use strict";n.d(t,"a",(function(){return z}));var r=n(27),o=n.n(r),i=n(1),a=n.n(i),l=n(30),s=n.n(l),c=n(33),u=n(121),d=n(72),f=n(12),p=function(e,t){var n=e.alwaysShow,r=e.ifOverflow;return n&&(r="extendDomain"),r===t},h=n(85),v=n(82),m=n(23);function g(){return g=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&t.handleDrag(e.changedTouches[0])},t.handleDragEnd=function(){t.setState({isTravellerMoving:!1,isSlideMoving:!1}),t.detachDragEndListener()},t.handleLeaveWrapper=function(){(t.state.isTravellerMoving||t.state.isSlideMoving)&&(t.leaveTimer=window.setTimeout(t.handleDragEnd,t.props.leaveTimeOut))},t.handleEnterSlideOrTraveller=function(){t.setState({isTextActive:!0})},t.handleLeaveSlideOrTraveller=function(){t.setState({isTextActive:!1})},t.handleSlideDragStart=function(e){var n=A(e)?e.changedTouches[0]:e;t.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:n.pageX}),t.attachDragEndListener()},t.travellerDragStartHandlers={startX:t.handleTravellerDragStart.bind(P(t),"startX"),endX:t.handleTravellerDragStart.bind(P(t),"endX")},t.state={},t}return t=c,r=[{key:"renderDefaultTraveller",value:function(e){var t=e.x,n=e.y,r=e.width,o=e.height,i=e.stroke,a=Math.floor(n+o/2)-1;return s.a.createElement(s.a.Fragment,null,s.a.createElement("rect",{x:t,y:n,width:r,height:o,fill:i,stroke:"none"}),s.a.createElement("line",{x1:t+1,y1:a,x2:t+r-1,y2:a,fill:"none",stroke:"#fff"}),s.a.createElement("line",{x1:t+1,y1:a+2,x2:t+r-1,y2:a+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,t){return s.a.isValidElement(e)?s.a.cloneElement(e,t):o()(e)?e(t):c.renderDefaultTraveller(t)}},{key:"getDerivedStateFromProps",value:function(e,t){var n=e.data,r=e.width,o=e.x,i=e.travellerWidth,l=e.updateId,s=e.startIndex,c=e.endIndex;if(n!==t.prevData||l!==t.prevUpdateId)return S({prevData:n,prevTravellerWidth:i,prevUpdateId:l,prevX:o,prevWidth:r},n&&n.length?function(e){var t=e.data,n=e.startIndex,r=e.endIndex,o=e.x,i=e.width,l=e.travellerWidth;if(!t||!t.length)return{};var s=t.length,c=Object(d.b)().domain(a()(0,s)).range([o,o+i-l]),u=c.domain().map((function(e){return c(e)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:c(n),endX:c(r),scale:c,scaleValues:u}}({data:n,width:r,x:o,travellerWidth:i,startIndex:s,endIndex:c}):{scale:null,scaleValues:null});if(t.scale&&(r!==t.prevWidth||o!==t.prevX||i!==t.prevTravellerWidth)){t.scale.range([o,o+r-i]);var u=t.scale.domain().map((function(e){return t.scale(e)}));return{prevData:n,prevTravellerWidth:i,prevUpdateId:l,prevX:o,prevWidth:r,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:u}}return null}},{key:"getIndexInRange",value:function(e,t){for(var n=0,r=e.length-1;r-n>1;){var o=Math.floor((n+r)/2);e[o]>t?r=o:n=o}return t>=e[r]?r:n}}],(n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var t=e.startX,n=e.endX,r=this.state.scaleValues,o=this.props,i=o.gap,a=o.data.length-1,l=Math.min(t,n),s=Math.max(t,n),u=c.getIndexInRange(r,l),d=c.getIndexInRange(r,s);return{startIndex:u-u%i,endIndex:d===a?a:d-d%i}}},{key:"getTextOfTick",value:function(e){var t=this.props,n=t.data,r=t.tickFormatter,i=t.dataKey,a=Object(h.w)(n[e],i,e);return o()(r)?r(a,e):a}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0)}},{key:"handleSlideDrag",value:function(e){var t=this.state,n=t.slideMoveStartX,r=t.startX,o=t.endX,i=this.props,a=i.x,l=i.width,s=i.travellerWidth,c=i.startIndex,u=i.endIndex,d=i.onChange,f=e.pageX-n;f>0?f=Math.min(f,a+l-s-o,a+l-s-r):f<0&&(f=Math.max(f,a-r,a-o));var p=this.getIndex({startX:r+f,endX:o+f});p.startIndex===c&&p.endIndex===u||!d||d(p),this.setState({startX:r+f,endX:o+f,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var n=A(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t,n=this.state,r=n.brushMoveStartX,o=n.movingTravellerId,i=n.endX,a=n.startX,l=this.state[o],s=this.props,c=s.x,u=s.width,d=s.travellerWidth,f=s.onChange,p=s.gap,h=s.data,v={startX:this.state.startX,endX:this.state.endX},m=e.pageX-r;m>0?m=Math.min(m,c+u-d-l):m<0&&(m=Math.max(m,c-l)),v[o]=l+m;var g=this.getIndex(v),b=g.startIndex,y=g.endIndex;this.setState((k(t={},o,l+m),k(t,"brushMoveStartX",e.pageX),t),(function(){f&&function(){var e=h.length-1;return"startX"===o&&(i>a?b%p===0:y%p===0)||ia?y%p===0:b%p===0)||i>a&&y===e}()&&f(g)}))}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,o=e.height,i=e.fill,a=e.stroke;return s.a.createElement("rect",{stroke:a,fill:i,x:t,y:n,width:r,height:o})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,n=e.y,r=e.width,o=e.height,i=e.data,a=e.children,c=e.padding,u=l.Children.only(a);return u?s.a.cloneElement(u,{x:t,y:n,width:r,height:o,margin:c,compact:!0,data:i}):null}},{key:"renderTravellerLayer",value:function(e,t){var n=this.props,r=n.y,o=n.travellerWidth,i=n.height,a=n.traveller,l=Math.max(e,this.props.x),u=S(S({},Object(x.c)(this.props)),{},{x:l,y:r,width:o,height:i});return s.a.createElement(f.a,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[t],onTouchStart:this.travellerDragStartHandlers[t],style:{cursor:"col-resize"}},c.renderTraveller(a,u))}},{key:"renderSlide",value:function(e,t){var n=this.props,r=n.y,o=n.height,i=n.stroke,a=n.travellerWidth,l=Math.min(e,t)+a,c=Math.max(Math.abs(t-e)-a,0);return s.a.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:i,fillOpacity:.2,x:l,y:r,width:c,height:o})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,n=e.endIndex,r=e.y,o=e.height,i=e.travellerWidth,a=e.stroke,l=this.state,c=l.startX,u=l.endX,d={pointerEvents:"none",fill:a};return s.a.createElement(f.a,{className:"recharts-brush-texts"},s.a.createElement(p.a,w({textAnchor:"end",verticalAnchor:"middle",x:Math.min(c,u)-5,y:r+o/2},d),this.getTextOfTick(t)),s.a.createElement(p.a,w({textAnchor:"start",verticalAnchor:"middle",x:Math.max(c,u)+i+5,y:r+o/2},d),this.getTextOfTick(n)))}},{key:"render",value:function(){var e=this.props,t=e.data,n=e.className,r=e.children,o=e.x,i=e.y,a=e.width,l=e.height,c=e.alwaysShowText,d=this.state,p=d.startX,h=d.endX,m=d.isTextActive,x=d.isSlideMoving,O=d.isTravellerMoving;if(!t||!t.length||!Object(v.g)(o)||!Object(v.g)(i)||!Object(v.g)(a)||!Object(v.g)(l)||a<=0||l<=0)return null;var w=u()("recharts-brush",n),j=1===s.a.Children.count(r),S=function(e,t){if(!e)return null;var n=e.replace(/(\w)/,(function(e){return e.toUpperCase()})),r=y.reduce((function(e,r){return g(g({},e),{},b({},r+n,t))}),{});return r[e]=t,r}("userSelect","none");return s.a.createElement(f.a,{className:w,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:S},this.renderBackground(),j&&this.renderPanorama(),this.renderSlide(p,h),this.renderTravellerLayer(p,"startX"),this.renderTravellerLayer(h,"endX"),(m||x||O||c)&&this.renderText())}}])&&_(t.prototype,n),r&&_(t,r),c}(l.PureComponent);R.displayName="Brush",R.defaultProps={height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1}},function(e,t,n){"use strict";function r(e,t,n){var r={};return Object.keys(e).forEach((function(o){r[o]=e[o].reduce((function(e,r){return r&&(n&&n[r]&&e.push(n[r]),e.push(t(r))),e}),[]).join(" ")})),r}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(7),o=n(4),i=n(1),a=(n(13),n(8)),l=n(682),s=n(225),c=n(10),u=n(19),d=n(17),f=n(158),p=n(184);function h(e){return Object(f.a)("MuiTypography",e)}Object(p.a)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var v=n(0),m=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],g=Object(c.a)("span",{name:"MuiTypography",slot:"Root",overridesResolver:function(e,t){var n=e.ownerState;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t["align".concat(Object(d.a)(n.align))],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((function(e){var t=e.theme,n=e.ownerState;return Object(o.a)({margin:0},n.variant&&t.typography[n.variant],"inherit"!==n.align&&{textAlign:n.align},n.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},n.gutterBottom&&{marginBottom:"0.35em"},n.paragraph&&{marginBottom:16})})),b={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},x=i.forwardRef((function(e,t){var n=Object(u.a)({props:e,name:"MuiTypography"}),i=function(e){return y[e]||e}(n.color),c=Object(l.a)(Object(o.a)({},n,{color:i})),f=c.align,p=void 0===f?"inherit":f,x=c.className,O=c.component,w=c.gutterBottom,j=void 0!==w&&w,S=c.noWrap,k=void 0!==S&&S,_=c.paragraph,C=void 0!==_&&_,M=c.variant,T=void 0===M?"body1":M,P=c.variantMapping,E=void 0===P?b:P,A=Object(r.a)(c,m),R=Object(o.a)({},c,{align:p,color:i,className:x,component:O,gutterBottom:j,noWrap:k,paragraph:C,variant:T,variantMapping:E}),I=O||(C?"p":E[T]||b[T])||"span",D=function(e){var t=e.align,n=e.gutterBottom,r=e.noWrap,o=e.paragraph,i=e.variant,a=e.classes,l={root:["root",i,"inherit"!==e.align&&"align".concat(Object(d.a)(t)),n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Object(s.a)(l,h,a)}(R);return Object(v.jsx)(g,Object(o.a)({as:I,ref:t,ownerState:R,className:Object(a.a)(D.root,x)},A))}));t.a=x},,,,,,,,,function(e,t,n){"use strict";var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(o){return!1}}()?Object.assign:function(e,t){for(var n,l,s=a(e),c=1;c1&&"boolean"!==typeof t)throw new a('"allowMissing" argument must be a boolean');var n=_(e),r=n.length>0?n[0]:"",i=C("%"+r+"%",t),l=i.name,c=i.value,u=!1,d=i.alias;d&&(r=d[0],O(n,x([0,1],d)));for(var f=1,p=!0;f=n.length){var b=s(c,h);c=(p=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:c[h]}else p=y(c,h),c=c[h];p&&!u&&(v[l]=c)}}return c}},function(e,t,n){"use strict";var r=n(426);e.exports=Function.prototype.bind||r},function(e,t,n){"use strict";var r=String.prototype.replace,o=/%20/g,i="RFC1738",a="RFC3986";e.exports={default:a,formatters:{RFC1738:function(e){return r.call(e,o,"+")},RFC3986:function(e){return String(e)}},RFC1738:i,RFC3986:a}},function(e,t,n){var r=n(276),o=n(189);e.exports=function(e,t){for(var n=0,i=(t=r(t,e)).length;null!=e&&n1)for(var n=1;n-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}},function(e,t,n){var r=n(513),o=n(107);e.exports=function e(t,n,i,a,l){return t===n||(null==t||null==n||!o(t)&&!o(n)?t!==t&&n!==n:r(t,n,i,a,e,l))}},function(e,t){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},function(e,t,n){"use strict";n(4);t.a=function(e,t){return function(){return null}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c}));var r=n(3),o=function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function o(e){if(!(t=r.exec(e)))throw new Error("invalid format: "+e);var t;return new i({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function i(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}o.prototype=i.prototype,i.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type}},function(e,t,n){"use strict";var r=n(149);t.a=function(e){var t=e,n=e;function o(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r>>1;n(e[i],t)<0?r=i+1:o=i}return r}return 1===e.length&&(t=function(t,n){return e(t)-n},n=function(e){return function(t,n){return Object(r.a)(e(t),n)}}(e)),{left:o,center:function(e,n,r,i){null==r&&(r=0),null==i&&(i=e.length);var a=o(e,n,r,i-1);return a>r&&t(e[a-1],n)>-t(e[a],n)?a-1:a},right:function(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r>>1;n(e[i],t)>0?o=i:r=i+1}return r}}}},function(e,t,n){e.exports=n(568)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1),o=n(177);function i(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){Object(o.a)(e,n),Object(o.a)(t,n)}}),[e,t])}},,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(238),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),l=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||i===r.RFC1738&&(40===u||41===u)?s+=l.charAt(c):u<128?s+=a[u]:u<2048?s+=a[192|u>>6]+a[128|63&u]:u<55296||u>=57344?s+=a[224|u>>12]+a[128|u>>6&63]+a[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&l.charCodeAt(c)),s+=a[240|u>>18]+a[128|u>>12&63]+a[128|u>>6&63]+a[128|63&u])}return s},isBuffer:function(e){return!(!e||"object"!==typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r0&&void 0!==arguments[0]?arguments[0]:{};l(this,e),this.cookieOptions=Object.assign({path:"/"},t),s=void 0===t.prefix?s:t.prefix}return r(e,[{key:"getItem",value:function(e){var t=a.default.parse(document.cookie);return t&&t.hasOwnProperty(s+e)?t[s+e]:null}},{key:"setItem",value:function(e,t){return document.cookie=a.default.serialize(s+e,t,this.cookieOptions),t}},{key:"removeItem",value:function(e){var t=Object.assign({},this.cookieOptions,{maxAge:-1});return document.cookie=a.default.serialize(s+e,"",t),null}},{key:"clear",value:function(){var e=a.default.parse(document.cookie);for(var t in e)0===t.indexOf(s)&&this.removeItem(t.substr(s.length));return null}}]),e}();t.default=c},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n2),m=/Android/.test(e),g=v||m||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(e),b=v||/Mac/.test(t),y=/\bCrOS\b/.test(e),x=/win/i.test(t),O=d&&e.match(/Version\/(\d*\.\d*)/);O&&(O=Number(O[1])),O&&O>=15&&(d=!1,s=!0);var w=b&&(c||d&&(null==O||O<12.11)),j=n||a&&l>=9;function S(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var k,_=function(e,t){var n=e.className,r=S(t).exec(n);if(r){var o=n.slice(r.index+r[0].length);e.className=n.slice(0,r.index)+(o?r[1]+o:"")}};function C(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function M(e,t){return C(e).appendChild(t)}function T(e,t,n,r){var o=document.createElement(e);if(n&&(o.className=n),r&&(o.style.cssText=r),"string"==typeof t)o.appendChild(document.createTextNode(t));else if(t)for(var i=0;i=t)return a+(t-i);a+=l-i,a+=n-a%n,i=l+1}}v?D=function(e){e.selectionStart=0,e.selectionEnd=e.value.length}:a&&(D=function(e){try{e.select()}catch(t){}});var F=function(){this.id=null,this.f=null,this.time=0,this.handler=L(this.onTimeout,this)};function W(e,t){for(var n=0;n=t)return r+Math.min(a,t-o);if(o+=i-r,r=i+1,(o+=n-o%n)>=t)return r}}var q=[""];function $(e){for(;q.length<=e;)q.push(K(q)+" ");return q[e]}function K(e){return e[e.length-1]}function X(e,t){for(var n=[],r=0;r"\x80"&&(e.toUpperCase()!=e.toLowerCase()||ee.test(e))}function ne(e,t){return t?!!(t.source.indexOf("\\w")>-1&&te(e))||t.test(e):te(e)}function re(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var oe=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function ie(e){return e.charCodeAt(0)>=768&&oe.test(e)}function ae(e,t,n){for(;(n<0?t>0:tn?-1:1;;){if(t==n)return t;var o=(t+n)/2,i=r<0?Math.ceil(o):Math.floor(o);if(i==t)return e(i)?t:n;e(i)?n=i:t=i+r}}function se(e,t,n,r){if(!e)return r(t,n,"ltr",0);for(var o=!1,i=0;it||t==n&&a.to==t)&&(r(Math.max(a.from,t),Math.min(a.to,n),1==a.level?"rtl":"ltr",i),o=!0)}o||r(t,n,"ltr")}var ce=null;function ue(e,t,n){var r;ce=null;for(var o=0;ot)return o;i.to==t&&(i.from!=i.to&&"before"==n?r=o:ce=o),i.from==t&&(i.from!=i.to&&"before"!=n?r=o:ce=o)}return null!=r?r:ce}var de=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function n(n){return n<=247?e.charAt(n):1424<=n&&n<=1524?"R":1536<=n&&n<=1785?t.charAt(n-1536):1774<=n&&n<=2220?"r":8192<=n&&n<=8203?"w":8204==n?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,o=/[stwN]/,i=/[LRr]/,a=/[Lb1n]/,l=/[1n]/;function s(e,t,n){this.level=e,this.from=t,this.to=n}return function(e,t){var c="ltr"==t?"L":"R";if(0==e.length||"ltr"==t&&!r.test(e))return!1;for(var u=e.length,d=[],f=0;f-1&&(r[t]=o.slice(0,i).concat(o.slice(i+1)))}}}function ge(e,t){var n=ve(e,t);if(n.length)for(var r=Array.prototype.slice.call(arguments,2),o=0;o0}function Oe(e){e.prototype.on=function(e,t){he(this,e,t)},e.prototype.off=function(e,t){me(this,e,t)}}function we(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function je(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function Se(e){return null!=e.defaultPrevented?e.defaultPrevented:0==e.returnValue}function ke(e){we(e),je(e)}function _e(e){return e.target||e.srcElement}function Ce(e){var t=e.which;return null==t&&(1&e.button?t=1:2&e.button?t=3:4&e.button&&(t=2)),b&&e.ctrlKey&&1==t&&(t=3),t}var Me,Te,Pe=function(){if(a&&l<9)return!1;var e=T("div");return"draggable"in e||"dragDrop"in e}();function Ee(e){if(null==Me){var t=T("span","\u200b");M(e,T("span",[t,document.createTextNode("x")])),0!=e.firstChild.offsetHeight&&(Me=t.offsetWidth<=1&&t.offsetHeight>2&&!(a&&l<8))}var n=Me?T("span","\u200b"):T("span","\xa0",null,"display: inline-block; width: 1px; margin-right: -1px");return n.setAttribute("cm-text",""),n}function Ae(e){if(null!=Te)return Te;var t=M(e,document.createTextNode("A\u062eA")),n=k(t,0,1).getBoundingClientRect(),r=k(t,1,2).getBoundingClientRect();return C(e),!(!n||n.left==n.right)&&(Te=r.right-n.right<3)}var Re=3!="\n\nb".split(/\n/).length?function(e){for(var t=0,n=[],r=e.length;t<=r;){var o=e.indexOf("\n",t);-1==o&&(o=e.length);var i=e.slice(t,"\r"==e.charAt(o-1)?o-1:o),a=i.indexOf("\r");-1!=a?(n.push(i.slice(0,a)),t+=a+1):(n.push(i),t=o+1)}return n}:function(e){return e.split(/\r\n?|\n/)},Ie=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch(t){return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch(n){}return!(!t||t.parentElement()!=e)&&0!=t.compareEndPoints("StartToEnd",t)},De=function(){var e=T("div");return"oncopy"in e||(e.setAttribute("oncopy","return;"),"function"==typeof e.oncopy)}(),Le=null;function Ne(e){if(null!=Le)return Le;var t=M(e,T("span","x")),n=t.getBoundingClientRect(),r=k(t,0,1).getBoundingClientRect();return Le=Math.abs(n.left-r.left)>1}var ze={},Fe={};function We(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),ze[e]=t}function Be(e,t){Fe[e]=t}function He(e){if("string"==typeof e&&Fe.hasOwnProperty(e))e=Fe[e];else if(e&&"string"==typeof e.name&&Fe.hasOwnProperty(e.name)){var t=Fe[e.name];"string"==typeof t&&(t={name:t}),(e=J(t,e)).name=t.name}else{if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return He("application/xml");if("string"==typeof e&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return He("application/json")}return"string"==typeof e?{name:e}:e||{name:"null"}}function Ve(e,t){t=He(t);var n=ze[t.name];if(!n)return Ve(e,"text/plain");var r=n(e,t);if(Ue.hasOwnProperty(t.name)){var o=Ue[t.name];for(var i in o)o.hasOwnProperty(i)&&(r.hasOwnProperty(i)&&(r["_"+i]=r[i]),r[i]=o[i])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var a in t.modeProps)r[a]=t.modeProps[a];return r}var Ue={};function Ge(e,t){N(t,Ue.hasOwnProperty(e)?Ue[e]:Ue[e]={})}function Ye(e,t){if(!0===t)return t;if(e.copyState)return e.copyState(t);var n={};for(var r in t){var o=t[r];o instanceof Array&&(o=o.concat([])),n[r]=o}return n}function qe(e,t){for(var n;e.innerMode&&(n=e.innerMode(t))&&n.mode!=e;)t=n.state,e=n.mode;return n||{mode:e,state:t}}function $e(e,t,n){return!e.startState||e.startState(t,n)}var Ke=function(e,t,n){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=n};function Xe(e,t){if((t-=e.first)<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var n=e;!n.lines;)for(var r=0;;++r){var o=n.children[r],i=o.chunkSize();if(t=e.first&&tn?ot(n,Xe(e,n).text.length):ft(t,Xe(e,t.line).text.length)}function ft(e,t){var n=e.ch;return null==n||n>t?ot(e.line,t):n<0?ot(e.line,0):e}function pt(e,t){for(var n=[],r=0;r=this.string.length},Ke.prototype.sol=function(){return this.pos==this.lineStart},Ke.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},Ke.prototype.next=function(){if(this.post},Ke.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},Ke.prototype.skipToEnd=function(){this.pos=this.string.length},Ke.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},Ke.prototype.backUp=function(e){this.pos-=e},Ke.prototype.column=function(){return this.lastColumnPos0?null:(r&&!1!==t&&(this.pos+=r[0].length),r)}var o=function(e){return n?e.toLowerCase():e};if(o(this.string.substr(this.pos,e.length))==o(e))return!1!==t&&(this.pos+=e.length),!0},Ke.prototype.current=function(){return this.string.slice(this.start,this.pos)},Ke.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},Ke.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},Ke.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};var ht=function(e,t){this.state=e,this.lookAhead=t},vt=function(e,t,n,r){this.state=t,this.doc=e,this.line=n,this.maxLookAhead=r||0,this.baseTokens=null,this.baseTokenPos=1};function mt(e,t,n,r){var o=[e.state.modeGen],i={};kt(e,t.text,e.doc.mode,n,(function(e,t){return o.push(e,t)}),i,r);for(var a=n.state,l=function(r){n.baseTokens=o;var l=e.state.overlays[r],s=1,c=0;n.state=!0,kt(e,t.text,l.mode,n,(function(e,t){for(var n=s;ce&&o.splice(s,1,e,o[s+1],r),s+=2,c=Math.min(e,r)}if(t)if(l.opaque)o.splice(n,s-n,e,"overlay "+t),s=n+2;else for(;ne.options.maxHighlightLength&&Ye(e.doc.mode,r.state),i=mt(e,t,r);o&&(r.state=o),t.stateAfter=r.save(!o),t.styles=i.styles,i.classes?t.styleClasses=i.classes:t.styleClasses&&(t.styleClasses=null),n===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function bt(e,t,n){var r=e.doc,o=e.display;if(!r.mode.startState)return new vt(r,!0,t);var i=_t(e,t,n),a=i>r.first&&Xe(r,i-1).stateAfter,l=a?vt.fromSaved(r,a,i):new vt(r,$e(r.mode),i);return r.iter(i,t,(function(n){yt(e,n.text,l);var r=l.line;n.stateAfter=r==t-1||r%5==0||r>=o.viewFrom&&rt.start)return i}throw new Error("Mode "+e.name+" failed to advance stream.")}vt.prototype.lookAhead=function(e){var t=this.doc.getLine(this.line+e);return null!=t&&e>this.maxLookAhead&&(this.maxLookAhead=e),t},vt.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},vt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},vt.fromSaved=function(e,t,n){return t instanceof ht?new vt(e,Ye(e.mode,t.state),n,t.lookAhead):new vt(e,Ye(e.mode,t),n)},vt.prototype.save=function(e){var t=!1!==e?Ye(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new ht(t,this.maxLookAhead):t};var wt=function(e,t,n){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=n};function jt(e,t,n,r){var o,i,a=e.doc,l=a.mode,s=Xe(a,(t=dt(a,t)).line),c=bt(e,t.line,n),u=new Ke(s.text,e.options.tabSize,c);for(r&&(i=[]);(r||u.pose.options.maxHighlightLength?(l=!1,a&&yt(e,t,r,d.pos),d.pos=t.length,s=null):s=St(Ot(n,d,r.state,f),i),f){var p=f[0].name;p&&(s="m-"+(s?p+" "+s:p))}if(!l||u!=s){for(;ca;--l){if(l<=i.first)return i.first;var s=Xe(i,l-1),c=s.stateAfter;if(c&&(!n||l+(c instanceof ht?c.lookAhead:0)<=i.modeFrontier))return l;var u=z(s.text,null,e.options.tabSize);(null==o||r>u)&&(o=l-1,r=u)}return o}function Ct(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontiern;r--){var o=Xe(e,r).stateAfter;if(o&&(!(o instanceof ht)||r+o.lookAhead=t:i.to>t);(r||(r=[])).push(new At(a,i.from,l?null:i.to))}}return r}function Nt(e,t,n){var r;if(e)for(var o=0;o=t:i.to>t)||i.from==t&&"bookmark"==a.type&&(!n||i.marker.insertLeft)){var l=null==i.from||(a.inclusiveLeft?i.from<=t:i.from0&&l)for(var y=0;y0)){var u=[s,1],d=it(c.from,l.from),f=it(c.to,l.to);(d<0||!a.inclusiveLeft&&!d)&&u.push({from:c.from,to:l.from}),(f>0||!a.inclusiveRight&&!f)&&u.push({from:l.to,to:c.to}),o.splice.apply(o,u),s+=u.length-3}}return o}function Bt(e){var t=e.markedSpans;if(t){for(var n=0;nt)&&(!n||Gt(n,i.marker)<0)&&(n=i.marker)}return n}function Xt(e,t,n,r,o){var i=Xe(e,t),a=Tt&&i.markedSpans;if(a)for(var l=0;l=0&&d<=0||u<=0&&d>=0)&&(u<=0&&(s.marker.inclusiveRight&&o.inclusiveLeft?it(c.to,n)>=0:it(c.to,n)>0)||u>=0&&(s.marker.inclusiveRight&&o.inclusiveLeft?it(c.from,r)<=0:it(c.from,r)<0)))return!0}}}function Zt(e){for(var t;t=qt(e);)e=t.find(-1,!0).line;return e}function Qt(e){for(var t;t=$t(e);)e=t.find(1,!0).line;return e}function Jt(e){for(var t,n;t=$t(e);)e=t.find(1,!0).line,(n||(n=[])).push(e);return n}function en(e,t){var n=Xe(e,t),r=Zt(n);return n==r?t:et(r)}function tn(e,t){if(t>e.lastLine())return t;var n,r=Xe(e,t);if(!nn(e,r))return t;for(;n=$t(r);)r=n.find(1,!0).line;return et(r)+1}function nn(e,t){var n=Tt&&t.markedSpans;if(n)for(var r=void 0,o=0;ot.maxLineLength&&(t.maxLineLength=n,t.maxLine=e)}))}var sn=function(e,t,n){this.text=e,Ht(this,t),this.height=n?n(this):1};function cn(e,t,n,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),null!=e.order&&(e.order=null),Bt(e),Ht(e,n);var o=r?r(e):1;o!=e.height&&Je(e,o)}function un(e){e.parent=null,Bt(e)}sn.prototype.lineNo=function(){return et(this)},Oe(sn);var dn={},fn={};function pn(e,t){if(!e||/^\s*$/.test(e))return null;var n=t.addModeClass?fn:dn;return n[e]||(n[e]=e.replace(/\S+/g,"cm-$&"))}function hn(e,t){var n=P("span",null,null,s?"padding-right: .1px":null),r={pre:P("pre",[n],"CodeMirror-line"),content:n,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var o=0;o<=(t.rest?t.rest.length:0);o++){var i=o?t.rest[o-1]:t.line,a=void 0;r.pos=0,r.addToken=mn,Ae(e.display.measure)&&(a=fe(i,e.doc.direction))&&(r.addToken=bn(r.addToken,a)),r.map=[],xn(i,r,gt(e,i,t!=e.display.externalMeasured&&et(i))),i.styleClasses&&(i.styleClasses.bgClass&&(r.bgClass=I(i.styleClasses.bgClass,r.bgClass||"")),i.styleClasses.textClass&&(r.textClass=I(i.styleClasses.textClass,r.textClass||""))),0==r.map.length&&r.map.push(0,0,r.content.appendChild(Ee(e.display.measure))),0==o?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(s){var l=r.content.lastChild;(/\bcm-tab\b/.test(l.className)||l.querySelector&&l.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return ge(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=I(r.pre.className,r.textClass||"")),r}function vn(e){var t=T("span","\u2022","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function mn(e,t,n,r,o,i,s){if(t){var c,u=e.splitSpaces?gn(t,e.trailingSpace):t,d=e.cm.state.specialChars,f=!1;if(d.test(t)){c=document.createDocumentFragment();for(var p=0;;){d.lastIndex=p;var h=d.exec(t),v=h?h.index-p:t.length-p;if(v){var m=document.createTextNode(u.slice(p,p+v));a&&l<9?c.appendChild(T("span",[m])):c.appendChild(m),e.map.push(e.pos,e.pos+v,m),e.col+=v,e.pos+=v}if(!h)break;p+=v+1;var g=void 0;if("\t"==h[0]){var b=e.cm.options.tabSize,y=b-e.col%b;(g=c.appendChild(T("span",$(y),"cm-tab"))).setAttribute("role","presentation"),g.setAttribute("cm-text","\t"),e.col+=y}else"\r"==h[0]||"\n"==h[0]?((g=c.appendChild(T("span","\r"==h[0]?"\u240d":"\u2424","cm-invalidchar"))).setAttribute("cm-text",h[0]),e.col+=1):((g=e.cm.options.specialCharPlaceholder(h[0])).setAttribute("cm-text",h[0]),a&&l<9?c.appendChild(T("span",[g])):c.appendChild(g),e.col+=1);e.map.push(e.pos,e.pos+1,g),e.pos++}}else e.col+=t.length,c=document.createTextNode(u),e.map.push(e.pos,e.pos+t.length,c),a&&l<9&&(f=!0),e.pos+=t.length;if(e.trailingSpace=32==u.charCodeAt(t.length-1),n||r||o||f||i||s){var x=n||"";r&&(x+=r),o&&(x+=o);var O=T("span",[c],x,i);if(s)for(var w in s)s.hasOwnProperty(w)&&"style"!=w&&"class"!=w&&O.setAttribute(w,s[w]);return e.content.appendChild(O)}e.content.appendChild(c)}}function gn(e,t){if(e.length>1&&!/ /.test(e))return e;for(var n=t,r="",o=0;oc&&d.from<=c);f++);if(d.to>=u)return e(n,r,o,i,a,l,s);e(n,r.slice(0,d.to-c),o,i,null,l,s),i=null,r=r.slice(d.to-c),c=d.to}}}function yn(e,t,n,r){var o=!r&&n.widgetNode;o&&e.map.push(e.pos,e.pos+t,o),!r&&e.cm.display.input.needsContentAttribute&&(o||(o=e.content.appendChild(document.createElement("span"))),o.setAttribute("cm-marker",n.id)),o&&(e.cm.display.input.setUneditable(o),e.content.appendChild(o)),e.pos+=t,e.trailingSpace=!1}function xn(e,t,n){var r=e.markedSpans,o=e.text,i=0;if(r)for(var a,l,s,c,u,d,f,p=o.length,h=0,v=1,m="",g=0;;){if(g==h){s=c=u=l="",f=null,d=null,g=1/0;for(var b=[],y=void 0,x=0;xh||w.collapsed&&O.to==h&&O.from==h)){if(null!=O.to&&O.to!=h&&g>O.to&&(g=O.to,c=""),w.className&&(s+=" "+w.className),w.css&&(l=(l?l+";":"")+w.css),w.startStyle&&O.from==h&&(u+=" "+w.startStyle),w.endStyle&&O.to==g&&(y||(y=[])).push(w.endStyle,O.to),w.title&&((f||(f={})).title=w.title),w.attributes)for(var j in w.attributes)(f||(f={}))[j]=w.attributes[j];w.collapsed&&(!d||Gt(d.marker,w)<0)&&(d=O)}else O.from>h&&g>O.from&&(g=O.from)}if(y)for(var S=0;S=p)break;for(var _=Math.min(p,g);;){if(m){var C=h+m.length;if(!d){var M=C>_?m.slice(0,_-h):m;t.addToken(t,M,a?a+s:s,u,h+M.length==g?c:"",l,f)}if(C>=_){m=m.slice(_-h),h=_;break}h=C,u=""}m=o.slice(i,i=n[v++]),a=pn(n[v++],t.cm.options)}}else for(var T=1;T2&&i.push((s.bottom+c.top)/2-n.top)}}i.push(n.bottom-n.top)}}function Zn(e,t,n){if(e.line==t)return{map:e.measure.map,cache:e.measure.cache};for(var r=0;rn)return{map:e.measure.maps[o],cache:e.measure.caches[o],before:!0}}function Qn(e,t){var n=et(t=Zt(t)),r=e.display.externalMeasured=new On(e.doc,t,n);r.lineN=n;var o=r.built=hn(e,r);return r.text=o.pre,M(e.display.lineMeasure,o.pre),r}function Jn(e,t,n,r){return nr(e,tr(e,t),n,r)}function er(e,t){if(t>=e.display.viewFrom&&t=n.lineN&&tt)&&(o=(i=s-l)-1,t>=s&&(a="right")),null!=o){if(r=e[c+2],l==s&&n==(r.insertLeft?"left":"right")&&(a=n),"left"==n&&0==o)for(;c&&e[c-2]==e[c-3]&&e[c-1].insertLeft;)r=e[2+(c-=3)],a="left";if("right"==n&&o==s-l)for(;c=0&&(n=e[o]).left==n.right;o--);return n}function lr(e,t,n,r){var o,i=ir(t.map,n,r),s=i.node,c=i.start,u=i.end,d=i.collapse;if(3==s.nodeType){for(var f=0;f<4;f++){for(;c&&ie(t.line.text.charAt(i.coverStart+c));)--c;for(;i.coverStart+u0&&(d=r="right"),o=e.options.lineWrapping&&(p=s.getClientRects()).length>1?p["right"==r?p.length-1:0]:s.getBoundingClientRect()}if(a&&l<9&&!c&&(!o||!o.left&&!o.right)){var h=s.parentNode.getClientRects()[0];o=h?{left:h.left,right:h.left+Tr(e.display),top:h.top,bottom:h.bottom}:or}for(var v=o.top-t.rect.top,m=o.bottom-t.rect.top,g=(v+m)/2,b=t.view.measure.heights,y=0;y=r.text.length?(s=r.text.length,c="before"):s<=0&&(s=0,c="after"),!l)return a("before"==c?s-1:s,"before"==c);function u(e,t,n){return a(n?e-1:e,1==l[t].level!=n)}var d=ue(l,s,c),f=ce,p=u(s,d,"before"==c);return null!=f&&(p.other=u(s,f,"before"!=c)),p}function yr(e,t){var n=0;t=dt(e.doc,t),e.options.lineWrapping||(n=Tr(e.display)*t.ch);var r=Xe(e.doc,t.line),o=on(r)+Un(e.display);return{left:n,right:n,top:o,bottom:o+r.height}}function xr(e,t,n,r,o){var i=ot(e,t,n);return i.xRel=o,r&&(i.outside=r),i}function Or(e,t,n){var r=e.doc;if((n+=e.display.viewOffset)<0)return xr(r.first,0,null,-1,-1);var o=tt(r,n),i=r.first+r.size-1;if(o>i)return xr(r.first+r.size-1,Xe(r,i).text.length,null,1,1);t<0&&(t=0);for(var a=Xe(r,o);;){var l=kr(e,a,o,t,n),s=Kt(a,l.ch+(l.xRel>0||l.outside>0?1:0));if(!s)return l;var c=s.find(1);if(c.line==o)return c;a=Xe(r,o=c.line)}}function wr(e,t,n,r){r-=hr(t);var o=t.text.length,i=le((function(t){return nr(e,n,t-1).bottom<=r}),o,0);return{begin:i,end:o=le((function(t){return nr(e,n,t).top>r}),i,o)}}function jr(e,t,n,r){return n||(n=tr(e,t)),wr(e,t,n,vr(e,t,nr(e,n,r),"line").top)}function Sr(e,t,n,r){return!(e.bottom<=n)&&(e.top>n||(r?e.left:e.right)>t)}function kr(e,t,n,r,o){o-=on(t);var i=tr(e,t),a=hr(t),l=0,s=t.text.length,c=!0,u=fe(t,e.doc.direction);if(u){var d=(e.options.lineWrapping?Cr:_r)(e,t,n,i,u,r,o);l=(c=1!=d.level)?d.from:d.to-1,s=c?d.to:d.from-1}var f,p,h=null,v=null,m=le((function(t){var n=nr(e,i,t);return n.top+=a,n.bottom+=a,!!Sr(n,r,o,!1)&&(n.top<=o&&n.left<=r&&(h=t,v=n),!0)}),l,s),g=!1;if(v){var b=r-v.left=x.bottom?1:0}return xr(n,m=ae(t.text,m,1),p,g,r-f)}function _r(e,t,n,r,o,i,a){var l=le((function(l){var s=o[l],c=1!=s.level;return Sr(br(e,ot(n,c?s.to:s.from,c?"before":"after"),"line",t,r),i,a,!0)}),0,o.length-1),s=o[l];if(l>0){var c=1!=s.level,u=br(e,ot(n,c?s.from:s.to,c?"after":"before"),"line",t,r);Sr(u,i,a,!0)&&u.top>a&&(s=o[l-1])}return s}function Cr(e,t,n,r,o,i,a){var l=wr(e,t,r,a),s=l.begin,c=l.end;/\s/.test(t.text.charAt(c-1))&&c--;for(var u=null,d=null,f=0;f=c||p.to<=s)){var h=nr(e,r,1!=p.level?Math.min(c,p.to)-1:Math.max(s,p.from)).right,v=hv)&&(u=p,d=v)}}return u||(u=o[o.length-1]),u.fromc&&(u={from:u.from,to:c,level:u.level}),u}function Mr(e){if(null!=e.cachedTextHeight)return e.cachedTextHeight;if(null==rr){rr=T("pre",null,"CodeMirror-line-like");for(var t=0;t<49;++t)rr.appendChild(document.createTextNode("x")),rr.appendChild(T("br"));rr.appendChild(document.createTextNode("x"))}M(e.measure,rr);var n=rr.offsetHeight/50;return n>3&&(e.cachedTextHeight=n),C(e.measure),n||1}function Tr(e){if(null!=e.cachedCharWidth)return e.cachedCharWidth;var t=T("span","xxxxxxxxxx"),n=T("pre",[t],"CodeMirror-line-like");M(e.measure,n);var r=t.getBoundingClientRect(),o=(r.right-r.left)/10;return o>2&&(e.cachedCharWidth=o),o||10}function Pr(e){for(var t=e.display,n={},r={},o=t.gutters.clientLeft,i=t.gutters.firstChild,a=0;i;i=i.nextSibling,++a){var l=e.display.gutterSpecs[a].className;n[l]=i.offsetLeft+i.clientLeft+o,r[l]=i.clientWidth}return{fixedPos:Er(t),gutterTotalWidth:t.gutters.offsetWidth,gutterLeft:n,gutterWidth:r,wrapperWidth:t.wrapper.clientWidth}}function Er(e){return e.scroller.getBoundingClientRect().left-e.sizer.getBoundingClientRect().left}function Ar(e){var t=Mr(e.display),n=e.options.lineWrapping,r=n&&Math.max(5,e.display.scroller.clientWidth/Tr(e.display)-3);return function(o){if(nn(e.doc,o))return 0;var i=0;if(o.widgets)for(var a=0;a0&&(s=Xe(e.doc,c.line).text).length==c.ch){var u=z(s,s.length,e.options.tabSize)-s.length;c=ot(c.line,Math.max(0,Math.round((i-Yn(e.display).left)/Tr(e.display))-u))}return c}function Dr(e,t){if(t>=e.display.viewTo)return null;if((t-=e.display.viewFrom)<0)return null;for(var n=e.display.view,r=0;rt)&&(o.updateLineNumbers=t),e.curOp.viewChanged=!0,t>=o.viewTo)Tt&&en(e.doc,t)o.viewFrom?zr(e):(o.viewFrom+=r,o.viewTo+=r);else if(t<=o.viewFrom&&n>=o.viewTo)zr(e);else if(t<=o.viewFrom){var i=Fr(e,n,n+r,1);i?(o.view=o.view.slice(i.index),o.viewFrom=i.lineN,o.viewTo+=r):zr(e)}else if(n>=o.viewTo){var a=Fr(e,t,t,-1);a?(o.view=o.view.slice(0,a.index),o.viewTo=a.lineN):zr(e)}else{var l=Fr(e,t,t,-1),s=Fr(e,n,n+r,1);l&&s?(o.view=o.view.slice(0,l.index).concat(wn(e,l.lineN,s.lineN)).concat(o.view.slice(s.index)),o.viewTo+=r):zr(e)}var c=o.externalMeasured;c&&(n=o.lineN&&t=r.viewTo)){var i=r.view[Dr(e,t)];if(null!=i.node){var a=i.changes||(i.changes=[]);-1==W(a,n)&&a.push(n)}}}function zr(e){e.display.viewFrom=e.display.viewTo=e.doc.first,e.display.view=[],e.display.viewOffset=0}function Fr(e,t,n,r){var o,i=Dr(e,t),a=e.display.view;if(!Tt||n==e.doc.first+e.doc.size)return{index:i,lineN:n};for(var l=e.display.viewFrom,s=0;s0){if(i==a.length-1)return null;o=l+a[i].size-t,i++}else o=l-t;t+=o,n+=o}for(;en(e.doc,n)!=n;){if(i==(r<0?0:a.length-1))return null;n+=r*a[i-(r<0?1:0)].size,i+=r}return{index:i,lineN:n}}function Wr(e,t,n){var r=e.display;0==r.view.length||t>=r.viewTo||n<=r.viewFrom?(r.view=wn(e,t,n),r.viewFrom=t):(r.viewFrom>t?r.view=wn(e,t,r.viewFrom).concat(r.view):r.viewFromn&&(r.view=r.view.slice(0,Dr(e,n)))),r.viewTo=n}function Br(e){for(var t=e.display.view,n=0,r=0;r=e.display.viewTo||l.to().line0&&(o.style.width=i.right-i.left+"px")}if(r.other){var a=n.appendChild(T("div","\xa0","CodeMirror-cursor CodeMirror-secondarycursor"));a.style.display="",a.style.left=r.other.left+"px",a.style.top=r.other.top+"px",a.style.height=.85*(r.other.bottom-r.other.top)+"px"}}function Gr(e,t){return e.top-t.top||e.left-t.left}function Yr(e,t,n){var r=e.display,o=e.doc,i=document.createDocumentFragment(),a=Yn(e.display),l=a.left,s=Math.max(r.sizerWidth,$n(e)-r.sizer.offsetLeft)-a.right,c="ltr"==o.direction;function u(e,t,n,r){t<0&&(t=0),t=Math.round(t),r=Math.round(r),i.appendChild(T("div",null,"CodeMirror-selected","position: absolute; left: "+e+"px;\n top: "+t+"px; width: "+(null==n?s-e:n)+"px;\n height: "+(r-t)+"px"))}function d(t,n,r){var i,a,d=Xe(o,t),f=d.text.length;function p(n,r){return gr(e,ot(t,n),"div",d,r)}function h(t,n,r){var o=jr(e,d,null,t),i="ltr"==n==("after"==r)?"left":"right";return p("after"==r?o.begin:o.end-(/\s/.test(d.text.charAt(o.end-1))?2:1),i)[i]}var v=fe(d,o.direction);return se(v,n||0,null==r?f:r,(function(e,t,o,d){var m="ltr"==o,g=p(e,m?"left":"right"),b=p(t-1,m?"right":"left"),y=null==n&&0==e,x=null==r&&t==f,O=0==d,w=!v||d==v.length-1;if(b.top-g.top<=3){var j=(c?x:y)&&w,S=(c?y:x)&&O?l:(m?g:b).left,k=j?s:(m?b:g).right;u(S,g.top,k-S,g.bottom)}else{var _,C,M,T;m?(_=c&&y&&O?l:g.left,C=c?s:h(e,o,"before"),M=c?l:h(t,o,"after"),T=c&&x&&w?s:b.right):(_=c?h(e,o,"before"):l,C=!c&&y&&O?s:g.right,M=!c&&x&&w?l:b.left,T=c?h(t,o,"after"):s),u(_,g.top,C-_,g.bottom),g.bottom0?t.blinker=setInterval((function(){e.hasFocus()||Zr(e),t.cursorDiv.style.visibility=(n=!n)?"":"hidden"}),e.options.cursorBlinkRate):e.options.cursorBlinkRate<0&&(t.cursorDiv.style.visibility="hidden")}}function $r(e){e.hasFocus()||(e.display.input.focus(),e.state.focused||Xr(e))}function Kr(e){e.state.delayingBlurEvent=!0,setTimeout((function(){e.state.delayingBlurEvent&&(e.state.delayingBlurEvent=!1,e.state.focused&&Zr(e))}),100)}function Xr(e,t){e.state.delayingBlurEvent&&!e.state.draggingText&&(e.state.delayingBlurEvent=!1),"nocursor"!=e.options.readOnly&&(e.state.focused||(ge(e,"focus",e,t),e.state.focused=!0,R(e.display.wrapper,"CodeMirror-focused"),e.curOp||e.display.selForContextMenu==e.doc.sel||(e.display.input.reset(),s&&setTimeout((function(){return e.display.input.reset(!0)}),20)),e.display.input.receivedFocus()),qr(e))}function Zr(e,t){e.state.delayingBlurEvent||(e.state.focused&&(ge(e,"blur",e,t),e.state.focused=!1,_(e.display.wrapper,"CodeMirror-focused")),clearInterval(e.display.blinker),setTimeout((function(){e.state.focused||(e.display.shift=!1)}),150))}function Qr(e){for(var t=e.display,n=t.lineDiv.offsetTop,r=Math.max(0,t.scroller.getBoundingClientRect().top),o=t.lineDiv.getBoundingClientRect().top,i=0,s=0;s.005||v<-.005)&&(oe.display.sizerWidth){var g=Math.ceil(f/Tr(e.display));g>e.display.maxLineLength&&(e.display.maxLineLength=g,e.display.maxLine=c.line,e.display.maxLineChanged=!0)}}}Math.abs(i)>2&&(t.scroller.scrollTop+=i)}function Jr(e){if(e.widgets)for(var t=0;t=a&&(i=tt(t,on(Xe(t,s))-e.wrapper.clientHeight),a=s)}return{from:i,to:Math.max(a,i+1)}}function to(e,t){if(!be(e,"scrollCursorIntoView")){var n=e.display,r=n.sizer.getBoundingClientRect(),o=null;if(t.top+r.top<0?o=!0:t.bottom+r.top>(window.innerHeight||document.documentElement.clientHeight)&&(o=!1),null!=o&&!h){var i=T("div","\u200b",null,"position: absolute;\n top: "+(t.top-n.viewOffset-Un(e.display))+"px;\n height: "+(t.bottom-t.top+qn(e)+n.barHeight)+"px;\n left: "+t.left+"px; width: "+Math.max(2,t.right-t.left)+"px;");e.display.lineSpace.appendChild(i),i.scrollIntoView(o),e.display.lineSpace.removeChild(i)}}}function no(e,t,n,r){var o;null==r&&(r=0),e.options.lineWrapping||t!=n||(n="before"==t.sticky?ot(t.line,t.ch+1,"before"):t,t=t.ch?ot(t.line,"before"==t.sticky?t.ch-1:t.ch,"after"):t);for(var i=0;i<5;i++){var a=!1,l=br(e,t),s=n&&n!=t?br(e,n):l,c=oo(e,o={left:Math.min(l.left,s.left),top:Math.min(l.top,s.top)-r,right:Math.max(l.left,s.left),bottom:Math.max(l.bottom,s.bottom)+r}),u=e.doc.scrollTop,d=e.doc.scrollLeft;if(null!=c.scrollTop&&(fo(e,c.scrollTop),Math.abs(e.doc.scrollTop-u)>1&&(a=!0)),null!=c.scrollLeft&&(ho(e,c.scrollLeft),Math.abs(e.doc.scrollLeft-d)>1&&(a=!0)),!a)break}return o}function ro(e,t){var n=oo(e,t);null!=n.scrollTop&&fo(e,n.scrollTop),null!=n.scrollLeft&&ho(e,n.scrollLeft)}function oo(e,t){var n=e.display,r=Mr(e.display);t.top<0&&(t.top=0);var o=e.curOp&&null!=e.curOp.scrollTop?e.curOp.scrollTop:n.scroller.scrollTop,i=Kn(e),a={};t.bottom-t.top>i&&(t.bottom=t.top+i);var l=e.doc.height+Gn(n),s=t.topl-r;if(t.topo+i){var u=Math.min(t.top,(c?l:t.bottom)-i);u!=o&&(a.scrollTop=u)}var d=e.options.fixedGutter?0:n.gutters.offsetWidth,f=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:n.scroller.scrollLeft-d,p=$n(e)-n.gutters.offsetWidth,h=t.right-t.left>p;return h&&(t.right=t.left+p),t.left<10?a.scrollLeft=0:t.leftp+f-3&&(a.scrollLeft=t.right+(h?0:10)-p),a}function io(e,t){null!=t&&(co(e),e.curOp.scrollTop=(null==e.curOp.scrollTop?e.doc.scrollTop:e.curOp.scrollTop)+t)}function ao(e){co(e);var t=e.getCursor();e.curOp.scrollToPos={from:t,to:t,margin:e.options.cursorScrollMargin}}function lo(e,t,n){null==t&&null==n||co(e),null!=t&&(e.curOp.scrollLeft=t),null!=n&&(e.curOp.scrollTop=n)}function so(e,t){co(e),e.curOp.scrollToPos=t}function co(e){var t=e.curOp.scrollToPos;t&&(e.curOp.scrollToPos=null,uo(e,yr(e,t.from),yr(e,t.to),t.margin))}function uo(e,t,n,r){var o=oo(e,{left:Math.min(t.left,n.left),top:Math.min(t.top,n.top)-r,right:Math.max(t.right,n.right),bottom:Math.max(t.bottom,n.bottom)+r});lo(e,o.scrollLeft,o.scrollTop)}function fo(e,t){Math.abs(e.doc.scrollTop-t)<2||(n||Vo(e,{top:t}),po(e,t,!0),n&&Vo(e),Do(e,100))}function po(e,t,n){t=Math.max(0,Math.min(e.display.scroller.scrollHeight-e.display.scroller.clientHeight,t)),(e.display.scroller.scrollTop!=t||n)&&(e.doc.scrollTop=t,e.display.scrollbars.setScrollTop(t),e.display.scroller.scrollTop!=t&&(e.display.scroller.scrollTop=t))}function ho(e,t,n,r){t=Math.max(0,Math.min(t,e.display.scroller.scrollWidth-e.display.scroller.clientWidth)),(n?t==e.doc.scrollLeft:Math.abs(e.doc.scrollLeft-t)<2)&&!r||(e.doc.scrollLeft=t,qo(e),e.display.scroller.scrollLeft!=t&&(e.display.scroller.scrollLeft=t),e.display.scrollbars.setScrollLeft(t))}function vo(e){var t=e.display,n=t.gutters.offsetWidth,r=Math.round(e.doc.height+Gn(e.display));return{clientHeight:t.scroller.clientHeight,viewHeight:t.wrapper.clientHeight,scrollWidth:t.scroller.scrollWidth,clientWidth:t.scroller.clientWidth,viewWidth:t.wrapper.clientWidth,barLeft:e.options.fixedGutter?n:0,docHeight:r,scrollHeight:r+qn(e)+t.barHeight,nativeBarWidth:t.nativeBarWidth,gutterWidth:n}}var mo=function(e,t,n){this.cm=n;var r=this.vert=T("div",[T("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),o=this.horiz=T("div",[T("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");r.tabIndex=o.tabIndex=-1,e(r),e(o),he(r,"scroll",(function(){r.clientHeight&&t(r.scrollTop,"vertical")})),he(o,"scroll",(function(){o.clientWidth&&t(o.scrollLeft,"horizontal")})),this.checkedZeroWidth=!1,a&&l<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};mo.prototype.update=function(e){var t=e.scrollWidth>e.clientWidth+1,n=e.scrollHeight>e.clientHeight+1,r=e.nativeBarWidth;if(n){this.vert.style.display="block",this.vert.style.bottom=t?r+"px":"0";var o=e.viewHeight-(t?r:0);this.vert.firstChild.style.height=Math.max(0,e.scrollHeight-e.clientHeight+o)+"px"}else this.vert.style.display="",this.vert.firstChild.style.height="0";if(t){this.horiz.style.display="block",this.horiz.style.right=n?r+"px":"0",this.horiz.style.left=e.barLeft+"px";var i=e.viewWidth-e.barLeft-(n?r:0);this.horiz.firstChild.style.width=Math.max(0,e.scrollWidth-e.clientWidth+i)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&e.clientHeight>0&&(0==r&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:n?r:0,bottom:t?r:0}},mo.prototype.setScrollLeft=function(e){this.horiz.scrollLeft!=e&&(this.horiz.scrollLeft=e),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},mo.prototype.setScrollTop=function(e){this.vert.scrollTop!=e&&(this.vert.scrollTop=e),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},mo.prototype.zeroWidthHack=function(){var e=b&&!p?"12px":"18px";this.horiz.style.height=this.vert.style.width=e,this.horiz.style.pointerEvents=this.vert.style.pointerEvents="none",this.disableHoriz=new F,this.disableVert=new F},mo.prototype.enableZeroWidthBar=function(e,t,n){function r(){var o=e.getBoundingClientRect();("vert"==n?document.elementFromPoint(o.right-1,(o.top+o.bottom)/2):document.elementFromPoint((o.right+o.left)/2,o.bottom-1))!=e?e.style.pointerEvents="none":t.set(1e3,r)}e.style.pointerEvents="auto",t.set(1e3,r)},mo.prototype.clear=function(){var e=this.horiz.parentNode;e.removeChild(this.horiz),e.removeChild(this.vert)};var go=function(){};function bo(e,t){t||(t=vo(e));var n=e.display.barWidth,r=e.display.barHeight;yo(e,t);for(var o=0;o<4&&n!=e.display.barWidth||r!=e.display.barHeight;o++)n!=e.display.barWidth&&e.options.lineWrapping&&Qr(e),yo(e,vo(e)),n=e.display.barWidth,r=e.display.barHeight}function yo(e,t){var n=e.display,r=n.scrollbars.update(t);n.sizer.style.paddingRight=(n.barWidth=r.right)+"px",n.sizer.style.paddingBottom=(n.barHeight=r.bottom)+"px",n.heightForcer.style.borderBottom=r.bottom+"px solid transparent",r.right&&r.bottom?(n.scrollbarFiller.style.display="block",n.scrollbarFiller.style.height=r.bottom+"px",n.scrollbarFiller.style.width=r.right+"px"):n.scrollbarFiller.style.display="",r.bottom&&e.options.coverGutterNextToScrollbar&&e.options.fixedGutter?(n.gutterFiller.style.display="block",n.gutterFiller.style.height=r.bottom+"px",n.gutterFiller.style.width=t.gutterWidth+"px"):n.gutterFiller.style.display=""}go.prototype.update=function(){return{bottom:0,right:0}},go.prototype.setScrollLeft=function(){},go.prototype.setScrollTop=function(){},go.prototype.clear=function(){};var xo={native:mo,null:go};function Oo(e){e.display.scrollbars&&(e.display.scrollbars.clear(),e.display.scrollbars.addClass&&_(e.display.wrapper,e.display.scrollbars.addClass)),e.display.scrollbars=new xo[e.options.scrollbarStyle]((function(t){e.display.wrapper.insertBefore(t,e.display.scrollbarFiller),he(t,"mousedown",(function(){e.state.focused&&setTimeout((function(){return e.display.input.focus()}),0)})),t.setAttribute("cm-not-content","true")}),(function(t,n){"horizontal"==n?ho(e,t):fo(e,t)}),e),e.display.scrollbars.addClass&&R(e.display.wrapper,e.display.scrollbars.addClass)}var wo=0;function jo(e){e.curOp={cm:e,viewChanged:!1,startHeight:e.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++wo,markArrays:null},Sn(e.curOp)}function So(e){var t=e.curOp;t&&_n(t,(function(e){for(var t=0;t=n.viewTo)||n.maxLineChanged&&t.options.lineWrapping,e.update=e.mustUpdate&&new No(t,e.mustUpdate&&{top:e.scrollTop,ensure:e.scrollToPos},e.forceUpdate)}function Co(e){e.updatedDisplay=e.mustUpdate&&Bo(e.cm,e.update)}function Mo(e){var t=e.cm,n=t.display;e.updatedDisplay&&Qr(t),e.barMeasure=vo(t),n.maxLineChanged&&!t.options.lineWrapping&&(e.adjustWidthTo=Jn(t,n.maxLine,n.maxLine.text.length).left+3,t.display.sizerWidth=e.adjustWidthTo,e.barMeasure.scrollWidth=Math.max(n.scroller.clientWidth,n.sizer.offsetLeft+e.adjustWidthTo+qn(t)+t.display.barWidth),e.maxScrollLeft=Math.max(0,n.sizer.offsetLeft+e.adjustWidthTo-$n(t))),(e.updatedDisplay||e.selectionChanged)&&(e.preparedSelection=n.input.prepareSelection())}function To(e){var t=e.cm;null!=e.adjustWidthTo&&(t.display.sizer.style.minWidth=e.adjustWidthTo+"px",e.maxScrollLeft=e.display.viewTo)){var n=+new Date+e.options.workTime,r=bt(e,t.highlightFrontier),o=[];t.iter(r.line,Math.min(t.first+t.size,e.display.viewTo+500),(function(i){if(r.line>=e.display.viewFrom){var a=i.styles,l=i.text.length>e.options.maxHighlightLength?Ye(t.mode,r.state):null,s=mt(e,i,r,!0);l&&(r.state=l),i.styles=s.styles;var c=i.styleClasses,u=s.classes;u?i.styleClasses=u:c&&(i.styleClasses=null);for(var d=!a||a.length!=i.styles.length||c!=u&&(!c||!u||c.bgClass!=u.bgClass||c.textClass!=u.textClass),f=0;!d&&fn)return Do(e,e.options.workDelay),!0})),t.highlightFrontier=r.line,t.modeFrontier=Math.max(t.modeFrontier,r.line),o.length&&Eo(e,(function(){for(var t=0;t=n.viewFrom&&t.visible.to<=n.viewTo&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo)&&n.renderedView==n.view&&0==Br(e))return!1;$o(e)&&(zr(e),t.dims=Pr(e));var o=r.first+r.size,i=Math.max(t.visible.from-e.options.viewportMargin,r.first),a=Math.min(o,t.visible.to+e.options.viewportMargin);n.viewFroma&&n.viewTo-a<20&&(a=Math.min(o,n.viewTo)),Tt&&(i=en(e.doc,i),a=tn(e.doc,a));var l=i!=n.viewFrom||a!=n.viewTo||n.lastWrapHeight!=t.wrapperHeight||n.lastWrapWidth!=t.wrapperWidth;Wr(e,i,a),n.viewOffset=on(Xe(e.doc,n.viewFrom)),e.display.mover.style.top=n.viewOffset+"px";var s=Br(e);if(!l&&0==s&&!t.force&&n.renderedView==n.view&&(null==n.updateLineNumbers||n.updateLineNumbers>=n.viewTo))return!1;var c=Fo(e);return s>4&&(n.lineDiv.style.display="none"),Uo(e,n.updateLineNumbers,t.dims),s>4&&(n.lineDiv.style.display=""),n.renderedView=n.view,Wo(c),C(n.cursorDiv),C(n.selectionDiv),n.gutters.style.height=n.sizer.style.minHeight=0,l&&(n.lastWrapHeight=t.wrapperHeight,n.lastWrapWidth=t.wrapperWidth,Do(e,400)),n.updateLineNumbers=null,!0}function Ho(e,t){for(var n=t.viewport,r=!0;;r=!1){if(r&&e.options.lineWrapping&&t.oldDisplayWidth!=$n(e))r&&(t.visible=eo(e.display,e.doc,n));else if(n&&null!=n.top&&(n={top:Math.min(e.doc.height+Gn(e.display)-Kn(e),n.top)}),t.visible=eo(e.display,e.doc,n),t.visible.from>=e.display.viewFrom&&t.visible.to<=e.display.viewTo)break;if(!Bo(e,t))break;Qr(e);var o=vo(e);Hr(e),bo(e,o),Yo(e,o),t.force=!1}t.signal(e,"update",e),e.display.viewFrom==e.display.reportedViewFrom&&e.display.viewTo==e.display.reportedViewTo||(t.signal(e,"viewportChange",e,e.display.viewFrom,e.display.viewTo),e.display.reportedViewFrom=e.display.viewFrom,e.display.reportedViewTo=e.display.viewTo)}function Vo(e,t){var n=new No(e,t);if(Bo(e,n)){Qr(e),Ho(e,n);var r=vo(e);Hr(e),bo(e,r),Yo(e,r),n.finish()}}function Uo(e,t,n){var r=e.display,o=e.options.lineNumbers,i=r.lineDiv,a=i.firstChild;function l(t){var n=t.nextSibling;return s&&b&&e.display.currentWheelTarget==t?t.style.display="none":t.parentNode.removeChild(t),n}for(var c=r.view,u=r.viewFrom,d=0;d-1&&(p=!1),Pn(e,f,u,n)),p&&(C(f.lineNumber),f.lineNumber.appendChild(document.createTextNode(rt(e.options,u)))),a=f.node.nextSibling}else{var h=zn(e,f,u,n);i.insertBefore(h,a)}u+=f.size}for(;a;)a=l(a)}function Go(e){var t=e.gutters.offsetWidth;e.sizer.style.marginLeft=t+"px",Mn(e,"gutterChanged",e)}function Yo(e,t){e.display.sizer.style.minHeight=t.docHeight+"px",e.display.heightForcer.style.top=t.docHeight+"px",e.display.gutters.style.height=t.docHeight+e.display.barHeight+qn(e)+"px"}function qo(e){var t=e.display,n=t.view;if(t.alignWidgets||t.gutters.firstChild&&e.options.fixedGutter){for(var r=Er(t)-t.scroller.scrollLeft+e.doc.scrollLeft,o=t.gutters.offsetWidth,i=r+"px",a=0;ac.clientWidth,f=c.scrollHeight>c.clientHeight;if(o&&u||i&&f){if(i&&b&&s)e:for(var p=t.target,h=l.view;p!=c;p=p.parentNode)for(var v=0;v=0&&it(e,r.to())<=0)return n}return-1};var ii=function(e,t){this.anchor=e,this.head=t};function ai(e,t,n){var r=e&&e.options.selectionsMayTouch,o=t[n];t.sort((function(e,t){return it(e.from(),t.from())})),n=W(t,o);for(var i=1;i0:s>=0){var c=ct(l.from(),a.from()),u=st(l.to(),a.to()),d=l.empty()?a.from()==a.head:l.from()==l.head;i<=n&&--n,t.splice(--i,2,new ii(d?u:c,d?c:u))}}return new oi(t,n)}function li(e,t){return new oi([new ii(e,t||e)],0)}function si(e){return e.text?ot(e.from.line+e.text.length-1,K(e.text).length+(1==e.text.length?e.from.ch:0)):e.to}function ci(e,t){if(it(e,t.from)<0)return e;if(it(e,t.to)<=0)return si(t);var n=e.line+t.text.length-(t.to.line-t.from.line)-1,r=e.ch;return e.line==t.to.line&&(r+=si(t).ch-t.to.ch),ot(n,r)}function ui(e,t){for(var n=[],r=0;r1&&e.remove(l.line+1,h-1),e.insert(l.line+1,g)}Mn(e,"change",e,t)}function gi(e,t,n){function r(e,o,i){if(e.linked)for(var a=0;a1&&!e.done[e.done.length-2].ranges?(e.done.pop(),K(e.done)):void 0}function ki(e,t,n,r){var o=e.history;o.undone.length=0;var i,a,l=+new Date;if((o.lastOp==r||o.lastOrigin==t.origin&&t.origin&&("+"==t.origin.charAt(0)&&o.lastModTime>l-(e.cm?e.cm.options.historyEventDelay:500)||"*"==t.origin.charAt(0)))&&(i=Si(o,o.lastOp==r)))a=K(i.changes),0==it(t.from,t.to)&&0==it(t.from,a.to)?a.to=si(t):i.changes.push(wi(e,t));else{var s=K(o.done);for(s&&s.ranges||Mi(e.sel,o.done),i={changes:[wi(e,t)],generation:o.generation},o.done.push(i);o.done.length>o.undoDepth;)o.done.shift(),o.done[0].ranges||o.done.shift()}o.done.push(n),o.generation=++o.maxGeneration,o.lastModTime=o.lastSelTime=l,o.lastOp=o.lastSelOp=r,o.lastOrigin=o.lastSelOrigin=t.origin,a||ge(e,"historyAdded")}function _i(e,t,n,r){var o=t.charAt(0);return"*"==o||"+"==o&&n.ranges.length==r.ranges.length&&n.somethingSelected()==r.somethingSelected()&&new Date-e.history.lastSelTime<=(e.cm?e.cm.options.historyEventDelay:500)}function Ci(e,t,n,r){var o=e.history,i=r&&r.origin;n==o.lastSelOp||i&&o.lastSelOrigin==i&&(o.lastModTime==o.lastSelTime&&o.lastOrigin==i||_i(e,i,K(o.done),t))?o.done[o.done.length-1]=t:Mi(t,o.done),o.lastSelTime=+new Date,o.lastSelOrigin=i,o.lastSelOp=n,r&&!1!==r.clearRedo&&ji(o.undone)}function Mi(e,t){var n=K(t);n&&n.ranges&&n.equals(e)||t.push(e)}function Ti(e,t,n,r){var o=t["spans_"+e.id],i=0;e.iter(Math.max(e.first,n),Math.min(e.first+e.size,r),(function(n){n.markedSpans&&((o||(o=t["spans_"+e.id]={}))[i]=n.markedSpans),++i}))}function Pi(e){if(!e)return null;for(var t,n=0;n-1&&(K(l)[d]=c[d],delete c[d])}}}return r}function Ii(e,t,n,r){if(r){var o=e.anchor;if(n){var i=it(t,o)<0;i!=it(n,o)<0?(o=t,t=n):i!=it(t,n)<0&&(t=n)}return new ii(o,t)}return new ii(n||t,t)}function Di(e,t,n,r,o){null==o&&(o=e.cm&&(e.cm.display.shift||e.extend)),Bi(e,new oi([Ii(e.sel.primary(),t,n,o)],0),r)}function Li(e,t,n){for(var r=[],o=e.cm&&(e.cm.display.shift||e.extend),i=0;i=t.ch:l.to>t.ch))){if(o&&(ge(s,"beforeCursorEnter"),s.explicitlyCleared)){if(i.markedSpans){--a;continue}break}if(!s.atomic)continue;if(n){var d=s.find(r<0?1:-1),f=void 0;if((r<0?u:c)&&(d=$i(e,d,-r,d&&d.line==t.line?i:null)),d&&d.line==t.line&&(f=it(d,n))&&(r<0?f<0:f>0))return Yi(e,d,t,r,o)}var p=s.find(r<0?-1:1);return(r<0?c:u)&&(p=$i(e,p,r,p.line==t.line?i:null)),p?Yi(e,p,t,r,o):null}}return t}function qi(e,t,n,r,o){var i=r||1,a=Yi(e,t,n,i,o)||!o&&Yi(e,t,n,i,!0)||Yi(e,t,n,-i,o)||!o&&Yi(e,t,n,-i,!0);return a||(e.cantEdit=!0,ot(e.first,0))}function $i(e,t,n,r){return n<0&&0==t.ch?t.line>e.first?dt(e,ot(t.line-1)):null:n>0&&t.ch==(r||Xe(e,t.line)).text.length?t.line=0;--o)Qi(e,{from:r[o].from,to:r[o].to,text:o?[""]:t.text,origin:t.origin});else Qi(e,t)}}function Qi(e,t){if(1!=t.text.length||""!=t.text[0]||0!=it(t.from,t.to)){var n=ui(e,t);ki(e,t,n,e.cm?e.cm.curOp.id:NaN),ta(e,t,n,zt(e,t));var r=[];gi(e,(function(e,n){n||-1!=W(r,e.history)||(aa(e.history,t),r.push(e.history)),ta(e,t,null,zt(e,t))}))}}function Ji(e,t,n){var r=e.cm&&e.cm.state.suppressEdits;if(!r||n){for(var o,i=e.history,a=e.sel,l="undo"==t?i.done:i.undone,s="undo"==t?i.undone:i.done,c=0;c=0;--p){var h=f(p);if(h)return h.v}}}}function ea(e,t){if(0!=t&&(e.first+=t,e.sel=new oi(X(e.sel.ranges,(function(e){return new ii(ot(e.anchor.line+t,e.anchor.ch),ot(e.head.line+t,e.head.ch))})),e.sel.primIndex),e.cm)){Lr(e.cm,e.first,e.first-t,t);for(var n=e.cm.display,r=n.viewFrom;re.lastLine())){if(t.from.linei&&(t={from:t.from,to:ot(i,Xe(e,i).text.length),text:[t.text[0]],origin:t.origin}),t.removed=Ze(e,t.from,t.to),n||(n=ui(e,t)),e.cm?na(e.cm,t,r):mi(e,t,r),Hi(e,n,V),e.cantEdit&&qi(e,ot(e.firstLine(),0))&&(e.cantEdit=!1)}}function na(e,t,n){var r=e.doc,o=e.display,i=t.from,a=t.to,l=!1,s=i.line;e.options.lineWrapping||(s=et(Zt(Xe(r,i.line))),r.iter(s,a.line+1,(function(e){if(e==o.maxLine)return l=!0,!0}))),r.sel.contains(t.from,t.to)>-1&&ye(e),mi(r,t,n,Ar(e)),e.options.lineWrapping||(r.iter(s,i.line+t.text.length,(function(e){var t=an(e);t>o.maxLineLength&&(o.maxLine=e,o.maxLineLength=t,o.maxLineChanged=!0,l=!1)})),l&&(e.curOp.updateMaxLine=!0)),Ct(r,i.line),Do(e,400);var c=t.text.length-(a.line-i.line)-1;t.full?Lr(e):i.line!=a.line||1!=t.text.length||vi(e.doc,t)?Lr(e,i.line,a.line+1,c):Nr(e,i.line,"text");var u=xe(e,"changes"),d=xe(e,"change");if(d||u){var f={from:i,to:a,text:t.text,removed:t.removed,origin:t.origin};d&&Mn(e,"change",e,f),u&&(e.curOp.changeObjs||(e.curOp.changeObjs=[])).push(f)}e.display.selForContextMenu=null}function ra(e,t,n,r,o){var i;r||(r=n),it(r,n)<0&&(n=(i=[r,n])[0],r=i[1]),"string"==typeof t&&(t=e.splitLines(t)),Zi(e,{from:n,to:r,text:t,origin:o})}function oa(e,t,n,r){n1||!(this.children[0]instanceof sa))){var l=[];this.collapse(l),this.children=[new sa(l)],this.children[0].parent=this}},collapse:function(e){for(var t=0;t50){for(var a=o.lines.length%25+25,l=a;l10);e.parent.maybeSpill()}},iterN:function(e,t,n){for(var r=0;r0||0==a&&!1!==i.clearWhenEmpty)return i;if(i.replacedWith&&(i.collapsed=!0,i.widgetNode=P("span",[i.replacedWith],"CodeMirror-widget"),r.handleMouseEvents||i.widgetNode.setAttribute("cm-ignore-events","true"),r.insertLeft&&(i.widgetNode.insertLeft=!0)),i.collapsed){if(Xt(e,t.line,t,n,i)||t.line!=n.line&&Xt(e,n.line,t,n,i))throw new Error("Inserting collapsed marker partially overlapping an existing one");Et()}i.addToHistory&&ki(e,{from:t,to:n,origin:"markText"},e.sel,NaN);var l,s=t.line,c=e.cm;if(e.iter(s,n.line+1,(function(r){c&&i.collapsed&&!c.options.lineWrapping&&Zt(r)==c.display.maxLine&&(l=!0),i.collapsed&&s!=t.line&&Je(r,0),Dt(r,new At(i,s==t.line?t.ch:null,s==n.line?n.ch:null),e.cm&&e.cm.curOp),++s})),i.collapsed&&e.iter(t.line,n.line+1,(function(t){nn(e,t)&&Je(t,0)})),i.clearOnEnter&&he(i,"beforeCursorEnter",(function(){return i.clear()})),i.readOnly&&(Pt(),(e.history.done.length||e.history.undone.length)&&e.clearHistory()),i.collapsed&&(i.id=++pa,i.atomic=!0),c){if(l&&(c.curOp.updateMaxLine=!0),i.collapsed)Lr(c,t.line,n.line+1);else if(i.className||i.startStyle||i.endStyle||i.css||i.attributes||i.title)for(var u=t.line;u<=n.line;u++)Nr(c,u,"text");i.atomic&&Ui(c.doc),Mn(c,"markerAdded",c,i)}return i}ha.prototype.clear=function(){if(!this.explicitlyCleared){var e=this.doc.cm,t=e&&!e.curOp;if(t&&jo(e),xe(this,"clear")){var n=this.find();n&&Mn(this,"clear",n.from,n.to)}for(var r=null,o=null,i=0;ie.display.maxLineLength&&(e.display.maxLine=c,e.display.maxLineLength=u,e.display.maxLineChanged=!0)}null!=r&&e&&this.collapsed&&Lr(e,r,o+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,e&&Ui(e.doc)),e&&Mn(e,"markerCleared",e,this,r,o),t&&So(e),this.parent&&this.parent.clear()}},ha.prototype.find=function(e,t){var n,r;null==e&&"bookmark"==this.type&&(e=1);for(var o=0;o=0;s--)Zi(this,r[s]);l?Wi(this,l):this.cm&&ao(this.cm)})),undo:Io((function(){Ji(this,"undo")})),redo:Io((function(){Ji(this,"redo")})),undoSelection:Io((function(){Ji(this,"undo",!0)})),redoSelection:Io((function(){Ji(this,"redo",!0)})),setExtending:function(e){this.extend=e},getExtending:function(){return this.extend},historySize:function(){for(var e=this.history,t=0,n=0,r=0;r=e.ch)&&t.push(o.marker.parent||o.marker)}return t},findMarks:function(e,t,n){e=dt(this,e),t=dt(this,t);var r=[],o=e.line;return this.iter(e.line,t.line+1,(function(i){var a=i.markedSpans;if(a)for(var l=0;l=s.to||null==s.from&&o!=e.line||null!=s.from&&o==t.line&&s.from>=t.ch||n&&!n(s.marker)||r.push(s.marker.parent||s.marker)}++o})),r},getAllMarks:function(){var e=[];return this.iter((function(t){var n=t.markedSpans;if(n)for(var r=0;re)return t=e,!0;e-=i,++n})),dt(this,ot(n,t))},indexFromPos:function(e){var t=(e=dt(this,e)).ch;if(e.linet&&(t=e.from),null!=e.to&&e.to-1)return t.state.draggingText(e),void setTimeout((function(){return t.display.input.focus()}),20);try{var d=e.dataTransfer.getData("Text");if(d){var f;if(t.state.draggingText&&!t.state.draggingText.copy&&(f=t.listSelections()),Hi(t.doc,li(n,n)),f)for(var p=0;p=0;t--)ra(e.doc,"",r[t].from,r[t].to,"+delete");ao(e)}))}function Ya(e,t,n){var r=ae(e.text,t+n,n);return r<0||r>e.text.length?null:r}function qa(e,t,n){var r=Ya(e,t.ch,n);return null==r?null:new ot(t.line,r,n<0?"after":"before")}function $a(e,t,n,r,o){if(e){"rtl"==t.doc.direction&&(o=-o);var i=fe(n,t.doc.direction);if(i){var a,l=o<0?K(i):i[0],s=o<0==(1==l.level)?"after":"before";if(l.level>0||"rtl"==t.doc.direction){var c=tr(t,n);a=o<0?n.text.length-1:0;var u=nr(t,c,a).top;a=le((function(e){return nr(t,c,e).top==u}),o<0==(1==l.level)?l.from:l.to-1,a),"before"==s&&(a=Ya(n,a,1))}else a=o<0?l.to:l.from;return new ot(r,a,s)}}return new ot(r,o<0?n.text.length:0,o<0?"before":"after")}function Ka(e,t,n,r){var o=fe(t,e.doc.direction);if(!o)return qa(t,n,r);n.ch>=t.text.length?(n.ch=t.text.length,n.sticky="before"):n.ch<=0&&(n.ch=0,n.sticky="after");var i=ue(o,n.ch,n.sticky),a=o[i];if("ltr"==e.doc.direction&&a.level%2==0&&(r>0?a.to>n.ch:a.from=a.from&&f>=u.begin)){var p=d?"before":"after";return new ot(n.line,f,p)}}var h=function(e,t,r){for(var i=function(e,t){return t?new ot(n.line,s(e,1),"before"):new ot(n.line,e,"after")};e>=0&&e0==(1!=a.level),c=l?r.begin:s(r.end,-1);if(a.from<=c&&c0?u.end:s(u.begin,-1);return null==m||r>0&&m==t.text.length||!(v=h(r>0?0:o.length-1,r,c(m)))?null:v}Na.basic={Left:"goCharLeft",Right:"goCharRight",Up:"goLineUp",Down:"goLineDown",End:"goLineEnd",Home:"goLineStartSmart",PageUp:"goPageUp",PageDown:"goPageDown",Delete:"delCharAfter",Backspace:"delCharBefore","Shift-Backspace":"delCharBefore",Tab:"defaultTab","Shift-Tab":"indentAuto",Enter:"newlineAndIndent",Insert:"toggleOverwrite",Esc:"singleSelection"},Na.pcDefault={"Ctrl-A":"selectAll","Ctrl-D":"deleteLine","Ctrl-Z":"undo","Shift-Ctrl-Z":"redo","Ctrl-Y":"redo","Ctrl-Home":"goDocStart","Ctrl-End":"goDocEnd","Ctrl-Up":"goLineUp","Ctrl-Down":"goLineDown","Ctrl-Left":"goGroupLeft","Ctrl-Right":"goGroupRight","Alt-Left":"goLineStart","Alt-Right":"goLineEnd","Ctrl-Backspace":"delGroupBefore","Ctrl-Delete":"delGroupAfter","Ctrl-S":"save","Ctrl-F":"find","Ctrl-G":"findNext","Shift-Ctrl-G":"findPrev","Shift-Ctrl-F":"replace","Shift-Ctrl-R":"replaceAll","Ctrl-[":"indentLess","Ctrl-]":"indentMore","Ctrl-U":"undoSelection","Shift-Ctrl-U":"redoSelection","Alt-U":"redoSelection",fallthrough:"basic"},Na.emacsy={"Ctrl-F":"goCharRight","Ctrl-B":"goCharLeft","Ctrl-P":"goLineUp","Ctrl-N":"goLineDown","Ctrl-A":"goLineStart","Ctrl-E":"goLineEnd","Ctrl-V":"goPageDown","Shift-Ctrl-V":"goPageUp","Ctrl-D":"delCharAfter","Ctrl-H":"delCharBefore","Alt-Backspace":"delWordBefore","Ctrl-K":"killLine","Ctrl-T":"transposeChars","Ctrl-O":"openLine"},Na.macDefault={"Cmd-A":"selectAll","Cmd-D":"deleteLine","Cmd-Z":"undo","Shift-Cmd-Z":"redo","Cmd-Y":"redo","Cmd-Home":"goDocStart","Cmd-Up":"goDocStart","Cmd-End":"goDocEnd","Cmd-Down":"goDocEnd","Alt-Left":"goGroupLeft","Alt-Right":"goGroupRight","Cmd-Left":"goLineLeft","Cmd-Right":"goLineRight","Alt-Backspace":"delGroupBefore","Ctrl-Alt-Backspace":"delGroupAfter","Alt-Delete":"delGroupAfter","Cmd-S":"save","Cmd-F":"find","Cmd-G":"findNext","Shift-Cmd-G":"findPrev","Cmd-Alt-F":"replace","Shift-Cmd-Alt-F":"replaceAll","Cmd-[":"indentLess","Cmd-]":"indentMore","Cmd-Backspace":"delWrappedLineLeft","Cmd-Delete":"delWrappedLineRight","Cmd-U":"undoSelection","Shift-Cmd-U":"redoSelection","Ctrl-Up":"goDocStart","Ctrl-Down":"goDocEnd",fallthrough:["basic","emacsy"]},Na.default=b?Na.macDefault:Na.pcDefault;var Xa={selectAll:Ki,singleSelection:function(e){return e.setSelection(e.getCursor("anchor"),e.getCursor("head"),V)},killLine:function(e){return Ga(e,(function(t){if(t.empty()){var n=Xe(e.doc,t.head.line).text.length;return t.head.ch==n&&t.head.line0)o=new ot(o.line,o.ch+1),e.replaceRange(i.charAt(o.ch-1)+i.charAt(o.ch-2),ot(o.line,o.ch-2),o,"+transpose");else if(o.line>e.doc.first){var a=Xe(e.doc,o.line-1).text;a&&(o=new ot(o.line,1),e.replaceRange(i.charAt(0)+e.doc.lineSeparator()+a.charAt(a.length-1),ot(o.line-1,a.length-1),o,"+transpose"))}n.push(new ii(o,o))}e.setSelections(n)}))},newlineAndIndent:function(e){return Eo(e,(function(){for(var t=e.listSelections(),n=t.length-1;n>=0;n--)e.replaceRange(e.doc.lineSeparator(),t[n].anchor,t[n].head,"+input");t=e.listSelections();for(var r=0;r-1&&(it((o=l.ranges[o]).from(),t)<0||t.xRel>0)&&(it(o.to(),t)>0||t.xRel<0)?Ol(e,r,t,i):jl(e,r,t,i)}function Ol(e,t,n,r){var o=e.display,i=!1,c=Ao(e,(function(t){s&&(o.scroller.draggable=!1),e.state.draggingText=!1,e.state.delayingBlurEvent&&(e.hasFocus()?e.state.delayingBlurEvent=!1:Kr(e)),me(o.wrapper.ownerDocument,"mouseup",c),me(o.wrapper.ownerDocument,"mousemove",u),me(o.scroller,"dragstart",d),me(o.scroller,"drop",c),i||(we(t),r.addNew||Di(e.doc,n,null,null,r.extend),s&&!f||a&&9==l?setTimeout((function(){o.wrapper.ownerDocument.body.focus({preventScroll:!0}),o.input.focus()}),20):o.input.focus())})),u=function(e){i=i||Math.abs(t.clientX-e.clientX)+Math.abs(t.clientY-e.clientY)>=10},d=function(){return i=!0};s&&(o.scroller.draggable=!0),e.state.draggingText=c,c.copy=!r.moveOnDrag,he(o.wrapper.ownerDocument,"mouseup",c),he(o.wrapper.ownerDocument,"mousemove",u),he(o.scroller,"dragstart",d),he(o.scroller,"drop",c),e.state.delayingBlurEvent=!0,setTimeout((function(){return o.input.focus()}),20),o.scroller.dragDrop&&o.scroller.dragDrop()}function wl(e,t,n){if("char"==n)return new ii(t,t);if("word"==n)return e.findWordAt(t);if("line"==n)return new ii(ot(t.line,0),dt(e.doc,ot(t.line+1,0)));var r=n(e,t);return new ii(r.from,r.to)}function jl(e,t,n,r){a&&Kr(e);var o=e.display,i=e.doc;we(t);var l,s,c=i.sel,u=c.ranges;if(r.addNew&&!r.extend?(s=i.sel.contains(n),l=s>-1?u[s]:new ii(n,n)):(l=i.sel.primary(),s=i.sel.primIndex),"rectangle"==r.unit)r.addNew||(l=new ii(n,n)),n=Ir(e,t,!0,!0),s=-1;else{var d=wl(e,n,r.unit);l=r.extend?Ii(l,d.anchor,d.head,r.extend):d}r.addNew?-1==s?(s=u.length,Bi(i,ai(e,u.concat([l]),s),{scroll:!1,origin:"*mouse"})):u.length>1&&u[s].empty()&&"char"==r.unit&&!r.extend?(Bi(i,ai(e,u.slice(0,s).concat(u.slice(s+1)),0),{scroll:!1,origin:"*mouse"}),c=i.sel):Ni(i,s,l,U):(s=0,Bi(i,new oi([l],0),U),c=i.sel);var f=n;function p(t){if(0!=it(f,t))if(f=t,"rectangle"==r.unit){for(var o=[],a=e.options.tabSize,u=z(Xe(i,n.line).text,n.ch,a),d=z(Xe(i,t.line).text,t.ch,a),p=Math.min(u,d),h=Math.max(u,d),v=Math.min(n.line,t.line),m=Math.min(e.lastLine(),Math.max(n.line,t.line));v<=m;v++){var g=Xe(i,v).text,b=Y(g,p,a);p==h?o.push(new ii(ot(v,b),ot(v,b))):g.length>b&&o.push(new ii(ot(v,b),ot(v,Y(g,h,a))))}o.length||o.push(new ii(n,n)),Bi(i,ai(e,c.ranges.slice(0,s).concat(o),s),{origin:"*mouse",scroll:!1}),e.scrollIntoView(t)}else{var y,x=l,O=wl(e,t,r.unit),w=x.anchor;it(O.anchor,w)>0?(y=O.head,w=ct(x.from(),O.anchor)):(y=O.anchor,w=st(x.to(),O.head));var j=c.ranges.slice(0);j[s]=Sl(e,new ii(dt(i,w),y)),Bi(i,ai(e,j,s),U)}}var h=o.wrapper.getBoundingClientRect(),v=0;function m(t){var n=++v,a=Ir(e,t,!0,"rectangle"==r.unit);if(a)if(0!=it(a,f)){e.curOp.focus=A(),p(a);var l=eo(o,i);(a.line>=l.to||a.lineh.bottom?20:0;s&&setTimeout(Ao(e,(function(){v==n&&(o.scroller.scrollTop+=s,m(t))})),50)}}function g(t){e.state.selectingText=!1,v=1/0,t&&(we(t),o.input.focus()),me(o.wrapper.ownerDocument,"mousemove",b),me(o.wrapper.ownerDocument,"mouseup",y),i.history.lastSelOrigin=null}var b=Ao(e,(function(e){0!==e.buttons&&Ce(e)?m(e):g(e)})),y=Ao(e,g);e.state.selectingText=y,he(o.wrapper.ownerDocument,"mousemove",b),he(o.wrapper.ownerDocument,"mouseup",y)}function Sl(e,t){var n=t.anchor,r=t.head,o=Xe(e.doc,n.line);if(0==it(n,r)&&n.sticky==r.sticky)return t;var i=fe(o);if(!i)return t;var a=ue(i,n.ch,n.sticky),l=i[a];if(l.from!=n.ch&&l.to!=n.ch)return t;var s,c=a+(l.from==n.ch==(1!=l.level)?0:1);if(0==c||c==i.length)return t;if(r.line!=n.line)s=(r.line-n.line)*("ltr"==e.doc.direction?1:-1)>0;else{var u=ue(i,r.ch,r.sticky),d=u-a||(r.ch-n.ch)*(1==l.level?-1:1);s=u==c-1||u==c?d<0:d>0}var f=i[c+(s?-1:0)],p=s==(1==f.level),h=p?f.from:f.to,v=p?"after":"before";return n.ch==h&&n.sticky==v?t:new ii(new ot(n.line,h,v),r)}function kl(e,t,n,r){var o,i;if(t.touches)o=t.touches[0].clientX,i=t.touches[0].clientY;else try{o=t.clientX,i=t.clientY}catch(u){return!1}if(o>=Math.floor(e.display.gutters.getBoundingClientRect().right))return!1;r&&we(t);var a=e.display,l=a.lineDiv.getBoundingClientRect();if(i>l.bottom||!xe(e,n))return Se(t);i-=l.top-a.viewOffset;for(var s=0;s=o)return ge(e,n,e,tt(e.doc,i),e.display.gutterSpecs[s].className,t),Se(t)}}function _l(e,t){return kl(e,t,"gutterClick",!0)}function Cl(e,t){Vn(e.display,t)||Ml(e,t)||be(e,t,"contextmenu")||j||e.display.input.onContextMenu(t)}function Ml(e,t){return!!xe(e,"gutterContextMenu")&&kl(e,t,"gutterContextMenu",!1)}function Tl(e){e.display.wrapper.className=e.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+e.options.theme.replace(/(^|\s)\s*/g," cm-s-"),dr(e)}vl.prototype.compare=function(e,t,n){return this.time+hl>e&&0==it(t,this.pos)&&n==this.button};var Pl={toString:function(){return"CodeMirror.Init"}},El={},Al={};function Rl(e){var t=e.optionHandlers;function n(n,r,o,i){e.defaults[n]=r,o&&(t[n]=i?function(e,t,n){n!=Pl&&o(e,t,n)}:o)}e.defineOption=n,e.Init=Pl,n("value","",(function(e,t){return e.setValue(t)}),!0),n("mode",null,(function(e,t){e.doc.modeOption=t,pi(e)}),!0),n("indentUnit",2,pi,!0),n("indentWithTabs",!1),n("smartIndent",!0),n("tabSize",4,(function(e){hi(e),dr(e),Lr(e)}),!0),n("lineSeparator",null,(function(e,t){if(e.doc.lineSep=t,t){var n=[],r=e.doc.first;e.doc.iter((function(e){for(var o=0;;){var i=e.text.indexOf(t,o);if(-1==i)break;o=i+t.length,n.push(ot(r,i))}r++}));for(var o=n.length-1;o>=0;o--)ra(e.doc,t,n[o],ot(n[o].line,n[o].ch+t.length))}})),n("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\ufeff\ufff9-\ufffc]/g,(function(e,t,n){e.state.specialChars=new RegExp(t.source+(t.test("\t")?"":"|\t"),"g"),n!=Pl&&e.refresh()})),n("specialCharPlaceholder",vn,(function(e){return e.refresh()}),!0),n("electricChars",!0),n("inputStyle",g?"contenteditable":"textarea",(function(){throw new Error("inputStyle can not (yet) be changed in a running editor")}),!0),n("spellcheck",!1,(function(e,t){return e.getInputField().spellcheck=t}),!0),n("autocorrect",!1,(function(e,t){return e.getInputField().autocorrect=t}),!0),n("autocapitalize",!1,(function(e,t){return e.getInputField().autocapitalize=t}),!0),n("rtlMoveVisually",!x),n("wholeLineUpdateBefore",!0),n("theme","default",(function(e){Tl(e),Zo(e)}),!0),n("keyMap","default",(function(e,t,n){var r=Ua(t),o=n!=Pl&&Ua(n);o&&o.detach&&o.detach(e,r),r.attach&&r.attach(e,o||null)})),n("extraKeys",null),n("configureMouse",null),n("lineWrapping",!1,Dl,!0),n("gutters",[],(function(e,t){e.display.gutterSpecs=Ko(t,e.options.lineNumbers),Zo(e)}),!0),n("fixedGutter",!0,(function(e,t){e.display.gutters.style.left=t?Er(e.display)+"px":"0",e.refresh()}),!0),n("coverGutterNextToScrollbar",!1,(function(e){return bo(e)}),!0),n("scrollbarStyle","native",(function(e){Oo(e),bo(e),e.display.scrollbars.setScrollTop(e.doc.scrollTop),e.display.scrollbars.setScrollLeft(e.doc.scrollLeft)}),!0),n("lineNumbers",!1,(function(e,t){e.display.gutterSpecs=Ko(e.options.gutters,t),Zo(e)}),!0),n("firstLineNumber",1,Zo,!0),n("lineNumberFormatter",(function(e){return e}),Zo,!0),n("showCursorWhenSelecting",!1,Hr,!0),n("resetSelectionOnContextMenu",!0),n("lineWiseCopyCut",!0),n("pasteLinesPerSelection",!0),n("selectionsMayTouch",!1),n("readOnly",!1,(function(e,t){"nocursor"==t&&(Zr(e),e.display.input.blur()),e.display.input.readOnlyChanged(t)})),n("screenReaderLabel",null,(function(e,t){t=""===t?null:t,e.display.input.screenReaderLabelChanged(t)})),n("disableInput",!1,(function(e,t){t||e.display.input.reset()}),!0),n("dragDrop",!0,Il),n("allowDropFileTypes",null),n("cursorBlinkRate",530),n("cursorScrollMargin",0),n("cursorHeight",1,Hr,!0),n("singleCursorHeightPerLine",!0,Hr,!0),n("workTime",100),n("workDelay",100),n("flattenSpans",!0,hi,!0),n("addModeClass",!1,hi,!0),n("pollInterval",100),n("undoDepth",200,(function(e,t){return e.doc.history.undoDepth=t})),n("historyEventDelay",1250),n("viewportMargin",10,(function(e){return e.refresh()}),!0),n("maxHighlightLength",1e4,hi,!0),n("moveInputWithCursor",!0,(function(e,t){t||e.display.input.resetPosition()})),n("tabindex",null,(function(e,t){return e.display.input.getField().tabIndex=t||""})),n("autofocus",null),n("direction","ltr",(function(e,t){return e.doc.setDirection(t)}),!0),n("phrases",null)}function Il(e,t,n){if(!t!=!(n&&n!=Pl)){var r=e.display.dragFunctions,o=t?he:me;o(e.display.scroller,"dragstart",r.start),o(e.display.scroller,"dragenter",r.enter),o(e.display.scroller,"dragover",r.over),o(e.display.scroller,"dragleave",r.leave),o(e.display.scroller,"drop",r.drop)}}function Dl(e){e.options.lineWrapping?(R(e.display.wrapper,"CodeMirror-wrap"),e.display.sizer.style.minWidth="",e.display.sizerWidth=null):(_(e.display.wrapper,"CodeMirror-wrap"),ln(e)),Rr(e),Lr(e),dr(e),setTimeout((function(){return bo(e)}),100)}function Ll(e,t){var n=this;if(!(this instanceof Ll))return new Ll(e,t);this.options=t=t?N(t):{},N(El,t,!1);var r=t.value;"string"==typeof r?r=new wa(r,t.mode,null,t.lineSeparator,t.direction):t.mode&&(r.modeOption=t.mode),this.doc=r;var o=new Ll.inputStyles[t.inputStyle](this),i=this.display=new Qo(e,r,o,t);for(var c in i.wrapper.CodeMirror=this,Tl(this),t.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),Oo(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new F,keySeq:null,specialChars:null},t.autofocus&&!g&&i.input.focus(),a&&l<11&&setTimeout((function(){return n.display.input.reset(!0)}),20),Nl(this),Pa(),jo(this),this.curOp.forceUpdate=!0,bi(this,r),t.autofocus&&!g||this.hasFocus()?setTimeout((function(){n.hasFocus()&&!n.state.focused&&Xr(n)}),20):Zr(this),Al)Al.hasOwnProperty(c)&&Al[c](this,t[c],Pl);$o(this),t.finishInit&&t.finishInit(this);for(var u=0;u400}he(t.scroller,"touchstart",(function(o){if(!be(e,o)&&!i(o)&&!_l(e,o)){t.input.ensurePolled(),clearTimeout(n);var a=+new Date;t.activeTouch={start:a,moved:!1,prev:a-r.end<=300?r:null},1==o.touches.length&&(t.activeTouch.left=o.touches[0].pageX,t.activeTouch.top=o.touches[0].pageY)}})),he(t.scroller,"touchmove",(function(){t.activeTouch&&(t.activeTouch.moved=!0)})),he(t.scroller,"touchend",(function(n){var r=t.activeTouch;if(r&&!Vn(t,n)&&null!=r.left&&!r.moved&&new Date-r.start<300){var i,a=e.coordsChar(t.activeTouch,"page");i=!r.prev||s(r,r.prev)?new ii(a,a):!r.prev.prev||s(r,r.prev.prev)?e.findWordAt(a):new ii(ot(a.line,0),dt(e.doc,ot(a.line+1,0))),e.setSelection(i.anchor,i.head),e.focus(),we(n)}o()})),he(t.scroller,"touchcancel",o),he(t.scroller,"scroll",(function(){t.scroller.clientHeight&&(fo(e,t.scroller.scrollTop),ho(e,t.scroller.scrollLeft,!0),ge(e,"scroll",e))})),he(t.scroller,"mousewheel",(function(t){return ri(e,t)})),he(t.scroller,"DOMMouseScroll",(function(t){return ri(e,t)})),he(t.wrapper,"scroll",(function(){return t.wrapper.scrollTop=t.wrapper.scrollLeft=0})),t.dragFunctions={enter:function(t){be(e,t)||ke(t)},over:function(t){be(e,t)||(_a(e,t),ke(t))},start:function(t){return ka(e,t)},drop:Ao(e,Sa),leave:function(t){be(e,t)||Ca(e)}};var c=t.input.getField();he(c,"keyup",(function(t){return ul.call(e,t)})),he(c,"keydown",Ao(e,sl)),he(c,"keypress",Ao(e,dl)),he(c,"focus",(function(t){return Xr(e,t)})),he(c,"blur",(function(t){return Zr(e,t)}))}Ll.defaults=El,Ll.optionHandlers=Al;var zl=[];function Fl(e,t,n,r){var o,i=e.doc;null==n&&(n="add"),"smart"==n&&(i.mode.indent?o=bt(e,t).state:n="prev");var a=e.options.tabSize,l=Xe(i,t),s=z(l.text,null,a);l.stateAfter&&(l.stateAfter=null);var c,u=l.text.match(/^\s*/)[0];if(r||/\S/.test(l.text)){if("smart"==n&&((c=i.mode.indent(o,l.text.slice(u.length),l.text))==H||c>150)){if(!r)return;n="prev"}}else c=0,n="not";"prev"==n?c=t>i.first?z(Xe(i,t-1).text,null,a):0:"add"==n?c=s+e.options.indentUnit:"subtract"==n?c=s-e.options.indentUnit:"number"==typeof n&&(c=s+n),c=Math.max(0,c);var d="",f=0;if(e.options.indentWithTabs)for(var p=Math.floor(c/a);p;--p)f+=a,d+="\t";if(fa,s=Re(t),c=null;if(l&&r.ranges.length>1)if(Wl&&Wl.text.join("\n")==t){if(r.ranges.length%Wl.text.length==0){c=[];for(var u=0;u=0;f--){var p=r.ranges[f],h=p.from(),v=p.to();p.empty()&&(n&&n>0?h=ot(h.line,h.ch-n):e.state.overwrite&&!l?v=ot(v.line,Math.min(Xe(i,v.line).text.length,v.ch+K(s).length)):l&&Wl&&Wl.lineWise&&Wl.text.join("\n")==s.join("\n")&&(h=v=ot(h.line,0)));var m={from:h,to:v,text:c?c[f%c.length]:s,origin:o||(l?"paste":e.state.cutIncoming>a?"cut":"+input")};Zi(e.doc,m),Mn(e,"inputRead",e,m)}t&&!l&&Ul(e,t),ao(e),e.curOp.updateInput<2&&(e.curOp.updateInput=d),e.curOp.typing=!0,e.state.pasteIncoming=e.state.cutIncoming=-1}function Vl(e,t){var n=e.clipboardData&&e.clipboardData.getData("Text");if(n)return e.preventDefault(),t.isReadOnly()||t.options.disableInput||Eo(t,(function(){return Hl(t,n,0,null,"paste")})),!0}function Ul(e,t){if(e.options.electricChars&&e.options.smartIndent)for(var n=e.doc.sel,r=n.ranges.length-1;r>=0;r--){var o=n.ranges[r];if(!(o.head.ch>100||r&&n.ranges[r-1].head.line==o.head.line)){var i=e.getModeAt(o.head),a=!1;if(i.electricChars){for(var l=0;l-1){a=Fl(e,o.head.line,"smart");break}}else i.electricInput&&i.electricInput.test(Xe(e.doc,o.head.line).text.slice(0,o.head.ch))&&(a=Fl(e,o.head.line,"smart"));a&&Mn(e,"electricInput",e,o.head.line)}}}function Gl(e){for(var t=[],n=[],r=0;rn&&(Fl(this,o.head.line,e,!0),n=o.head.line,r==this.doc.sel.primIndex&&ao(this));else{var i=o.from(),a=o.to(),l=Math.max(n,i.line);n=Math.min(this.lastLine(),a.line-(a.ch?0:1))+1;for(var s=l;s0&&Ni(this.doc,r,new ii(i,c[r].to()),V)}}})),getTokenAt:function(e,t){return jt(this,e,t)},getLineTokens:function(e,t){return jt(this,ot(e),t,!0)},getTokenTypeAt:function(e){e=dt(this.doc,e);var t,n=gt(this,Xe(this.doc,e.line)),r=0,o=(n.length-1)/2,i=e.ch;if(0==i)t=n[2];else for(;;){var a=r+o>>1;if((a?n[2*a-1]:0)>=i)o=a;else{if(!(n[2*a+1]i&&(e=i,o=!0),r=Xe(this.doc,e)}else r=e;return vr(this,r,{top:0,left:0},t||"page",n||o).top+(o?this.doc.height-on(r):0)},defaultTextHeight:function(){return Mr(this.display)},defaultCharWidth:function(){return Tr(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(e,t,n,r,o){var i=this.display,a=(e=br(this,dt(this.doc,e))).bottom,l=e.left;if(t.style.position="absolute",t.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(t),i.sizer.appendChild(t),"over"==r)a=e.top;else if("above"==r||"near"==r){var s=Math.max(i.wrapper.clientHeight,this.doc.height),c=Math.max(i.sizer.clientWidth,i.lineSpace.clientWidth);("above"==r||e.bottom+t.offsetHeight>s)&&e.top>t.offsetHeight?a=e.top-t.offsetHeight:e.bottom+t.offsetHeight<=s&&(a=e.bottom),l+t.offsetWidth>c&&(l=c-t.offsetWidth)}t.style.top=a+"px",t.style.left=t.style.right="","right"==o?(l=i.sizer.clientWidth-t.offsetWidth,t.style.right="0px"):("left"==o?l=0:"middle"==o&&(l=(i.sizer.clientWidth-t.offsetWidth)/2),t.style.left=l+"px"),n&&ro(this,{left:l,top:a,right:l+t.offsetWidth,bottom:a+t.offsetHeight})},triggerOnKeyDown:Ro(sl),triggerOnKeyPress:Ro(dl),triggerOnKeyUp:ul,triggerOnMouseDown:Ro(gl),execCommand:function(e){if(Xa.hasOwnProperty(e))return Xa[e].call(null,this)},triggerElectric:Ro((function(e){Ul(this,e)})),findPosH:function(e,t,n,r){var o=1;t<0&&(o=-1,t=-t);for(var i=dt(this.doc,e),a=0;a0&&a(t.charAt(n-1));)--n;for(;r.5||this.options.lineWrapping)&&Rr(this),ge(this,"refresh",this)})),swapDoc:Ro((function(e){var t=this.doc;return t.cm=null,this.state.selectingText&&this.state.selectingText(),bi(this,e),dr(this),this.display.input.reset(),lo(this,e.scrollLeft,e.scrollTop),this.curOp.forceScroll=!0,Mn(this,"swapDoc",this,t),t})),phrase:function(e){var t=this.options.phrases;return t&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:e},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},Oe(e),e.registerHelper=function(t,r,o){n.hasOwnProperty(t)||(n[t]=e[t]={_global:[]}),n[t][r]=o},e.registerGlobalHelper=function(t,r,o,i){e.registerHelper(t,r,i),n[t]._global.push({pred:o,val:i})}}function Kl(e,t,n,r,o){var i=t,a=n,l=Xe(e,t.line),s=o&&"rtl"==e.direction?-n:n;function c(){var n=t.line+s;return!(n=e.first+e.size)&&(t=new ot(n,t.ch,t.sticky),l=Xe(e,n))}function u(i){var a;if("codepoint"==r){var u=l.text.charCodeAt(t.ch+(n>0?0:-1));if(isNaN(u))a=null;else{var d=n>0?u>=55296&&u<56320:u>=56320&&u<57343;a=new ot(t.line,Math.max(0,Math.min(l.text.length,t.ch+n*(d?2:1))),-n)}}else a=o?Ka(e.cm,l,t,n):qa(l,t,n);if(null==a){if(i||!c())return!1;t=$a(o,e.cm,l,t.line,s)}else t=a;return!0}if("char"==r||"codepoint"==r)u();else if("column"==r)u(!0);else if("word"==r||"group"==r)for(var d=null,f="group"==r,p=e.cm&&e.cm.getHelper(t,"wordChars"),h=!0;!(n<0)||u(!h);h=!1){var v=l.text.charAt(t.ch)||"\n",m=ne(v,p)?"w":f&&"\n"==v?"n":!f||/\s/.test(v)?null:"p";if(!f||h||m||(m="s"),d&&d!=m){n<0&&(n=1,u(),t.sticky="after");break}if(m&&(d=m),n>0&&!u(!h))break}var g=qi(e,t,i,a,!0);return at(i,g)&&(g.hitSide=!0),g}function Xl(e,t,n,r){var o,i,a=e.doc,l=t.left;if("page"==r){var s=Math.min(e.display.wrapper.clientHeight,window.innerHeight||document.documentElement.clientHeight),c=Math.max(s-.5*Mr(e.display),3);o=(n>0?t.bottom:t.top)+n*c}else"line"==r&&(o=n>0?t.bottom+3:t.top-3);for(;(i=Or(e,l,o)).outside;){if(n<0?o<=0:o>=a.height){i.hitSide=!0;break}o+=5*n}return i}var Zl=function(e){this.cm=e,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new F,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};function Ql(e,t){var n=er(e,t.line);if(!n||n.hidden)return null;var r=Xe(e.doc,t.line),o=Zn(n,r,t.line),i=fe(r,e.doc.direction),a="left";i&&(a=ue(i,t.ch)%2?"right":"left");var l=ir(o.map,t.ch,a);return l.offset="right"==l.collapse?l.end:l.start,l}function Jl(e){for(var t=e;t;t=t.parentNode)if(/CodeMirror-gutter-wrapper/.test(t.className))return!0;return!1}function es(e,t){return t&&(e.bad=!0),e}function ts(e,t,n,r,o){var i="",a=!1,l=e.doc.lineSeparator(),s=!1;function c(e){return function(t){return t.id==e}}function u(){a&&(i+=l,s&&(i+=l),a=s=!1)}function d(e){e&&(u(),i+=e)}function f(t){if(1==t.nodeType){var n=t.getAttribute("cm-text");if(n)return void d(n);var i,p=t.getAttribute("cm-marker");if(p){var h=e.findMarks(ot(r,0),ot(o+1,0),c(+p));return void(h.length&&(i=h[0].find(0))&&d(Ze(e.doc,i.from,i.to).join(l)))}if("false"==t.getAttribute("contenteditable"))return;var v=/^(pre|div|p|li|table|br)$/i.test(t.nodeName);if(!/^br$/i.test(t.nodeName)&&0==t.textContent.length)return;v&&u();for(var m=0;m=t.display.viewTo||i.line=t.display.viewFrom&&Ql(t,o)||{node:s[0].measure.map[2],offset:0},u=i.liner.firstLine()&&(a=ot(a.line-1,Xe(r.doc,a.line-1).length)),l.ch==Xe(r.doc,l.line).text.length&&l.lineo.viewTo-1)return!1;a.line==o.viewFrom||0==(e=Dr(r,a.line))?(t=et(o.view[0].line),n=o.view[0].node):(t=et(o.view[e].line),n=o.view[e-1].node.nextSibling);var s,c,u=Dr(r,l.line);if(u==o.view.length-1?(s=o.viewTo-1,c=o.lineDiv.lastChild):(s=et(o.view[u+1].line)-1,c=o.view[u+1].node.previousSibling),!n)return!1;for(var d=r.doc.splitLines(ts(r,n,c,t,s)),f=Ze(r.doc,ot(t,0),ot(s,Xe(r.doc,s).text.length));d.length>1&&f.length>1;)if(K(d)==K(f))d.pop(),f.pop(),s--;else{if(d[0]!=f[0])break;d.shift(),f.shift(),t++}for(var p=0,h=0,v=d[0],m=f[0],g=Math.min(v.length,m.length);pa.ch&&b.charCodeAt(b.length-h-1)==y.charCodeAt(y.length-h-1);)p--,h++;d[d.length-1]=b.slice(0,b.length-h).replace(/^\u200b+/,""),d[0]=d[0].slice(p).replace(/\u200b+$/,"");var O=ot(t,p),w=ot(s,f.length?K(f).length-h:0);return d.length>1||d[0]||it(O,w)?(ra(r.doc,d,O,w,"+input"),!0):void 0},Zl.prototype.ensurePolled=function(){this.forceCompositionEnd()},Zl.prototype.reset=function(){this.forceCompositionEnd()},Zl.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},Zl.prototype.readFromDOMSoon=function(){var e=this;null==this.readDOMTimeout&&(this.readDOMTimeout=setTimeout((function(){if(e.readDOMTimeout=null,e.composing){if(!e.composing.done)return;e.composing=null}e.updateFromDOM()}),80))},Zl.prototype.updateFromDOM=function(){var e=this;!this.cm.isReadOnly()&&this.pollContent()||Eo(this.cm,(function(){return Lr(e.cm)}))},Zl.prototype.setUneditable=function(e){e.contentEditable="false"},Zl.prototype.onKeyPress=function(e){0==e.charCode||this.composing||(e.preventDefault(),this.cm.isReadOnly()||Ao(this.cm,Hl)(this.cm,String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),0))},Zl.prototype.readOnlyChanged=function(e){this.div.contentEditable=String("nocursor"!=e)},Zl.prototype.onContextMenu=function(){},Zl.prototype.resetPosition=function(){},Zl.prototype.needsContentAttribute=!0;var os=function(e){this.cm=e,this.prevInput="",this.pollingFast=!1,this.polling=new F,this.hasSelection=!1,this.composing=null};function is(e,t){if((t=t?N(t):{}).value=e.value,!t.tabindex&&e.tabIndex&&(t.tabindex=e.tabIndex),!t.placeholder&&e.placeholder&&(t.placeholder=e.placeholder),null==t.autofocus){var n=A();t.autofocus=n==e||null!=e.getAttribute("autofocus")&&n==document.body}function r(){e.value=l.getValue()}var o;if(e.form&&(he(e.form,"submit",r),!t.leaveSubmitMethodAlone)){var i=e.form;o=i.submit;try{var a=i.submit=function(){r(),i.submit=o,i.submit(),i.submit=a}}catch(s){}}t.finishInit=function(n){n.save=r,n.getTextArea=function(){return e},n.toTextArea=function(){n.toTextArea=isNaN,r(),e.parentNode.removeChild(n.getWrapperElement()),e.style.display="",e.form&&(me(e.form,"submit",r),t.leaveSubmitMethodAlone||"function"!=typeof e.form.submit||(e.form.submit=o))}},e.style.display="none";var l=Ll((function(t){return e.parentNode.insertBefore(t,e.nextSibling)}),t);return l}function as(e){e.off=me,e.on=he,e.wheelEventPixels=ni,e.Doc=wa,e.splitLines=Re,e.countColumn=z,e.findColumn=Y,e.isWordChar=te,e.Pass=H,e.signal=ge,e.Line=sn,e.changeEnd=si,e.scrollbarModel=xo,e.Pos=ot,e.cmpPos=it,e.modes=ze,e.mimeModes=Fe,e.resolveMode=He,e.getMode=Ve,e.modeExtensions=Ue,e.extendMode=Ge,e.copyState=Ye,e.startState=$e,e.innerMode=qe,e.commands=Xa,e.keyMap=Na,e.keyName=Va,e.isModifierKey=Ba,e.lookupKey=Wa,e.normalizeKeyMap=Fa,e.StringStream=Ke,e.SharedTextMarker=ma,e.TextMarker=ha,e.LineWidget=ua,e.e_preventDefault=we,e.e_stopPropagation=je,e.e_stop=ke,e.addClass=R,e.contains=E,e.rmClass=_,e.keyNames=Ra}os.prototype.init=function(e){var t=this,n=this,r=this.cm;this.createField(e);var o=this.textarea;function i(e){if(!be(r,e)){if(r.somethingSelected())Bl({lineWise:!1,text:r.getSelections()});else{if(!r.options.lineWiseCopyCut)return;var t=Gl(r);Bl({lineWise:!0,text:t.text}),"cut"==e.type?r.setSelections(t.ranges,null,V):(n.prevInput="",o.value=t.text.join("\n"),D(o))}"cut"==e.type&&(r.state.cutIncoming=+new Date)}}e.wrapper.insertBefore(this.wrapper,e.wrapper.firstChild),v&&(o.style.width="0px"),he(o,"input",(function(){a&&l>=9&&t.hasSelection&&(t.hasSelection=null),n.poll()})),he(o,"paste",(function(e){be(r,e)||Vl(e,r)||(r.state.pasteIncoming=+new Date,n.fastPoll())})),he(o,"cut",i),he(o,"copy",i),he(e.scroller,"paste",(function(t){if(!Vn(e,t)&&!be(r,t)){if(!o.dispatchEvent)return r.state.pasteIncoming=+new Date,void n.focus();var i=new Event("paste");i.clipboardData=t.clipboardData,o.dispatchEvent(i)}})),he(e.lineSpace,"selectstart",(function(t){Vn(e,t)||we(t)})),he(o,"compositionstart",(function(){var e=r.getCursor("from");n.composing&&n.composing.range.clear(),n.composing={start:e,range:r.markText(e,r.getCursor("to"),{className:"CodeMirror-composing"})}})),he(o,"compositionend",(function(){n.composing&&(n.poll(),n.composing.range.clear(),n.composing=null)}))},os.prototype.createField=function(e){this.wrapper=ql(),this.textarea=this.wrapper.firstChild},os.prototype.screenReaderLabelChanged=function(e){e?this.textarea.setAttribute("aria-label",e):this.textarea.removeAttribute("aria-label")},os.prototype.prepareSelection=function(){var e=this.cm,t=e.display,n=e.doc,r=Vr(e);if(e.options.moveInputWithCursor){var o=br(e,n.sel.primary().head,"div"),i=t.wrapper.getBoundingClientRect(),a=t.lineDiv.getBoundingClientRect();r.teTop=Math.max(0,Math.min(t.wrapper.clientHeight-10,o.top+a.top-i.top)),r.teLeft=Math.max(0,Math.min(t.wrapper.clientWidth-10,o.left+a.left-i.left))}return r},os.prototype.showSelection=function(e){var t=this.cm.display;M(t.cursorDiv,e.cursors),M(t.selectionDiv,e.selection),null!=e.teTop&&(this.wrapper.style.top=e.teTop+"px",this.wrapper.style.left=e.teLeft+"px")},os.prototype.reset=function(e){if(!this.contextMenuPending&&!this.composing){var t=this.cm;if(t.somethingSelected()){this.prevInput="";var n=t.getSelection();this.textarea.value=n,t.state.focused&&D(this.textarea),a&&l>=9&&(this.hasSelection=n)}else e||(this.prevInput=this.textarea.value="",a&&l>=9&&(this.hasSelection=null))}},os.prototype.getField=function(){return this.textarea},os.prototype.supportsTouch=function(){return!1},os.prototype.focus=function(){if("nocursor"!=this.cm.options.readOnly&&(!g||A()!=this.textarea))try{this.textarea.focus()}catch(e){}},os.prototype.blur=function(){this.textarea.blur()},os.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},os.prototype.receivedFocus=function(){this.slowPoll()},os.prototype.slowPoll=function(){var e=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,(function(){e.poll(),e.cm.state.focused&&e.slowPoll()}))},os.prototype.fastPoll=function(){var e=!1,t=this;function n(){t.poll()||e?(t.pollingFast=!1,t.slowPoll()):(e=!0,t.polling.set(60,n))}t.pollingFast=!0,t.polling.set(20,n)},os.prototype.poll=function(){var e=this,t=this.cm,n=this.textarea,r=this.prevInput;if(this.contextMenuPending||!t.state.focused||Ie(n)&&!r&&!this.composing||t.isReadOnly()||t.options.disableInput||t.state.keySeq)return!1;var o=n.value;if(o==r&&!t.somethingSelected())return!1;if(a&&l>=9&&this.hasSelection===o||b&&/[\uf700-\uf7ff]/.test(o))return t.display.input.reset(),!1;if(t.doc.sel==t.display.selForContextMenu){var i=o.charCodeAt(0);if(8203!=i||r||(r="\u200b"),8666==i)return this.reset(),this.cm.execCommand("undo")}for(var s=0,c=Math.min(r.length,o.length);s1e3||o.indexOf("\n")>-1?n.value=e.prevInput="":e.prevInput=o,e.composing&&(e.composing.range.clear(),e.composing.range=t.markText(e.composing.start,t.getCursor("to"),{className:"CodeMirror-composing"}))})),!0},os.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},os.prototype.onKeyPress=function(){a&&l>=9&&(this.hasSelection=null),this.fastPoll()},os.prototype.onContextMenu=function(e){var t=this,n=t.cm,r=n.display,o=t.textarea;t.contextMenuPending&&t.contextMenuPending();var i=Ir(n,e),c=r.scroller.scrollTop;if(i&&!d){n.options.resetSelectionOnContextMenu&&-1==n.doc.sel.contains(i)&&Ao(n,Bi)(n.doc,li(i),V);var u,f=o.style.cssText,p=t.wrapper.style.cssText,h=t.wrapper.offsetParent.getBoundingClientRect();t.wrapper.style.cssText="position: static",o.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(e.clientY-h.top-5)+"px; left: "+(e.clientX-h.left-5)+"px;\n z-index: 1000; background: "+(a?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);",s&&(u=window.scrollY),r.input.focus(),s&&window.scrollTo(null,u),r.input.reset(),n.somethingSelected()||(o.value=t.prevInput=" "),t.contextMenuPending=m,r.selForContextMenu=n.doc.sel,clearTimeout(r.detectingSelectAll),a&&l>=9&&v(),j?(ke(e),he(window,"mouseup",(function e(){me(window,"mouseup",e),setTimeout(m,20)}))):setTimeout(m,50)}function v(){if(null!=o.selectionStart){var e=n.somethingSelected(),i="\u200b"+(e?o.value:"");o.value="\u21da",o.value=i,t.prevInput=e?"":"\u200b",o.selectionStart=1,o.selectionEnd=i.length,r.selForContextMenu=n.doc.sel}}function m(){if(t.contextMenuPending==m&&(t.contextMenuPending=!1,t.wrapper.style.cssText=p,o.style.cssText=f,a&&l<9&&r.scrollbars.setScrollTop(r.scroller.scrollTop=c),null!=o.selectionStart)){(!a||a&&l<9)&&v();var e=0,i=function i(){r.selForContextMenu==n.doc.sel&&0==o.selectionStart&&o.selectionEnd>0&&"\u200b"==t.prevInput?Ao(n,Ki)(n):e++<10?r.detectingSelectAll=setTimeout(i,500):(r.selForContextMenu=null,r.input.reset())};r.detectingSelectAll=setTimeout(i,200)}}},os.prototype.readOnlyChanged=function(e){e||this.reset(),this.textarea.disabled="nocursor"==e,this.textarea.readOnly=!!e},os.prototype.setUneditable=function(){},os.prototype.needsContentAttribute=!1,Rl(Ll),$l(Ll);var ls="iter insert remove copy getEditor constructor".split(" ");for(var ss in wa.prototype)wa.prototype.hasOwnProperty(ss)&&W(ls,ss)<0&&(Ll.prototype[ss]=function(e){return function(){return e.apply(this.doc,arguments)}}(wa.prototype[ss]));return Oe(wa),Ll.inputStyles={textarea:os,contenteditable:Zl},Ll.defineMode=function(e){Ll.defaults.mode||"null"==e||(Ll.defaults.mode=e),We.apply(this,arguments)},Ll.defineMIME=Be,Ll.defineMode("null",(function(){return{token:function(e){return e.skipToEnd()}}})),Ll.defineMIME("text/plain","null"),Ll.defineExtension=function(e,t){Ll.prototype[e]=t},Ll.defineDocExtension=function(e,t){wa.prototype[e]=t},Ll.fromTextArea=is,as(Ll),Ll.version="5.63.3",Ll}()},function(e,t,n){(function(e){var r="undefined"!==typeof e&&e||"undefined"!==typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(491),t.setImmediate="undefined"!==typeof self&&self.setImmediate||"undefined"!==typeof e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!==typeof self&&self.clearImmediate||"undefined"!==typeof e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(94))},function(e,t,n){var r=n(494),o=n(192);e.exports=function(e,t){return e&&r(e,t,o)}},function(e,t,n){(function(e){var r=n(93),o=n(499),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,l=a&&a.exports===i?r.Buffer:void 0,s=(l?l.isBuffer:void 0)||o;e.exports=s}).call(this,n(245)(e))},function(e,t,n){var r=n(500),o=n(289),i=n(501),a=i&&i.isTypedArray,l=a?o(a):r;e.exports=l},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t){e.exports=function(e,t){return function(n){return e(t(n))}}},function(e,t,n){var r=n(186),o=n(508),i=n(509),a=n(510),l=n(511),s=n(512);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=l,c.prototype.set=s,e.exports=c},function(e,t,n){var r=n(293),o=n(294),i=n(295);e.exports=function(e,t,n,a,l,s){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var f=s.get(e),p=s.get(t);if(f&&p)return f==t&&p==e;var h=-1,v=!0,m=2&n?new r:void 0;for(s.set(e,t),s.set(t,e);++h0&&i(u)?n>1?e(u,n-1,i,a,l):r(l,u):a||(l[l.length]=u)}return l}},function(e,t,n){var r=n(191),o=n(161);e.exports=function(e,t){var n=-1,i=o(e)?Array(e.length):[];return r(e,(function(e,r,o){i[++n]=t(e,r,o)})),i}},function(e,t,n){var r=n(128),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},function(e,t){var n=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return n.test(e)}},function(e,t){e.exports=function(e,t){return e>t}},function(e,t){e.exports=function(e,t){return e=0||(o[n]=e[n]);return o}(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"===typeof n)return n(e,r);var i=o.default.Children.only(n);return o.default.cloneElement(i,r)},r}(o.default.Component);function h(){}p.contextTypes={transitionGroup:r.object},p.childContextTypes={transitionGroup:function(){}},p.propTypes={},p.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},p.UNMOUNTED=0,p.EXITED=1,p.ENTERING=2,p.ENTERED=3,p.EXITING=4;var v=(0,a.polyfill)(p);t.default=v},function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0;var r;(r=n(13))&&r.__esModule;t.timeoutsShape=null;t.classNamesShape=null},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=l(n(13)),o=l(n(1)),i=n(84),a=n(585);function l(e){return e&&e.__esModule?e:{default:e}}function s(){return s=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,["component","childFactory"]),i=u(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?i:o.default.createElement(t,r,i)},r}(o.default.Component);d.childContextTypes={transitionGroup:r.default.object.isRequired},d.propTypes={},d.defaultProps={component:"div",childFactory:function(e){return e}};var f=(0,i.polyfill)(d);t.default=f,e.exports=t.default},function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e){return 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},r(e)}var o;"undefined"!==typeof window?o=window:"undefined"===typeof self?(console.warn("Using browser-only version of superagent in non-browser environment"),o=void 0):o=self;var i=n(419),a=n(420),l=n(421),s=n(433),c=n(275),u=n(434),d=n(436);function f(){}e.exports=function(e,n){return"function"===typeof n?new t.Request("GET",e).end(n):1===arguments.length?new t.Request("GET",e):new t.Request(e,n)};var p=t=e.exports;t.Request=x,p.getXHR=function(){if(o.XMLHttpRequest&&(!o.location||"file:"!==o.location.protocol||!o.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(n){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(r){}throw new Error("Browser-only version of superagent could not find XHR")};var h="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};function v(e){if(!c(e))return e;var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&m(t,n,e[n]);return t.join("&")}function m(e,t,n){if(void 0!==n)if(null!==n)if(Array.isArray(n))n.forEach((function(n){m(e,t,n)}));else if(c(n))for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&m(e,"".concat(t,"[").concat(r,"]"),n[r]);else e.push(encodeURI(t)+"="+encodeURIComponent(n));else e.push(encodeURI(t))}function g(e){for(var t,n,r={},o=e.split("&"),i=0,a=o.length;i0||e instanceof Object)?t(e):null)},y.prototype.toError=function(){var e=this.req,t=e.method,n=e.url,r="cannot ".concat(t," ").concat(n," (").concat(this.status,")"),o=new Error(r);return o.status=this.status,o.method=t,o.url=n,o},p.Response=y,i(x.prototype),s(x.prototype),x.prototype.type=function(e){return this.set("Content-Type",p.types[e]||e),this},x.prototype.accept=function(e){return this.set("Accept",p.types[e]||e),this},x.prototype.auth=function(e,t,n){1===arguments.length&&(t=""),"object"===r(t)&&null!==t&&(n=t,t=""),n||(n={type:"function"===typeof btoa?"basic":"auto"});var o=function(e){if("function"===typeof btoa)return btoa(e);throw new Error("Cannot use basic auth, btoa is not a function")};return this._auth(e,t,n,o)},x.prototype.query=function(e){return"string"!==typeof e&&(e=v(e)),e&&this._query.push(e),this},x.prototype.attach=function(e,t,n){if(t){if(this._data)throw new Error("superagent can't mix .send() and .attach()");this._getFormData().append(e,t,n||t.name)}return this},x.prototype._getFormData=function(){return this._formData||(this._formData=new o.FormData),this._formData},x.prototype.callback=function(e,t){if(this._shouldRetry(e,t))return this._retry();var n=this._callback;this.clearTimeout(),e&&(this._maxRetries&&(e.retries=this._retries-1),this.emit("error",e)),n(e,t)},x.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},x.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},x.prototype.ca=x.prototype.agent,x.prototype.buffer=x.prototype.ca,x.prototype.write=function(){throw new Error("Streaming is not supported in browser version of superagent")},x.prototype.pipe=x.prototype.write,x.prototype._isHost=function(e){return e&&"object"===r(e)&&!Array.isArray(e)&&"[object Object]"!==Object.prototype.toString.call(e)},x.prototype.end=function(e){this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=e||f,this._finalizeQueryString(),this._end()},x.prototype._setUploadTimeout=function(){var e=this;this._uploadTimeout&&!this._uploadTimeoutTimer&&(this._uploadTimeoutTimer=setTimeout((function(){e._timeoutError("Upload timeout of ",e._uploadTimeout,"ETIMEDOUT")}),this._uploadTimeout))},x.prototype._end=function(){if(this._aborted)return this.callback(new Error("The request has been aborted even before .end() was called"));var e=this;this.xhr=p.getXHR();var t=this.xhr,n=this._formData||this._data;this._setTimeouts(),t.onreadystatechange=function(){var n=t.readyState;if(n>=2&&e._responseTimeoutTimer&&clearTimeout(e._responseTimeoutTimer),4===n){var r;try{r=t.status}catch(o){r=0}if(!r){if(e.timedout||e._aborted)return;return e.crossDomainError()}e.emit("end")}};var r=function(t,n){n.total>0&&(n.percent=n.loaded/n.total*100,100===n.percent&&clearTimeout(e._uploadTimeoutTimer)),n.direction=t,e.emit("progress",n)};if(this.hasListeners("progress"))try{t.addEventListener("progress",r.bind(null,"download")),t.upload&&t.upload.addEventListener("progress",r.bind(null,"upload"))}catch(l){}t.upload&&this._setUploadTimeout();try{this.username&&this.password?t.open(this.method,this.url,!0,this.username,this.password):t.open(this.method,this.url,!0)}catch(s){return this.callback(s)}if(this._withCredentials&&(t.withCredentials=!0),!this._formData&&"GET"!==this.method&&"HEAD"!==this.method&&"string"!==typeof n&&!this._isHost(n)){var o=this._header["content-type"],i=this._serializer||p.serialize[o?o.split(";")[0]:""];!i&&b(o)&&(i=p.serialize["application/json"]),i&&(n=i(n))}for(var a in this.header)null!==this.header[a]&&Object.prototype.hasOwnProperty.call(this.header,a)&&t.setRequestHeader(a,this.header[a]);this._responseType&&(t.responseType=this._responseType),this.emit("request",this),t.send("undefined"===typeof n?null:n)},p.agent=function(){return new d},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach((function(e){d.prototype[e.toLowerCase()]=function(t,n){var r=new p.Request(e,t);return this._setDefaults(r),n&&r.end(n),r}})),d.prototype.del=d.prototype.delete,p.get=function(e,t,n){var r=p("GET",e);return"function"===typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},p.head=function(e,t,n){var r=p("HEAD",e);return"function"===typeof t&&(n=t,t=null),t&&r.query(t),n&&r.end(n),r},p.options=function(e,t,n){var r=p("OPTIONS",e);return"function"===typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.del=O,p.delete=O,p.patch=function(e,t,n){var r=p("PATCH",e);return"function"===typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.post=function(e,t,n){var r=p("POST",e);return"function"===typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r},p.put=function(e,t,n){var r=p("PUT",e);return"function"===typeof t&&(n=t,t=null),t&&r.send(t),n&&r.end(n),r}},function(e,t,n){"use strict";function r(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(602);function o(e){return 0===Object.keys(e).length}t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=Object(r.a)();return!t||o(t)?e:t}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(4);function o(e){var t=e.theme,n=e.name,o=e.props;if(!t||!t.components||!t.components[n]||!t.components[n].defaultProps)return o;var i,a=Object(r.a)({},o),l=t.components[n].defaultProps;for(i in l)void 0===a[i]&&(a[i]=l[i]);return a}},function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol.for;t.a=r?Symbol.for("mui.nested"):"__THEME_NESTED__"},function(e,t,n){"use strict";n.d(t,"b",(function(){return i}));var r=n(158),o=n(184);function i(e){return Object(r.a)("MuiDivider",e)}var a=Object(o.a)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);t.a=a},function(e,t,n){"use strict";n.d(t,"b",(function(){return i}));var r=n(158),o=n(184);function i(e){return Object(r.a)("MuiListItemIcon",e)}var a=Object(o.a)("MuiListItemIcon",["root","alignItemsFlexStart"]);t.a=a},function(e,t,n){"use strict";(function(e){var r=n(1),o=n.n(r),i=n(53),a=n(13),l=n.n(a),s=1073741823,c="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof window?window:"undefined"!==typeof e?e:{};function u(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var d=o.a.createContext||function(e,t){var n,o,a="__create-react-context-"+function(){var e="__global_unique_id__";return c[e]=(c[e]||0)+1}()+"__",d=function(e){function n(){var t;return(t=e.apply(this,arguments)||this).emitter=u(t.props.value),t}Object(i.a)(n,e);var r=n.prototype;return r.getChildContext=function(){var e;return(e={})[a]=this.emitter,e},r.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;((i=r)===(a=o)?0!==i||1/i===1/a:i!==i&&a!==a)?n=0:(n="function"===typeof t?t(r,o):s,0!==(n|=0)&&this.emitter.set(e.value,n))}var i,a},r.render=function(){return this.props.children},n}(r.Component);d.childContextTypes=((n={})[a]=l.a.object.isRequired,n);var f=function(t){function n(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,n){0!==((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}Object(i.a)(n,t);var r=n.prototype;return r.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=void 0===t||null===t?s:t},r.componentDidMount=function(){this.context[a]&&this.context[a].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=void 0===e||null===e?s:e},r.componentWillUnmount=function(){this.context[a]&&this.context[a].off(this.onUpdate)},r.getValue=function(){return this.context[a]?this.context[a].get():e},r.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return f.contextTypes=((o={})[a]=l.a.object,o),{Provider:d,Consumer:f}};t.a=d}).call(this,n(94))},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"CheckCircleOutline");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4 6 6v10c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2h7zm-1 7h5.5L14 6.5V12z"}),"FileCopy");t.default=a},function(e,t,n){var r=n(473),o=n(474),i=n(282),a=n(475);e.exports=function(e){return r(e)||o(e)||i(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){var r=n(476),o=n(477),i=n(282),a=n(478);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"m7 14 5-5 5 5z"}),"ArrowDropUp");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M14.67 5v14H9.33V5h5.34zm1 14H21V5h-5.33v14zm-7.34 0V5H3v14h5.33z"}),"ViewColumn");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"m5.2494 8.0688 2.83-2.8269 14.1343 14.15-2.83 2.8269zm4.2363-4.2415 2.828-2.8289 5.6577 5.656-2.828 2.8289zM.9989 12.3147l2.8284-2.8285 5.6569 5.6569-2.8285 2.8284zM1 21h12v2H1z"}),"Gavel");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z"}),"Help");t.default=a},function(e,t,n){"use strict";var r=n(482).CopyToClipboard;r.CopyToClipboard=r,e.exports=r},function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";(function(e){function r(){return r=Object.assign||function(e){for(var t=1;t0;)if(!n(e[o],t[o],r))return!1;return!0}function d(e,t,n,r){var o=e.size===t.size;return o&&e.size&&e.forEach((function(e,i){o&&(o=!1,t.forEach((function(t,a){!o&&n(i,a,r)&&(o=n(e,t,r))})))})),o}var f="_owner",p=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);function h(e,t,r,o){var i=n(e),l=i.length;if(n(t).length!==l)return!1;if(l)for(var s=void 0;l-- >0;){if((s=i[l])===f){var c=a(e),u=a(t);if((c||u)&&c!==u)return!1}if(!p(t,s)||!r(e[s],t[s],o))return!1}return!0}function v(e,t){return e.source===t.source&&e.global===t.global&&e.ignoreCase===t.ignoreCase&&e.multiline===t.multiline&&e.unicode===t.unicode&&e.sticky===t.sticky&&e.lastIndex===t.lastIndex}function m(e,t,n,r){var o=e.size===t.size;return o&&e.size&&e.forEach((function(e){o&&(o=!1,t.forEach((function(t){o||(o=n(e,t,r))})))})),o}var g="function"===typeof Map,b="function"===typeof Set;function y(e){var t="function"===typeof e?e(n):n;function n(e,n,a){if(e===n)return!0;if(e&&n&&"object"===typeof e&&"object"===typeof n){if(o(e)&&o(n))return h(e,n,t,a);var l=Array.isArray(e),s=Array.isArray(n);return l||s?l===s&&u(e,n,t,a):(l=e instanceof Date,s=n instanceof Date,l||s?l===s&&r(e.getTime(),n.getTime()):(l=e instanceof RegExp,s=n instanceof RegExp,l||s?l===s&&v(e,n):i(e)||i(n)?e===n:g&&(l=e instanceof Map,s=n instanceof Map,l||s)?l===s&&d(e,n,t,a):b&&(l=e instanceof Set,s=n instanceof Set,l||s)?l===s&&m(e,n,t,a):h(e,n,t,a)))}return e!==e&&n!==n}return n}var x=y(),O=y((function(){return r})),w=y(c()),j=y(c(r));e.circularDeepEqual=w,e.circularShallowEqual=j,e.createCustomEqual=y,e.deepEqual=x,e.sameValueZeroEqual=r,e.shallowEqual=O,Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(1),o=n.n(r),i=n(30),a=n.n(i),l=n(12),s=n(23);function c(e){return c="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(e)}function u(){return u=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function A(){return A=Object.assign||function(e){for(var t=1;t0||!o()(s,r)||!o()(c,i))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(r,i,e,t)}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.dot,r=e.points,o=e.className,i=e.top,a=e.left,l=e.xAxis,s=e.yAxis,c=e.width,u=e.height,d=e.isAnimationActive,f=e.id;if(t||!r||!r.length)return null;var p=this.state.isAnimationFinished,v=1===r.length,m=x()("recharts-area",o),g=l&&l.allowDataOverflow||s&&s.allowDataOverflow,y=h()(f)?this.id:f;return b.a.createElement(S.a,{className:m},g?b.a.createElement("defs",null,b.a.createElement("clipPath",{id:"clipPath-".concat(y)},b.a.createElement("rect",{x:a,y:i,width:c,height:Math.floor(u)}))):null,v?null:this.renderArea(g,y),(n||v)&&this.renderDots(g,y),(!d||p)&&k.a.renderCallByParent(this.props,r))}}])&&N(t.prototype,n),r&&N(t,r),l}(g.PureComponent);H.displayName="Area",H.defaultProps={stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!_.a.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"},H.getBaseValue=function(e,t,n){var r=e.layout,o=e.baseValue;if(Object(C.g)(o)&&"number"===typeof o)return o;var i="horizontal"===r?n:t,a=i.scale.domain();if("number"===i.type){var l=Math.max(a[0],a[1]),s=Math.min(a[0],a[1]);return"dataMin"===o?s:"dataMax"===o||l<0?l:Math.max(Math.min(a[0],a[1]),0)}return"dataMin"===o?a[0]:"dataMax"===o?a[1]:a[0]},H.getComposedData=function(e){var t,n=e.props,r=e.xAxis,o=e.yAxis,i=e.xAxisTicks,a=e.yAxisTicks,l=e.bandSize,s=e.dataKey,c=e.stackedData,u=e.dataStartIndex,d=e.displayedData,p=e.offset,v=n.layout,g=c&&c.length,b=H.getBaseValue(n,r,o),y=!1,x=d.map((function(e,t){var n,d=Object(M.w)(e,s);g?n=c[u+t]:(n=d,m()(n)?y=!0:n=[b,n]);var f=h()(n[1])||g&&h()(d);return"horizontal"===v?{x:Object(M.k)({axis:r,ticks:i,bandSize:l,entry:e,index:t}),y:f?null:o.scale(n[1]),value:n,payload:e}:{x:f?null:r.scale(n[1]),y:Object(M.k)({axis:o,ticks:a,bandSize:l,entry:e,index:t}),value:n,payload:e}}));return t=g||y?x.map((function(e){return"horizontal"===v?{x:e.x,y:h()(f()(e,"value[0]"))||h()(f()(e,"y"))?null:o.scale(f()(e,"value[0]"))}:{x:h()(f()(e,"value[0]"))?null:r.scale(f()(e,"value[0]")),y:e.y}})):"horizontal"===v?o.scale(b):r.scale(b),I({points:x,baseLine:t,layout:v,isRange:y},p)},H.renderDotItem=function(e,t){return b.a.isValidElement(e)?b.a.cloneElement(e,t):u()(e)?e(t):b.a.createElement(j.a,A({},t,{className:"recharts-area-dot"}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return H}));var r=n(99),o=n.n(r),i=n(11),a=n.n(i),l=n(349),s=n.n(l),c=n(27),u=n.n(c),d=n(25),f=n.n(d),p=n(1),h=n.n(p),v=n(86),m=n(30),g=n.n(m),b=n(33),y=n(174),x=n(113),O=n(81),w=n(72),j=n(151),S=n(212),k=n(36),_=n(78),C=n(37),M=n(12),T=n(28),P=n(82),E=n(23);function A(e){return 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},A(e)}function R(){return R=Object.assign||function(e){for(var t=1;tt?"start":e0?a()(e,"paddingAngle",0):0;if(n){var s=Object(M.e)(n.endAngle-n.startAngle,e.endAngle-e.startAngle),c=D(D({},e),{},{startAngle:i+l,endAngle:i+s(r)+l});o.push(c),i=c.endAngle}else{var d=e.endAngle,f=e.startAngle,p=Object(M.e)(0,d-f)(r),h=D(D({},e),{},{startAngle:i+l,endAngle:i+p+l});o.push(h),i=h.endAngle}})),h.a.createElement(b.a,null,e.renderSectorsStatically(o))}))}},{key:"renderSectors",value:function(){var e=this.props,t=e.sectors,n=e.isAnimationActive,r=this.state.prevSectors;return!(n&&t&&t.length)||r&&o()(r,t)?this.renderSectorsStatically(t):this.renderSectorsWithAnimation()}},{key:"render",value:function(){var e=this.props,t=e.hide,n=e.sectors,r=e.className,o=e.label,i=e.cx,a=e.cy,l=e.innerRadius,s=e.outerRadius,c=e.isAnimationActive,u=this.state.isAnimationFinished;if(t||!n||!n.length||!Object(M.g)(i)||!Object(M.g)(a)||!Object(M.g)(l)||!Object(M.g)(s))return null;var d=g()("recharts-pie",r);return h.a.createElement(b.a,{className:d},this.renderSectors(),o&&this.renderLabels(n),w.a.renderCallByParent(this.props,null,!1),(!c||u)&&j.a.renderCallByParent(this.props,n,!1))}}])&&N(t.prototype,n),r&&N(t,r),l}(p.PureComponent);H.displayName="Pie",H.defaultProps={stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minAngle:0,isAnimationActive:!_.a.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1},H.parseDeltaAngle=function(e,t){return Object(M.i)(t-e)*Math.min(Math.abs(t-e),360)},H.getRealPieData=function(e){var t=e.props,n=t.data,r=t.children,o=Object(E.c)(e.props),i=Object(k.a)(r,S.a.displayName);return n&&n.length?n.map((function(e,t){return D(D(D({payload:e},o),e),i&&i[t]&&i[t].props)})):i&&i.length?i.map((function(e){return D(D({},o),e.props)})):[]},H.parseCoordinateOfPie=function(e,t){var n=t.top,r=t.left,o=t.width,i=t.height,a=Object(C.c)(o,i);return{cx:r+Object(M.c)(e.props.cx,o,o/2),cy:n+Object(M.c)(e.props.cy,i,i/2),innerRadius:Object(M.c)(e.props.innerRadius,a,0),outerRadius:Object(M.c)(e.props.outerRadius,a,.8*a),maxRadius:e.props.maxRadius||Math.sqrt(o*o+i*i)/2}},H.getComposedData=function(e){var t=e.item,n=e.offset,r=H.getRealPieData(t);if(!r||!r.length)return null;var o=t.props,i=o.cornerRadius,a=o.startAngle,l=o.endAngle,s=o.paddingAngle,c=o.dataKey,u=o.nameKey,d=o.valueKey,p=o.tooltipType,h=Math.abs(t.props.minAngle),v=H.parseCoordinateOfPie(t,n),m=H.parseDeltaAngle(a,l),g=Math.abs(m),b=c;f()(c)&&f()(d)?(Object(P.a)(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated in 1.1.0'),b="value"):f()(c)&&(Object(P.a)(!1,'Use "dataKey" to specify the value of pie,\n the props "valueKey" will be deprecated in 1.1.0'),b=d);var y,x,O=r.filter((function(e){return 0!==Object(T.w)(e,b,0)})).length,w=g-O*h-(g>=360?O:O-1)*s,j=r.reduce((function(e,t){var n=Object(T.w)(t,b,0);return e+(Object(M.g)(n)?n:0)}),0);j>0&&(y=r.map((function(e,t){var n,r=Object(T.w)(e,b,0),o=Object(T.w)(e,u,t),l=(Object(M.g)(r)?r:0)/j,c=(n=t?x.endAngle+Object(M.i)(m)*s*(0!==r?1:0):a)+Object(M.i)(m)*((0!==r?h:0)+l*w),d=(n+c)/2,f=(v.innerRadius+v.outerRadius)/2,g=[{name:o,value:r,payload:e,dataKey:b,type:p}],y=Object(C.e)(v.cx,v.cy,f,d);return x=D(D(D({percent:l,cornerRadius:i,name:o,tooltipPayload:g,midAngle:d,middleRadius:f,tooltipPosition:y},e),v),{},{value:Object(T.w)(e,b),startAngle:n,endAngle:c,payload:e,paddingAngle:Object(M.i)(m)*s})})));return D(D({},v),{},{sectors:y,data:r})}},function(e,t,n){var r=n(106),o=n(586),i=n(107),a=Function.prototype,l=Object.prototype,s=a.toString,c=l.hasOwnProperty,u=s.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==u}},function(e,t,n){var r=n(194),o=n(89),i=n(308);e.exports=function(e,t){return e&&e.length?r(e,o(t,2),i):void 0}},function(e,t,n){var r=n(194),o=n(307),i=n(89);e.exports=function(e,t){return e&&e.length?r(e,i(t,2),o):void 0}},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm4.2 14.2L11 13V7h1.5v5.2l4.5 2.7-.8 1.3z"}),"WatchLater");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"}),"Menu");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"}),"Lock");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"}),"Public");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M18 2h-8L4.02 8 4 20c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-6 6h-2V4h2v4zm3 0h-2V4h2v4zm3 0h-2V4h2v4z"}),"SdStorage");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M8 19h3v3h2v-3h3l-4-4-4 4zm8-15h-3V1h-2v3H8l4 4 4-4zM4 9v2h16V9H4zm0 3h16v2H4z"}),"Compress");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"}),"Code");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M19 3H5c-1.1 0-1.99.9-1.99 2L3 19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-1 11h-4v4h-4v-4H6v-4h4V6h4v4h4v4z"}),"LocalHospital");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M11 6c1.38 0 2.63.56 3.54 1.46L12 10h6V4l-2.05 2.05C14.68 4.78 12.93 4 11 4c-3.53 0-6.43 2.61-6.92 6H6.1c.46-2.28 2.48-4 4.9-4zm5.64 9.14c.66-.9 1.12-1.97 1.28-3.14H15.9c-.46 2.28-2.48 4-4.9 4-1.38 0-2.63-.56-3.54-1.46L10 12H4v6l2.05-2.05C7.32 17.22 9.07 18 11 18c1.55 0 2.98-.51 4.14-1.36L20 21.49 21.49 20l-4.85-4.86z"}),"FindReplace");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"}),"VpnKey");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10z"}),"LockOpen");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M11 7 9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5-5-5zm9 12h-8v2h8c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-8v2h8v14z"}),"Login");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3v-3h18v3z"}),"CallToAction");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M17 12c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm1.65 7.35L16.5 17.2V14h1v2.79l1.85 1.85-.7.71zM18 3h-3.18C14.4 1.84 13.3 1 12 1s-2.4.84-2.82 2H6c-1.1 0-2 .9-2 2v15c0 1.1.9 2 2 2h6.11c-.59-.57-1.07-1.25-1.42-2H6V5h2v3h8V5h2v5.08c.71.1 1.38.31 2 .6V5c0-1.1-.9-2-2-2zm-6 2c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1z"}),"PendingActions");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M16.5 6v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V5c0-1.38 1.12-2.5 2.5-2.5s2.5 1.12 2.5 2.5v10.5c0 .55-.45 1-1 1s-1-.45-1-1V6H10v9.5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V5c0-2.21-1.79-4-4-4S7 2.79 7 5v12.5c0 3.04 2.46 5.5 5.5 5.5s5.5-2.46 5.5-5.5V6h-1.5z"}),"AttachFile");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"}),"PersonOutlineOutlined");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zM9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9V6zm9 14H6V10h12v10zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"}),"LockOutlined");t.default=a},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Chart",{enumerable:!0,get:function(){return i.default}}),t.defaults=t.Scatter=t.Bubble=t.Polar=t.Radar=t.HorizontalBar=t.Bar=t.Line=t.Pie=t.Doughnut=t.default=void 0;var r=s(n(1)),o=s(n(13)),i=s(n(590)),a=s(n(99)),l=s(n(591));function s(e){return e&&e.__esModule?e:{default:e}}function c(){return c=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t1;if(t&&o&&!r){var i=!1;e.forEach((function(e){e.label||(i=!0)})),i&&console.error('[react-chartjs-2] Warning: Each dataset needs a unique key. By default, the "label" property on each dataset is used. Alternatively, you may provide a "datasetKeyProvider" as a prop that returns a unique key.')}}},{key:"getCurrentDatasets",value:function(){return this.chartInstance&&this.chartInstance.config.data&&this.chartInstance.config.data.datasets||[]}},{key:"saveCurrentDatasets",value:function(){var e=this;this.datasets=this.datasets||{},this.getCurrentDatasets().forEach((function(t){e.datasets[e.props.datasetKeyProvider(t)]=t}))}},{key:"updateChart",value:function(){var e=this,t=this.props.options,n=this.memoizeDataProps(this.props);if(this.chartInstance){t&&(this.chartInstance.options=i.default.helpers.configMerge(this.chartInstance.options,t));var r=this.getCurrentDatasets(),o=n.datasets||[];this.checkDatasets(r);var a=(0,l.default)(r,this.props.datasetKeyProvider);this.chartInstance.config.data.datasets=o.map((function(t){var n=a[e.props.datasetKeyProvider(t)];if(n&&n.type===t.type&&t.data){n.data.splice(t.data.length),t.data.forEach((function(e,r){n.data[r]=t.data[r]}));t.data;var r=d(t,["data"]);return p(p({},n),r)}return t}));n.datasets;var s=d(n,["datasets"]);this.chartInstance.config.data=p(p({},this.chartInstance.config.data),s),this.chartInstance.update()}}},{key:"renderChart",value:function(){var e=this.props,t=e.options,r=e.legend,o=e.type,l=e.plugins,s=this.element,c=this.memoizeDataProps();"undefined"===typeof r||(0,a.default)(n.defaultProps.legend,r)||(t.legend=r),this.chartInstance=new i.default(s,{type:o,data:c,options:t,plugins:l})}},{key:"destroyChart",value:function(){if(this.chartInstance){this.saveCurrentDatasets();var e=Object.values(this.datasets);this.chartInstance.config.data.datasets=e,this.chartInstance.destroy()}}},{key:"render",value:function(){var e=this.props,t=e.height,n=e.width,o=e.id;return r.default.createElement("canvas",{ref:this.ref,height:t,width:n,id:o,onClick:this.handleOnClick})}}]),n}(r.default.Component);j(k,"getLabelAsKey",(function(e){return e.label})),j(k,"propTypes",{data:o.default.oneOfType([o.default.object,o.default.func]).isRequired,getDatasetAtEvent:o.default.func,getElementAtEvent:o.default.func,getElementsAtEvent:o.default.func,height:o.default.number,legend:o.default.object,onElementsClick:o.default.func,options:o.default.object,plugins:o.default.arrayOf(o.default.object),redraw:o.default.bool,type:function(e,t,n){if(!i.default.controllers[e[t]])return new Error("Invalid chart type `"+e[t]+"` supplied to `"+n+"`.")},width:o.default.number,datasetKeyProvider:o.default.func}),j(k,"defaultProps",{legend:{display:!0,position:"bottom"},type:"doughnut",height:150,width:300,redraw:!1,options:{},datasetKeyProvider:k.getLabelAsKey});var _=k;t.default=_;var C=function(e){g(n,e);var t=y(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,c({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"doughnut"}))}}]),n}(r.default.Component);t.Doughnut=C;var M=function(e){g(n,e);var t=y(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,c({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"pie"}))}}]),n}(r.default.Component);t.Pie=M;var T=function(e){g(n,e);var t=y(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,c({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"line"}))}}]),n}(r.default.Component);t.Line=T;var P=function(e){g(n,e);var t=y(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,c({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bar"}))}}]),n}(r.default.Component);t.Bar=P;var E=function(e){g(n,e);var t=y(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,c({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"horizontalBar"}))}}]),n}(r.default.Component);t.HorizontalBar=E;var A=function(e){g(n,e);var t=y(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,c({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"radar"}))}}]),n}(r.default.Component);t.Radar=A;var R=function(e){g(n,e);var t=y(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,c({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"polarArea"}))}}]),n}(r.default.Component);t.Polar=R;var I=function(e){g(n,e);var t=y(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,c({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bubble"}))}}]),n}(r.default.Component);t.Bubble=I;var D=function(e){g(n,e);var t=y(n);function n(){return h(this,n),t.apply(this,arguments)}return m(n,[{key:"render",value:function(){var e=this;return r.default.createElement(k,c({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"scatter"}))}}]),n}(r.default.Component);t.Scatter=D;var L=i.default.defaults;t.defaults=L}).call(this,n(246))},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M10.09 15.59 11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5c-1.11 0-2 .9-2 2v4h2V5h14v14H5v-4H3v4c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"ExitToApp");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM7.5 18c-.83 0-1.5-.67-1.5-1.5S6.67 15 7.5 15s1.5.67 1.5 1.5S8.33 18 7.5 18zm0-9C6.67 9 6 8.33 6 7.5S6.67 6 7.5 6 9 6.67 9 7.5 8.33 9 7.5 9zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm4.5 4.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm0-9c-.83 0-1.5-.67-1.5-1.5S15.67 6 16.5 6s1.5.67 1.5 1.5S17.33 9 16.5 9z"}),"Casino");t.default=a},function(e,t,n){"use strict";var r=n(38);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=n(0),a=(0,o.default)((0,i.jsx)("circle",{cx:"12",cy:"12",r:"8"}),"FiberManualRecord");t.default=a},function(e,t,n){t.hot=function(e){return e}},function(e,t,n){"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"===typeof o?o(n,r,e):t(o)}}}}var o=r();o.withExtraArgument=r,t.a=o},function(e,t,n){var r=n(595),o=n(300);e.exports=function(e,t){return null!=e&&o(e,t,r)}},function(e,t,n){"use strict";var r=n(5),o=n(4),i=n(7),a=n(381),l=n(610);function s(e,t,n){var i;return Object(o.a)({toolbar:(i={minHeight:56},Object(r.a)(i,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Object(r.a)(i,e.up("sm"),{minHeight:64}),i)},n)}var c=n(218),u=n(601),d={black:"#000",white:"#fff"},f={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},p={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},h=n(135),v={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},m={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},g={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},b={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},y=["mode","contrastThreshold","tonalOffset"],x={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:d.white,default:d.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},O={text:{primary:d.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:d.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function w(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Object(u.e)(e.main,o):"dark"===t&&(e.dark=Object(u.b)(e.main,i)))}function j(e){var t=e.mode,n=void 0===t?"light":t,r=e.contrastThreshold,l=void 0===r?3:r,s=e.tonalOffset,j=void 0===s?.2:s,S=Object(i.a)(e,y),k=e.primary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:m[200],light:m[50],dark:m[400]}:{main:m[700],light:m[400],dark:m[800]}}(n),_=e.secondary||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:p[200],light:p[50],dark:p[400]}:{main:p[500],light:p[300],dark:p[700]}}(n),C=e.error||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:h.a[500],light:h.a[300],dark:h.a[700]}:{main:h.a[700],light:h.a[400],dark:h.a[800]}}(n),M=e.info||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:g[400],light:g[300],dark:g[700]}:{main:g[700],light:g[500],dark:g[900]}}(n),T=e.success||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:b[400],light:b[300],dark:b[700]}:{main:b[800],light:b[500],dark:b[900]}}(n),P=e.warning||function(){return"dark"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light")?{main:v[400],light:v[300],dark:v[700]}:{main:"#ED6C02",light:v[500],dark:v[900]}}(n);function E(e){return Object(u.d)(e,O.text.primary)>=l?O.text.primary:x.text.primary}var A=function(e){var t=e.color,n=e.name,r=e.mainShade,i=void 0===r?500:r,a=e.lightShade,l=void 0===a?300:a,s=e.darkShade,u=void 0===s?700:s;if(!(t=Object(o.a)({},t)).main&&t[i]&&(t.main=t[i]),!t.hasOwnProperty("main"))throw new Error(Object(c.a)(11,n?" (".concat(n,")"):"",i));if("string"!==typeof t.main)throw new Error(Object(c.a)(12,n?" (".concat(n,")"):"",JSON.stringify(t.main)));return w(t,"light",l,j),w(t,"dark",u,j),t.contrastText||(t.contrastText=E(t.main)),t},R={dark:O,light:x};return Object(a.a)(Object(o.a)({common:d,mode:n,primary:A({color:k,name:"primary"}),secondary:A({color:_,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:A({color:C,name:"error"}),warning:A({color:P,name:"warning"}),info:A({color:M,name:"info"}),success:A({color:T,name:"success"}),grey:f,contrastThreshold:l,getContrastText:E,augmentColor:A,tonalOffset:j},R[n]),S)}var S=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];var k={textTransform:"uppercase"},_='"Roboto", "Helvetica", "Arial", sans-serif';function C(e,t){var n="function"===typeof t?t(e):t,r=n.fontFamily,l=void 0===r?_:r,s=n.fontSize,c=void 0===s?14:s,u=n.fontWeightLight,d=void 0===u?300:u,f=n.fontWeightRegular,p=void 0===f?400:f,h=n.fontWeightMedium,v=void 0===h?500:h,m=n.fontWeightBold,g=void 0===m?700:m,b=n.htmlFontSize,y=void 0===b?16:b,x=n.allVariants,O=n.pxToRem,w=Object(i.a)(n,S);var j=c/14,C=O||function(e){return"".concat(e/y*j,"rem")},M=function(e,t,n,r,i){return Object(o.a)({fontFamily:l,fontWeight:e,fontSize:C(t),lineHeight:n},l===_?{letterSpacing:"".concat((a=r/t,Math.round(1e5*a)/1e5),"em")}:{},i,x);var a},T={h1:M(d,96,1.167,-1.5),h2:M(d,60,1.2,-.5),h3:M(p,48,1.167,0),h4:M(p,34,1.235,.25),h5:M(p,24,1.334,0),h6:M(v,20,1.6,.15),subtitle1:M(p,16,1.75,.15),subtitle2:M(v,14,1.57,.1),body1:M(p,16,1.5,.15),body2:M(p,14,1.43,.15),button:M(v,14,1.75,.4,k),caption:M(p,12,1.66,.4),overline:M(p,12,2.66,1,k)};return Object(a.a)(Object(o.a)({htmlFontSize:y,pxToRem:C,fontFamily:l,fontSize:c,fontWeightLight:d,fontWeightRegular:p,fontWeightMedium:v,fontWeightBold:g},T),w,{clone:!1})}function M(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var T=["none",M(0,2,1,-1,0,1,1,0,0,1,3,0),M(0,3,1,-2,0,2,2,0,0,1,5,0),M(0,3,3,-2,0,3,4,0,0,1,8,0),M(0,2,4,-1,0,4,5,0,0,1,10,0),M(0,3,5,-1,0,5,8,0,0,1,14,0),M(0,3,5,-1,0,6,10,0,0,1,18,0),M(0,4,5,-2,0,7,10,1,0,2,16,1),M(0,5,5,-3,0,8,10,1,0,3,14,2),M(0,5,6,-3,0,9,12,1,0,3,16,2),M(0,6,6,-3,0,10,14,1,0,4,18,3),M(0,6,7,-4,0,11,15,1,0,4,20,3),M(0,7,8,-4,0,12,17,2,0,5,22,4),M(0,7,8,-4,0,13,19,2,0,5,24,4),M(0,7,9,-4,0,14,21,2,0,5,26,4),M(0,8,9,-5,0,15,22,2,0,6,28,5),M(0,8,10,-5,0,16,24,2,0,6,30,5),M(0,8,11,-5,0,17,26,2,0,6,32,5),M(0,9,11,-5,0,18,28,2,0,7,34,6),M(0,9,12,-6,0,19,29,2,0,7,36,6),M(0,10,13,-6,0,20,31,3,0,8,38,7),M(0,10,13,-6,0,21,33,3,0,8,40,7),M(0,10,14,-6,0,22,35,3,0,8,42,7),M(0,11,14,-7,0,23,36,3,0,9,44,8),M(0,11,15,-7,0,24,38,3,0,9,46,8)],P=n(56),E={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},A=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mixins,n=void 0===t?{}:t,r=e.palette,c=void 0===r?{}:r,u=e.transitions,d=void 0===u?{}:u,f=e.typography,p=void 0===f?{}:f,h=Object(i.a)(e,A),v=j(c),m=Object(l.a)(e),g=Object(a.a)(m,{mixins:s(m.breakpoints,m.spacing,n),palette:v,shadows:T.slice(),typography:C(v,p),transitions:Object(P.a)(d),zIndex:Object(o.a)({},E)});g=Object(a.a)(g,h);for(var b=arguments.length,y=new Array(b>1?b-1:0),x=1;x>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?j(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?j(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=f.exec(e))?new _(t[1],t[2],t[3],1):(t=p.exec(e))?new _(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=h.exec(e))?j(t[1],t[2],t[3],t[4]):(t=v.exec(e))?j(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=m.exec(e))?P(t[1],t[2]/100,t[3]/100,1):(t=g.exec(e))?P(t[1],t[2]/100,t[3]/100,t[4]):b.hasOwnProperty(e)?w(b[e]):"transparent"===e?new _(NaN,NaN,NaN,0):null}function w(e){return new _(e>>16&255,e>>8&255,255&e,1)}function j(e,t,n,r){return r<=0&&(e=t=n=NaN),new _(e,t,n,r)}function S(e){return e instanceof i||(e=O(e)),e?new _((e=e.rgb()).r,e.g,e.b,e.opacity):new _}function k(e,t,n,r){return 1===arguments.length?S(e):new _(e,t,n,null==r?1:r)}function _(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function C(){return"#"+T(this.r)+T(this.g)+T(this.b)}function M(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function T(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function P(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new A(e,t,n,r)}function E(e){if(e instanceof A)return new A(e.h,e.s,e.l,e.opacity);if(e instanceof i||(e=O(e)),!e)return new A;if(e instanceof A)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),a=Math.max(t,n,r),l=NaN,s=a-o,c=(a+o)/2;return s?(l=t===a?(n-r)/s+6*(n0&&c<1?0:l,new A(l,s,c,e.opacity)}function A(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function R(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function I(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}r(i,O,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:y,formatHex:y,formatHsl:function(){return E(this).formatHsl()},formatRgb:x,toString:x}),r(_,k,o(i,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new _(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new _(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:C,formatHex:C,formatRgb:M,toString:M})),r(A,(function(e,t,n,r){return 1===arguments.length?E(e):new A(e,t,n,null==r?1:r)}),o(i,{brighter:function(e){return e=null==e?l:Math.pow(l,e),new A(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?a:Math.pow(a,e),new A(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new _(R(e>=240?e-240:e+120,o,r),R(e,o,r),R(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var D=function(e){return function(){return e}};function L(e,t){return function(n){return e+n*t}}function N(e){return 1===(e=+e)?z:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):D(isNaN(t)?n:t)}}function z(e,t){var n=t-e;return n?L(e,n):D(isNaN(e)?t:e)}var F=function e(t){var n=N(t);function r(e,t){var r=n((e=k(e)).r,(t=k(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=z(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function W(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),l=new Array(o);for(n=0;n=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,l=ri&&(o=t.slice(i,o),l[a]?l[a]+=o:l[++a]=o),(n=n[0])===(r=r[0])?l[a]?l[a]+=r:l[++a]=r:(l[++a]=null,s.push({i:a,x:Object(G.a)(n,r)})),i=$.lastIndex;return ie.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function j(e){var t=e.offset,n=e.layout,r=e.width,o=e.dataKey,i=e.data,a=e.dataPointFormatter,l=e.xAxis,s=e.yAxis,c=w(e,["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"]),u=Object(b.c)(c),d=i.map((function(e,i){var c=a(e,o),d=c.x,p=c.y,h=c.value,v=c.errorVal;if(!v)return null;var m,b,O=[];if(Array.isArray(v)){var w=x(v,2);m=w[0],b=w[1]}else m=b=v;if("vertical"===n){var j=l.scale,S=p+t,k=S+r,_=S-r,C=j(h-m),M=j(h+b);O.push({x1:M,y1:k,x2:M,y2:_}),O.push({x1:C,y1:S,x2:M,y2:S}),O.push({x1:C,y1:k,x2:C,y2:_})}else if("horizontal"===n){var T=s.scale,P=d+t,E=P-r,A=P+r,R=T(h-m),I=T(h+b);O.push({x1:E,y1:I,x2:A,y2:I}),O.push({x1:P,y1:R,x2:P,y2:I}),O.push({x1:E,y1:R,x2:A,y2:R})}return f.a.createElement(g.a,y({className:"recharts-errorBar",key:"bar-".concat(i)},u),O.map((function(e,t){return f.a.createElement("line",y({},e,{key:"line-".concat(t)}))})))}));return f.a.createElement(g.a,{className:"recharts-errorBars"},d)}j.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},j.displayName="ErrorBar";var S=n(212),k=n(151),_=n(12),C=n(36),M=n(78),T=n(28);function P(e){return P="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},P(e)}function E(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function A(){return A=Object.assign||function(e){for(var t=1;t0&&Math.abs(b)0&&Math.abs(m)2&&void 0!==arguments[2]?arguments[2]:{clone:!0},a=n.clone?Object(r.a)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(o(t[r])&&r in e&&o(e[r])?a[r]=i(e[r],t[r],n):a[r]=t[r])})),a}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(3),o=n(1);function i(e){var t=o.useState(e),n=Object(r.a)(t,2),i=n[0],a=n[1],l=e||i;return o.useEffect((function(){null==i&&a("mui-".concat(Math.round(1e9*Math.random())))}),[i]),l}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return l}));var r=Math.sqrt(50),o=Math.sqrt(10),i=Math.sqrt(2);function a(e,t,n){var a=(t-e)/Math.max(0,n),l=Math.floor(Math.log(a)/Math.LN10),s=a/Math.pow(10,l);return l>=0?(s>=r?10:s>=o?5:s>=i?2:1)*Math.pow(10,l):-Math.pow(10,-l)/(s>=r?10:s>=o?5:s>=i?2:1)}function l(e,t,n){var a=Math.abs(t-e)/Math.max(0,n),l=Math.pow(10,Math.floor(Math.log(a)/Math.LN10)),s=a/l;return s>=r?l*=10:s>=o?l*=5:s>=i&&(l*=2),t0)return[e];if((r=t0){var c=Math.round(e/l),u=Math.round(t/l);for(c*lt&&--u,i=new Array(o=u-c+1);++st&&--f,i=new Array(o=f-d+1);++s